LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-27-2003, 07:03 PM
drewbie drewbie is offline
Registered User
 
Join Date: Mar 2003
Location: TX
Posts: 2
Rep Power: 0
drewbie is on a distinguished road
Question problem with _root while loading external movies

Hi,

According to the Flash help, "if a script in level 1 evaluates _root, _level1 is returned."

I have a movie clip in my main file that is placed in level1. I load external swfs into this clip. However, the problem I'm having is when I use "_root" in my external swfs, they treat that as "_level0" instead of "_level1." When I do "targetPath(_root)" inside the external swf, it returns "_level0.containerArea", which is the movie clip into which I'm loading these external swfs. If I do "this.getDepth()" in the external swf, it returns 1. These two things seem to be contradicting one another and I can't get this to work. I'm ripping my hair out while trying to find out why _root won't work in my external swf. Does this behaviour not inherit when you are loading a swf into a movie clip? Any help will be greatly appreciated.
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading External Movies with Preloader mrdamon Actionscript 2.0 0 01-08-2011 07:07 AM
textfield focus problem in external swf mrpoate Newbies 1 07-10-2007 11:34 AM
Problem Loading External SWF's into my movie instance katyb1001 Flash MX 2004 0 02-17-2006 05:46 PM
Problem using _totalframes when loading external swfs neildm Flash MX ActionScript 7 09-14-2005 03:51 PM
Loading mutiple external SWF's slows all movies? chrigil Flash MX 1 06-27-2005 04:49 AM




All times are GMT. The time now is 08:36 AM.