How to move from Scene to another Scene in As3
I have two scene in my flash file , and I want to move from scene to the next scene a开发者_高级运维nd add fade effect when moving
can any one help please?
Thanks in Advance
It's not possible to make crossfade if you don't have the bitmap of first frame of your next scene stored somewhere.
To make a simple fade-out/fade-in just add a layer with a box movie clip of fitting color on top of your content in each of your scenes.
The box should be transparent when you want fade to happen. Fade the box in. Call nextScene() when the box is fully visible. Fade out the next box. Voila! You have your next scene through a rather smooth transition.
精彩评论