This depends on when the component you're using is instantiated. I don't
think the component will instantiate before the vars. The vars should be
available on the very first frame, meaning they are set before you're even
allowed to execute code...

Does that answer your question?

On 8/7/07, eric e. dolecki <[EMAIL PROTECTED]> wrote:
>
> Quick Q (without testing myself yet)...
>
> I have a component that takes params via Component Params panel
> (inspectable
> meta) - cool. But I also would like one to be able to set some of those
> params via SWFobject javascript. like:
>
> var so = new SWFObject("movie.swf", "mymovie", "400", "200", "8",
> "#336699");
> so.addVariable("variable1", "value1");
> ...
>
> I can then have the component check a location (_root or _parent, etc)
> for those variables and then use those instead...
>
> I am assuming that the inspectable params are set before frame1, and
> then the vars passed into a SWF come in on frame1...
>
> Does this sound about right?
>
> - Eric
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to