Scaling onstage MovieClip w/ "scaleX" breaks timeline animation ...really?

I'm scaling onstage MovieClips via AS properties "scaleX" or "scaleY", which kills any kind of animation the clips have within their container MovieClip, be it Classic or Motion Tweens. When I don't scale the MovieClips, they animate fine. I'm able to tell the clips to "gotoAndStop" on their own internal frames, and that doesn't affect their animation within their container clip. I'm referencing the clips via AS w/ their instance names defined in the IDE. I've also tried different clips and recreated them, getting the same behavior.
Is it possible to scale a clip via AS and still have it animate within its container timeline?
Does applying an AS property to an onstage instance somehow dissassociate it from other timeline properties?

That's the only solution I could find. And it worked. Thanks!
Any idea what is the relationship between onstage instances and adjusting their properties in AS? I've run into this kind of issue with TextFields before, too. As soon as properties are changed w/ ActionScript, some aspects break, thus forcing a kind of all-or-nothing approach to applying ActionScript to onstage instances.

Similar Messages

  • ColorTransform messing up timeline animation.

    I dynamically set a color using this function in colortransform.
    function setColor(o:DisplayObject,color:uint):void
         var myColor:ColorTransform = o.transform.colorTransform;
         myColor.color = color;
         o.transform.colorTransform = myColor
    I then have a short timeline animation in Flash CS5 where the height grows just a little bit, and it does not grow.
    It grows in the preview, but not after compile.  If i comment out this color transform function, the height animates correctly.
    Any help would be appreciated thank you.

    changing a displayobject's appearance with actionscript will break any concurrent timeline tween.  to remedy, use only actionscript or use only the timeline.

  • Youtube embed is breaking my animation

    Hi,
    I am atttempting to create embed a Youtube video into my ad and I am seeing some issues in the console that seem to break it. Can you anyone take a look and help me understand why this is happening?
    Unsafe JavaScript attempt to access frame with URL file:///Users/adamperlis/Documents/PROJECTS/Gatorade%20Ad/Gatorade.html from frame with URL http://www.youtube.com/embed/B7X6jMDPb7w. The frame requesting access has a protocol of 'http', the frame being accessed has a protocol of 'file'. Protocols must match.  www-embed_core_module-vflNmuGQq.js:26
    EMBFbwww-embed_core_module-vflNmuGQq.js:26
    EMBM.gwww-embed_core_module-vflNmuGQq.js:30 
    Here is my file:
    http://dl.dropbox.com/u/9159616/Gatorade%20Test.zip
    Thanks,
    Adam

    Hey Heathrowe,
    Thanks for coming to the rescue again. Can you take a look at my file, it seems be breaking my animation. It freezes anytime I try to jump from one button to another.
    Adam

  • Converting timeline animations into .swf??

    Hello all,
    In CS3 I was able to export animations into .SWF files but with CS6 I cant seem to find out how to do this?  The only option is .MP4 via File>Export>Render Video but thats no good to me.  I've searched high and low for this answer but have come up with nothing!
    Any suggestions?  It needs to be SWF.  I've tried to convert MP4 into SWF using a 3rd party software but the quality was shocking and I'm unsure what settings to use for the original animation and also for the converting!  Doing it with CS6 is much prefered if possible!
    Thanks in advance

    To my knowledge, you cannot do this in Photoshop CS6. Check out this help document, Creating Timeline Animation (Photoshop Extended).
    Do you have Flash or After Effects?
    Cheers,
    Michael

  • Flash CS6 as3 Navigate to URL stops timeline animation!

    Hello
    I'm hoping someone can help me out! I'm quite new to flash but slowly getting the hang of it. I'm trying to make an interactive banner using jpegs converted to buttons etc with type, all animated. I've got separate layers for everything including mask layers and actions. I just want to navigate on a top layer which is invisible to take the user to a new URL. Everything is working great until I put more than one URL link in the code, as soon as I do the whole banner animation stops!!
    If someone could suggest a few ideas it would be much appreciated as I'm all out?!
    Many thanks,
    here's the code:
    import flash.events.MouseEvent;
    btn1.addEventListener(MouseEvent.CLICK, btn1Click_1);
    btn2.addEventListener(MouseEvent.CLICK, btn2Click_2);
    function btn1Click_1(event: MouseEvent): void
      navigateToURL(new URLRequest("http://www.google.com"), "_self");
    function btn2Click_2(event:MouseEvent):void
      navigateToURL(new URLRequest("http://www.youtube.com"), "_self");
    addEventListener(MouseEvent.MOUSE_OVER, mo);
    function mo (event:MouseEvent):void
    event.currentTarget.stop();
    function mo2 (event:MouseEvent):void
    event.currentTarget.play();
    } addEventListener(MouseEvent.MOUSE_OUT, mo2);

    Thanks Ned and moccamaximum for the replies.
    The last bit of code does apply to the whole timeline as it stops the animation with a Mouse Over/Roll Over. Taking this away has no effect on the animation in the timeline. The only thing that seems to stop the timeline animation is the second button URL request!
    btn2.addEventListener(MouseEvent.CLICK, btn2Click_2);
    and:
    function btn2Click_2(event:MouseEvent):void
      navigateToURL(new URLRequest("http://www.youtube.com"), "_self");
    Works perfectly without this command. I don't get it!

  • Photoshop CC: Layer Merging Behavior with Timeline Animations (Bug?)

    Hello,
    we're working a lot with the Photoshop timeline in our company. After upgrading to Photoshop CC we encountered a behavior that was different with CS6.
    Picture a file with a timeline animation consisting for example of 8 frames, with 8 layers, each layer's visibility exposed on a single frame (layer 1 exposed in frame 1, layer 2 exposed in frame 2 etc) and all other layer not visible.
    In Photoshop CS6, if I were to create a new layer for example in frame 4 of my timeline above layer 4 (which is the only visible layer in this frame) and merged it back down onto layer 4 (by selecting it and pressing the shortcut CTRL+E), the resulting layer inherited all the exposure settings of layer 4, but did contain the merged visual content of layer 4 and the previously new layer above it. This is what I want.
    Now in Photoshop CC, when doing the very same action, the layers are merged and keep the naming of layer 4, however the visibility flag is not inherited properly. The resulting layer is exposed (visible) on all frames in the timeline, whereas it actually should only be exposed in frame 4.
    Also note that the timeline option "New layers visible in all frames" is deactivated. So even if Photoshop treated the merged layer as an actual new layer, it shouldn't expose it's visibility in all other frames.
    The only workaround I've found so far is enabling "unify layer visibility", hiding the layer, then disabling "unify layer visibility" again. This is annoying however, and the entire new behavior seems like a bug to me. Can any of the developers comment on this? Thank you.
    Regards,
    Hannes Drexl

    My only solution so far is to avoid using CC and sticking with CS6.  Thanks Adobe for not letting me enjoy the other great features of the PS version you seem to care about updating and improving.  Since PS is the main reason I even subscribed to creative cloud, it would be nice to at least know this problem is being resolved in the future.

  • Flash Timeline Animation to Edge Animate CC?

    I have a client with an old Flash CS4 Presentation file that uses Forms and Slides and they want to update their presentation to HTML. I am not concerned about the presentation functionality or shell as my developer will create a new one... But, the presentation contains a bunch of timeline animations that demo their product.
    I don't want to export the animations out using the Canvas tag, or as a movie or image sequence.
    I am new to Edge, but I am thinking this is the solution for the animations.
    Is there a way to export/import these Flash timeline animations into Edge? Or even, at the very least, import the assets into Edge?
    Thanks,
    Carol

    What kind of animations do you have? If you have scenes in Flash you can reproduce that in Edge Animate with symbols. For small animations like a runner for example you can create a spritesheet with Flash and use it in Animate. You will have to use the clip tool and display on/off to set it up. Rigth now it takes several tools to go from Flash to Animate but Animate is quite adequate to reproduce what was done in Flash.

  • Convert To Timeline Animation Button doesnt appear.

    Convert To Timeline Animation Button doesnt appear and its driving me crazy.
    in the animation window its in frame animation mode and this button im talking about doesnt appear!.
    Can someone please help me?!.

    Timeline animation is only available for Photoshop Extended. You don't have Extended so you don't get to make timeline animations

  • Timeline animation in Photoshop CC cannot complete my requests because of program error

    Working on a class project animating a small gif using timeline animation.  After Saving and reopening the file I keep receiving the error message if I try to continue working on it in any way.
    HP Pavilion p7-1451 Desktop
    PC Windows 8.1 64 bit OS
    Processor: AMD a10-5700 APU with Radeon HD Graphics 3.4 GHz

    What specifically is going on in the animation? What document settings? The errors look like some external source was used and cannot be accessed...
    Mylenium

  • How to target button in movieclip back to main timeline

    Hello!
    I have some submenu buttons in a movieclip on the mainline. My first level of navigation in on main timeline. The submenus are grouped in movieclips on the main timeline. I basically used the same code on the main navigation for the sub navigation except the code for the submenus is in that movie clip. My trace statement reads the button is clicked (which was a quantum leap for me) but I know I need some kind of _parent code in there so it knows to go to label back on main timeline. Can anyone help?? I feel like I am so close.
    Also is this an ok way to set this up? I couldn't figure out how to do it in one frame. Any help would be so appreciated. I didn't realize this basic framework was going to be so difficult.
    Here is link:
    http://www.sandraschmitt.com/coclico/index2.html
    Thanks!!
    Sandra
    Here is my code that is on the submenu movieclip:
    Code:
    stop();
    fall.addEventListener(MouseEvent.CLICK, clickSection);
    spring.addEventListener(MouseEvent.CLICK, clickSection);
    function clickSection(evtObj:MouseEvent){
         //trace shows what's happening... in the output window
         trace ("The "+evtObj.target.name+" button was clicked!")
         //go to the section clicked on...
         gotoAndStop(evtObj.target.name);

    One reason I'll never win any awards for my design outlook is because I often follow... if it works, use it.  There are many ways to approach a design and yours is just fine if you understand it.  If it was going to crash something, it would have happened by now.  Some people will go to the extreme of having absolutely no code in a file, some even no library content, writing it all into class files, and not out of necessity, but out of simply believing it's the better way, or a challenge to prove their abilities...  They can have it.  There is a practicality involved with design that allows one to make judgement calls, and if you judge that your design approach is practical for what you understand or for what meets the needs of the project, then you have every right to follow your own path.
    That said... in the event someone should inherit your work somewhere down the road, that's when your approach may fall victim to judgement... if someone cannot follow it or is having trouble putting all the pieces together, or finding them, then you become the fall-person for the whining that ensues.  But you're not likely to have to hear about it.  Still, someday, if you find yourself in a position where you inherit someone's design... and you start whining about how they did it, you'll come to appreciate the reasons for giving consideration to how you approach your designs.

  • Timeline animation events

    Hello Forum
    I learning how to use Flex Builder 3 to build a as3 project.
    I prepared a timeline into animation in Flash CS4 which I've exported as a .swc file.
    What options do I have to gain access to the timeline animation?  I'd like to know when the intro animation has finished playing for example...  What kind of events do I have to register to that would listen to manually created timeline animations?
    Thanks for guiding me through this adventure...
    sk

    Thank you Justin.  That's very helpful.  The class looks interesting.  I started  using it.  So far so good.
    The onEnterFrame event could work as well.  It seems like a lot of unnecessary overhead though...
    Thank you.
    sk

  • Copies of repeater are not extending (3D timeline animation steps)

    Trying to make a 3D timeline animation by following this tutorial video: After Effects Video Tutorial: 3D Timeline Animation on Vimeo.
    But faced a very beginning problem: when I made the copies of the rectangles, they do not extend as they should have (The blue indicator stays on the first one, please see the first image). Unlike the video which he has the blue indicator extending all the way (please see the second image).  I think this affects how every composition connects to each other later. (Please see the 3rd image compared to the 4th image from the video).
    I will very appreciate if somebody could help me out with this. Thank you!

    I see nothing wrong in your pictures. The bounding box display depends on what property/ item/ shape group is selected and there is a difference between certain procedural items vs. normal shape paths. A bit confusing, but you'll get the hang of it.
    Mylenium

  • Timeline Animation and interaction with ActionScript

    A simple timeline animation, runs fine but stops suddenly onRollOver action.
    car.onRollOver = function():Void {
         this._width -= 5;
         this._height -= 5;

    I could duplicate what you describe and cannot explain why it stops entirely, but it does.  If you follow the approach I described where the animation is separate from the code, it can do what you seem to want.
    Maybe someone else can explain what gets broken when you take your approach.

  • On mouseclick logic for timeline animation

    So there is a movieclip that goes through certain stages in a Breaking,BrokenLooping,Fixing,brokenPermenant animation cycle
    I'm just starting to make the actionscript for it but I'm not sure how to go about it, or if the logic is sound. I am a bit new to actionscript
    i assume i can make a function like this
    Quote: 
      function myButtonAction(eventObject:MouseEvent)
    trace("you clicked on the button ");
    myButton.addEventListener(MouseEvent.CLICK, myButtonAction); 
    where myButton is the instance of a button movieclip ontop of the movieclip
    The general idea is that randomly things will break and stick in a broken loop, then you have to start taping the screen to repair it until fixed or else it permanently breaks
    *note that the fixing animation cycle is backwards so that positive on the timeline is it slowly breaking - you tap to reverse frames and "repair"
    the logic goes like this (at the start of the looping broken animation)
    on user input (mouseclick)
    -goto frame (xx) (end of fixing animation)
    -stop() for 1 second  (stopping so it doesnt just enter next animation cycle)
    .....     -if user input yes (tap/click)
    .........          -go back one frame [currentframe -1]
    .........          -stop() for 0.100 seconds then play()
    .........          - or if time between taps is less than 0.100, then play
    .....     -if user input is no (no tap/click)
    .........          -play()
    I'm not sure if that handles all the possibilities but i guess ill find out as i go.
    whats the best way to write what I want to happen

    Thanks for the advice, just a few questions though
    *there are 6 animations in total so would I start each of these functions from mouse events on those individual buttons?
    *Would it be a good idea to use enter_frame events to track where the timeline is and to control other things, or can i just use the mouse events on its own to tell the animation to go back 2 frames on a click etc..
    *also since i'm relativly new at actionscript I'm having trouble with my document class, maybe im entering functions wrong or just not understanding how i need to write actionscript
    but i am unsure where to put my new functions and listeners and such.
    currently this is the line i want to put in
    levelMC.childmc.childmc.childmc.button1.addEventListener(MouseEvent.CLICK, animationcycle);
            public function animationcycle(event:MouseEvent):void
                    trace("when i click on the button this text should show up")
    I would assume i can put it in here
    Document class
    package
         Imports
         public class main extends movieclip
               public function main()
               caching bitmaps and other things i want done on startup
              eventlistener called Listener
              public function Listener ()
                   trace("various lines of code");
    This is where i assume I can just drop
              levelMC.childmc.childmc.childmc.button1.addEventListener(MouseEvent.CLICK, animationcycle);
              public function animationcycle(event:MouseEvent):void
                    trace("when i click on button1 this text should show up")
    When I do that I'm getting a acess of undefined propery "levelMC" and "animationcycle"

  • Assigning filters in the constructor breaks keyframe animation?

    Dear community
    I'm having a strange issue and I cannot pinpoint the problem here.
    I have a subclass of MovieClip which assigns some filters in the constructor. Something like this:
    public class MyMovieClip extends MovieClip
        public function MyMovieClip()
            super();
            filters = [new DropShadowFilter(2, 45, 0, 0.75, 4, 4)];
    Then I created some Symbols in my Library and assigned "MyMovieClip" as their base-class. So when I place these Symbols on the stage and test my movie, they get the shadow-filter applied, just as I wanted.
    But if I try to animate these Symbols (no matter if it's motion-tween or classical-tween), they won't move at all. They will freeze at the first frame (the timeline is actually played and animations work, but not for the symbols with the filter). If I remove the line with the filters from the constructor, it animates normally. It also doesn't work if I assign the filter every frame (eg. on ENTER_FRAME).
    Important: I know that I could add a shadow-filter in the Flash IDE instead of doing it in code, and that this would work for animations as well. But this is just a simplified example, because in the end I would like to add a custom shader (Pixel Bender) to my symbols instead of the shadow filter... and these can only be added in code.
    This is Flash CS6 btw. I'm not sure if this worked in previous versions of flash or not.

    Yes, coding the movement/tweens certainly works. And I don't want to interrupt the tweens, all I want to do is apply a custom filter... it astounds me that this doesn't work while it works fine when I assign the available flash filters via the IDE.
    Is there another way to achieve something like this? What I'm looking for is a way that a non-tech-savvy person could animate stuff in flash while the rendering of the objects could be tweaked using custom shaders. The only alternative that comes to mind is to render all symbols on stage to a bitmapdata, apply filters there and then finally compose it to a large bitmap... but that sounds really costly in terms of performance.

Maybe you are looking for

  • HP Officejet Pro 8500A Plus printing issues

    I have been having two new issues suddenly (within the past 2 weeks) with my HP Officejet Pro 8500A Plus. I am trying to print from my iMac 27 inch running OS.X 10.8.4 Both the mac and the printer are connected to a wireless network via an Xfinity Wi

  • Can't get MacBook Pro to turn on.

    Hi, having some problems with my MacBook and could really use some help! Last night, I got the "system updates available" notification, so I downloaded and installed the updates. When it was finished, instead of restarting so the updates could take e

  • What remote controls will work with the iMac 27inch.

    Okay I hung the new iMac on the wall in my kitchen. Used the apple adapter I have a little apple remote control that works the dvd player fine. Of course the wireless keyboard and the wireless mouse work fine. I have an elgato tuner because this iMac

  • Requested query does not exist on current server

    I have transported a query from DEV to PRD and it went in fine. Now when i try to open the query in designer or analyzer i end up getting error " Requested query does not exist on current server". Though i can run this in RSRT and also can see its en

  • Transition problems when exporting to flash

    I built a DVD menu with transitions to the different submenus and when I exported the project to flash the transitions were in the wrong aspect ratio and at a lower quality. Is there a way to make it look more seamless? Thanks, Matt