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
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:
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.
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
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
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
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,
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
8 matches
Mail list logo