09-27-2011 03:09 PM
i've a webwork app, wich use a flash player (flowplayer).
strangely when i try to put the player in the built app it does'nt work too (path/player.swf instead of http:/remoteserver.com/player.swf).
i tried to use the access config in the config.xml file to allow the remote server but it does'nt work too.
how can i get the same behavior in the app than in the browser ?
09-28-2011 10:21 PM - edited 09-28-2011 10:23 PM
Are you using the Flash ExternalInterface capability?
Embedding the SWF file or the HTML file that embeds it in your WebWorks BAR file gives flash problems trying to determine the origin of the SWF and the page which shuts down External Interface.
From what I remember from our testing, if you want to use ExternalInterface both the SWF and the HTML it is embedded in must be on the remote server.
I also believe that if you configure HTML5 AppCache you can make the remote swf and html page get loaded in once and then be served up locally through the AppCache functionality. So it would be a single download and if you wanted to update them you would have to update the server side AppCache manifest.