Jump to content


assigning d.dwn menu code position/levels


  • You cannot reply to this topic
4 replies to this topic

#1 changerhiphopmusic

    Young Padawan

  • Members
  • Pip
  • 51 posts

Posted 22 February 2007 - 12:36 PM

Hi, I am coding buttons for drop down menu that is nested in it's own m.c. and a.script I've pointed to
"on (release) {
_root.gotoAndStop(10);
} " which is wrong to me, and isn't working, due to flash is seeing it as going to same m.clip/self, so I then tried
"on (release) {
gotoAndPlay._root.Slidez_n_logo(17);
}" which I came to after reordering the code, I know it can be vice versa and both are ok'd in a.script checker but still, it doesn't go to the frame, whethor it's a seperate frame #, root path..etc.

Can anyone see what I'm missing?

Thanxz,

chhm

#2 Ben

    P2L Jedi Master

  • Publishing Betazoids
  • PipPipPipPip
  • 1,366 posts
  • Gender:Male
  • Location:VIC, Australia

Posted 22 February 2007 - 03:29 PM

on(release) {
_root.Slidez_n_logo.gotoAndPlay(17);
}
Almost :)

#3 changerhiphopmusic

    Young Padawan

  • Members
  • Pip
  • 51 posts

Posted 22 February 2007 - 04:45 PM

nope, it's just the same as my code above like I already mentioned that I tried it vice versa and ur suggestion and my trial and errors/implentations still result in no path selection connection...weird.

I thought it may be the name with underscores but nope...

Anyother options/insights?


Chhm

#4 Pax

    P2L Jedi

  • Members
  • PipPipPip
  • 911 posts
  • Gender:Male
  • Location:Windsor, ON, Canada

Posted 22 February 2007 - 06:25 PM

try tracing different things for the release

just do:
trace(this);
trace(this._parent);
trace(this._parent._parent);

Keep tracing and adding stuff on until you find the scope youre looking for, then chuck a gotoAndPlay on the end and all is good.

#5 changerhiphopmusic

    Young Padawan

  • Members
  • Pip
  • 51 posts

Posted 23 February 2007 - 11:29 AM

View PostPax, on Feb 22 2007, 11:25 PM, said:

try tracing different things for the release

just do:
trace(this);
trace(this._parent);
trace(this._parent._parent);

Keep tracing and adding stuff on until you find the scope youre looking for, then chuck a gotoAndPlay on the end and all is good.

Many thanks, so tank ya, thank yaw!

I'll give it a go.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users