This content has been marked as final. Show 3 replies
> Is there any way to directly access an embedded Flash
> Objects properties from external to its container(the shockwave app)?
Your question - or what you need to do - is confusing. Can you be more
specific? What do you mean by "external to the shockwave app"? Are you
trying to access the #flash member from JS in the HTML hosting document,
or do you need to export the Flash member from the Director castLib, or
Yes, I would like to know if theres any way to get and set flash variables inside an internal flash component, from the HTML hosting document.
For that matter, How would I go about getting and setting Director variables from the HTML host?
> Yes, I would like to know if theres any way to get and set flash variables
> inside an internal flash component, from the HTML hosting document.
> For that matter, How would I go about getting and setting Director variables
> from the HTML host?
Setting Director variables can be as simple as setting sw1 -> sw9
parameters in your HTML. Check the docs for externalParamName() and
associated entries. These will allow your Shockwave movies to access
(static?) parameters you set in your HTML.
As far as getting properties back to the HTML document from within a SW
http://dasdeck.de/staff/valentin/lingo/dir_js/ (which could be used in
place of external parameters). This kit is also probably the best way to
have the browser "communicate" with a Flash file hosted inside a SW
movie: HTML(JS) <-> SW movie <-> Flash sprite