[Flashcoders] Access AIR API's from a loaded SWF

2011-02-04 Thread Glen Pike

Hi,

I am working on an application where I currently load a number of 
SWF's into a Shell SWF.


Recently I have been experimenting with using AIR 2 and Mass 
Storage Detection / File API's and would like to integrate this 
functionality into my application.


I can load in the Shell SWF to an AIR app and this works okay.

What I want to know, is it possible to use the AIR API's from 
within these loaded SWF's?  I have been looking around and I am not sure 
I can see a way to get my external SWF's to compile without making them 
part of AIR applications too?


I have been trying to do this with Pure AS3 projects in Flash 
Develop, but not having much luck.


I have been googling around and reading the doc's, but no joy, does 
anyone have any tips / suggestions please?


TIA

Glen


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Access AIR API's from a loaded SWF

2011-02-04 Thread Glen Pike

Hmm,

Okay Mr Ted, I managed to get something working, but I have to 
create 2 AIR projects compile the inner one and copy the SWF into my 
bin folder to package up with my outer swf.  It's a bit kludgy, but 
should work.


Thanks for listening ;)

Glen

On 04/02/2011 16:33, Glen Pike wrote:

Hi,

I am working on an application where I currently load a number of 
SWF's into a Shell SWF.


Recently I have been experimenting with using AIR 2 and Mass 
Storage Detection / File API's and would like to integrate this 
functionality into my application.


I can load in the Shell SWF to an AIR app and this works okay.

What I want to know, is it possible to use the AIR API's from 
within these loaded SWF's?  I have been looking around and I am not 
sure I can see a way to get my external SWF's to compile without 
making them part of AIR applications too?


I have been trying to do this with Pure AS3 projects in Flash 
Develop, but not having much luck.


I have been googling around and reading the doc's, but no joy, 
does anyone have any tips / suggestions please?


TIA

Glen


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders