MATSNL65
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by MATSNL65
-
-
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.
-
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"); }
Eventlistener for a button in loaded SWF
in Loading (Flash)
Posted
Coolness. Thanks a ton for helping me be clearer with my questions.