Jump to content
Search Community

gvdheyning

Members
  • Posts

    2
  • Joined

  • Last visited

gvdheyning's Achievements

0

Reputation

  1. HI Jack, Thank you for your reply, It's probably a bit hard to see as the swfs are kinda abstract, but if you look at the 2 swfs (grid and grid1) you see that one is the image of a building, tho other one is the image of a plug, and one swf comes up in squares, and then the second swf should come up, but you can see the first swf through the second one, right from the start, which means they start simultaneously. The tutorial is great and I can get it all to work no problem with jpegs, but these swfs appear at the same time, I want one to load when the other one is done loading completely and not at the same time, so that you first see one image build up and then the next one builds up. I can probably do this much easier if I just use layers and fade square white movieclips out on top of them and use your timeline manager, but I'm sure it can be done better by a better person than me! Thanks for your reply though, I wish I could explain it better, maybe I'll try the same code with movieclips that have no transparency in them so you cant' see anything happening underneath the other one, thanks again, Fam I figured out the addChild bit, I have to make a container for it as far as I can tell...
  2. HI Jack, I've been going through your forum for sequential loading swfs, and a previous post did not work for me, see also attached files, seems a simple enough problem, but I can't get it to work, grid.swf and grid1.swf keep loading simultaneously. What am I doing wrong? also, (and this is nothing to do with your wonderful tweening classes, but I thought I'ld throw it in there in any case, what If I upon loading the swfs, in the end there will be four of these, I want a movie clip button to appear? the loaded swfs keep covering anything I put on stage...I know this is real beginner's stuff, but whatever I try with addChild just won't work... I have a flashBnt0 movie clip in the library of HomePg1.fla.) Thank you as always, so much for your help, Fam PS: I am really vdheyning but I couldn't manage to log in under that name...so I re-registered. Sorry about that. here's my failing code: here's my code: stop(); import com.greensock.*; import com.greensock.loading.*; import com.greensock.events.LoaderEvent; import com.greensock.loading.display.*; var queue:LoaderMax = new LoaderMax({name:"mainQueue", onComplete:completeHandler, maxConnections:1}); queue.append( new SWFLoader("grid.swf", {name:"mainClip", estimatedBytes:3000, container:this, autoPlay:false}) ); queue.append( new SWFLoader("grid1.swf", {name:"dotClip", estimatedBytes:20, container:this, autoPlay:false, delay:3}) ); LoaderMax.prioritize("mainClip", true) queue.load(); function completeHandler(event:LoaderEvent):void { var image:ContentDisplay = LoaderMax.getContent("mainClip"); TweenLite.to(image, 3, {alpha:0, delay:3}); trace(event.target + " is complete!"); }
×
×
  • Create New...