Jump to content
GreenSock

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

sondanz

Members
  • Content Count

    11
  • Joined

  • Last visited

Community Reputation

0 Newbie

About sondanz

  • Rank
    Member
  1. Thank you so much! I will dig into this and see if I can get this bad boy working.
  2. Thanks Carl for your suggestions and all the wonderful video tutorials you've shared over the years. Unfortunately, this code only seems to loop the final tween, not the entire group. (I read the other thread you linked to earlier this week. It causes a hiccup as you jump from an empty keyframe, so that creates another issue.) import com.greensock.*; import com.greensock.easing.*; function initBanner() { TweenNano.from(text1, 1, {_alpha:0, _y:"-20", ease:Expo.easeOut, delay:.5, overwrite:0}); TweenNano.from(text1b, 1, {_alpha:0, _y:"40", ease:Expo.easeOut, delay:.5, overwrite:0})
  3. Is there any way I can reduce the size of TweenLite's footprint within my Flash banner? On publish, Actionscript 2.0 Classes make up 20K of my 32K banner. I'm not doing anything crazy here, just fading in/out and moving up/down. I tried using TweenNano...file size was GREAT. But I couldn't figure out how to make my banner repeat only two times, since there is no "repeat" or "restart" features like there are in TweenLite. Am I importing something that I don't need? Here's my AS2.0 TweenLite Code: // import the tween engine import com.greensock.*; import com.greensock.easing.*; /
  4. In my experience, the Greensock engine is wonderful for tweening from point A to point B. But can you add some curve like the image below? If so, can you control how crazy you go with it?
  5. Figured out my play function needed to use "resume" instead of "play" function playMorph():void{ morpher.resume(); } Is this the best way to load an external swf? I feel like it's so slow to load.
  6. I really need some help on this! I am trying to load an external swf as soon as my movie start. That works fine. Then I want it to pause as soon as it loads. That works fine. But then I need another function to tell that external swf to play. That's what I can't figure out! My playMorph function is all jacked up! What am I doing wrong?!?! // function to load the external morph.swf var morpher:LoaderMax=new LoaderMax(); function loadMorph():void{ morpher.append(new SWFLoader("www.website.com/morph.swf", {container:boy})); morpher.load(); morpher.pause(); } function playMorph(
  7. Finally figured this out. I got rid of "this" and replaced it with a mc called "holder". // function to load the external morph.swf var morpher:LoaderMax=new LoaderMax({name:"morpher"}); function loadMorph():void{ morpher.append(new SWFLoader("morph.swf", {name:"morph", container:holder, x:200, y:0})); morpher.load(); TweenLite.to(holder, 1, {x:"-200", ease:Expo.easeOut}); }
  8. I am doing something similar, where I load an external swf. Carl's code was very helpful. But now I want to tween that external swf (just move it to the left) after it loads in. I am having no luck so far, but I feel like I'm pretty close. Any suggestions are greatly appreciated! // import the tween engine import com.greensock.*; import com.greensock.easing.*; import com.greensock.loading.*; //import com.greensock.events.LoaderEvent; //import com.greensock.loading.display.*; // function to load the external morph.swf var morpher:LoaderMax=new LoaderMax({name:"morpher"}); func
  9. Awesome Engine! Awesome forums! However, after all the posts and examples, there are still some things I just can't figure out. I've gotten this timeline to loop 3 times. But how do I put all my MCs back in their starting positions before each repeat? (I must use TimeLineLite for weight reasons). // AS2 TimeLineLite // import the tween engine import com.greensock.*; import com.greensock.easing.*; // tracks how many times it has repeated var cycles:Number = 0; // define a function for repeating function playAgain():Void { if (cycles <= 2) { // define the timeline var timel
  10. Hey peeps, I'd love some help trouble shooting this restart button... View the .swf here: http://www.cleanplate.biz/storage/za_extreme/ As you can see, my 'play again' button (at the end of the animation) is restarting with my skydiver already onscreen. It's kinda creepy...she's just floating there...blankly staring at you...judging you... Here's my actionscript (AS2): // clickTag stuff.dlButton.onRelease = function () { getURL(_level0.clickTag,"_blank"); }; // repeat button stuff.playAgain.onPress = function() { myTimeline.restart(); } /////////////////////////////////
×