Groups | Blog | Home
all groups > flash actionscript > november 2005 >

flash actionscript : David Stiller



Russell
11/3/2005 9:55:21 PM
Thanks btw.... I 'eventually cottoned on to the error of my ways!!

Russell
11/3/2005 10:11:37 PM
this may give you a clue: >>> Arrgghhh...damn absolute mv-clip path....Help!
Used _lockroot within my loaded mv-clip to resolve the _root issue.
I know macromedia doesn't recomend using it frequently but it works
perfectly for the application i'm building.
Thanks Again....

[quoted text, click to view]
David Stiller
11/3/2005 11:05:43 PM
Don't know which issue this is in reply too, but I'm glad if I was able
to help you. :)


David
stiller (at) quip (dot) net
"Luck is the residue of good design."


[quoted text, click to view]

David Stiller
11/3/2005 11:33:42 PM
Russell,

Gotcha. Yes, just reviewed that thread.

[quoted text, click to view]

Excellent. I think the only reason they recommend against it is because
of the potential confusiong. Remember, _root is *only ever* the root of the
parent-most SWF in a circumstance when one SWF loads another (or several) --
unless ... unless you use _lockroot. ;)

Another way around that -- but don't mess with what's working for
you! -- is to establish a variable on the main timeline of your "inner" SWF
and set that variable to "this" (without quotes). That variable then points
to that particular timeline, which is currently _root but will change when
loaded into another SWF ... but, see, even if the reference of _root
changes, the timeline referenced by the variable doesn't.

But I don't mean to muddy the water! You found a solution, so run with
it. Ponder pathing in your spare time: it will come up again and again.


David
stiller (at) quip (dot) net
"Luck is the residue of good design."

AddThis Social Bookmark Button