Author Message

Posted: Mon Mar 07, 2016 3:32 am   Post subject: Error Loading Remote Content

Salaam
I am developing an AS3 AIR application for android which loads ispring created flash movies from the server side.
for some reasons I have 2 stages of loading:
1. the host Android App (MainApp.swf) loads "A.swf";
2. the "A.swf" loads the ispring flash content (e.g. courses);
the first stage loading is done well. but when "A.swf" loads ispring content, after loading is 100% complete, the following error is thrown:

*** Security Sandbox Violation ***
SecurityDomain 'aaa.com/A.swf' tried to access incompatible context 'app:/MainApp.swf'
ReferenceError: Error #1069: Property ispring.presenter.presentation.settings:ISettings::showSlidePreloader not found on ispring.presenter.presentation.settings.Settings and there is no default value.
at ispring.presenter.player::PresentationView()
at ispring.presenter::PresentationPlayer()
at ispring.presenter.player::PresentationPlayerCore/init()
at ispring.presenter.player::PresentationPlayerCore/createEmbeddedPlayer()
at ispring.resources_eb7faf8::MainMovie_3312837/frame2()
Cannot display source code at this location.
Debug session terminated.

My code which loads the ispring content is:

Code:
var appDomain:ApplicationDomain = new ApplicationDomain();
var context:LoaderContext = new LoaderContext(false, appDomain);
m_loader.unloadAndStop();

trace(Security.sandboxType);
if(Security.sandboxType == Security.REMOTE)
   {context.securityDomain = SecurityDomain.currentDomain};

context.applicationDomain = AplicationDomain.currentDomain;
m_loader.load(new URLRequest(url), context);
// I also tried the following but it is not working too
   //m_loader.load(new URLRequest(url));


Profile profile test

Posted: Mon Mar 07, 2016 2:04 pm   Post subject: Re: Error Loading Remote Content

Thank you for posting here!
Does the file created with iSpring work correctly from a folder on your PC or on your website, without using your custom application?
iSpring cannot guarantee that the content created with iSpring will work in a 3d-party application.
We have our own application - iSpring Play: http://www.ispringsolutions.com/ispring-mobile-player.html.
It is free and available in Google Play and Apple Store. With iSpring Play you can save your presentations for offline viewing.
Code Review is not covered by our free support services.
If you would like that we review the code that you are using, this service can be provided only for an additional fee.
For more information you can contact our support desk: support@ispringsolutions.com


Profile profile test
Display posts from previous:  Sort by  

  


Who is online
Who is online In total there are 9 users online :: 2 registered, 0 hidden and 7 guests (based on users active over the past 5 minutes)
Most users ever online was 108 on Thu Nov 21, 2013 3:41 pm

Registered users: Baidu [Spider], Bing [Bot]