flash question

Out of context: Reply #9

  • Started
  • Last post
  • 10 Responses
  • PonyBoy0

    ^^using TweenMax or mcTween - take advantage of the callback function...

    ... you could easily dump all your jpgs on one frame of the timeline, have all their initial settings set to invisible (_visible = false and _alpha = 0). Set up one function and call the same Alpha Fade for each image via whatever tweening class method you choose to go with (mcTween etc)... those tweening classes all have 'delay' and 'onComplete' parameters... set up your fades via the delays - on the very last fade... use the callback function (onComplete w/TweenMax and mcTween I think) and call that initial function again...

    ... no intervals to clear - the tweening engine's all handle that.

    I recommend TweenMax over mcTween now... much easier on the processor... overwrite parameters etc... very 'easy' to use. I know a couple of non-flash guys who utilize it for flash banners etc or just to mess around...

    http://blog.greensock.com/ - new version out too... give it a shot! :)

    • +1KarlFreeman
    • aye, fair enough... but it is
      only easy when you understand _visible and _alpha and callbacks, and includes...
      skt
    • but you're right, it's an ideal solution.skt
    • well a better solution anyway.skt
    • yeah... still keeps all those images on the timeline forcing a full load as apposed to individual loads... but easier...PonyBoy
    • ... to manage the transitions and timeline at least.PonyBoy

View thread