Jump to content


  • Posts

  • Joined

  • Last visited

derschreck's Achievements



  1. thats it. Thank you very much. I think the english phrasal is - to not se the wood for the trees. Thanks again.
  2. I want to make a website the old school way so that every page has its own frame. Navigation is just - gotoAndPlay(2); . When i pin an mc in every frame, it doesnt stay at its pinned position when jump to another frame. With every frame change the mc make a little step downwards. The only solution I found was to change the mc's instance name in every frame but I assume there is another way around. // --- Frame 1--- stop(); import com.greensock.*; import com.greensock.layout.*; var ls:LiquidStage = new LiquidStage(this.stage, 1600, 1200, 800, 600); ls.attach(mc, ls.TOP_CENTER); btn_next.addEventListener(MouseEvent.CLICK, goNext); function goNext(evt:MouseEvent){ gotoAndPlay(2); //--- Frame 2 --- stop(); ls.attach(mc, ls.TOP_CENTER); btn_prev.addEventListener(MouseEvent.CLICK, function(evt:MouseEvent){ gotoAndPlay(1); });
  3. got it! Thank you guys! I used "onComplete" several times before but never get an error because of my functions doesn't wait for an event function thisnthat():void { do something(); } I thought onComplete act like an EventListener - "when tween is done goto function and do". That's WRONG!! sorry for my misrable english. Greetings from Bavaria.
  4. Hi All, I am getting an ArgumentError output when I use the onComplete statement on TimlineLite. import com.greensock.*; import com.greensock.easing.*; var timeline:TimelineLite = new TimelineLite({onComplete:sayHello}); timeline.insertMultiple(TweenMax.allTo([cosmeticsw, nailsw,makeupsw, hairsw, haircol, makeupcol, cosmeticcol], 0.5, {alpha:0})); timeline.append(new TweenLite(nailcol, 0.8, {x:"-200", ease:Back.easeOut})); function sayHello(evt:Event) { trace("hello"); } and the Error output ArgumentError: Error #1063: Nicht übereinstimmende Argumentzählung für sns01_fla::Kopievonpanel_nail_21/sagHallo(). 1 erwartet, 0 erhalten. at Function/http://adobe.com/AS3/2006/builtin::apply() at com.greensock.core::TweenCore/complete() at com.greensock::TimelineLite/renderTime() at com.greensock.core::SimpleTimeline/renderTime() at com.greensock::TweenLite$/com.greensock:TweenLite::updateAll() Thanks for help