Jump to content
Search Community

mrlem313

Members
  • Posts

    7
  • Joined

  • Last visited

mrlem313's Achievements

0

Reputation

  1. Yes, you were correct. You guys at Greensock are TRULY AWESOME!!!! I will always be a Greensock member, you're awesome! Can you answer me this, does the "beizerTo" create the line and if so, it is an object that be reference to control is properties like visibility or color?
  2. Here's what I've tried acccording to your response: for (var e:int=0; e<4; e++) { TweenMax.to(this["arrow"+e], 10, {x:900, delay:this.sequence[1]/1000}); } Here's the Output results: TypeError: Error #1009: Cannot access a property or method of a null object reference. at com.greensock::TweenLite/init() at com.greensock::TweenMax/init() at com.greensock::TweenMax/renderTime() at com.greensock.core::SimpleTimeline/renderTime() at com.greensock::TweenLite$/updateAll() Thanx foor the fast reply!
  3. for (var v:int=1; v<5;v++) { TweenMax.to(["arrow"+v], .5, {x:300}); } The above code does not work. Null Object Reference error I would like to loop through moving these five instance tweens without using the verbose code...(TweenMax.to(arrow1, .5, ...) Is this possible
  4. Disregard this post. I discovered that I should not be using the actual percentage for alpha, 1 = 100%, duh! Sorry!
  5. // The code below works fine the first time, then... for (var i=0;i<4;i++) { trace(prod_array+": "+Prod_Selected.indexOf(prod_array)); if (Prod_Selected.indexOf(prod_array) < 0) { switch (i) { case 0: TweenMax.to(Object(root).eTrain, .5, {autoAlpha:0}); break; case 1: TweenMax.to(Object(root).eTrainer, .5, {autoAlpha:0, delay: .3}); break; case 2: TweenMax.to(Object(root).eTrain_Enterprise, .5, {autoAlpha:0, delay: .5}); break; case 3: TweenMax.to(Object(root).eTrain_Ent_Corp_Ed, .5, {autoAlpha:0, delay: .7}); break; } } // I return these MC's to their starting positions and alpha with the following code (called in a function) This code does not work the way I expected. The tweens are not smooth at all: eTrain.x = 2; TweenMax.to(eTrain, .5, {autoAlpha:100, delay:.5}); eTrainer.x = 153.95; TweenMax.to(eTrainer, .5, {autoAlpha:100, delay: .7}); eTrain_Enterprise.x = 298.25; TweenMax.to(eTrain_Enterprise, .5, {autoAlpha:100, delay: .9}); eTrain_Ent_Corp_Ed.x = 422.60; TweenMax.to(eTrain_Ent_Corp_Ed, .5, {autoAlpha:100, delay: 1.1}); // When I run the first part of code again, things do not run like the first time.
  6. I have tweens on objects going to alpha = 0, but the visibility property is still on. This cuses me problems when tweening buttons. Can someone assist me with this? Please disregard this post. I searched thru the forum and found the answer, {visible = false}.
  7. I have some tweening going on with a few MCs. The first time things go well. After these tweens, I have a button that reset the objects' properties back using tweens again. That's where things get "funny". Once the "reset" happens, when I run the initial series of tweens on these MCs, the effect is totally off. Can someone help me with this?
×
×
  • Create New...