There is no API to query a SWF for its contents.  The easiest way is to
force everyone to put a list somewhere that you know how to get to.

 

There is a way to load the swf as a bytearray and scan its contents, but
that won't be fun.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of helihobby
Sent: Saturday, September 22, 2007 5:50 PM
To: [email protected]
Subject: [flexcoders] Re: Is it possible to query a Flash SWF for its
images / symbol list ?

 

The issue I am trying to solve is this ...

If a user loads a compiled SWF to my site ... How can I dynamically 
from within Actionscript get a list of the embeded images ( 
Symbols ) ?

Is it possible ?

Regards and thanks again,

Sean.

--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "helihobby" <[EMAIL PROTECTED]> 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