Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

MATSNL65

Members
  • Posts

    3
  • Joined

  • Last visited

MATSNL65's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Coolness. Thanks a ton for helping me be clearer with my questions.
  2. It does. I can use SWFs instead of PNGs (the assets are text based) I was simply wondering the correct path schema for making any imported object into a clickable button. I guess it's as much about making any imported object into a button as well as making a nested MC of the same imported SWF into a button.
  3. Will the rawContent method help me setting up buttons scripts for the SWFLoaded or ImageLoaded items? I'm trying to add EventListerers to loaded images and swfs that I loaded via the queue var content:ContentDisplay = loader.SWFcontent; name of the loader.SWFcontent.name of the movieclip.addEventListener(MouseEvent.CLICK, btnClickAbout); Does it go like this? Can a developer create an image/non SWF version of the SWFLoader in AS3? Can this be done via the Queue: var loader1:ImageLoader=new ImageLoader("img/button.png",{name:"myMenu_Mome",container:this,onComplete:completeHandler}); loader1.load(); function completeHandler(event:LoaderEvent):void { var myClip:MovieClip = MovieClip(loader1.rawContent); myClip.myBtn.addEventListener(MouseEvent.CLICK, clickHandler); } function clickHandler(event:MouseEvent):void { trace("clicked"); }
×