Hi Alan.

In the same class / at the same position where you load your child movieclip.
One line below your loadClip method call.


Alan Neilsen schrieb:
Can somebody please help a dummy. I am trying to pass user input text (user's 
name) from a parent SWF to a child SWF. Poste9 has told me I can use:



ldr1.contentLoaderInfo.addEventListener(Event.COMPLETE,completeHandler);



public function completeHandler(event:Event) {

MovieClip(event.currentTarget)._parent = this;

}



Thanks Poste9, but I don't know where/how to use that. I assume I need to put 
this code in a package (that's what the Flash help tells me), but I am not sure 
how to do that and how to refer to the package. Can somebody please explain the 
steps I need to follow to pass user input text from one SWF to another.

Alan Neilsen


This message is for the named person’s use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or; lost by any mistransmission. If
you receive this message in error, please immediately delete it and all
copies of it from your system, destroy any hard copies of it and notify
the sender. You must not directly or indirectly, use, disclose,
distribute, print or copy any part of this message if you are not the
intended recipient. GOULBURN OVENS INSTITUTE OF TAFE and
any of its subsidiaries each reserve the right to monitor all e-mail
communications through its networks. Any views expressed in this
message are those of the individual sender, except where the
message states otherwise and the sender is authorised to state them
to be the views of any such entity.

#####################################################################################
This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal
#####################################################################################
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to