Skip to main content
Participant
October 9, 2007
Answered

_root location?

  • October 9, 2007
  • 5 replies
  • 340 views
Hi. I'm very new to flash and have been attempting to modify a friend of mine's site. When looking through the scripts i see calls to functions contained in "_root". I want to edit these functions but can't seem to find them. Here's an example:

on (release)
{
_root.textp.gotoAndPlay(3);
}

Can anyone tell me where i would find the function 'textp' in the above example? I would guess it to be in a sort of top-level script, but I can't seem to find it...

Thanks in advance,
-Jack
This topic has been closed for replies.
Correct answer kglad
look at the left side of the properties panel. if you click on that movieclip you should text textp in the instance name box.

5 replies

kglad
Community Expert
Community Expert
October 9, 2007
you're welcome.
kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
October 9, 2007
look at the left side of the properties panel. if you click on that movieclip you should text textp in the instance name box.
Participant
October 9, 2007
Ahhh, there we go... thanks for the help guys!!!!
Participant
October 9, 2007
Ahhh... i understand, but still... i don't see it. I'm looking at the main timeline. I know which movieclip gets played when the script in my first post is activated.. it's called 'contact 2'. However, I don't see anything anywhere called 'textp' connected to it... anywhere.
Inspiring
October 9, 2007
texttp is a movie clip and the "gotoAndPlay()" function is a built in
function.

Rich

"Jack.Straw" <webforumsuser@macromedia.com> wrote in message
news:feg3pa$1d1$1@forums.macromedia.com...
> Hi. I'm very new to flash and have been attempting to modify a friend of
> mine's site. When looking through the scripts i see calls to functions
> contained in "_root". I want to edit these functions but can't seem to
> find
> them. Here's an example:
>
> on (release)
> {
> _root.textp.gotoAndPlay(3);
> }
>
> Can anyone tell me where i would find the function 'textp' in the above
> example? I would guess it to be in a sort of top-level script, but I
> can't
> seem to find it...
>
> Thanks in advance,
> -Jack
>


kglad
Community Expert
Community Expert
October 9, 2007
_root is the main timeline in that level. textp is not a function, however: it's a movieclip.