Go Back   Flashtory Support Forum > Flash Files Support > Flash Menus > Horizontal Scrolling Menu XML AS3

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 12-17-2009, 04:04 PM
Junior Member
 
Join Date: Oct 2009
Posts: 16
Default

You have entended the class as movieclip so you need to do an addchild method for the the instance of that class for it to be actually visible. You have in myItem.as the click method
Code:
// on click open the url
public function onMouseUp(event:Event)
{
     var URLNavigator:URLNav = new URLNav(_url, _target);
     URLNavigator.callLink();

     // since you modified the class to be a movieclip
     // add to whatever movieclip you want to use as a holder

     stage.addChild(URLNavigator)

    // or whatever holder movieclip

    holderMc.addChild(URLNavigator);
			
}
Cheers,
Ionut.
Reply With Quote
  #12 (permalink)  
Old 12-19-2009, 08:55 AM
Junior Member
 
Join Date: Dec 2009
Posts: 6
Default

GREAT!!!

DEFINITELY I forgot this little detail
THANK YOU,

but ... I have another question, would be appropriate to put addEventListener(Event.RESIZE, resizeHandler);

in this moment script incorrectly calculates screen changes, just I starting with this, can you give me tips?

Thx a lot
Reply With Quote
  #13 (permalink)  
Old 05-22-2010, 03:52 AM
Junior Member
 
Join Date: Apr 2010
Posts: 4
Default

a folder called Fonts and also the movieclip called HorizontalScrollingMenu, now just drag and drop the HorizontalScrollingMenu on your stage (which is just an empty movieclip that has linkage to "flashtory.Main" the Main.as file in the folder flastory).


Thank you for your information


---------------------------------------------------------------------------------
nike shox
cheap ghd
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
based on a modified theme of CompleteGFX