PDA

View Full Version : LoadMovie, Text Boxes Disappear (Pathing?)


SuperDMon
01-20-2003, 07:28 PM
Forum Members,

I've read the tutorials on pathing and I'm still at a loss as to how I fix my current situation. I have two flash movies, structure.swf and contact.swf Contact Loads into structure.swf which is the main timeline.

contact.swf has a bunch of action script functions that allow someone to fill out a contact form (i.e. name, email, message, etc) and it works just fine by itself.

I load the swf into a movieClip called empty like so:

loadMovie(_global.navpoint, "_root.empty");

_global.navpoint is just a global variable that contains the name of the movie, in this case it is set like so:

_global.navpoint="contact.swf";

After I load contact.swf all my text boxes are missing and my buttons have no names on them, etc.. this happens with any .swf file I load.

Like I said before, I'm pretty sure It's a pathing problem.. does this require me to modify my included movie, or the main movie, or both?? Any help would be greatly appreciated!

Charles

Cragdo
01-20-2003, 07:34 PM
you might want to try selecting everything in your contact.swf and coverting it to a mc. then maybe the external loading will work.

SuperDMon
01-20-2003, 07:51 PM
I'm not sure I follow you, do you mean selecting all the text boxes on the form and making them movie clips? Or do you mean making the whole movie one big movieclip? Sorry for the newbie questions, I've worked in flash for sometime now, but never tried loading or playing movies within movies before.. it's exciting and frustrating. :-(



Originally posted by Cragdo
you might want to try selecting everything in your contact.swf and coverting it to a mc. then maybe the external loading will work.

SuperDMon
01-20-2003, 08:40 PM
Whoah, now I'm really worried. I created a small 2 frame movie called newmain.swf and had it do nothing but a loadmovie command on my contact.swf and it loaded in just fine! I got all my buttons and textboxes, yet my main.swf file does not show the text boxes, etc.. ???

If you guys have an answer for me I'm all ears!

Charles

farafiro
01-21-2003, 08:41 AM
in the loaded swf, r u using the word _root in your script?? also do u load the text Dynamicly by AS??