View Full Version : [AS2] Changing scene

03-23-2010, 03:59 PM
In a projector application, when launched I have a little branded movie that plays. When that is done, how do I go to the next scene which has the actual interface?

03-23-2010, 04:23 PM
This isn't a question about projectors. It will work the same in a projector as it does online. Have a look at the Flash documentation for gotoAndPlay().

03-23-2010, 04:39 PM
Alright, I re-read my post and I guess I didn't specify my main problem. I got the gotoand part, I'm curious how does one know when the video is done playing? this is embedded video, not something in the timeline.

03-23-2010, 04:44 PM
Is the video an SWF or an FLV?

For an SWF you'll want to set up an enter frame event to watch the _currentframe and _totalframes properties.

For an FLV there will be events you can listen for to monitor playback progress.

03-23-2010, 04:49 PM
It's an FLV.

Would it be easier to do it as an SWF and have it play in the timeline? It's only about a 10 second video, but it has audio too. So I was worried about it losing sync.