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
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
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()