Jump to content
Search Community

stevenp last won the day on December 27 2013

stevenp had the most liked content!

stevenp

Members
  • Posts

    57
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by stevenp

  1. Greetings, I'm trying to coordinate events using timeline, but not getting things to unfold as I envision them. I have 26 different events which, when one is done, the next unfolds. This works as expected. What I want to do is at the end of each of those 26 events, another event triggered which continues on it's own independently and does not slow down the original 26 events. That is, Event 1 happens and when it stops it normally goes to event 2, but instead I want it to trigger event alt_2 and event 2 simultaneously; at the end of event 2, trigger event 3 and event alt_3 simultaneously, etc. I drew an ascii file which may be more helpful (see attached png image). [image removed] I tried using nestedTimeline, but no matter how meticulously I timed (using delay), the events did not remain coordinated. They started out so, but halfway through they lose coordination. Thank you in advance, Steven edit: I am using Actionscript 2.
  2. "I think you meant to use 100 instead of 1, right? Remember, in AS2, _xscale/_yscale are 100-based whereas in AS3, scaleX/scaleY are 1-based. " - greensock Thank you I actually - - figured that out for myself. I had transposed scaleX to _xscale, but not the values. With a little fiddling, I've learned how to "draw" a line in any direction simply by using the registration point as the originating point ... this is very, very cool. I have a project where I used masks and lines to draw an international route with waystops on a global map - not unlike the introduction to "Casablanca" or the route displayed in "Indiana Jones Raiders of The Lost Ark" ... I'm sure your tools will significantly reduce the size and dramatically increase the quality of that movie. This is an awesome set of tools, sir.
  3. Yeah ... I feel like an idiot. I should have changed my "_xscale" and "_yscale" values from "1" to "100": ///////////////////// TweenLite.to(top, as_val, {delay: 1*as_val, _xscale:100}); TweenLite.to(right, as_val, {delay: 2*as_val, _yscale:100}); TweenLite.to(bottom, as_val, {delay: 3*as_val, _xscale:100}); TweenLite.to(left, as_val, {delay: 4*as_val, _yscale:100}); ///////////////////// I'm definitely at a disadvantage using AS2. Sorry for bumping up an old thread for help ... but this was actually good for me and maybe for it will be for someone else ...
  4. Thanks for this ... I'm trying this with ActionScript 2, so I changed it to: ////////////////////// // http://forums.greens...-for-beginners/ import com.greensock.*; //import com.greensock.core.*; import com.greensock.easing.*; //Use your line tool to draw a box on the stage. //Use F8, "Convert to MovieClip" to create 4 mc instances. Name them-top, right, bottom, left . // My _instances_ are: // top // right // bottom // left var as_val:Number = 1.5;//as_val is abbreviation for adjust speed value. trace(as_val); //I'm using as_val to adjust the delay also-this allows them to draw one after the next, not all at once. //Below, we'll preset the _xscale and _yscale to zero // initiate _xscale property to zero on top and bottom of your box top._xscale = bottom._xscale = 0; trace(top._xscale); // initiate _yscale property to zero on top and bottom of your box right._yscale =left._yscale = 0; trace(right._yscale); TweenLite.to(top, as_val, {delay: 1*as_val, _xscale:1}); trace(1*as_val); TweenLite.to(right, as_val, {delay: 2*as_val, _yscale:1}); trace(2*as_val); TweenLite.to(bottom, as_val, {delay: 3*as_val, _xscale:1}); trace(3*as_val); TweenLite.to(left, as_val, {delay: 4*as_val, _yscale:1}); trace(4*as_val); ///////////////////// But it doesn't do anything. the lines don't ever "draw". All the variables trace out as expected.
  5. I wish I could mark my post "solved" ... thank you. Maybe I should be working with computers, huh? Took me a day to figure that out, too.
  6. Sheesh ... that's probably it. Let me try it ... yep. That was it. This is - I'm not kidding - the 15th or 20 different test I've done, and I was certain I had named the instance correctly. In act, I just opened an older one and it was done "correctly" ... is the v11 radically different than what you had available, say, last month? Thank you, Oh Green One. Let it be known that The Noob knows he is a Noob.
  7. Greetings, I've had a couple of weeks to try and use this apparently wonderful package, but I can't even get the simplest of tween to work. I have the com folder (permissions defaulted to 777) in the FLA directory. I have a 70 frame flash file (AS2; Flash MX 2004 - I know ... I'm behind the times, right). Two layers, one with actions script: Frame 1: import com.greensock.*; import com.greensock.core.*; import com.greensock.easing.*; //stop(); TweenLite.to(mc, 5, {_x:0, _y:0}); Frame 30: TweenLite.to(mc, 5, {_x:220, _y:220}); Frame 70: stop(); The other layer has a simple elipse as a Movie Clip name test_mc and an instance name of test_mc_mc. When testing or publishing, nothing happens. For the love of Pete ... can somebody put me out of my misery and tell me what I'm ding wrong, and where I could have found the answer before posting here? Thanks in advance, Steven
×
×
  • Create New...