A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Scrolling text in button question

  1. #1
    Junior Member
    Join Date
    Oct 2006
    Posts
    4

    Scrolling text in button question

    I've created a button, whereby when the cursor is over it, a piece of text slides from below the button (out of sight) and over the top of some existing text on the button.

    I am obviously using a mask to keep this text out of sight until it comes over the button. But even though this text can't be seen, when I place the cursor over where it is before reaching the button, the cursor turns to a pointed finger and this blank space can be clicked as part of the button. So, the mask is only achieving half the results. What am I doing wrong?

  2. #2
    Member
    Join Date
    Jul 2002
    Posts
    84
    Turn your buttons into movieclips with all the fuctionality you already have (the mask and the "disappearing" text. Next draw a square and make it a button and set the alpha to zero -- an invisible button, if you will, and then place the invisible button on top your movieclip. Control the movieclip with the on(rollOver) funtions of the invisible button. THe hand will only appear when the invisible button is rolled over.

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