Link to home
Start Free TrialLog in
Avatar of SuperMario
SuperMario

asked on

attachMovie and FListBox

Hi all,
I have a movie clip with an instance of an FListBox in it. Whenever I try to attach a new instance of this movie to the stage, the instance name of the FListBox does not get picked up and I cannot access it!

Is there any particular reason for this, and is there a suitable workaround?

Thank you,
-Dan
Avatar of negatyve
negatyve

How do you do it?
Avatar of SuperMario

ASKER

Ordinarily I'd do something like

_root.attachMovie("myMovieLinkageSymbol", "movieClip2", 1);
movieClip2.ListBoxInstance.addItem("Screw", "This");

This doesn't work, but if I drag an instance of myMovieLinkageSymbol onto the stage, call it movieClip2, and write the same line of code, it's added.

Thanks,
-Dan
ASKER CERTIFIED SOLUTION
Avatar of negatyve
negatyve

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial