ActionScript 3.0 :: Animation Infinite Jitter When Scaling MC With Text
Feb 8, 2012
I've searched around a bit but have not found anything that sounds like my issue, or a resolution to it so am hoping this is not unique.I have a movieclip with an image and underneath it some text.I have created a pair of eventlisteners to change the scale of the MovieClip on ROLL_OVER and ROLL_OUT, to 1.3 and 1 respectively.If I hover over and out the image part of the MC this is fine and works as expected.However if I hover over the text, the animation gets stuck doing ROLL_OVER and ROLL_OUT.
View 1 Replies
Similar Posts:
Feb 25, 2012
I'm making an animation of a line drawing itself. I'm using a vector line that I drew in Illustrator, which I imported to the stage. I have been erasing a bit, inserting a new keyframe, erasing it a bit more, new keyframe etc. When i have finished this I intend to reverse the sequence so the line appears to be drawing itself. This process has been going really well, but at 1820 frames in a section of the line has started to shake/jitter (by which I mean from side to side very quickly). I deleted the frames and did them again, using the same process that I have for the rest of the line which is not jittering, but this small section is still jittering. It doesn't jitter or move when I move between frames, it only jitters when I play the movie by pressing Command + Enter or I export it as a Quicktime .mov file.
PS here is a YouTube video of the problem. The jitter starts around the bottom of South America. You may need to make it quite big on your screen to see it. You'll notice that that part of the line doesn't jitter most of the way along, but starts to jitter when it gets to that part.
View 2 Replies
Feb 23, 2009
I'm building some navigation that extends all the way from left to right across my SWF. When the window resizes, I'd like the nav buttons to get wider but not have the text on the buttons get wider.
The buttons themselves are rectangles with a vertical gradient and a stroke around the outside. I'm using 9-slice scaling so the stroke doesn't scale, but the middle (gradient) gets wider or narrower.What'd be great is to be able to select an object or layer and say "don't scale, even if the rest of this movie clip scales". Is there a way to do that, or will I have to do it via actionscript?
View 1 Replies
Nov 12, 2002
onClipEvent (load)
{
xcenter=377;
speed=1/10;[code].....
i did the tutorial but something is wrong cuz when i created my own little sliding thingy and i put my mouse so it slides left or right on the right side it cuts off a bit when going infinite.I think its something to do with the positioning of my menu because its not on x=0 its on x=120.8 and i was trying to work out how to fix it but i'm stuck...and when i move the menu to x=0 it works nicely.
View 15 Replies
Oct 20, 2008
I am new in actionscripting,[code]...
Now once i click 1st button i want the box to move its position with an ease tween animation to [code]...
View 5 Replies
Apr 27, 2010
How do I scale and move a finished animation (with more than one simbols - do I have to group them or something since I don't wan't to touch the background?) without having to do it on every keyframe?
View 5 Replies
Feb 22, 2010
So, the actual act of scaling a vector object has a bit of a cost to the CPU, and so animating an object from one size to another has a significant cost -- but is there any additional cost for simply playing an animation that has previously been programatically scaled?
My initial thought was that if I took a character -- it's a little dude with a walk cycle, done in vector, and skooshed him to like 0.66 scaleX and scaleY then there would be some performance hit for even just playing his walk cycle in skooshed mode vs. playing it at normal size, but I can't manage to confirm my suspicion.
View 2 Replies
Jun 19, 2009
pasted the relevant script below my (SORRY it's so long-winded) question/s. I've got the on and off mouse hover working via functions "fRagingOn" and "fRagingOff". I'm not trying to impress you with all those IF conditions. They don't slove the problem anyway. So I apologise for all the superfluous code. "fRagingOn" controls a 12 frame motion tween inside MC "Romantics2" (separate functions do the same with the other four movie clips as well) with "stop();" actions on frames 1 and 12. "fRagingOut" controls "play();" [frame 28] and "gotoAndStop(1); [frame 40] (all that INSIDE movie clip "Romantics2". I know all you have to do is move your mouse to stop the annoying jitter, but is there a way to stop jitter on that spot where the user's mouse position makes the movie clip go into rapid-fire or slow jitter?
And STILL KEEP the interactivity of the MC responding to mouse hover whenever a user moves their mouse? I've tried every combination of "removeEventListener" and "addEventListener" inside the functions and outside but either the movie clip stops working because the Remove Listener has disabled it, or I get jitter on that Achilles Heel mouse postion. Is there an AS3 coding solution to keeping full hover interactivity and COMPLETELY eliminate that annoying jitter once and for all?
SCRIPT BELOW:
import fl.transitions.Tween;
import fl.transitions.TweenEvent;
[code]......
View 8 Replies
Sep 28, 2011
I'm working on an AIR for iOS iPad scrolling menu with "kinetic" interaction. I'm trying to emulate as closely as I can the behavior of native components. To that end, I've had to forgo the traditional startDrag() method because of the peculiarities of the native UIScrollView. The reason startDrag() won't work for me is that when you drag the menu past its upper or lower scrolling threshold you encounter resistance, that is, the effect of your mouse/finger on the scroll/dragging of the menu is cut in half. Inside either threshold, if you move your finger a pixel the menu moves a pixel. Beyond either threshold, when you move your finger two pixels the menu only moves one because of the a .5 resistance multiplier. As far as I know, startDrag() doesn't account for any of that.
[Code]....
View 1 Replies
Sep 13, 2005
I'm trying to get the jitter effect applied to a button.I currently have a mc called suggestcaption_mc with the following code applied to it.
Code:
onClipEvent (load) {
this._x = 103.9;
this._y = 30.2;
[code]....
This works fine. Now what I am trying to do is turn this into a button which does this effect on rollover?I tried sticking the mc in the hover keyframe of a button but this does nothing.
View 3 Replies
Nov 29, 2010
I'm doing a project that uses a looping video clip sized 1280x720 - but I just can't get flash to play this without a stop and a jitter when it loops. I've tried various implementations of looping code, currently I'm using a very simple variant: on the FLVPlayback component, I have
Code:
on (complete) {
this.play();
}
and that's it. There's nothing else in the scene, at all.
I've even tried using video at the size, yet that too stutters on loop. Is there any way to eliminate this, as it spoils the illusion of a continuous loop entirely. I'm using CS5 right now (recently upgraded from CS3).
edit: I'm using a PC that EASILY should be able to run HD video, if I check the Task Manager, it's using around 3-4% of the CPU, yet I still get poor performance and stutter on loop!
View 4 Replies
Oct 7, 2004
dissect the image effect found on [URL] ? Ignoring the random text and the grainy lines, how would you achieve the random image sizing and jitter?
View 14 Replies
Aug 25, 2009
I have made a top 10 module for my site that loads variables dynamicly in text fields, it works pretty fine, but i have a problem. The text inside the text fields is scaling on move.I don't want the text inside to scale.Here you have the link:xample of text field creation in my as:
Code:
private function createTextField(x:Number, y:Number, width:Number, height:Number):TextField {
[code]........
View 1 Replies
Nov 3, 2009
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?
View 2 Replies
Nov 3, 2009
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?
View 1 Replies
Mar 11, 2008
I've search through all the threads with "scaling" and "resizing" and can't find the solution.
Basically I have a GUI element on a gallery that I don't want to scale, while the rest of the page is free to resize/scale.
I think I need to add a listener of some sort to the stage, but I'm not sure how to do this.
View 2 Replies
Jun 24, 2010
I am currently using flash CS5. I have the task of moving text constantly in an animation from left to right..with the text growing at the same time from 12pt to 36pt. As of yet i have looked across many tutorials only showing me on the movement of text I would be great full to anyone who can help me with this text scaling issue
View 2 Replies
Sep 2, 2010
It seems 9-slice scaling in Flash CS5 is a little half-baked. If you create a symbol containing text and vector graphics, only the vector graphics is scaled according to the 9-slice scaling contract. For example, consider the following symbol:
Sure, the vector graphics are scaled according to the 9-slice contract, but what are we supposed to do about text? And just in case you're thinking "convert the text to vectors/raster"... unfortunately no... I don't have the option of converting the text to a set of vectors or a raster because its content will have to be dynamic.
View 3 Replies
Apr 20, 2007
Actually I have a conversation bubble design and dynamic html text inside in a text box. How to scale both the bubble and the text box simultaneously.using scripting.
View 2 Replies
Jun 14, 2009
When you scale a movieClip with some text field inside how do you prevent that text field from scaling?
View 5 Replies
Jul 6, 2010
created a new textfield(digitC) I want to use again and again. First time thru, I applied an animation to the text object that scaled it down to half size. the next time I use the textfield I want to reset it to its original size.
I tried resetting the textFormat to the original font size and reapply to format to digitC. But digitC retains the half size font. How do I reset digitC to original size?
View 1 Replies
Dec 29, 2006
I'm working on a project that dynamically loads news articles.There is basically a title text box and a news box, both are the same width.I would like to know if there is a way that I can get the dynamic title to scale up/down in font size to fit the width (and also shift the news text down to be about 3px under the title)
View 1 Replies
Jul 14, 2010
Problem: the text inside my movieclip gets distorted when the movie clip is scaled.
Code:
import caurina.transitions.Tweener;
//variables for justMePage
import flash.events.Event;
[code]....
how do i make the text still look good even if the movie clip that it belongs to is scaled?
View 1 Replies
Oct 29, 2010
I have an isometric board. On some of these tiles there are textfields which are skewed so that the text runs parallel to the sides of the tiles. The user can zoom out giving a wider view of the board. This is done by scaling the parent tile to about 0.5 of the original size. When doing this at a certain threshold the text will no longer be parallel to the sides of the tile and will look as if the text pop's up. Does anyone have any ideas of what causes this.
View 2 Replies
Apr 26, 2011
So when I scale text in a tween, it doesn't look at all smooth. I tried to compensate by increasing the frame rate, but even 60fps doesn't fix it. So I'm pretty sure that the scaling is limted to pixels. I immagine I can fix this by converting the text to vector art, so it will scale at less-than-pixel intervals.
Is this a correct solution? If so, how do I do this?
View 2 Replies
May 20, 2010
i have a diagonal movieclip that I am trying to scale along with the background video. The background video scales perfect, I am attaching the diagonal movieclip (br in the code as bottomright) with addChild
Instead of scaling with the window, it seems to repeat such as the image is displaying. this is the main section of the code that is doing the scaling
var br:mc_bottomright = new mc_bottomright();
addChild(br);
//proportional scale
if ((stage.stageWidth / stage.stageHeight)> (owidth/oheight))
[code]....
View 4 Replies
Apr 10, 2009
I am trying to achieve an effect of scaling a movie clip on click...very similar to [URL] When the user clicks on See, Hear, Play and Shop boxes, the boxes expand. I have created a box movieclip that has a bar on top. This bar is a movie clip inside the box movieclip. When i try to scale the main box movieclip, the internal bar movie clip scales as well. How to stop this?
View 2 Replies
Jun 30, 2010
Is there a way to manipulate a font's horizontal scaling if it is set as dynamic text?
The text was horizontally scaled in Adobe Illustrator to create a more "sleek" look, but now when putting together the movie in Flash I would still like to keep this look but need dynamic text.
Im asking this in AS 3.0 category, but would like to know it for AS 2.0 as well if there is a way.
View 2 Replies
Feb 11, 2010
I used some code that I found, I think even from you guys the scale an external swf being loaded onto a background movie clip. Works great with the exception that it clips some text and creates some funny diagonal lines and some poor picture quality. I have a feeling that this is down to a slight difference in sizing some where along the line. The stage size is 2560 x 1440 being scaled down to any size, but as I mentioned I don't think the height and width are quite in sync for the widescreen format.
[URL]
// perform initial size check
checkStageSize();
// register to re-check when stage size changes
stage.addEventListener( Event.RESIZE, onResize, false, 0, true );
[Code]...
View 4 Replies
Apr 18, 2004
really sorry to bring this one up again. I've managed to create quite good working gallery. What I'm trying to now is create a menu that is attached to the scaling part but does not scale it self - in other words just changes position. here's an example of what I mean: galleru #1
View 14 Replies