Re: [flexcoders] VideoDisplay Problems

2006-07-18 Thread JesterXL
Kill it.  It's possible to get corrupted MovieClips, so I'm sure if you pass 
garbage data into something and it can't filter it out, your best bet is to 
make a new one.  Try using a catch for the 1k error, and if so, remove it 
from the display list, remove it's listeners, and delete the mofo.  Then, 
create a new one.

- Original Message - 
From: "alpharythms" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, July 18, 2006 6:18 PM
Subject: [flexcoders] VideoDisplay Problems


I've discovered that if you load an invalid source into the
VideoDisplay it will no longer work even if you change the source to a
valid one later and will get the Error:1000 if you try to issue a
Play() command.

Might be a clue on how to work around your video problems.  And of
course if anyone has a way make a VideoDisplay work after it has been
corupted with an invalid path I would be interested in hearing it.

-Adam





> I am having this same problem, but I am just playing videos off my
> local computer.  I have a listBox with several items in it.  When you
> selct on of the items it loads a new video into my VideoDisplay
> component.  Some times it has an error, other times it does not.  I
> think it is a sync issue, but I am not sure how to solve it.  Anyone
> make any progress on this issue?
>
> Error: 1000: No bitrate match
> at mx.controls.videoClasses::VideoPlayer/seek()
> at mx.controls::VideoDisplay/::autoPlaying()
> at mx.controls::VideoDisplay/set source()
> at VideoSelection/videoSelectListFunc()
> at VideoSelection/__videoSelectList_change()
> at
>
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
> at flash.events::EventDispatcher/dispatchEvent()
> at
>
mx.controls.listClasses::ListBase/mx.controls.listClasses:ListBase::mouseUpHandler()
> at mx.controls::List/mx.controls:List::mouseUpHandler()
>
> --jason
>
> --- In flexcoders@yahoogroups.com, Bhavin Padhiyar  wrote:
> >
> > hi abdul,
> >   Actually problem is that videodisplay is not accepting  source
> value when I host application to remote server.
> >
> >   Even I set crossdomain policy on server.
> >
> >   Is there any security problem or what ??
> >
> >
> >
> > Abdul Qabiz  wrote:
> Have you set hardcoded value for the bitrate?
> >
> > -abdul
> >
> >
> > On 6/21/06, Bhavin Padhiyar  wrote:
> hi Tom
> >   It is givinging me error of no bitrate match
> >
> >   Error: 1000: No bitrate match
> >   at   mx.controls.videoClasses::VideoPlayer/play()
> >   at mx.controls::VideoDisplay/play()
> > at Support/::toggle()
> >   at Support/___Button1_click()







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links







 Yahoo! Groups Sponsor ~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] VideoDisplay Problems

2006-07-18 Thread alpharythms
I've discovered that if you load an invalid source into the
VideoDisplay it will no longer work even if you change the source to a
valid one later and will get the Error:1000 if you try to issue a
Play() command.

Might be a clue on how to work around your video problems.  And of
course if anyone has a way make a VideoDisplay work after it has been
corupted with an invalid path I would be interested in hearing it.

-Adam





> I am having this same problem, but I am just playing videos off my
> local computer.  I have a listBox with several items in it.  When you
> selct on of the items it loads a new video into my VideoDisplay
> component.  Some times it has an error, other times it does not.  I
> think it is a sync issue, but I am not sure how to solve it.  Anyone
> make any progress on this issue?
> 
> Error: 1000: No bitrate match
>   at mx.controls.videoClasses::VideoPlayer/seek()
>   at mx.controls::VideoDisplay/::autoPlaying()
>   at mx.controls::VideoDisplay/set source()
>   at VideoSelection/videoSelectListFunc()
>   at VideoSelection/__videoSelectList_change()
>   at
>
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
>   at flash.events::EventDispatcher/dispatchEvent()
>   at
>
mx.controls.listClasses::ListBase/mx.controls.listClasses:ListBase::mouseUpHandler()
>   at mx.controls::List/mx.controls:List::mouseUpHandler()
> 
> --jason
> 
> --- In flexcoders@yahoogroups.com, Bhavin Padhiyar  wrote:
> >
> > hi abdul,
> >   Actually problem is that videodisplay is not accepting  source
> value when I host application to remote server.
> >
> >   Even I set crossdomain policy on server.
> >
> >   Is there any security problem or what ??
> >   
> >   
> >   
> > Abdul Qabiz  wrote:   
> Have you set hardcoded value for the bitrate? 
> > 
> > -abdul
> > 
> > 
> > On 6/21/06, Bhavin Padhiyar  wrote:   
> hi Tom 
> >   It is givinging me error of no bitrate match
> >   
> >   Error: 1000: No bitrate match
> >   at   mx.controls.videoClasses::VideoPlayer/play()
> >   at mx.controls::VideoDisplay/play()
> > at Support/::toggle()
> >   at Support/___Button1_click()






 Yahoo! Groups Sponsor ~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/