You need to embed your fonts, the system
fonts won’t fade for you.
http://livedocs.macromedia.com/flex/15/flex_docs_en/00000567.htm
You’ll probably want a local font.
As for having the current item fade out and the next fade in I would
specify hide and show effects, but for the show effect create a sequence and
put a pause in for the same amount of time as the “hiding’s”
fade.
Matt
From: temporal_illusion
[mailto:[EMAIL PROTECTED]
Sent: Saturday, February 12,2005
3:54 PM
To: [EMAIL PROTECTED]
Subject: [flexcoders] Effects and
and a ViewStack
I'm trying to create a viewstack with a linkbar to
control it and when
adding effects, I'm noticing some behaviour that
probably indicates
that I'm doing things totally wrong :)
One thing I want to do is have the
<mx:LinkBar/> fade in and out
depending on other things. I can do this no
problem, except the text
in the linkbar never fades in our out; it is
always constant. The
little seperator bars however fade in and out
quite nicely :) Any
idea why
this is?
Second, I'm trying to make it so when I fadein
the LinkBar, the first
item of the ViewStack also fades in. Ido
all this through some
ActionScript in a sequence, by having the alpha of
the viewstack set
to 0 and then doing a Fade to 100. Andthis
all works, except that
all the text in whatever component is insidethe
viewstack is visible
right away. I tried setting
viewstack.visible=false and then it's
hidden fine, but whenever I unhide it the text
just pops into
existance. I also set changeEffect=Fade on
the ViewStack, and that
seems to fade the text in properly. How do I
get the effect I created
to fade in the text properly like the changeEffect
property does?
I would also like to have the current item in the
viewstack fade out
before the next one fades in (currently fadejust
blinks the old
component away and fades in the new one).
Any idea on how to
accomplish that?