loadMovie help

I am trying to load another swf file into my movie clip. It works but it always loads with the top left point of the swf file in the bottom right corner of my movie clip. In other words, how do I change the registration point of where it loads to? In addition, when I load another movie clip into a movie clip with the instance name “loader”, will the new movie still have the instance name loader or something different? Any help is greatly appreaciated.

Anand

You can’t! You should position the movieClip that it loads into so it loads into the right place!

Ok. Thanks. I gave up trying and I just reset the position of the loaded movie every time using onClipEvent(data). That works but I was just wondering if there was an easier way to do it

Another quick question: Is there any way to change the instance name of a a movie clip using action script?

http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary541.html

Yeah but that only returns the name. Can I use that to change it as well?

Yes.

perfect. for the syntax, it would just be movie._name = newname; or movie._name(newname);?

You use a string. :wink:
[AS]myOldInstanceName._name = “myNewInstanceName”;[/AS]

duh. right. thanks a lot

forgot my data types there

:stuck_out_tongue:

No problem. =)