Motion Tween Scaling a UILoader loaded Image

Hello: I know how to make an image scale up upon a button click. If it is possible, what is difference in the actionScript code if the image has been loaded using the UILoader ?
Currently I have the Component scaling up upon a button click but the Component's motion tween seems to not associate with the Image's scale (the image the UILoader placed on the stage). Thank-you, MLR ...
// Component Inspector >scaleContent: true (current setting)
buttonMLRx_btn.addEventListener(MouseEvent.CLICK, animateMLR);
function animateMLR(eventMLR:MouseEvent):void
        imageBinMLRx_mc.gotoAndPlay(2);
        trace("MLR");
    }

Thank-you Ned: I will try the documentation. I presume from your response, it is possible. I will watch this (my) post and post my resolve when I figure it out. MLR

Similar Messages

  • 3d motion tween load problem

    Hey all,
    I'm having a problem which has made me struggling for two days. I hope i can get some new ideas for my problem here.
    I created a fla which includes several 3d motion tween in CS5.5, when it's compiled it works perfect. But when i try to load this swf into my main project, images get blurry and distorted. Below is the screenshot of the situation. The first one is the correct one, and second one is loaded into main project. I read that scaling 3d tweens might cause such problems and tried to fix it by two solutions. As first, i tried to retransform the tween by: myContainer.transform.matrix = new Matrix(); but didn't work out. As second, i tried to rescale the stage which mentioned as a solution is some blogs.
    And i don't know if it is some kind of bug as mentioned here: http://forums.adobe.com/message/2258767
    I'd really be glad if i can get some ideas, thanks all.

    anyone?

  • Image motion tween

    I'm trying to motion tween jpeg image from one side of the
    screen to another but by the motion everything gets so framey
    instead
    running smoothly. I tried to convert image to the movie clip
    and I tried increase
    number of frames and fps but with no succes. Image is still
    "jearking" while
    moving across flash stage. Is there anything that can be done
    so that image moves smoothly?
    Beginer looking for help.....
    Appreciate your help,
    JM

    ok, so it looks like the images are 'bigger' than the initial
    image size, because you then 'zoom' in on it, so this is part of
    the problem, because Flash has to recalc and draw the MC on every
    iteration of the tween. Second, they are under a mask, right? Q
    though - you're using a timeline tween correct?
    So a couple of things that may help, first, in each MC that
    contains an image, turn on the 'cacheAsBitmap' property, in the
    properties panel. try that.
    If that's not enough, take the entire timeline containing the
    image MCs and place it within a 'master' MC, find the dimensions
    and placement of your mask in relation to the main timeline (ie.
    global space), then remove it. Create a 'blank' MC with insert
    Symbol command, place an instance on the stage at the x,y of the
    mask's previous location. then in code use the 'scrollRect'
    property to define the viewable area (the masks dimensions) you
    will need to pass a Rectangle class object in the parameter. also
    make sure to turn on the cacheAsBitmap property for the new symbol
    instance. finally, place the 'master' MC in position within the new
    symbols timeline.
    third, if that's still not enough, you could go a step
    further and load the images into BitmapData objects and then place
    them with code, but this is a lengthy process to explain, i think
    maybe try some of these other things first.
    additionally, you could change the timeline tween (assuming
    that's what it is) to a Tween class code constructed tween series
    and remove almost everything from the timeline.

  • 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.

  • Images shifty on motion tween

    When I try to simulate "the ken burns effect" by creating a
    motion tween on an image and moving it slightly or making it
    larger/smaller, stair-stepping occurs and the image loses it's
    quality. This seems like it should be an easy fix, but I can't
    figure it out. I have manipulated frame rate, image size/quality,
    converted image to graphic and movie clip, and have reduced the
    amount of moving I do within frame. Nothing seems to work. When I
    view the movie, the image always looks grainy and I lose the edges
    in the image. Does someone know what I'm doing wrong?
    Thanks.

    Yes, you could have a function coded wherever it would be best executed and you could call that function at the end of the tween.  If the tween is inside a movieclip, then you can prepend the function call with MovieClip(parent).  or MovieClip(root).  depending how deep you are into children...
    MovieClip(parent).callFunction();
    You could also assign a custom event listener to the movieclip that the parent listens for.  At the end of the tween in the mc you could have...
    dispatchEvent(new Event("imDone"));
    In your parent you assign a listener for the event to the mc.
    youTweeningMC. addEventListener("imDone", eventHandler);
    function eventHandler(event:Event):void {
       // whatever your intentions are

  • 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.

  • Swapping xml loaded Images to scene elements?

    Hi there!
    I have a small quick question about xml loaded images.
    Can you append/attach/swap the images to elements in your scene?
    I would like to manually animate a movieclip using keyframes and motion tweens. For example, to have a movieclip FLY! accross the screen! lol But I want the image on it to be of one that has been dynamically loaded.
    I can't seem to work out how to replace an image on a movieclip from a dynamically loaded image.
    Is it even possible?
    Thanks heaps for your time you guys!

    If the original image is the only object within the movieclip, you can use removeChildAt(0) to get rid of it, and use addChild(your_new_image) to replace it.

  • Motion Tween animation hanging/pausing in browser

    Let me start by stating that I am a complete and total noob to web design, programming of any type, and flash animation.  I've spent more hours watching videos on YouTube and reading web pages than I ever should have.  I've created my first flash animation for my business website that consists of four pictures moving across the page, with the final picture fading in.
    The problem I'm having is that as the first two pictures reach the side of the page where they exit, they pause for a second or two.  This happens even when the animation is fully loaded.  I need to smooth this out as it makes the intro feel very sloppy.  Any help/advice on how to smooth this out would be greatly appreciated.  Thank you!

    Yes, I placed each picture on the blackboard, then right-clicked and selected Create Motion Tween for each one.  When I watch the animation in Flash CS4 it hangs up for a second where the first and second layers overlap, and then where the second and third layers overlap.  But it transitions smoothly between the third and fourth layers.  I did fail to mention that the first, second, and third tweens all consist of motion whereas the fourth tween is simply a fade in for a static image.
    Any help is greatly appreciated.  Thank you!

  • 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 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)

  • Basic Motion Tween not working?

    I created a graphic symbol in Illustrator and copied-and-pasted it into Flash. I placed a keyframe further in the Timeline and scaled the symbol down on that frame. I went back to the first frame and right clicked on it and chose to create motion tween, though nothing visually happened between the first frame and last one like it did in previous versions, and the the symbol did not not animate. What did I do wrong?
    Thanks.

    Adobe has made it a wild goose chase. For me, it only works if I don't have a second keyframe. Baffling, why should it behave so differently than classic tweening?!
    People like me have been hitting their heads against the wall for years trying to get this to work. Absolutely asinine.
    For the record and to repeat my huge gripe, it behaves nothing like classic tweening, where you define an end point and then "tween" between them. You can end up doing that, but you can't create the tween between two existing keyframes (even if they have the exact same single object in them).
    So this is what's working for me now:
    1 - Create a timeline layer with one single object in an initial keyframe (black dot indicates a keyframe). No more than one object can be tweened in one layer, but Adobe will not give you any userful feedback about this while you're working.
    2 - On that layer, farther out in the timeline where there are no frames (what is the name for these "non-frames"?), right click where you want the tween to end, and select "Insert frame". (You'll have a black dot keyframe, a row of grey empty frames, and white box as a blank keyframe.
    3 - Right click anywhere on the active part of that timeline and choose "Create Motion Tween", even though there is nothing to tween yet. After you do this, the span of frames should turn blue and the blank keyframe white box should disappear. Congratulations, you've created your first motion tween, but Adobe doesn't want you to know that. You need to actually go to individual frames and move the object around to get tweening to happen, as I outline in steps 4 and 5. Assuming your object is where you want it in the starting position, I would recommend going to the last frame to determine the final position next. Then you can do any number of middle positions (each frame can have a new position).
    4 - (optional step, helps with positioning on the timeline) Scrub the timeline and find a frame where you want the trajectory of your object to change (at the very minimum, you'll want to move the object for one frame, otherwise there will be no motion)
    5 - Move the object on the stage.
    6 - Repeat 4 and 5 for as many frames as you want.
    If you're not seeing motion paths that chart the motion, play with the little buttons on the bottom of the timeline, such as Onion Skinning. Lastly, just move the playhead left and right. If you're not seeing your object move, then blame Adobe some more, because this is far from immediately intuitive.

  • Motion tween not working when tested

    I have a situtation trying to get a motion tween to work. It woeks in the  time framw when I hit play but when I go to test it does not work. I can send file if soemone can help.

    Ned,
    was watching the below tutorial and desgined my text/tween similar on the page. On My page I am creating a Flash  Portfolio of some work. all the files work in myloader on the stage.  In the timeline,  when I move the  guide the text works. Also when I push Play it works.  But when I go to test it does not.
      The text is what I want to start as soon as the page loads. I do not have a code in action script because everthing i put deos not work. Hope you can help
    http://www.youtube.com/watch?v=dXCGKmO2EBU
    Tim

  • IPad safari don't show loaded images until slide the screen

    i have a problem in iPad Safari. when i use Javascript to append image to div using elm.appendChild(img) the images don't appear until the screen is touched. the same code works perfect on IE,Firefox,Chrome,and android browsers.i have uploaded video that shows the problem. http://www.youtube.com/watch?v=nBN9fThDik8is it related to the device ? or there some special code for loading images in iPad safari?or any solution ?

    Hi there and welcome to the User Forums!
    What you are looking for is a full-motion video recording.
    Captivate 2 has full-motion available, but the product is designed
    to use it for only brief periods - for capturing such things as
    grabbing a scroll elevator, or a drag-n-drop of a file object. It
    is definitely not designed for on-going, continuous video capture.
    If you upgrade to Captivate 3 you will find expanded full-motion
    capabilities.
    Other alternatives include the use of software designed
    specifically for creating AVI videos. One popular software package
    for this is Camtasia, but there are hundreds available out there -
    just "Google" for a string like "
    create video".
    Having said that, if you use Captivate as intended, the
    action you describe can be captured easily, and with amazing
    clarity and real-time appearance of your actual activity. This is
    not really the place to conduct a complete seminar on the product,
    but there are more than a half-dozen tutorials (created in
    Captivate) accessible on the main user interface (UI) - look in the
    right-hand column on that UI. The titles tell you what each
    contain. There is also a sample movie or two that was included with
    the install. You might find it helpful to open that and after
    looking at the timeline and other features, use the Preview feature
    to see what a Captivate movie looks like.
    After looking at some of those resources, come on back here,
    as you will probably have more specific questions we can help with.
    Best of luck to you.
    .

  • Strange motion tween problem

    So I have been making an animation to a voice over for a project. Comes in at about 2000+ frames with each animations different "scene" location split into 16 layers.
    If I play the entire movie from start to finish my 2nd to last "scene's" motion tweens play really fast and repeat randomly.
    If I use a gotoAndPlay to the frame where this "scene" starts the motion tween plays as intended.
    The problem "scene" is setup like all my others with the "scene" being in its own movieclip on the main timeline, and then nesting other movieclips inside it. When I remove the tweens from the nested movieclips there is no movement issue, but obviously there is also no movement which I need.
    My fix so far has been to add a goToAndPlay on the first frame of the problem "scene", eg "gotoAndPlay(1895); above frame 1895" which plays the tween correctly but makes my audio stutter when it hits that frame. So is not exactly the desired effect.
    Note: when I say "scene" I don't mean flash scenes more taking about the different shots/locations of my animation.
    I've searched google for hours to try find a similar issues with no success. So really do appreciate any help or ideas from some more experienced flashers

    You're trying to have different slices fade in? If you just
    want the image,
    as a whole to fade in, import it and convert it to a
    MovieClip and fade in
    the clip.
    Dave -
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • Can't get motion Tween to work - just upgraded from a previous version to CS4

    I am attempting to create a motion tween between two keyframes.  The image is the same...the first keyframe has the image set to an alpha of 0 and the second keyframe some 20 frames down the timeline is set to an alpha of 100%.  The keyframes are on the same layer.  The image has been transformed to a symbol.  Yet when I double click between the two keyframes and create the motion tween so the image will fade from 0 to full view at 100% nothing happens.  I don't see the familiar arrow that normally indicates a motion tween between the two keyframes.  I've created this transformation a thousand times before but don't understand what is different in CS4 that isn't creating the tween.  When I double click on a frame in between the two keyframes it indicates I can remove motion tween so, it makes me believe the motion tweening has been set but, it isn't.
    I am quite frustrated and don't understand if I haven't set something in the preferences so the tweening will work or just what is going on.
    Help!

    And here's the article that was written specifically to update your skills with all the changes between the earlier tweening and new tweens in CS4:
    http://www.adobe.com/devnet/flash/articles/motion_migration_guide.html

Maybe you are looking for

  • Creative Cloud Desktop issue: "you've been signed out" when trying to sign in

    Hi, Following the resolution guide for this issue on the adobe site, I have deleted the opm.db file from the oobe folder.  But the issue still remains. Steps carried out Quit the app Deleted opm.db file launched the app signed in same error I have al

  • Error Message while downloading apps

    i am getting error messages while downloading apps on my iPhone and iPAD.. using current 4S,5S and iPAD-4 with iOS7

  • Closed lid still allows movement

    Hi, is it normal that the screen of my new macbook can be moved a bit to the side (left and right) when closed. I'm talking about only a milimeter and guess it's because it's magnetically locked and not mechanically. But I was just wondering if that

  • N8 Can't Update To Belle

    If anyone can help please do... I have a nokia n8-00 with the product code of 059B663 and I have the latest nokia suite (3.6) Nokia Suite says everything is updated, i livein the philippines, they say nokia belle refresh is the latest here... hoping

  • LinkedButton and lf_Employee

    Hi all, I create a linkButton and a edit text. I'm link the button to lF_Employee and to the Edit Text. The link doesn't work, i can't open the form associate at the name of the edit text. If i insert the name or the empID, nothing happends. The butt