Highlighted

Load FLVPlayback skin file on iOS

Community Beginner ,
Dec 05, 2014

Copy link to clipboard

Copied

I have built an application which plays flv videos using the FLVPlayback 2.5 component.

It works fine on Windows, Mac and Android but on iOS it hangs when loading the skin.

I searched and found that iOS doesn't allow loading secondary SWF with code in it which is the case as the skin SWF contains as3 code.

I tried the solution here:

http://blogs.adobe.com/airodynamics/2013/03/08/external-hosting-of-secondary-swfs-for-air-apps-on-io...

but didn't work for me.

I also embedded the skin SWF in the code, tried loading it and it worked in debugging with Fast Packaging using Flash Builder, but with Standard Packaging didn't, as well as when I exported a release built and ran it. I got the following message:

uncompiled.png

Does anyone have an idea what to do?

If I export the skin as .swc file and add it to my library path will it work and how can I load it? Has anyone tried it?

Thanks in advance.

TOPICS
Development

Views

223

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Load FLVPlayback skin file on iOS

Community Beginner ,
Dec 05, 2014

Copy link to clipboard

Copied

I have built an application which plays flv videos using the FLVPlayback 2.5 component.

It works fine on Windows, Mac and Android but on iOS it hangs when loading the skin.

I searched and found that iOS doesn't allow loading secondary SWF with code in it which is the case as the skin SWF contains as3 code.

I tried the solution here:

http://blogs.adobe.com/airodynamics/2013/03/08/external-hosting-of-secondary-swfs-for-air-apps-on-io...

but didn't work for me.

I also embedded the skin SWF in the code, tried loading it and it worked in debugging with Fast Packaging using Flash Builder, but with Standard Packaging didn't, as well as when I exported a release built and ran it. I got the following message:

uncompiled.png

Does anyone have an idea what to do?

If I export the skin as .swc file and add it to my library path will it work and how can I load it? Has anyone tried it?

Thanks in advance.

TOPICS
Development

Views

224

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Dec 05, 2014 0

Have something to add?

Join the conversation