dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Button Not Working, Help

  1. #1
    Junior Member
    Join Date
    May 2015
    Posts
    2

    Question Button Not Working, Help

    Hi,
    I'm new here so not sure if this is the right place, but lets get into it

    here's a video to help understand my problem

    http://youtu.be/gbSsJG8c8mM


    Here's the code I'm using

    door_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToScene);

    function fl_ClickToGoToScene(event:MouseEvent):void
    {
    MovieClip(this.root).gotoAndPlay(1, "Scene 5");
    }


    as you can see it's al set up as it should be and the code is working on three other buttons I have set up in the same format, but when I export the button isn't responsive, it doesn't click at all :/

    I have a week to finish this animation and this is a big pot hole in my work
    please can someone help!
    thank you

  2. #2
    . fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    1,785
    Hi,

    Well I can't even access the video.

    What errors do you get?
    Have you checked the button name AGAIN?

    Maybe attach your fla.

  3. #3
    Junior Member
    Join Date
    May 2015
    Posts
    2
    Hello,

    thanks you for your reply, I have the problem solved now, I copied all the content to a new file and then moved the coding directly above the door button.

    Thank you anyway

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