Alpha Problem

  • Adam Burnell
  • Novice
  • Novice
  • No Avatar
  • Joined: Apr 10, 2007
  • Posts: 15
  • Loc: Melbourne
  • Status: Offline

Post April 25th, 2007, 6:03 pm

Hey everyone,

Has anyone ever had a problem with aplha settings like this:

I am applying an alpha transparency to a graphic with a tween from 0% (frame 1) to 100% (frame 3) for example. Even though I can see it working in the fla, when I export to swf nothing shows at all - I can not see the alpha tween working or the graphic associated with it.

?

Thanks.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post April 25th, 2007, 6:03 pm

  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Joined: Jul 11, 2005
  • Posts: 1828
  • Loc: In the Great White North
  • Status: Offline

Post April 25th, 2007, 6:28 pm

Does the preview show the graphic as 0% or 100% when you test this? Generally 3 frames isn't enough time to see a tween happen. Try increasing the number of frames from say 0 to 25 and see if you see anything happen.

Think of the flash timeline like a flip book. if you only have 3 pages the action on the pages has to jump a really long way between states but if you have a 100 page flip book there is very little difference from page to page but motion appears to happen over all 100 pages.
  • Adam Burnell
  • Novice
  • Novice
  • No Avatar
  • Joined: Apr 10, 2007
  • Posts: 15
  • Loc: Melbourne
  • Status: Offline

Post April 25th, 2007, 6:33 pm

Sorry, the frame 1 to 3 was an example, the tween takes place over something more like 10 frames.

Currently if I use the alpha setting below 100% anywhere within the tween I see absolutely nothing when I preview it as a swf.

Never seen this problem before, possibly a settings issue?

Thanks.
  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Joined: Jul 11, 2005
  • Posts: 1828
  • Loc: In the Great White North
  • Status: Offline

Post April 25th, 2007, 8:45 pm

Ahh sorry had to be clear.

Try making the graphic a movieclip and then tween the movieclip alpha instead. I don't use timeline animation very often but if I remember right things set as graphics behave a little differently than movieclips and may not get all the same properties.
  • jeffreykarbowski
  • Born
  • Born
  • No Avatar
  • Joined: May 04, 2007
  • Posts: 1
  • Status: Offline

Post May 4th, 2007, 10:31 pm

Adam Burnell wrote:
Hey everyone,

Has anyone ever had a problem with aplha settings like this:

I am applying an alpha transparency to a graphic with a tween from 0% (frame 1) to 100% (frame 3) for example. Even though I can see it working in the fla, when I export to swf nothing shows at all - I can not see the alpha tween working or the graphic associated with it.

?

Thanks.


Hi, I am having the exact same problem and I have been using movieclips. This sucks, the masks are doing the same thing, viewing fine on the timeline, but nothing when I export movie. [/quote]
  • IceCold
  • Guru
  • Guru
  • User avatar
  • Joined: Nov 05, 2004
  • Posts: 1254
  • Loc: Ro
  • Status: Offline

Post May 6th, 2007, 11:14 pm

can you upload your fla somewhere to see your problem?
“True mastery transcede any particular art. It stems from mastery of oneself - the ability, developed throgh self-discipline, to be calm, fully aware, and complety in tune with oneself and the surroundings. Then, and only then, can a person know himself. ”
  • stev_ro
  • Beginner
  • Beginner
  • User avatar
  • Joined: Feb 27, 2007
  • Posts: 61
  • Loc: ro
  • Status: Offline

Post May 7th, 2007, 1:12 pm

Use as instead of timeline tweening....
Code: [ Select ]
import mx.transitions.Tween;
import mx.transitions.easing.*;
your_btn.onPress = function() {
  var Tween1:Tween = new Tween(your_mc, "_alpha", Strong.easeOut, 100, 0, .5, true);
}
  1. import mx.transitions.Tween;
  2. import mx.transitions.easing.*;
  3. your_btn.onPress = function() {
  4.   var Tween1:Tween = new Tween(your_mc, "_alpha", Strong.easeOut, 100, 0, .5, true);
  5. }


this happens when you press a btn...if you don't use btns then replace your_btn.onPress with onEnterFrame();
  • adrosal
  • Born
  • Born
  • No Avatar
  • Joined: May 10, 2007
  • Posts: 1
  • Status: Offline

Post May 10th, 2007, 11:20 am

I was googling this very problem, when I came across this post.

I don't know if this will help you, but I had a similar problem:

I was doing a flash banner ad where I wanted text to go from 0 to 100 alpha, sit for 3 seconds, then go from 100 alpha back to 0, while a second text bit went from 0 to 100 alpha, ran for 3 seconds, went from 100 alpha back to 0, etc, in a loop comprised of three "text bits".

Everything worked fine except for the first text bit. It came in at 100 alpha, no matter what I did. All the other transitions worked fine.

How did I fix it? Not very elegant solution, but I went into the text graphic symbol, selected the text and did a "break apart" on the text until it was a bitmap (ctrl-b twice).

Now it works fine. Not sure if this will help you, but I hope it does, or at least points you in the right direction.
  • Jezzapandd1
  • Born
  • Born
  • No Avatar
  • Joined: May 12, 2007
  • Posts: 1
  • Loc: Bham, UK
  • Status: Offline

Post May 12th, 2007, 4:01 am

I have exactly the same problem, I have had it twice now. COnverting to bitmaps doesn't work for me.
Exactly the same movie worked fine at a friends house, and it doesnt now.
  • hardcoremore
  • Born
  • Born
  • No Avatar
  • Joined: Oct 03, 2008
  • Posts: 1
  • Status: Offline

Post October 3rd, 2008, 8:52 am

Hi, i register today just to replay you. I know that this post was long time ago but maybe my reply may be useful to people that my stumble on the same problem.

I SOLVE the problem with FADE affect on text in flash CS3 i don't know if that is on my machine only but you need to do next.

When you create new text convert it to movie clip cauz it wont work
without it. THEN you need to open that movie clip and select all text and select any option except anti-alias for animation and than again select anti-alias for animation this time and he should ASK you if you want to EMBED some STUPID Glyphs. Can F***IN BELIVE it you must embed those to have alpha and anti-alias working properly for text elements in flash.

I don't know why that is not embeded automatically but is so stupid and took me 1 hour to figure it out.AGRRRRRRR......

Hope it will work for you.
All best
  • minoko
  • Born
  • Born
  • No Avatar
  • Joined: Feb 08, 2009
  • Posts: 1
  • Status: Offline

Post February 8th, 2009, 9:56 am

...I was able to make it work by converting the text in the graphic symbol from dynamic to static text.
  • morphilio
  • Born
  • Born
  • No Avatar
  • Joined: Sep 23, 2009
  • Posts: 1
  • Status: Offline

Post September 23rd, 2009, 12:34 pm

I had the same problem but solved as minoko said. I was trying to make appear a text with an alpha tween motion. I first converted the text in to a graphic the thing is that the text was in "Dynamic Text" mode and apparently had to be a "Static Text" if someone has the same problem just check the text properties by double clicking the graphic or movie clip if converted.
  • oxfordwordbarber
  • Born
  • Born
  • No Avatar
  • Joined: Feb 21, 2010
  • Posts: 1
  • Status: Offline

Post February 21st, 2010, 3:39 am

It took me hours to find this! If you export a flash movie and the text won't alpha, go back to the symbol in the library, select it, and change from input text to static text.

I was going crazy - I was about to write it in Word, print as a pdf, and trim the pdf into a jpeg, but this has saved so much time. Thanks.

Post Information

  • Total Posts in this topic: 13 posts
  • Users browsing this forum: No registered users and 44 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.