A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Simple Scale tween using AS

  1. #1
    Senior Member
    Join Date
    Jun 2004
    Posts
    209

    Simple Scale tween using AS

    I thought Id try use actionscript since for some reason using tweening on the timeline means a lovely unwanted super slow automatic ease in when scaling objects? Great idea that! Not.

    Im guessing its actually impossible to use the timeline to scale tween without this ridiculous easing coming on that cannot be edited out using edit or anything.

    So can you create a scale using actionscript that doesnt ease in anyway at all?

    (For an example of what I mean, create a square, create a keyframe, make it massive, create motion tween, no matter how fast or slow the motion it will ease in annoyingly!)

    Hope someone can help, sorry for my frustration

  2. #2
    Senior Member
    Join Date
    Jun 2004
    Posts
    209
    Right, ive done this:

    mx.transitions.TransitionManager.start
    (
    img1_mc, {type:mx.transitions.Zoom, direction:0, duration:6, easing:mx.transitions.easing.None.easeOut, param1:empty, param2:empty}
    );

    But i dont know what param 1 or 2 can be, doesnt seem to be any info on that. Got it working, but anyone know what those params can be?

  3. #3
    Senior Member
    Join Date
    Jun 2004
    Posts
    209
    argh its not really going to work for what I want. I wish I could turn off this automatic easing but you just cant (on timeline scale tweens), what a really poor feature

    hmm no ones going to answer this post now are they.

    Id really also like to know:

    mx.transitions.TransitionManager.start
    (
    img1_mc, {type:mx.transitions.Zoom, direction:0, duration:6, easing:mx.transitions.easing.None.easeOut, param1:empty, param2:empty}
    );

    How to add a start size to this above script, as it zooms from nothing...
    Last edited by asmallmonkeyman; 05-06-2007 at 02:09 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center