dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Button code

  1. #1
    Junior Member
    Join Date
    Jan 2004
    Posts
    27

    Button code

    Hi guys I have run it to something I cant get. I am trying to make a Button that when you mouse over it opens to the main Button. I can get it to open. but I can not get it to close. I have tryed on roll out. but it did not work, can some one please get me the code for it.

    thank you
    joe kid

  2. #2
    Your Mom Is A Registered User
    Join Date
    Jul 2004
    Posts
    42

    answer

    I would recommend starting all over. Wait just a second so I can look something up real quick.

  3. #3
    Your Mom Is A Registered User
    Join Date
    Jul 2004
    Posts
    42

    next

    Making the first button a movie clip and entering the code:

    onClipEvent (enterFrame) {
    _root.status = hitTest(_root._xmouse, _root._ymouse, true);
    }

    Next, I would try to find a way to make it so that if _root.status was equal to true to create the master button, and if it was false to get rid of the button.

  4. #4
    Junior Member
    Join Date
    Jan 2004
    Posts
    27
    ok I will try that thank you QRS_III

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