Highlighted

AIR App, load externally hosted SWF which loads XML

New Here ,
Nov 13, 2014

Copy link to clipboard

Copied

I am wondering if this is even possible, because I am getting error 2148. 

I am loading in SWF files that are externally hosted into an AIR app.  Everything works great!

Is it possible to have one  of these child SWFs load in some type of XML data or access an XML file on the desktop/tmp?

Or if need be, should I have the AIR app do all the loading (including the other XML) and pass that to the child SWF?

Thanks in advance!

In detail:

AIR app -> Loads SWFs

SWFS -> Load XML

SWF -> displays something or does something RAD!!!

Stuff I have tried:

Ive added an mms.cfg file in the proper places, as well as, changed my adobe security settings to allow access to a "tmp" folder on desktop. The loaded SWF from an external domain loads fine however it still shows an error 2148 when trying to access an XML file within the "tmp" folder on desktop. The SWF when published is also set to "access local files"

TOPICS
Development

Views

110

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

AIR App, load externally hosted SWF which loads XML

New Here ,
Nov 13, 2014

Copy link to clipboard

Copied

I am wondering if this is even possible, because I am getting error 2148. 

I am loading in SWF files that are externally hosted into an AIR app.  Everything works great!

Is it possible to have one  of these child SWFs load in some type of XML data or access an XML file on the desktop/tmp?

Or if need be, should I have the AIR app do all the loading (including the other XML) and pass that to the child SWF?

Thanks in advance!

In detail:

AIR app -> Loads SWFs

SWFS -> Load XML

SWF -> displays something or does something RAD!!!

Stuff I have tried:

Ive added an mms.cfg file in the proper places, as well as, changed my adobe security settings to allow access to a "tmp" folder on desktop. The loaded SWF from an external domain loads fine however it still shows an error 2148 when trying to access an XML file within the "tmp" folder on desktop. The SWF when published is also set to "access local files"

TOPICS
Development

Views

111

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
Nov 13, 2014 0

Have something to add?

Join the conversation