Thanks manish,

i tried that... still doesnt work..

i get this error when i hit "play" or "pause" or "stop" (autoplay="false")

TypeError: Error #1006: play is not a function.
        at viewvideo/__play_click()


when (autoplay="true")

the video plays, I get errors on pause/stop and when i close the
tilewindow it just does not unload even if my onClose() function has a
video.stop(); and video.close();

Rohan
http://opentube.info

--- In [email protected], "Manish Jethani"
<[EMAIL PROTECTED]> wrote:
>
> On 6/6/07, Rohan Pinto <[EMAIL PROTECTED]> wrote:
> 
> > <mx:VideoDisplay id="videoDisplay" height="350" width="450"
> > source="{video}" autoPlay="true"/>
> [snip]
> 
> > I have 2 issues.
> > 1. the play/pause/stop buttons dont work...
> 
> Hard to say why, but maybe it's because binding is firing on the
> source property and since you have autoPlay=true it's starting to play
> again? Try playing with the autoPlay property and/or removing the
> binding.
> 
> > 2. when the user closes the Tilewindow, the video DOES NOT unload,
> > the audio still keeps playing...
> 
> When the TitleWindow is closed, handle the event, call stop() and
> close() on the VideoDisplay object, and while you're at it also remove
> it from the display list by calling removeChild() and release all
> references to the object.
>


Reply via email to