Jump to content

  • Free consultations and support
  • Chat icoLive chatClick Here for Live Chat
  • Call ico 1888-906-1888
    Phone support: Open

    Ready for your call :)

    Our business hours:

    Mon — Fri, 2am — 8pm (EST)

    US & EU support teams

    Phone support: Closed

    We are back in: 1h 20m

    Our business hours:

    Mon — Fri, 2am — 8pm (EST)

    US & EU support teams

Undocumented tweening and easing in Flash MX 2004

  • Please log in to reply

#1 devonair


    Apprentice Designer

  • Designer
  • 4 posts

Posted 12 April 2004 - 05:54 AM

As far as I can tell, the first tutorial documenting this actionscripting feature of MX 2004 on the web.


never submitted a tute here, before. Let me know if I should redo it in the template format.


There're no such things as memes. Spread the word.

#2 JakSmit


    Apprentice Designer

  • Designer
  • 177 posts

Posted 17 April 2004 - 11:17 AM

for the new ideas
-- --- - -- ---- - -- ---- -- ---- --- - -- ---
My site: Freelance webdesign

#3 David J

David J

    Apprentice Designer

  • Designer
  • 1 posts

Posted 15 May 2004 - 09:59 PM

Many thanks for a most useful tutorial. From it I've generated a routine that expands or shrinks a movieclip (typically an image).

I'm new to Flash via Director/Lingo and I'm missing the ease with which Lingo routines can be generalised and applied, with parameters, to multiple objects in Director.

Grateful for pointers on efficent ways to generalise routines like the one below in AS using MX2004Pro to avoid having to paste the whole thing into each MC to which it applies.

I'm also not entirely sure why the new transition is assigned to a variable or whether or not the multiple variables that result might generate memory issues in multiple applications.

Here is the code, in case it helps someone else:

// changes size of a MC in MX2004
// using undocumented transition code derived from
// http://www.designcon...sing/index.html
// to generate a dynamic resize rather than a jump

onClipEvent (load) {
s0 = 4;
t0 = 0.8;
w0 = this._width;
h0 = this._height;
w1 = w0*s0;
h1 = h0*s0;
on (rollOver) {
this.Tween_x = new mx.transitions.Tween(this, "_width", ease0, w0, w1, t0, true);
this.Tween_y = new mx.transitions.Tween(this, "_height", ease0, h0, h1, t0, true);
on (rollOut) {
this.Tween_x = new mx.transitions.Tween(this, "_width", ease0, w1, w0, t0, true);
this.Tween_y = new mx.transitions.Tween(this, "_height", ease0, h1, h0, t0, true);

#4 mastermesh


    Apprentice Designer

  • Designer
  • 20 posts

Posted 28 February 2005 - 05:08 PM

sweet find. Thanks.

#5 PostDestruction


    Apprentice Designer

  • Designer
  • 14 posts

Posted 13 March 2005 - 04:14 PM

Yeah thanks for this, I have been looking for something along these lines for a while.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users