I am using the flvplayback component to load an flv from my local machine. It loads and plays back just fine.
Now I want to add a button under the component that, when clicked, will stop playback and return the user to the first frame of my swf, which is a menu.
I feel like it should be as simple as this script on the button:
on (release) {
Viewer.stop();
gotoAndPlay(“Landing”);
}
“Viewer” is the instance name for the component and “Landing” is the frame label for that first frame.
I am under the gun on this project so any quick tips would be greatly appreciated! Thanks.