A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: following short-info

  1. #1
    Member
    Join Date
    Mar 2007
    Posts
    66

    following short-info

    Hi,
    does anybody know, in this example, how to let disappear the shortInfo again?
    It appears on rollover (over the wave drawing) and disappears again on the next rollover, but it should disappear on rollout instead. (you can find the code implemented so far under actions and the wave button).
    Many thanks in advance, best,
    flo
    Last edited by florio; 08-19-2010 at 09:32 AM.

  2. #2
    Developing For Dunkets mneil's Avatar
    Join Date
    Mar 2007
    Location
    Lincoln City
    Posts
    2,156
    this should be your code:


    Code:
    shortInfo._visible=false
    
    wave.onRollOver=function(){
         shortInfo._visible=!shortInfo._visible;
    }
    wave.onRollOut = function(){
    	shortInfo._visible=false
    }
    
    
    startDrag("/shortInfo", true, 10, 10, 550, 400);
    http://code.mneilsworld.com/
    Text Effects | Bubbles | Dynamic Resize
    4 weeks , 20 papers ... thats 2 dollars .....Caassshhh!

  3. #3
    Member
    Join Date
    Mar 2007
    Posts
    66

    following short-info

    thanks! as you prospected, it works perfectly fine...

  4. #4
    Member
    Join Date
    Mar 2007
    Posts
    66

    multiple startDrags

    I wanted to apply multiple startDrags, but Flash only takes, accepts the last one
    I put into the actions field...does somebody know why and how to do this the multiple way? (so that in this case there can be several textboxes which follow the mouse on rollover and rollout of another button)

  5. #5
    Member
    Join Date
    Mar 2007
    Posts
    66
    ok, just intregate to the previous code and add a stopDrag...that does the job...

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