Air for iOS - StageVideo - index is out of range error

When I was working with StageVideo in Flash Pro CS5 I always got the error:

RangeError: Error #1125: The index 0 is out of range 0

It was solved by updating and using the debug player in Flash Pro, because the default SWF player (used when testing the movie) was not new enough to support StageVideo.

Now, I'm using Flash Pro CS6 to compile iOS apps using Adobe Air 3.4. It works great on my iPad, but I always get the same error when testing the Air app in my desktop machine, wether in debug mode or not.

Is it possible to get rid of this error?


Well the answer is simple. Adobe Air for desktop does not support StageVideo...

The StageVideo class is not supported in the AIR desktop or extendedDesktop profiles.

Need Your Help

Add a class to div when there is an error on #div.load?(Jquery)

jquery css html

I need to show my error message in red when the div.load errors out as shown in the code. If it is success, I would render the content as it is, How can I do this?

Cannot rotate interface orientation to portrait upside down

iphone ios6 storyboard portrait interface-orientation

Both on iPhone simulator and iPhone 3GS (iOS 6) I cannot manage to set the orientation to portrait upside down. I have just one ViewController. I've added this code in it: