Jump to content
Search Community

eco_bach

Members
  • Posts

    30
  • Joined

  • Last visited

Everything posted by eco_bach

  1. I need to do an endless horizontal scroll of elements within a parent MovieClip. No matter what ever method I try, an element of 'drift' occurs and eventually the elements start to overlap. I've tried using relative recursive tweening for each element according but this method seems prone to quite a bit of error after repeated starts and stops. //CODE START function doScroll():void { TweenLite.to(this, .25, {x:"20", ease:Linear.easeNone,onUpdate:checkPos,onComplete:doScroll}); } //CODE END I've reverted to doing absolute tweens to a predefined position using a contant speed. This seems to be more accurate but still some 'drift' occurs. //CODE START //_dest is predefined var speed:Number = 500; var dist:Number = this.x - _dest; var distAbs:Number = dist < 0 ? -dist : dist; //kludge to get constant velocity by recalculating time every frame _time = distAbs / speed; TweenLite.to(this, _time, {x:_dest, ease:Linear.easeNone,onComplete:reset}); //CODE END Thought this should be very simple. Can anyone point me to any possible tutorials or make any suggestions? Any help appreciated.
  2. I've used and loved BulkLoader for many years now. Its extremely powerful. But one of things I wasn't crazy about(in additon to the bloated file size) was the need to always daisy chain my loaders, first loading my config XML, grabing asset path information, and THEN actually preloading my assets. With the new intelligent autoload feature of the XMLLoader class this is no longer necessary. Fantastic work Jack!
  3. Hi I have a simple crossfade sequence defined using a series of TimeLineLite.insert() methods. The sequence plays fine. But getting it to repeat using restart doesn't work for me. Is it recommended to always use TimeLineMax when you have to repeat the entire timeline?
  4. An exploring of the Twitter search experience (and the native 3d features of Fp10) TweenLite and PureMVC http://www.tweetmasher.com
  5. Hi Not quite an expert yet with Timeline Lite but have a lite timeline (pun intended) for an as2 banner ad project. In the following my clip fades in, but doesn't fade out....can anyone tell me why??? //CODE START var timeline:TimelineLite = new TimelineLite(); timeline.addLabel("f1b", 3); timeline.append( new TweenLite(F1a, 1, {_alpha:"100"}) ); timeline.insert(new TweenLite(F1a, 1, {_alpha:"0"}), "f1b"); //CODE END
×
×
  • Create New...