Need to rotate png car door motion tween 0.125 ..how ?

Hi,
car door png file opens 45 degrees, thats a rotation of 0.125
How is this done ?
I initially tried for a motion tween from door horiz to door at 45 degree slant but one cannot motion tween a png.
One can rotate a png, so I made it a Symbol MC, with the rotation point of the centre of the png as the front edge of the door altering it in photoshop !
I enter 0.125 and it reverts to 1
can I enter 45 degrees.
makes so much sense to have rotation as degrees as well as times.
but can one have less than 1 rotation ?
very limiting if rotations are full figures.
Envirographics

You should look up the rotation property (and any others) in the help files if you wonder what it involves.   The rotation property is in degrees.

Similar Messages

  • The new motion tweening of symbols - awkward - what am i doing wrong?

    Hello.
    I have been doing classic tween animations for years now, and i still have to find a use for the new one to get benefits of these custom easing like "spring" etc which would be very handy to have without doing them manually. But as soon as i say to myself "ok lets try this new tweening" im running into absurds like the one on screenshot. Its a simple animation of symbol from left to right with added "spring" easing... as you can see its nothing like the one shown on the preview... Whats wrong with this? Does it need ot have like bazylion of frames to be able to work properly? And why its cutted on top so it doesnt look like elastic spring but rather like somehting hitting hard wall?

    Agreed that the motion editor is unintuitive and generally not very good.
    The issue you are running into here is this: When you apply an ease, flash does not expect you to want to ease between those two keyframes. That would be what you expect to happen, and that would be useful, but it's not the way it works. It is actually using the entire motion tween to decide how it's going to perform the ease. It's kind of difficult to describe, so maybe these screenshots will help illustrate what's going on.
    In this shot, the entire length of the tween contains two keyframes. One is the start, and the other is the max height of the spring.
    Everything is ruined if I duplicate the last keyframe. The expectation would be that the spring would apply between the first two keyframes, but it actually tweens the whole span.
    You can sort of get an idea of what's going on as you slide those keyframes together.
    If you split the motion, it will work as expected... sort of. Not sure about others, but it causes issues in our code if a movieclip's tween is not unbroken. So the whole motion editor is pretty worthless to me, and I wind up making a ton of keyframes by hand instead.

  • Poor quality motion tween with png image, tried "Trace Bitmap", but then it looks like a newspaper

    Greetings all,
    I've been a software developer for many years, but am not very savy in the design elements.  So, much of what I'm going to say will probably sound "newbie", so please forgive me in advance.
    So, I'm trying to get a transparent image to fly in from the side.  So, I *thought* I was doing the correct thing by moving the "symbol" off of the visible portion of the stage, and creating a motion tween to move it onto the stage.  The motion works, but the quality of the image in general (and the text in specific) looks pixelated.
    Thus, I did a little bit of snooping, and everyone said that you should start with a bitmap.  So I saved the image from Photoshop into .bmp format, and was able to set the properties to "allow smoothing" and with lossless compression.  So far, so good.  Now, as I expected, the transparency is no longer there... 
    So here's the question:  how can I make this image retain its quality, still have transparency, and a motion tween?
    It seems like this is some set of characteristics that don't play well together, even though I see this type of thing online ALL the time.
    I tried "Trace Bitmap" to convert to a raster image, and tried to follow some suggestions online, but when I do "Trace Bitmap", it ends up looking like it has a bunch of grayish dots on the image... definitely NOT what I was expecting.
    Thanks for your help!
    JPB

    Go back to using the png, and set the smoothing allowance. That should take care of the quality.  In Flash, a "bitmap" will often refer to any type of image element... .bmp's are probably dinosaurs (as in extinct) where Flash usage is concerned.

  • How do I create 2 motion tweens for one line of text?  the text needs to "fly-in-right", I can do that,

    how do I create 2 motion tweens for one line of text?  the text needs to "fly-in-right", I can do that, then it needs to "fly-out-bottom" again, I can do that, but not on the same line of text...any ideas...

    my question
    1- there is any way to assign the Fetch process to specific region so the process take all item in these region only.
    2- how can create manual process to fetch row into specific items in page ( i tray these code
    SELECT col1, col2, col3 ....
    INTO :P1_ITEM1, :P1_ITEM, :P1_ITEM...
    FROM table
    WHERE id = :P_id ) but no data retrieve .
    I do not think that it is possible to have more than one Automated Row Fetch process in a given page. See the thread:
    ORA-01403: no data found : Unable to fetch row multiple automated row fetch
    On your second question, the manual process should work provided:
    P_ID has a value when the process executes. You can do it this way:
    i. Make this process as a on-load After/Before header process
    ii. Make sure that P_ID page item has value when the process executes (set it from another page or before the pl/sql process executes)

  • Motion Tween w/ Rotation Dropping on the Y Axis

    Is there a way to prevent a motion tween w/ rotation from dropping on the Y axis? Basically I used Free Transform to change the angle of a line, but it always lowers itself on the Y axis when I insert a motion tween in it.

    Hey there,
    The properties shouldn't be changing when you insert a motion tween. Could you either attach a file with the object *before* you create the tween, or let me know all the properties of the object before you insert the tween so I can try and reproduce internaly?  (X, Y, rotation, scale X/Y, skew X/Y).
    Thanks!
    Jen.

  • Scaling and rotating with motion tween

    This is a ridiculously easy problem but I'm drawing a mental blank at how to do it so in advance I apologize for the simplicity. I'm trying to get a movie clip to rotate and scale automatically without being clicked. I would like it to gradually rotate by 90 degrees and scale by 150%, but I can't figure out how to get a motion tween to do it and am having to do it manually frame by frame. What is the code to do this?
    Thank you!

    If you are using CS4 or newer, make sure you are using the classic tween for what you described you tried. The only wondering I have is you mentioning a clip twice... if you are inside the movieclip you cannot rotate and scale it from there.  So is there a clip inside the clip, and is it the inner clip that you are trying to tween?  The object you scale and rotate must be a library symbol.

  • Free Transform breaks Motion Tweens

    Sigh! Normally I try to solve problems myself... but Google isn't giving me anything about this so maybe I'm the only one in the world experiencing this particular issue.
    I've used Flash for making games for years now, and I got used to using the old motion tweens for making looping animations for characters. I made the leap from AS2 to AS3 a while ago, and felt like I should try to use these new motion tweens as well since I got CS5...
    I've found them completely unusable, however, due to a bizarre problem that happens when moving around objects using the Free Transform tool.
    For a single character, I'll have a MovieClip with several layers, each with a 'body part' MovieClip on it, then I add the new blue-type motion tweens to all of those layers. At the end of those tweens, I use F6 to (hopefully) duplicate the starting pose; it is meant to loop, after all. Then I'll go about half way between these two keyframes and move bits around to create the A->B->A sort of 'idle' or 'breathing' animation.
    The Free Transform seems dodgy though. If I select all the 'limbs' of a character at once and try to rotate them as a group, it works, but they each end up displaced a bit when I release the mouse; they get offset slightly or rotate a bit in seemingly random directions.
    For example, compare these two images (it's easiest if they're opened in separate tabs, I suppose): http://scraps.fighunter.com/sparkpupagh1.png and http://scraps.fighunter.com/sparkpupagh2.png
    The first one is after rotating it but before I released the mouse button, the second is what the pieces ended up like after I released the button. Most of the pieces ended up where they should be, but the head was offset slightly. This is a mild case; it's usually worse and affects all the pieces, and the slight offsets and rotations build up, too.
    This in itself wouldn't be too bad - though it's frustratingly inaccurate - but it gets much, much worse the more I work on a single animation.
    (Note: These strange changes don't happen if I rotate all the parts as a group if they're not also contained within new motion tweens...)
    Here's a screenshot showing a frame mid-way through an animation, with one of the parts selected: http://scraps.fighunter.com/meepagh1.png
    The Motion Editor is shown, though I don't use that directly.
    With that feather bit selected, I then rotated it a tiny, tiny amount, but didn't *move* it at all. When I released the mouse, it ended up snapping suddenly to here: http://scraps.fighunter.com/meepagh2.png
    That'd be frustrating in itself, but as you can see from the Motion Editor, it's also messed up most of the other frames in the animation, somehow. This becomes unbearable, as you can likely imagine!
    If I edit the graph in the Motion Editor directly to alter the Z value and cause a rotation, it works, without problems... but this is horribly inefficient and unintuitive and not a solution. I can't animate by tweaking numbers. It's like trying to draw a portrait using an Etch-A-Sketch!
    It seems to only be the Free Transform tool that creates this bizarre problem.
    This has been happening since I got CS5 maybe a year or two ago, though I haven't actually had to use the animation tools much until a few days ago so that's why I'm bringing it up now. I've restarted Flash, my computer, etc, etc, many times; I also got the trial version of CS6 today to see if THAT would fix it, but the exact same thing happens in that version too.
    I'm wondering whether it's my computer's fault in some way... I don't know enough about hardware and 'specs' and that sort of stuff to describe anything about it, but I'm using Windows Vista and the computer is fairly old and not exactly what I'd call reliable. I'm planning to get a new one soon, so it'd be nice if that fixed this problem... but frustrating if it doesn't.
    I'll link to the CS6-flavoured .fla that those screenshots are from: http://scraps.fighunter.com/Meep.fla
    I'd very much appreciate it if someone could test this to see if it's happening to only me! If I go to frame 146 (to choose one at random), and try to rotate the foot, slightly, using the Free Transform tool, it breaks in the way that I've described. (Oddly, the head feather rotates without issues on that frame...) If you were to try to do this same thing and it *doesn't* break, it might be a good sign that it's my computer's fault!
    If it *does* break though... then I'd very much appreciate any help I can get from someone who understands the new motion tweens better than I do!
    It'd be a shame to have to go back to Classic Tweens because of this...

    Sigh! Normally I try to solve problems myself... but Google isn't giving me anything about this so maybe I'm the only one in the world experiencing this particular issue.
    I've used Flash for making games for years now, and I got used to using the old motion tweens for making looping animations for characters. I made the leap from AS2 to AS3 a while ago, and felt like I should try to use these new motion tweens as well since I got CS5...
    I've found them completely unusable, however, due to a bizarre problem that happens when moving around objects using the Free Transform tool.
    For a single character, I'll have a MovieClip with several layers, each with a 'body part' MovieClip on it, then I add the new blue-type motion tweens to all of those layers. At the end of those tweens, I use F6 to (hopefully) duplicate the starting pose; it is meant to loop, after all. Then I'll go about half way between these two keyframes and move bits around to create the A->B->A sort of 'idle' or 'breathing' animation.
    The Free Transform seems dodgy though. If I select all the 'limbs' of a character at once and try to rotate them as a group, it works, but they each end up displaced a bit when I release the mouse; they get offset slightly or rotate a bit in seemingly random directions.
    For example, compare these two images (it's easiest if they're opened in separate tabs, I suppose): http://scraps.fighunter.com/sparkpupagh1.png and http://scraps.fighunter.com/sparkpupagh2.png
    The first one is after rotating it but before I released the mouse button, the second is what the pieces ended up like after I released the button. Most of the pieces ended up where they should be, but the head was offset slightly. This is a mild case; it's usually worse and affects all the pieces, and the slight offsets and rotations build up, too.
    This in itself wouldn't be too bad - though it's frustratingly inaccurate - but it gets much, much worse the more I work on a single animation.
    (Note: These strange changes don't happen if I rotate all the parts as a group if they're not also contained within new motion tweens...)
    Here's a screenshot showing a frame mid-way through an animation, with one of the parts selected: http://scraps.fighunter.com/meepagh1.png
    The Motion Editor is shown, though I don't use that directly.
    With that feather bit selected, I then rotated it a tiny, tiny amount, but didn't *move* it at all. When I released the mouse, it ended up snapping suddenly to here: http://scraps.fighunter.com/meepagh2.png
    That'd be frustrating in itself, but as you can see from the Motion Editor, it's also messed up most of the other frames in the animation, somehow. This becomes unbearable, as you can likely imagine!
    If I edit the graph in the Motion Editor directly to alter the Z value and cause a rotation, it works, without problems... but this is horribly inefficient and unintuitive and not a solution. I can't animate by tweaking numbers. It's like trying to draw a portrait using an Etch-A-Sketch!
    It seems to only be the Free Transform tool that creates this bizarre problem.
    This has been happening since I got CS5 maybe a year or two ago, though I haven't actually had to use the animation tools much until a few days ago so that's why I'm bringing it up now. I've restarted Flash, my computer, etc, etc, many times; I also got the trial version of CS6 today to see if THAT would fix it, but the exact same thing happens in that version too.
    I'm wondering whether it's my computer's fault in some way... I don't know enough about hardware and 'specs' and that sort of stuff to describe anything about it, but I'm using Windows Vista and the computer is fairly old and not exactly what I'd call reliable. I'm planning to get a new one soon, so it'd be nice if that fixed this problem... but frustrating if it doesn't.
    I'll link to the CS6-flavoured .fla that those screenshots are from: http://scraps.fighunter.com/Meep.fla
    I'd very much appreciate it if someone could test this to see if it's happening to only me! If I go to frame 146 (to choose one at random), and try to rotate the foot, slightly, using the Free Transform tool, it breaks in the way that I've described. (Oddly, the head feather rotates without issues on that frame...) If you were to try to do this same thing and it *doesn't* break, it might be a good sign that it's my computer's fault!
    If it *does* break though... then I'd very much appreciate any help I can get from someone who understands the new motion tweens better than I do!
    It'd be a shame to have to go back to Classic Tweens because of this...

  • How to move a keyframe from a Motion Tween in Flash CS4

    I understand that motion tween is a new form of tween in CS 4 however  I am unable to move a keyframe within the time line? am I missing something? I would hope I could select the keyframe (diamond  shape) and move it around the timeline but apprently Im missing something.. I am not able to do a cut and copy either... is this normal behavior?
    thanks
    cheers
    stephan

    Thank you so much for getting back to me so quick. Work is chaotic right now or I would have replied sooner.
    Anyway, my lines aren't actually 3D at all. Everything, including the box, are 2D. But that does give me an idea, once I'm more proficient in Flash if I decide to make this animation even better in the future.
    I attached a screenshot of my homepage. You'll see a set of lines on the left side that surround a square with Sarah Knouse LeCroy inside. (That square is what I was referring to as a 'box'...probably not a good description.) I want that square to move down to the bottom left corner when you click on Portfolio, Contact or Resume. As it moves, I want the lines to collapse and fold together so that it looks like they're all neatly getting 'packed away' so that all that's left when viewing, say Portfolio, is an empty page with the square down in the lower left corner.
    What is the best way to animate those lines in CS4? Most of the lines do not need to stay connected to the square as it's moving so I think I can just do a Classic tween for those. But the 3 diagonal ones DO need to stay connected to the box as it's moving. I was doing a motion tween and rotating/elongating each line in sections but they still didn't match up exactly in some places during the move. When I would try to go back and adjust a position I had set, it would just pop right back to the original position.
    The last problem I'm having is an issue with getting this animation to play only when you leave the homepage and click to Portfolio, Contact or Resume.
    But don't want to overwhelm so just answer what you have time for! Later, I could attach my main timeline so that you could see what I already have set up.
    Thanks so much!

  • Problem with motion tweening in Flash CS4

    Hi !
    I tried to refresh my little flash knowledge -- but I stumbled upon a problem with the new Flash CS4!
    When I try to make different blur or alpha effect on one keyframe I got after making the motion tween -- Flash adjust the other keyframe as well (got the same reaction on both keyframes as if it was the same instance of movie clip -- and not as in old flash; the keyframes created separated or independent instances)
    The only thing working for me is when I move the movie clip out of the stage on the first keyframe -- and it correctly move its position.
    What's wrong?
    Kind Regards
    Maria Olsen

    Hello Maria,
    You sort of answered your own question:)
    "got the same reaction on both keyframes as if it was the same instance of movie clip"
    That is exactly right and is the proper way of looking at new motion tweens. It is one instance of the movieclip for the duration of the tween. It takes awhile to get used to this.
    New motion tweens allow you to set up a a very simple tween initially without keyframing ending values / position. Once you start making changes after the tween is set, you are going to have to get familiar with adding "property keyframes". Property keyframes are displayed with those little diamond icons in the timeline. Poperty keyframes allow you to "lock in" certain specific properties at key points in your animation without affecting other properties. With the old classic keyframes, a keyframe placed mid-tween would create a whole new instance of a symbol with all properties (rotation, scale, alpha etc) set in stone for that point in time. The benefit was that you could easily have all properties tween TO and FROM that keyframe if that's what you wanted. Now you can make adjustments to a symbol mid-tween and only specifically adjust a single property. So you can adjust the alpha of an object mid-tween without interrupting say a rotation that you wanted to happen all the way through.
    If you simply want an object to move left to right and then you decide it should fade in
    CLASSIC TWEEN
    -place symbol on frame 1
    -keyframe frame 10
    -in frame 10 move the symbol to the right
    -add classice tween
    Ok, that works, now add alpha fade in
    -go back to frame 1 and set alpha to 0
    -classice tween automatically adjusts alpha from 0 in frame 1 to 100 in frame 10.
    -done
    MOTION TWEEN
    -place symbol on stage
    -create motion tween
    -playhead jumps to last frame
    -move symbol to the right (no need to f6 / keyframe)
         Flash automatically adds something called a "position" keyframe (notice the little black diamond)
    Ok, that works, now add alpha fade in
    -go to frame 1 and set alpha to 0
    -test movie
    -oops - wrong. As you noted the alpha will stay at 0 throughout the whole tween.
    -you need to additionally go to the last frame and set the alpha back to 100
         -this will automtically create a "color" property keyframe on the last frame
    When just doing this now I noticed something odd as well
    As soon as I do the position change and move the symbol to the right, if I try to add the "color keyframe" on the last frame of the tween, I am not allowed to do so. "color" and "filter" are greyed out. I would prefer to lock the alpha at 100 in the last frame while the playhead is in position before setting it down to 0 in frame 1. Oh well.
    Seems you are forced to
    -go back to the beginning of the tween
    -adjust the alpha
    -then go to the end and manually bring the alpha back up.
    hmm maybe i'm missing something too:)
    the best way to do this would be to have the foresight ahead of time to do the alpha
    -place the symbol
    -alpha 0
    -add motion tween
    -in last frame move the symbol  set alpha to 100 (alpha and position keyframes are automatically set)
    So if you do it right the first time, its easy. If not, well.
    Keep in mind an object will maintain the properties it has set in frame 1 unless a subsequent property keyframe enforces some adjustment.
    If you have have an object that is moving from point a to b to c to d:
    If you alter the alpha at point b, the alpha will tween from point a to b, but will maintain the new alpha to c, to d.
    If you scale the clip by 200% at point, its scale will tween from point a all the way to point d, NOT just from c to d
    To scale from point c to d only, set a "scale" property keyframe at point c (this will lock the objects scale at 100) THEN scale to 200% at point d
    It takes a good deal of practice. I found the hard way that you just can't "wing" it. It isn't very intuitive coming from a classic tween approach.
    These articles really helped me:
    http://www.adobe.com/devnet/flash/articles/motion_migration_guide.html
    http://www.adobe.com/devnet/flash/learning_guide/animation/
    Take note of the tips on "cntr-clicking" frames and "shift-dragging". You have to really get used to a few keyboard modifiers when editing the timeline.
    Stick around the forums. A lot of good info comes through daily.
    Carl

  • Motion tweens in animations for handsets

    I have an animation that's headed for mobile handsets and
    Flash Lite. In it are motion tweens. I've been advised that a tween
    will slow down the playback on a handset. Is the solution to
    convert each of the tweens to individual frames?
    Thanks

    We see this issue weekly if not daily - make sure the text
    fields are set to Static (default is
    Dynamic and dynamic text needs the font outlines embedded to
    render in the player). If you must have
    Dynamic fonts then embed the font outlines.
    Chris Georgenes
    Adobe Community Expert
    www.mudbubble.com
    www.keyframer.com
    www.howtocheatinflash.com
    DocJollyWood wrote:
    > Let me start by saying I have just returned to Flash
    after an extended (6 year)
    > hiatus from the program. The last time I used Flash was
    Flash 5.0. I've
    > probably forgotten most everything I did know (which
    admittedly wasn't all that
    > much), but the program is so different now, jumping from
    5 to 9 would probably
    > be stressful even if I were better with the tool. Now,
    anyway with that
    > disclaimer out of the way I have (what should be a
    simple chore) driving me
    > bonkers.
    >
    > I created several lines of text and converted the text
    to symbols. I then
    > created "funky" motion tweens for the text featuring
    alpha and tint changes,
    > 360 rotations and flips, etc. etc. When I am in Flash
    and do a Control > Play,
    > the movie displays EXACTLY as I had envisioned with all
    bells and whistles.
    > The problem is after I export the movie to SWF and play
    it in Flash Player it's
    > not the same movie that just played back moments before.
    The exported file
    > only contains the motion tweens that involve
    no-resizing, spinning, or alpha
    > changes. The symbols with those features merely only
    display the last frame of
    > the animation. Furthermore the fonts and stylings I used
    are missing.
    >
    > Please help.
    >

  • How many motions tweens can you have on a timeline?

    I'm a college student in Seattle.  We just had our mid-terms in Flash CS5.  One of the really simple questions was "How many motion tweens can you have on a timeline."  Yup.  The answer is one...... or is it?  I had a long discussion with my tutor (who is the greatest tutor in the world) and he wanted to think about it. I said to him that I thought that one motion tween was wrong because you can click on an object in the timeline, make it a motion tween, and double click it and make several motion tweens.  So, essentially, you can have more than one motion tween on a timeline.  Is anyone able to advise me because this is all about grades!

    You can have quite a few motion tweens on a timeline.  You can even have them happening simultaneously (I don't know of a specific limit), as long as they are all on their own layers.  Though the more you add simultaneously the more they can weigh down the speed of things running.
    If you need to prove this to someone, the easiest way is to create it and demonstrate it.  But you may want to check the exact wording of the question... it would not be beyond an examiner to throw a trick question in.

  • How do i start a motion tween by clicking a button and stop it at the end of the tween.

    Hi guys,
    I am creating a website for a project and i am trying to activate a box bropping down from another box when i click on the enter here button i have created. I have set the motion tween and its working when i preview i just unsure of the correct actionscript to start this tween when i have clicked the entere here button or how to stop it at the end of the tween.
    I am scared i may have made the layers in the wrong place, they are all currently in scene 1. does my second box that is dropping down need to be set inside the layers of the first box?
    Bit of a newbie at this.
    Thanks in advance!

    Create the dropping box movieclip as an animation by itself with a stop() coomand in the first frame and a stop() command in the last frame.  The click of the button should tell the movieclip to play(); at which point the animation should play and stop at the end.
    Another option would be to use an actionscript Tween to make the box drop.  Going that route the animation is what you code it to be and there is no need to have to stop it as it will end where you tell the Tween to end at.

  • Motion Tweens in AS3

    I'm trying to make a screen object(digitB1_mc) move in one of two different directions, depending upon the current cicumstances.
    I drew the Motion Tween _B1_12 and saved it as a preset for the first direction.
    I drew the Motion Tween _B1_21 and saved it as a preset for the second direction.
    Then I tried to find AS3 code to grab one of these two from the presets and apply it to digitB1_mc. Could not find a way to do it.
    Then I copied _B1_12 to Actionscript 3.0 code (ie. clipboard) and pasted it into an Actionscript 3.0 function B1_12 and got:
    function B1_12() {
    import fl.motion.AnimatorFactory;
    import fl.motion.MotionBase;
    import fl.motion.Motion;
    import flash.filters.*;
    import flash.geom.Point;
    var __motion_digitB1_mc:MotionBase;
    if(__motion_digitB1_mc == null) {
        __motion_digitB1_mc = new Motion();
        __motion_digitB1_mc.duration = 11;
        // Call overrideTargetTransform to prevent the scale, skew,
        // or rotation values from being made relative to the target
        // object's original transform.
        // __motion_digitB1_mc.overrideTargetTransform();
        // The following calls to addPropertyArray assign data values
        // for each tweened property. There is one value in the Array
        // for every frame in the tween, or fewer if the last value
        // remains the same for the rest of the frames.
        __motion_digitB1_mc.addPropertyArray("x", [0,7.4116,14.0277,19.6419,23.9742,26.6463,27.1809,25.0619,19.91,11.7411,1]);
        __motion_digitB1_mc.addPropertyArray("y", [0,-14.8969,-30.1606,-45.8179,-61.8789,-78.2953,-94.9161,-111.395,-127.195,-141.658,-154. 35]);
        __motion_digitB1_mc.addPropertyArray("scaleX", [1.000000]);
        __motion_digitB1_mc.addPropertyArray("scaleY", [1.000000]);
        __motion_digitB1_mc.addPropertyArray("skewX", [0]);
        __motion_digitB1_mc.addPropertyArray("skewY", [0]);
        __motion_digitB1_mc.addPropertyArray("rotationConcat", [0,36,72,108,144,180,216,252,288,324,360]);
        __motion_digitB1_mc.addPropertyArray("blendMode", ["normal"]);
        __motion_digitB1_mc.addPropertyArray("cacheAsBitmap", [false]);
        // Create an AnimatorFactory instance, which will manage
        // targets for its corresponding Motion.
        var __animFactory_digitB1_mc:AnimatorFactory = new AnimatorFactory(__motion_digitB1_mc);
        __animFactory_digitB1_mc.transformationPoint = new Point(0.500000, 0.500000);
        // Call the addTarget function on the AnimatorFactory
        // instance to target a DisplayObject with this Motion.
        // The second parameter is the number of times the animation
        // will play - the default value of 0 means it will loop.
        // __animFactory_digitB1_mc.addTarget(<instance name goes here>, 0);
    But when I called this function it did nothing at all except increase my swf file size from 3.8 kb to 27.3 kb.
    Can anyone suggest a solution that would allow me to swap back and forth between two motions for an object.
    Thanks,

    The culprit is most likely the garbage collector. If you do
    not have any references to your tween object, it will eventually be
    destroyed by the garbage collector.
    From
    Adobe
    Flash Quick Start
    quote:
    Note: Consider variable scope when using the Tween class. If
    a tween is created in a function, it is important that the
    variable's scope exists beyond the function itself. If a tween is
    stored to a variable of local scope, ActionScript garbage
    collection removes the tween as the function completes, which will
    likely be before the tween has even begun.

  • Moving multiple symbols "breaks" motion tweens

    I'm working on a character rotation in Flash CS 5.5 that leads into a basic walk cycle using all motion tweens. The tutorial I'm following (which only uses classic tweens) says to grab all the upper body symbols with free transform and rotate them forward a little. This works fine with classic tweens, but with motion tweens, the parts pop strangely out of place and the more frames I try to move the upper body symbols on, the worse the symbols start randomly sliding around. You can see a simple before/after example posted below. Moving the profile view upper body symbols displaces the arms on the first frame.
    Is there any way to move multiple symbols without ruining them? Someone else described at length a problem like this on an old thread, but no one answered: http://forums.adobe.com/thread/1084800
    I've tried taking all the upper body layers and sticking them in a symbol, but that won't work because the left hand will pass over the left leg instead of under due to layering.
    EDIT - Whatever change is made to the arms during the walk  changes the key frames at the beginning, but only if selected with other symbols. If I move the upper body parts down instead of rotating them, the first frame arms will be retroactively be moved down.
    Message was edited by: LastNameLeft3000

    If you are interested in getting decent results at some point youwill have to looke into the Bone-Tool or use a extension like DragonBones
    The reason why you are having "Displacement"-problems lies in the "Math" behind how AnimatorFactory (the system behind Motion Tweens) handles transformations different from Tweens (Its outright misleading to call them Tweens, and Adobe did a poor naming job).
    Right click one of the Motion tweens and chosy "copy as Actionscript 3.0" from the context menu then paste the code in any available textEditor and you will see sth like:
    import fl.motion.AnimatorFactory;
    import fl.motion.MotionBase;
    import fl.motion.Motion;
    import flash.filters.*;
    import flash.geom.Point;
    var __motion_Symbol1_9:MotionBase;
    if(__motion_Symbol1_9 == null) {
        __motion_Symbol1_9 = new Motion();
        __motion_Symbol1_9.duration = 24;
        // Call overrideTargetTransform to prevent the scale, skew,
        // or rotation values from being made relative to the target
        // object's original transform.
        // __motion_Symbol1_9.overrideTargetTransform();
        // The following calls to addPropertyArray assign data values
        // for each tweened property. There is one value in the Array
        // for every frame in the tween, or fewer if the last value
        // remains the same for the rest of the frames.
        __motion_Symbol1_9.addPropertyArray("x", [0]);
        __motion_Symbol1_9.addPropertyArray("y", [0]);
        __motion_Symbol1_9.addPropertyArray("scaleX", [1.000000]);
        __motion_Symbol1_9.addPropertyArray("scaleY", [1.000000]);
        __motion_Symbol1_9.addPropertyArray("skewX", [0]);
        __motion_Symbol1_9.addPropertyArray("skewY", [0]);
        __motion_Symbol1_9.addPropertyArray("rotationConcat", [0,3.91304,7.82609,11.7391,15.6522,19.5652,23.4783,27.3913,31.3043,35.2174,39.1304,43.043 5,46.9565,50.8696,54.7826,58.6957,62.6087,66.5217,70.4348,74.3478,78.2609,82.1739,86.087,9 0]);
        __motion_Symbol1_9.addPropertyArray("blendMode", ["normal"]);
        __motion_Symbol1_9.addPropertyArray("cacheAsBitmap", [false]);
        __motion_Symbol1_9.addPropertyArray("opaqueBackground", [null]);
        __motion_Symbol1_9.addPropertyArray("visible", [true]);
        // Create an AnimatorFactory instance, which will manage
        // targets for its corresponding Motion.
        var __animFactory_Symbol1_9:AnimatorFactory = new AnimatorFactory(__motion_Symbol1_9);
        __animFactory_Symbol1_9.transformationPoint = new Point(0.499943, 0.500000);
        // Call the addTarget function on the AnimatorFactory
        // instance to target a DisplayObject with this Motion.
        // The second parameter is the number of times the animation
        // will play - the default value of 0 means it will loop.
        // __animFactory_Symbol1_9.addTarget(<instance name goes here>, 0);
        // Call the addTarget function on the AnimatorFactory
        // instance to target a DisplayObject with this Motion.
        // The second parameter is the number of times the animation
        // will play - the default value of 0 means it will loop.
        // __animFactory_Symbol1_9.addTarget(<instance name goes here>, 0);
    This is only the code for simply rotating a rectangle over the duration of 24 frames.
    You notice 2 two problems right away: while having the registration point in the center, Flash distorts the values:
        __animFactory_Symbol1_9.transformationPoint = new Point(0.499943, 0.500000); //should be (0.5, 0.5)
    you can imagine that this "error" gets worse when inherited from nested symbol to nested symbol, it "exponentially" grows with each nesting, and it will soon reach a point were it gets visible.

  • Can't properly create motion tweens between two keyframes in flash CS4

    I'm trying to create a flash animation of a wing flapping using three keyframes. The first keyframe is at frame 1. I then created a second keyframe at frame 5 by pressing F6, and then I created another keyframe at frame 10 by pressing F6. At frame 5, I rotated the wing so that it is going up. Frame 10 is the same as frame 1.
    frame 1:
    frame 5: frame 10:
    I right clicked on a frame between frames 5 and 10 and then clicked the first option, "Create Motion Tween"; I then performed the same action on a frame between frames 1 and 5. When I preview or test the movie, there is no transition between the frames. From frame 1 to 5, there is supposed to be a transition of the wing flapping up. From frame 5 to 10, there is supposed to be a transition of the wing flapping downwards to its initial position. Instead, when I test the movie, the wing remains still until frame 5 and instantly goes to its "wing up state" and when it gets to frame 10, instantly goes to its "wing down state".
    Here is what the timeline looks like after I've made the changes mentioned above:
    I'm using Flash CS4 to make the animation but the tutorial I'm following is using Flash CS3. I know I can use other methods to create the motion tween but I want to know why the method I'm using isn't working.

    I did switch to classic tweening. I pressed F6 to make a keyframe at frames 5 and 10. I then right clicked on a frame between frames 1 and 5 and then clicked
    "create CLASSIC tween"; did the same thing between frames 5 and 10. I'm not seeing the transitional frames between frames 1 and 5 that the tutorial showed.

Maybe you are looking for

  • Itunes 6.0.1.3 is killing my network!

    The last time I updated all my podcasts was 12-8-5. I had not run Itunes since then. I fired it up this past weekend and something really strange happened. It was unable to update any podcasts. Also, my laptop had disconnected from my wireless networ

  • How do I know my SDK install is working properly?

    Hey guys, I have installed Java EE 5 SDK on a windows 2003 server. I am trying to figure out if it is running properly. I did tell it to run java as a service and I have a running service named SunJavaSystemAppserver9PE running. I opened a command pr

  • SUNWi1cs, SUNWi15cs are missing in oracle solaris for VM

    Hello, i'm installing oracle 10r2 on Solaris10_8-11 for testing purposes. i have download Solaris from VM section of oracle http://www.oracle.com/technetwork/server-storage/solaris10/solaris-vm-405695.html. Two package are missing both are required f

  • Bulk read problems: DB_MULTIPLE/DB_MULTIPLE_KEY buffers must be aligned

    Hi I am trying to bulk read a Btree database that has the following stats... 53162 Btree magic number 9 Btree version number Little-endian Byte order duplicates Flags 2 Minimum keys per-page 4096 Underlying database page size 1007 Overflow key/data s

  • MVC with Struts?

    If you are going to implement the MVC pattern in a webapp, what is the best framework to use? I've done a tutorial with Struts. Is that a good framework? Is there any disadvantages by using such frameworks?