Hi Andrew,
make sure you have set up the linkage on the component or movieclip by
right clicking on it and choosing linkage, add a name and check export for
actionscript. The use the attachMovie() method. When you attach it you add a
new name in the arguments which you then use to reference the movieclip or
component, so if you called it myCheckBox you can then assign properties to
it like this:
myCheckBox._x=100;
etc.
hope this helps.
Jon
On 17/12/2003, at 1:57 PM, Andrew Mercer wrote:
I am sure this is a
real basic thing, but I am having troubles finding any help on
it.
I have a component
(movie clip) in the library - how do I programmatically add an instance of
it to th stage?
Regards,
Andrew Mercer
Senior Developer
Power Business
Systems
7 Aberdeen
Street
Perth WA 6000
T: +61 8 9221 1182
F: +61 8 9325 5198
E:[EMAIL PROTECTED]
W:www.power.net.au
" May happiness be yours
during the season of goodwill, and may the New Year bring you and yours,
peace and prosperity."
Happy Holidays from your
team atPower Business Systems.
CAUTION
-
This message may contain
privileged and confidential information intended only for the use of the
addressee named above. If you are not the intended recipient of this
message you are hereby notified that any use, dissemination, distribution
or reproduction of this message is prohibited. If you have received this
message in error please notify Power Business Systems immediately. Any
views expressed in this message are those of the individual sender and may
not necessarily reflect the views of Power Business
Systems.
---
You are currently subscribed to fugli as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004
Jon Bloomer - Web Designer
One Of A Kind
email: [EMAIL PROTECTED]
http://www.oneofakind.com.au
P: 02-9699-2477 F: 02-9699-2857
PO Box 1466 Darlinghurst NSW 2010
---