There is no Actionscript API for introspecting the contents of a loaded
SWF.  The swf bytes are "interpreted" on load and stuck in other
structures like ApplicationDomain which are not inspectable.

 

A desperate person would load the swf as a bytearray, decompile it, then
loadbytes it.

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of helihobby
Sent: Thursday, September 13, 2007 9:34 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Is it possible to query a Flash SWF for its
images / symbol list ?

 

Thanks for that ...

That I can do ...

But I was hoping someone can shed light on how to get a list of all 
available Symbols from a loaded SWF.

I know it is possible since that's what all these SWF Decompilers do.
But how do you do it in actionscript ?

Will see, maybe someone knows.

Regards,

Sean.

--- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
, shaun <[EMAIL PROTECTED]> wrote:
>
> I just saw this on the MXNA flex feed, not sure if it helps in your 
> situation or not.
> 
> http://wildwinter.blogspot.com/2007/09/how-to-load-external-assets-
<http://wildwinter.blogspot.com/2007/09/how-to-load-external-assets-> 
from-as3.html
> 
> helihobby wrote:
> > Anyone ???
> > 
> > :(
> > 
> > 
> > --- In flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com> , "helihobby" <helihobby@> wrote:
> > 
> >>Hello all,
> >>
> >>I have a SWF that has some Symbols / images !!! ( Created using 
Flash 
> >>Editor CS3 )
> >>
> >>How can I retrieve the Symbols list it holds using ActionScript 
from 
> >>the loaded Flash swf ? ( I Used SWFLoader to load it ... )
> >>
> >>Regards,
> >>
> >>Sean.
> >>
> >>Click below to view my ALON Design Pattern:
> >>
> >>http://www.helihobby.com/html/alon_desingpattern.html
<http://www.helihobby.com/html/alon_desingpattern.html> 
> >>
> > 
> > 
> > 
> >
>

 

Reply via email to