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?

Answers


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.

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/StageVideo.html


Need Your Help

Docking with QWinWidget: Adding DockWidgetAreas to QWidgets

qt visual-c++

I have an application utilizing QWinWidget in a Win32 window. I'd like to add DockWidgets and the associated behaviour to it. There don't seem to be any exposed APIs for adding custom DockAreas, an...

How to format list in PHP to be used as an NSArray in Objective C?

php objective-c ios arrays web-services

So I am a totally new to PHP. In fact, I know nothing about it. I am developing an iPhone app and aiming to get a list of items from a server. My PHP script is literally just a "echo" command.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.