Flvplayer skin swf won't load on iOS
I'm trying to use the FLVPlayer in an iOS app, and use the MinimaFlatCustomColorPlayBackSeekCounterVolMute.swf skin
I embedded the swf into the application, as I know it contains some code, and apple don't allow swfs with external code to be loaded. (Actually the code gets stripped out if you try to load one).
This works fine on the PC and also on the Mac
But on iOS I get Error 3474 "
Multiple application domains are not supported on this operating system.
because of
UIManager/http://www.adobe.com/2007/flash/flvplayback/internal::downloadSkin()
Looking at the FLV control, there doesnt seem to be a way to attach a movieclip from the library for the skin, as the skin paramater is a string which the FVLPlayer uses as the URL to load the SWF
There also doesnt seem to be a way to set the loadercontext of the FLVPlayer e.g. to the Application context, which may possibly fix this problem.
Currently, I assume that I'll need to probably need to have the skin as a movieclip in the library, but write code to individually set each of the buttons etc etc in the FLVPlayer object (that is created in the code), to the sub mc's inside the library symbol.
Also, looking at what the MinimaFlatCustomColorPlayBackSeekCounterVolMute swf does, it seems to have code in it for the "Counter" which would need to have its own class and code, and I think the same applies to some, but not all of the buttons.
Is this the only way to get a skin to work on the FLVPlayer on iOS ??
