[flexcoders] Re: Is it possible to query a Flash SWF for its images / symbol list ?

2007-09-22 Thread helihobby
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 flexcoders@yahoogroups.com, helihobby [EMAIL

RE: [flexcoders] Re: Is it possible to query a Flash SWF for its images / symbol list ?

2007-09-22 Thread Alex Harui
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:

RE: [flexcoders] Re: Is it possible to query a Flash SWF for its images / symbol list ?

2007-09-14 Thread Alex Harui
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.

Re: [flexcoders] Re: Is it possible to query a Flash SWF for its images / symbol list ?

2007-09-14 Thread Troy Gilbert
That's a real shame. I had hoped it was possible, but had actually worked around it in my own situation because I hadn't found anything (though I thought I was just being lazy). I guess there's not iterator-version of getDefinitionByName, huh? Any thoughts I why you can't iterate through a loaded

[flexcoders] Re: Is it possible to query a Flash SWF for its images / symbol list ?

2007-09-13 Thread helihobby
Anyone ??? :( --- In flexcoders@yahoogroups.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

Re: [flexcoders] Re: Is it possible to query a Flash SWF for its images / symbol list ?

2007-09-13 Thread shaun
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-from-as3.html helihobby wrote: Anyone ??? :( --- In flexcoders@yahoogroups.com, helihobby [EMAIL PROTECTED] wrote: Hello all, I

[flexcoders] Re: Is it possible to query a Flash SWF for its images / symbol list ?

2007-09-13 Thread helihobby
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,

Re: [flexcoders] Re: Is it possible to query a Flash SWF for its images / symbol list ?

2007-09-13 Thread shaun
helihobby wrote: 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 ? Take a look at