阅读背景:

Flash AS3 Tweelite和XML问题

来源:互联网 

I have a two frame Flash CS3 animation. On the first frame, I am (successfully) loading four images onto the frame, and rotating through them (successfully) using TweenLite. When the user clicks on a button, a variable (resumeVideoOn) is set to indicate the current image that the user was looking at, and they are taken to frame2 which plays a corresponding video. When the video is done playing, the user has the option to click either a button to replay the video, or a button to take them back to frame1 (through a simple gotoAndPlay(1) call). When the user returns to frame1, I detect the value of 'resumeVideoOn' to determine which function to resume the animation loop on. It loads the initial image correctly. However, while it continues running through the series of functions (I can tell due to traces and the fact that other tweens being called in these functions are working properly), only the original image that you return to is displaying (the other three images being called by TweenLite don't appear). I've gone in circles on this for a while now. Below is some of the code, although there is a lot, so I tried to only put the necessary stuff:I have a two frame Flash CS3 animation. On the




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: