Jump to content
GreenSock

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

agirlcreative

Members
  • Posts

    3
  • Joined

  • Last visited

agirlcreative's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I've been using this for some time now, but after my recent update starting getting this error. Any thoughts on how to fix? Scene 1, Layer 'Actions', Frame 17, Line 13, Column 40 1046: Type was not found or was not a compile-time constant: LoaderEvent. This is the code it's referencing: function progressHandlerressing1(event:LoaderEvent):void { trace("progress: " + event.target.progress); } function completeHandlerressing1(event:LoaderEvent):void { var image:ContentDisplay = LoaderMax.getContent("texasresidenceSWF"); image.x=-400; image.y=-340; trace(event.target + " is complete!"); } function errorHandlerressing1(event:LoaderEvent):void { trace("error occured with " + event.target + ": " + event.text); }
  2. HI! So I'm not a fantastic flash coder.. but I'm in the middle of a project that I need a little help on. I have some code, which works very well, with one thing that I cannot figure out how to change. I'd like to be able to put other art on top of the loaded SWF.. but it only loads in the topmost "z" index, and even if I put another layer over the top with art to overlay, it just loads over it.. var queueb1:LoaderMax = new LoaderMax({onProgress:progressHandlerb1, onComplete:completeHandlerb1, onError:errorHandlerb1}); queueb1.append( new SWFLoader("whitley.swf", {name:"whitleySWF", estimatedBytes:3000, container:this, autoPlay:false}) ); queueb1.load(); function progressHandlerb1(event:LoaderEvent):void { trace("progress: " + event.target.progress); } function completeHandlerb1(event:LoaderEvent):void { var image:ContentDisplay = LoaderMax.getContent("whitleySWF"); image.x=0; image.y = -65; trace(event.target + " is complete!"); } function errorHandlerb1(event:LoaderEvent):void { trace("error occured with " + event.target + ": " + event.text); } Can you tell me what I need to do to this code so it loads on a specific layer? I also have a symbol that I've been using as a mask, it'd be perfect if I could load it into it.
×