A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Sideways animated scrolling menu

  1. #1
    Junior Member
    Join Date
    Apr 2005
    Posts
    3

    Sideways animated scrolling menu

    Here's the deal:

    I really like the effects of this menu and would really like to use it.

    Double click on the top movie clip (the balls) a few times untill you reach the "ani bola 3d copy" I understand that the bottom layer is the button and I tried to add the following code:

    on (press) {
    gotoAndPlay("Scene 1", "fo");
    }


    I put the above code right under or above:

    on (rollOver) {
    // trace(_parent.pelota_menu._x);
    play();
    _parent._parent._parent._parent.tip.ver = true;
    _parent._parent._parent._parent.tip.caja.text = "Soy el segundo";
    }
    on (rollOut) {
    gotoAndStop(1);
    _parent._parent._parent._parent.tip.ver = false;
    _parent._parent._parent._parent.tip.caja.text = "";
    }


    When I put that code it won't go find the frame label "fo" which is on the stage. I read something somewhere about the "root" or a "parent", but I'm not sure what to do.

    Thanks in advance for your help whoever you are!
    Attached Files Attached Files

  2. #2
    Junior Member
    Join Date
    Apr 2005
    Posts
    3
    Or if you got another script or technic I could use, it would be gladly appreciated :P

  3. #3
    Sockpuppet
    Join Date
    Mar 2005
    Location
    Who cares?
    Posts
    177
    Never target scene names again. Only your labeled frame, but you must add the targeted timeline to your path, thus _root or _level0... Or even _parent, if your button is in a movie clip...

    on (press) {
    _level0.gotoAndPlay("fo");
    }

  4. #4
    Junior Member
    Join Date
    Apr 2005
    Posts
    3
    Thanks for the help!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center