[osflash] Retrieve DOM ID?

Rostislav Siryk rostislav.siryk at gmail.com
Tue Aug 7 13:15:55 PDT 2007


>  From inside Actionscript (I'm using MTASC, so AS 2.0), how can I get
> the ID or name used to create the movie?

you can't just retrieve this value using pure ActionScript (nor 2.0,
neither 3.0). To get it, some JavaScript needed. Or, if you has access
to the html generation, you can pass needed value to flash via
FlashVars parameter.

----
Rost


2007/8/7, Dave Brueck <dave.brueck at protoven.com>:
> Hi all,
>
>  From inside Actionscript (I'm using MTASC, so AS 2.0), how can I get
> the ID or name used to create the movie?
>
> For example, if the web page instantiated the movie via <object
> id="foo" ...>, how can I retrieve the value "foo" from inside the
> movie itself?
>
> TIA,
> -Dave
>
> _______________________________________________
> osflash mailing list
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>


-- 
----
Rost



More information about the osflash mailing list