http://www.adobe.com/fake.flv returns a 404 response but the others do 
not. A 404 would be a connection error, but the others are not errors, 
but vaild data.

Peter DeHaan wrote:
>
> Bjorn,
>
> Can you please file a bug in the Flex bug base at 
> http://bugs.adobe.com/flex/?
>
> It seems that the behavior is a bit inconsistent. In some cases (like 
> trying to load http://www.adobe.com/fake.flv, you can listen for the 
> stateChange event and compare the video display control’s state 
> property to the VideoEvent.CONNECTION_ERROR constant. Although it 
> seems a similar state change event isn’t being dispatched when trying 
> to load something like http://www.adobe.com/ (or, oddly I don’t see 
> the similar event when trying to load http://www.skitx.com/fake.flv)
>
> Peter
>
> ------------------------------------------------------------------------
>
> *From:* [email protected] [mailto:[EMAIL PROTECTED] 
> *On Behalf Of *bjorn -
> *Sent:* Tuesday, October 23, 2007 6:52 AM
> *To:* [email protected]
> *Subject:* [flexcoders] What event does VideoDisplay send on wrong data?
>
> If I try to set the .source property of a VideoDisplay object to an 
> URL which I know isn't a video file (e.g. http://www.skitx.com/ 
> <http://www.skitx.com/>) I only get Loading events:
>
> [Event type="stateChange" bubbles=false cancelable=false eventPhase=2] 
> state:loading
> [ProgressEvent type="progress" bubbles=false cancelable=false 
> eventPhase=2 bytesLoaded=0 bytesTotal=0] state:loading
> [ProgressEvent type="progress" bubbles=true cancelable=false 
> eventPhase=3 bytesLoaded=130 bytesTotal=130] state:loading
>
> Why no error events of any kind?
>
> Bjørn
>
> -- 
>
> ========================
> http://www.juicability.com <http://www.juicability.com> - flex blog
> http://www.43min.com <http://www.43min.com> - funny movies
>
> 



--
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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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/
 

Reply via email to