Copy link to clipboard
Copied
Trying to add a goToAndStop event when a video finishes playing in AS3 for an AIR application. Building a simple DVD-like video player with animated menu page. Also need to return to first frame if no interaction happens on menu for 30 seconds.
Thanks in advance. rg
Copy link to clipboard
Copied
Are you using NetStreaM?
if yes, check NetStream.Play.Stop on the NetStream Handler the use a Timer class to run a function after 30s
Copy link to clipboard
Copied
I saw a library of Netstream code, but to be honest my lack of coding experience made it a mystery. That makes a difference as to where I start: HTML5 canvas or an AC3 AIR app for desktop, correct? I have tried this both ways and can get most of the interaction to do what I want except the listener and timer events.
Since DVD's are fading away, I would think that this is a commonly asked for interface for interactive video playback.
Copy link to clipboard
Copied
I have a complete interface created in HTML5 canvas that I like the best. Everything works perfectly except it requires the user to click the "home" button to get back to the menu when a video finishes instead of automatically dropping back to menu frame.
Also needing the menu to close and return to looping video on frame one after 30 seconds of no action. I tried a timer event that worked, but it then affected all my movies, stopping them after 30 seconds. Even though movies are on subsequent frames. Maybe a "timer stop" snippet is required when movie_btn's are clicked?
thanks for help everyone.
rg