all groups > flash actionscript > november 2006 >
You're in the

flash actionscript

group:

Read all AS from a frame?


Re: Read all AS from a frame? Jose Guevara
11/17/2006 5:23:14 PM
flash actionscript:
All the objects?
for ( var k in _root ) {
trace(k + ": " + _root[k]);
}

[quoted text, click to view]

Read all AS from a frame? chrisbhansen
11/17/2006 8:19:45 PM
Hey All,

Just wondering if it is possible to gather all the Actionscript from a
specific frame via Actionscript calls... - I can clean up the data later - just
not sure if there is a way to suck it all out... Anyone have any ideas?

Thanks in advance,

Chris Hansen
Re: Read all AS from a frame? chrisbhansen
11/18/2006 3:48:55 PM
Hi Jose,

Thanks for the reply. - I see that that code returns a listing of objects at
the root level for a Flash file - but I was wondering if by using this *type*
of call or something similar - that I could return the code inside the first
frame of an object.

I'll explain a little further:

We have clients that use our templates to create interactive Flash pieces. -
When they use our components, etc. - it writes a whole bunch of data to a
separate scene and in to the first frame of that scene. - I'm just wondering
how I could pull all that data out of that frame with a command - because I
know the format it is written in - so therefore could parse it and then
manipulate that data.

...

I appreciate the reply and will keep looking myself...

- C
AddThis Social Bookmark Button