Flash Fade Out
- Started
- Last post
- 9 Responses
- springbok
Anyone help me with a little problem I am having with flash, I want a loaded swf to fade out once another button in the menu is clicked? How would I do this?
D
- joyride0
install that extension, then onRelease of the menu button
yourMovieClip.alphaTo(0, 4)couple other attributes you can use but simple fades are easy with that extension, play around with it
- springbok0
cheers joyride2 that looks great
- springbok0
will this work even if the external swf are being loaded into the same mc_holder?
- joyride0
huh? your loading the external swf into a movieClip right? Are you trying to push something else into that movieClip?
- springbok0
each button is loading a seperate external swf into a MC called mc_work_holder, and wondering if it is possible to have either the holder movie clip fade out when another work button is pressed, or have mc's in the external MC fade out, when another work btn is pressed?
- joyride0
yeah, you can do that. Basically, you you need to add some more properties to the alphaTo call.
your_mc .alphaTo (0, 5, "linear", 0, onEnd);
func tion on End( ) {
load your movieclip here
}This will call the functino onEnd when the transition finishes, which will load your swf into the clip
That make sense?
- springbok0
yea kinda, am I ok to email you if I have any problems with it,
Thanks joyride
- joyride0
yeah, i can answer by email later if you got issues