Jump to content
Search Community

forrestmaready

Members
  • Posts

    5
  • Joined

  • Last visited

forrestmaready's Achievements

0

Reputation

  1. Thanks- I had all the preloader items floating around on the stage. I suppose the correct form is to put them all in a container so they can be removed easily. That seems to work fine. Many thanks!
  2. Thank you- so if my PreLoader has a bunch of items in it, I have to manually remove them all one at a time?
  3. I have a generic preloader swf with progress bar. After my external swf has loaded, I can still see my preloader swf. It's not completely on the top layer of the display list, but it's pretty easily visible. Is there an easy way to completely hide the Preloader Swf once it's done loading the external swf? Many thanks- var loader:SWFLoader; public function PreLoader() { loader = new SWFLoader("game.swf", {name:"mainSWF", container:this, x:50, y:100, onprogress:progressHandler, estimatedBytes:9500}); loader.load(); } function progressHandler(event:LoaderEvent):void { progBar.scaleX = event.target.progress; } function completeHandler(event:LoaderEvent):void { addChild(event.target.content); }
  4. Thanks Jack! Much appreciated. When you set the timeline instance to useFrames=true, am I right to assume any Tweens pushed into that timeline will also default to useFrames=true?
  5. Hello friends- I'm trying to decide the best way to use TimelineMax (or Lite) to create a slideshow. I've created a standard timeline GUI that allows users to adjust timing, and need to create a timeline instance with corresponding time values. I've tried using offset and delay, but both are cumbersome to manipulate because they all affect the other tweens in the timeline. Is there an easy method in TimelineMax I'm missing that allows me to set an absolute time to execute the tween? Something like... timeline.append(TweenMax.to(pic1, 1, {alpha:0}), absTime:50); timeline.append(TweenMax.to(pic2, 1, {alpha:0}), absTime:120); timeline.append(TweenMax.to(pic3, 1, {alpha:0}), abstTime:200); and so on... Absolute time would obviously be a variable. The first tween would start 50 frames after calling timeline.play(), the second 120 after start, etc... (assuming useFrames:true). Changing the tween duration would not affect the absolute timing at all (unless there was an overlap). What's the best way to do this? Thanks in advance!!!
×
×
  • Create New...