Gary,
> Thank you for responding. I'm using AS2. I still have some
> confusion. In your example the passed in variable is OrangeJuice.
> But what if on the next user it is HashBrowns?
If the actual name of the external variable changes, then of course
you'll have to update your ActionScript to look for the new variable. Does
that make sense?
> I'm looking for a way to drop in the passed in variable, let's call it
> BreakfastItem, into the components parameter panel. So in my
> mind I want to be able to put in #breakfastitem# ... in the
> components parameters tab, and have the Flash automatically
> populate the parameter with the actual value that is passed
> in.
Based on what you're typed, it looks like the name of your variable is
breakfastitem, whose string value might be "orange juice" or "hash browns"
(or whatever) ... which means you'll put breakfastitem (without the pound
signs) into your parameters panel -- and that assumes that the FlashVars
variable (the incoming variable) is named breakfastitem.
If, for some reason, the Parameters panel doesn't agree with dynamic
data, then give your component an instance name (see the Parameters panel or
Property inspector) use dot notation, as I showed earlier.
If this still isn't clear, keep asking. :) What you're after is
certainly doable, and I'm happy to keep rewording my suggestions until thay
make sense.
David Stiller
Contributor, How to Cheat in Flash CS3
http://tinyurl.com/2cp6na
"Luck is the residue of good design."