-
_root/_lockroot
Hey there
Need some help here. I'm doing a site where I've adapted an image gallery swf with a complicated AS and loading into the main swf at level 1. Is there a simple means of getting the main swf to refer to the external content the gallery is loading as being on the _root level? I thought i could use _lockroot but my understanding of it is pretty scanty and I'm unsure as to where I should place the code anyways
The site with the non-loading images is currently at
http://www.dalliancedesigns.com/vwcountry/cars.html
if anyone would care to take a look
Many thanks
tonto
-
_lockroot is to lock any references to _root within the external SWF to the _root of the external SWF, not the _root of the containing SWF.
Once you have loaded the external SWF, you should be able to walk down its path. If you are having trouble figuring it out, place this line of code in the external SWF
trace(this);
That will give you the path to the _root layer of the external SWF.
-
Ahh ok. Thanks Marvyn.. I always seem to have problems with levels.. particularly if they involve loading jpgs into the swfs at level1.. I might just post the whole swf and see if someone can come to my rescue..
Many thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|