Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: actionscript 2, movieclip button  (Read 3884 times)

0 Members and 1 Guest are viewing this topic.

wagpofafi

    Topic Starter


    Beginner

    actionscript 2, movieclip button
    « on: August 19, 2011, 03:13:16 AM »
    help me with this, i'm making a movieclip button that when mouse is over it will go to a different scene.



    on(rollOver){
    gotoAndPlay("Gameover",1);
    }
    when i do that it's accessing the scenes inside the movieclip,please help me,i need to finish this tommorrow.

    BC_Programmer


      Mastermind
    • Typing is no substitute for thinking.
    • Thanked: 1140
      • Yes
      • Yes
      • BC-Programming.com
    • Certifications: List
    • Computer: Specs
    • Experience: Beginner
    • OS: Windows 11
    Re: actionscript 2, movieclip button
    « Reply #1 on: August 19, 2011, 06:03:49 AM »
    it has been a very long time since I used Any action script, but would you not need to use:

    Code: [Select]
    on(rollOver){
    _root.gotoAndPlay("Gameover",1);
    }
    I was trying to dereference Null Pointers before it was cool.