Well, a couple of reasons.  I mean you can, it's possible, but the reason for 
container clips is so you have the ability to load more than one clip. If you 
load into _root, everything in that movie clip will be replaced by the new clip 
you are loading in, and if you try and load a second clip into _root, only the 
second clip will appear, the first clip will be overwritten:

loadMovie("clip1.swf", _root);
loadMovie("clip2.swf", _root);
//only clip2.swf will appear

And loading from c:, I can't see how that would be wise in almost any 
circumstance, but maybe you have a reason to do so.  

As for _root itself, a lot of people will tell you its not wise to reference 
it, because as Flash applications gain hierarchies, _root changes often and is 
not a reliable reference to hard code into your application.

I don't mean to be harsh, only to answer your questions.  Hope that helps.

Jason Merrill  










>>-----Original Message-----
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] Behalf Of Dhiraj
>>Girdhar
>>Sent: Tuesday, January 31, 2006 6:33 AM
>>To: Flashcoders mailing list
>>Subject: RE: [Flashcoders] LoadMovie Problem?
>>
>>
>>Hey Jason,
>>      Thanks for your reply. Sorry, it was just a typo mistake ("C:\\
>>pages.swf"). I just want to know problems of loading the SWF file on
>>root movie. Creating a new movie clip and loading that SWF 
>>file in that
>>will solve the purpose but it is not clearing my doubt.
>>
>>Let me explore this problem in more detail.
>>If I am loading the movie clip in some other movie clip (except root)
>>then the control will be still in previous movie. But I want 
>>the control
>>in new movie clip which I am going to load. Is it making any sense?
>>Please correct if I am wrong.
>>
>>Dhiraj
>>
>>-----Original Message-----
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] On Behalf 
>>Of Merrill,
>>Jason
>>Sent: Tuesday, January 31, 2006 4:30 PM
>>To: Flashcoders mailing list
>>Subject: RE: [Flashcoders] LoadMovie Problem?
>>
>>You also have a space in there:
>>
>>"C:\\ pages.swf"
>>
>>I would not recommend loading from c:  -you can't guarantee the file
>>will always be there can you?  Loal from a relative url instead, and
>>don't try and load into _root - create and empty movie clip instance,
>>and load into that.
>>
>>Jason Merrill  
>>
>>
>>
>>
>>
>>
>>
>>
>>>>-----Original Message-----
>>>>From: [EMAIL PROTECTED]
>>>>[mailto:[EMAIL PROTECTED] Behalf 
>>Of Dhiraj
>>>>Girdhar
>>>>Sent: Tuesday, January 31, 2006 2:35 AM
>>>>To: Flashcoders mailing list
>>>>Subject: [Flashcoders] LoadMovie Problem?
>>>>
>>>>
>>>>Hi All,
>>>>
>>>> 
>>>>
>>>>I am trying to load a new SWF file on root movie clip using 
>>following
>>>>action script code, but it is not working properly. It is 
>>loading its
>>>>first frame only. But the SWF file (to be loaded) is having 
>>more than
>>>>one pages.
>>>>
>>>> 
>>>>
>>>>loadMovie("C:\\ pages.swf", _root);
>>>>
>>>>_root.gotoAndStop(3);
>>>>
>>>> 
>>>>
>>>>Any solution?
>>>>
>>>> 
>>>>
>>>> 
>>>>
>>>>Regards:
>>>>
>>>>Dhiraj
>>>>
>>>>_______________________________________________
>>>>Flashcoders mailing list
>>>>[email protected]
>>>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>>
>>NOTICE:
>>This message is for the designated recipient only and may contain
>>privileged or confidential information. If you have received it in
>>error, please notify the sender immediately and delete the 
>>original. Any
>>other use of this e-mail by you is prohibited.
>>_______________________________________________
>>Flashcoders mailing list
>>[email protected]
>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>_______________________________________________
>>Flashcoders mailing list
>>[email protected]
>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to