A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: weird mouseover

  1. #1
    Senior Member
    Join Date
    Aug 2003
    Posts
    101

    weird mouseover

    Hi,

    I have an flv component on the stage. On a layer above this i have an invisible button.

    When the movie is exported and I rollover it the little hand that normally signifies the element is a button goes mad and disaapears, then reappears over over and over.

    The thing is it still works and goes to the url as it should, but any idea why the actual cursor when you mouseover it goes so wild?

    many thanks

  2. #2
    Senior Member
    Join Date
    Apr 2008
    Location
    Nottingham, UK
    Posts
    348
    I can suggest a workaround.

    Convert your video instance to a movieclip. Call it something like instanceName.

    then in your actions layer on the main timeline change the

    Code:
    instanceName.buttonMode = true;
    you can then get rid of the invisible button - the videoclip containing the video will perform the same function, ie changing the cursor. You'd then just port whatever functionality that invisible button had to the video MC.

    Dan

  3. #3
    Senior Member
    Join Date
    Aug 2003
    Posts
    101
    Hi Dan I will try it, thanks a lot.

    Only thing is the button I need is a set size and appears over a specific part of the video in the layer below it, so I dont really want to have to make the whole video a button.

    But thanks for the advice above, much appreciated!

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