header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
nannu
Points:0
Posts:0

6/3/2010 1:55:23 AM

Title: how to stop video when switching to other components


hi all,

i have 3 components two forms and one video component.by using view stack i am switching from one component to other

the problem i am facing is wherever i am moving to form the containers the video which is playing in the video component is on play mode, i want to stop the video whenever i select form component

thanks



1
Brad
Points: 750
Posts:0
6/3/2010 4:42:39 AM



use the event that you are using to switch between the view stacks to stop the video if some other view stack is selected than video view stack

2
Warrior
Points: 420
Posts:0
6/3/2010 7:42:17 AM



On click of your switching buttons of all other states than the one with video stop your video.
oneStateButton onclick video.stop()
videoStateButton onclick //stop video required
twoStateButton onclick video.stop()


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 7+4 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions