Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 92406

Re: addeventlistener for FLVPlayback VideoError

$
0
0

apologies, but in the code above gives these errors:

 

Scene 1, Layer 'Scripts', Frame 1, Line 105 1061: Call to a possibly undefined method toString through a reference with static type fl.video:VideoError.          (line 105 is :  trace("3 - VideoError: " + e.toString());)

 

Scene 1, Layer 'Scripts', Frame 1, Line 108 1061: Call to a possibly undefined method toString through a reference with static type fl.video:VideoError.          (line 108 is :  trace("3 - VideoError: " + e.toString());)

 

Scene 1, Layer 'Scripts', Frame 1, Line 96 1067: Implicit coercion of a value of type uint to an unrelated type String.                                                                     (line 96 is: V1.addEventListener (VideoError.NO_CONNECTION, sourceFailed);)

 

The issue seems to be in the VideoError listener, even leaving just something like:

          V1.addEventListener (VideoError.NO_CONNECTION, sourceFailed);

          function sourceFailed (e:VideoError):void     { trace ("VideoError") }

 

Still gives the eror: Scene 1, Layer 'Scripts', Frame 1, Line 96 1067: Implicit coercion of a value of type uint to an unrelated type String.


Viewing all articles
Browse latest Browse all 92406

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>