dcsimg
A Flash Developer Resource Site

Page 2 of 2 FirstFirst 12
Results 21 to 24 of 24

Thread: Rotating Menu ...continued

  1. #21
    Senior Member
    Join Date
    Jul 2009
    Posts
    167
    would people prefer it if I paste the code so you don't need to download?

    these are the two areas I can not get working, its probably something really simple, maybe I am getting the labeling mixed up?

    for the button
    Code:
    button_mc.addEventListener(MouseEvent.ROLL_OVER, onRoll); 
    button_mc.addEventListener(MouseEvent.ROLL_OUT, onRollout); 
    button_mc.stop(); 
    			
    function onRoll(event:MouseEvent):void 
    			{         
    //if(event.target.currentLabel == "over_btn") 
    //{ 
    event.target.gotoAndPlay(1); 
    //} 
    } 
    			
    unction onRollout(event:MouseEvent):void 
    { 
    //if(event.target.currentLabel == "rollout_btn") 
    //{ 
    event.target.gotoAndPlay(6); 
    //} 
    } 
    			
    button_mc.buttonMode = true;
    to attach to menu

    Code:
    var button_mc:Btn1_mc = new Btn1_mc();
    holder.addChild(button_mc);
    				
    button_mc.width = 230;  // changes size of anim movieclip object
    button_mc.height = 230;
    	
    button_mc.x = -84;  // where to have the tooltip on x axis in the holder
    button_mc.y = -30;
    is this better for explaining?

  2. #22
    Senior Member
    Join Date
    Jul 2009
    Posts
    167
    would some one please help me with this, I have been pulling my hair out now for over a week and I just can't get it working.....I am sure it's really simple if you know how...

  3. #23
    Senior Member
    Join Date
    Jul 2009
    Posts
    167
    is here a way that I can do an animated rollover button without the AS3 script?

  4. #24
    Senior Member
    Join Date
    Jul 2009
    Posts
    167
    Still working with the menu, I have all working now but one final thing I am trying to do, if anyone has any solutions to this problem I would be very grateful of your input!

    what I have;
    The menu rotating and stoping at the point of the last and first image.

    root problem(what trying to do)
    to make a complete 360 continues loop of menu.



    you can download what I have so far here for a better explaination
    http://art.clubworldgroup.com/rotatingmenu_4.zip

    the script for the menu is in the file circleMenu.as


    any help or ideas I would be very grateful



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