Tween Text too jerky

What can I do to smooth the jerkiness of my tweening text? The actual textFields are all already set to "anti-alias form animation". But they aren't behaving as nicely as they could be. I tried embedding the font etc...
package
import flash.display.*;
import flash.events.*;
import flash.utils.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import gs.com.greensock.*;
import gs.com.greensock.easing.*;
import gs.com.greensock.plugins.*;
public class Main extends MovieClip
private var picArray:Array = new Array();
private var titleArray:Array = new Array();
private var textArray:Array = new Array();
private var newStuff:Number = 0;
private var oldStuff:Number = -1;
private var tallTime:Number = 8000;
private var time:Number = tallTime/1000;
private var changeTimer:Timer = new Timer(tallTime, 9999);
private var txtDelay:Number = 1500;
private var titleDelay:Number = 1250;// delay before calling myDelayedFunction
private var titleInt:Number = 0;
private var txtInt:Number = 1;
private var fmotion:String = "30";
private var rmotion:String = "-30";
private var blur:BlurFilter;
private var glow:GlowFilter;
private var shade:DropShadowFilter;
public function Main()
OverwriteManager.init();
TweenPlugin.activate([GlowFilterPlugin, BlurFilterPlugin]);
picArray.push(pic1_mc, pic2_mc, pic3_mc, pic4_mc, pic5_mc);
titleArray.push(title1_mc, title2_mc, title3_mc, title4_mc, title5_mc);
textArray.push(txt1_mc, txt2_mc, txt3_mc, txt4_mc, txt5_mc);
this.mask = mask_mc;
blur = makeBlur();
glow = makeGlow();
for(var j:int = 0; j < numChildren; j++)
if(getChildAt(j) is MovieClip)
getChildAt(j).alpha = 0;
changeTimer.start();
changeTimer.addEventListener(TimerEvent.TIMER, changeStuff);
changeStuff();
private function changeStuff(event:TimerEvent = null):void
if(oldStuff != -1)
txtOut(textArray[oldStuff]);
titleOut(titleArray[oldStuff]);
picIn(picArray[newStuff]);
if(titleInt == 0){titleInt = 1}
else{titleInt = 0}
if(txtInt == 0){txtInt = 1}
else{txtInt = 0}
            var tDelay:uint = setTimeout(animateTitle, titleDelay, titleArray[newStuff], titleInt);
var intervalId:uint = setTimeout(animateTxt, txtDelay, textArray[newStuff], txtInt);
oldStuff = newStuff;
if(newStuff == 4)
newStuff = 0;
else
newStuff++;
// INS
private var picRandomizer:Number = 0;
private function picIn(mc:MovieClip):void
addChildAt(mc, picArray.length);
mc.alpha = 1;
mc.buttonMode = true;
mc.addEventListener(MouseEvent.CLICK, chooser);
TweenLite.from(mc.getChildAt(0), time/2, {alpha:0, blurFilter:{blurX:15, blurY:15}});
if(picRandomizer == 0)
picRandomizer = 1;
TweenLite.to(mc, time, {scaleX:.98, scaleY:.98});
else
picRandomizer = 0;
TweenLite.to(mc, time, {scaleX:1.02, scaleY:1.02});
private function animateTitle(mc:MovieClip, dir:Number):void
var lettersArray:Array = new Array();
var mcArray:Array = new Array();
mc.alpha = 1;
if(dir == 0)
TweenLite.to(mc, time, {x:rmotion, scaleX:1.04, scaleY:1.04, ease:Linear.easeNone});
else
TweenLite.to(mc, time, {x:fmotion, scaleX:.96, scaleY:.96, ease:Linear.easeNone});
for(var i:int = 0; i < mc.numChildren; i++)
lettersArray[i] = mc.getChildAt(i);
for(var j:int = 0; j < lettersArray.length; j++)
mcArray[j] = new MovieClip();
mc.addChild(mcArray[j]);
mcArray[j].addChild(lettersArray[j]);
mcArray[j].filters = [glow, blur];
mcArray.reverse();
for(var k:int = mcArray.length - 1; k >= 0; k--)
TweenLite.from(mcArray[k], .2, {delay:k*.03, alpha:0, onComplete:clarify, onCompleteParams:[mcArray[k]]});
private function animateTxt(mc:MovieClip, dir:Number):void
var lettersArray:Array = new Array();
var mcArray:Array = new Array();
mc.alpha = 1;
if(dir == 0)
TweenLite.to(mc, time, {x:rmotion, scaleX:1.03, scaleY:1.03, ease:Linear.easeNone});
else
TweenLite.to(mc, time, {x:fmotion, scaleX:.97, scaleY:.97, ease:Linear.easeNone});
for(var i:int = 0; i < mc.numChildren; i++)
lettersArray[i] = mc.getChildAt(i);
for(var j:int = 0; j < lettersArray.length; j++)
mcArray[j] = new MovieClip();
mc.addChild(mcArray[j]);
mcArray[j].addChild(lettersArray[j]);
mcArray.reverse();
for(var k:int = mcArray.length - 1; k >= 0; k--)
TweenLite.from(mcArray[k], .2, {delay:k*.03, alpha:0});
private function clarify(mc:MovieClip):void
TweenMax.to(mc, .3, {blurFilter:{blurX:2, blurY:2}, glowFilter:{color:0xFFFFFF, blurX:1, blurY:1}, onComplete:removeFilter, onCompleteParams:[mc]});
// OUTS
private function titleOut(mc:Object):void
TweenLite.to(mc, .5, {alpha:0});
private function txtOut(mc:Object):void
TweenLite.to(mc, 1, {alpha:0});
private function remove(mc:MovieClip):void
removeChild(mc);
private function removeFilter(mc:MovieClip):void
mc.filters = [];
// CLICK HANDLING
private function chooser(event:MouseEvent):void
switch(event.currentTarget.name)
default:
trace("ERROR");
break;
case "pic1_mc":
navigateToURL(new URLRequest("http://lodestarfinancial.com/familyplanning"), "_self");
break;
case "pic2_mc":
navigateToURL(new URLRequest("http://lodestarfinancial.com/estateplanning"), "_self");
break;
case "pic3_mc":
navigateToURL(new URLRequest("http://lodestarfinancial.com/retirementplanning"), "_self");
break;
case "pic4_mc":
navigateToURL(new URLRequest("http://lodestarfinancial.com/businessplanning"), "_self");
break;
case "pic5_mc":
navigateToURL(new URLRequest("http://lodestarfinancial.com/wealthplanning"), "_self");
break;
// FILTERS
private function makeBlur():BlurFilter
            var blurX:Number = 10;
            var blurY:Number = 10;
            var quality:Number = BitmapFilterQuality.HIGH;
            return new BlurFilter(blurX, blurY, quality);
private function makeGlow():GlowFilter
var color:Number = 0xFFFFFF;
            var alpha:Number = 1;
            var blurX:Number = 10;
            var blurY:Number = 10;
            var strength:Number = 255;
            var inner:Boolean = false;
            var knockout:Boolean = false;
            var quality:Number = BitmapFilterQuality.HIGH;
            return new GlowFilter(color,
                                  alpha,
                                  blurX,
                                  blurY,
                                  strength,
                                  quality,
                                  inner,
                                  knockout);

Using the onUpdate property sounds like it would help a lot but I am not sure how to pass that number to the Tween...
Since I am using TweenLite to create the tween how do I get it to hit only whole pixels?
TweenLite.to(mc, time, {x:fmotion, scaleX:.96, scaleY:.96, onUpdate:functionForWholePixels, ease:Linear.easeNone});
//but I would have to somehow pass that variable back into and already created tween..... I don't understand.
Thanks for all your help,
Bigmama

Similar Messages

  • Motion Tween Text

    Hello -
    I am trying to motion tween text and it is not working.  It looks jerky.  I am trying to create a "rubberband" effect on some text and two tutorials I found online used the Motion Tween.  I right click and select Motion Tween and I see the blue shading but when testing it looks like there is no tween and looks jerky.
    Any ideas on what I am doing wrong?  I am using Flash CS5.5
    Thanks!!

    - Only a object can be animated for each layer. (blue shading have a doted line?)
    - Is best if the text is a Symbol (select the text and press F8)

  • I deleted a contact, but they still show up in my text options to send.  I would like to delete the contact from my texts too.

    I deleted a contact, but they still show up in my text options to send.  I would like to delete the contact from my texts too.

    No don't restore your iphone. I've done that several times &amp; it has never worked. -I still have deleted contacts in my iphone texts.  *However if you do restore it you will not lose all your data, pics, text messages etc if you backup in iCloud. It restores back to original phone. Very nice :). Anyhowwww....
    I JUST  figured it out!! :))). Remove the contact from recents.
      Start a text. You should see the deleted contact. All the way to the right of the name is a symbol. The symbol is a circle with "i" in the middle. Click that symbol then in red lettering click "remove from recents".

  • Exclamation mark says text too long...but it's not

    My captions are 2 lines long, and they fit in the caption box. But I get an exclamation mark anyway -- the text warning that means (I think) "text too long."
    When I print the book on my color printer, all the text appears just fine.
    So here's question 1: If I try to send a book with text warnings, will Apple reject the file until I have made the warnings go away?
    And question 2: If the captions print just fine on my printer, are they likely to print just fine at Apple?
    Many thanks!

    When you order the book, a PDF will be created. That PDF is what gets uploaded to Apple (via Kodak) for printing. So the best way to check your book before ordering is to create a PDF, then inspect it. Chances are, what you see in your PDF is what you will get printed.
    To do this, select your book and do File > Print. You'll get an "Assembling book" progress bar. That can take several minutes. When done, you get the Print Dialog box. Click the PDF button and choose "Save as PDF..." Choose a name and location for the file (the Desktop is convenient) and Save. Then switch to the Finder and open that PDF in Preview.
    While I have not observed (or even tried to observe) for myself, I have read here from others that the PDF created this way may differ slightly from the one created by selecting Preview in the first Print dialog, and that it will more closely predict the final ordered book.
    My captions are 2 lines long, and they fit in the caption box. But I get an exclamation mark anyway -- the text warning that means (I think) "text too long."
    I have that warning on one of my text boxes, too. It looks fine in iPhoto, fine in the PDF, and printed fine when I ordered the book from Apple.
    Regards.

  • Sudden trouble tweening text

    Hi,
    Hopefully someone has had this issue before and managed to
    resolve it. For the last couple of times I have opened Flash I have
    been unable to tween text. I am turning it into a Graphic symbol
    and using a Motion tween as I have always done. The tween is
    working (if I slide the timeline scrubber across I can see the
    effect working) but when I preview (CTRL, Enter) the text just
    stays in its full Alpha state and refuses to tween
    Any ideas!!?!?
    Thanks,
    Ben

    glad you worked it out - yeah searching the forums is the
    answer - i personally have helped answer
    this a number of times so it has been reported.
    -regards.
    --> Adobe Certified Expert *ACE*
    --> www.mudbubble.com
    --> www.keyframer.com
    bbben1 wrote:
    > For anyone searching through these forums with a similar
    issue:
    >
    > The problem I was having was related to the font I was
    trying to tween. It
    > appears that _sans is 'untweenable' - I used Arial which
    is almost identical
    > which worked fine!
    >
    > Ben
    >

  • Tweening text problem (suddenly doesn't work)

    Hi,
    Hopefully someone has had this issue before and managed to
    resolve it. For the last couple of times I have opened Flash I have
    been unable to tween text. I am turning it into a Graphic symbol
    and using a Motion tween as I have always done. The tween is
    working (if I slide the timeline scrubber across I can see the
    effect working) but when I preview (CTRL, Enter) the text just
    stays in its full Alpha state and refuses to tween
    Any ideas!!?!?
    Thanks,
    Ben

    glad you worked it out - yeah searching the forums is the
    answer - i personally have helped answer
    this a number of times so it has been reported.
    -regards.
    --> Adobe Certified Expert *ACE*
    --> www.mudbubble.com
    --> www.keyframer.com
    bbben1 wrote:
    > For anyone searching through these forums with a similar
    issue:
    >
    > The problem I was having was related to the font I was
    trying to tween. It
    > appears that _sans is 'untweenable' - I used Arial which
    is almost identical
    > which worked fine!
    >
    > Ben
    >

  • UI text too small

    Is there a way to make the text in the UI larger?The default size is too small and strains the eyes.

    tidysteve wrote:
    but doesn't that make it system wide ??? not just for aperture ???
    it was intended as a tool to use by those that are legally blind to zoom any part of the os, we use it every day as a teaching/demoing tool.
    you can also zoom into a photo or video without creating artifacts/pixelation which the normal zoom tool does on many apps
    i suppose you could just change it back and forth ...
    apple option 8 -- toggles it on and off, or you can use one "Butler" hot key for it http://www.manytricks.com/butler/
    http://www.petermaurer.de/butler/
    victor

  • Legend item text too long

    Hello.
    Question to Flex guru:
    I have too long text in Legend for chart. How can I do line
    folding or how can I show toolTip for legend item (like for a Label
    object)?
    How can I initialize Legend object with array of LegendItem
    objects?
    Sorry for my english :)
    Thanks in advance.

    Im not sure what your asking exaclty as my english is bad
    too, however i know that the label will only show one line of text,
    for wordwrap or multiple lines i think you need to use the "Text"
    control.

  • Text too wide for paper,cuts end off

    I frequently find that some text in forums etc is in sentences too long for the normal paper when printed, and as a result the last few words are cut off. Often reducing print size works, but makes it harder to read. I haven't been able to find any way to make it fit the page, or is that not possible? Changing to landscape helps, but not always.
    any suggestions ?
    G5 iMac   Mac OS X (10.3.8)  

    John Mertes wrote:
    The url's are relatively short. for example: http://discussions.apple.com/thread.jspa?messageID=7064950#7064950
    That page loads normally for me in Safari 3.1.1. Not to say that it it might not have a problem in some setups, different browsers, etc....
    Edit: Ah, yes, in Firefox that thread really is very wide, isn't it. And it actually is caused by a long URL, the "http://www.newegg.com..." link in one of R. Berardi's posts, which wraps to three lines in my Safari but doesn't wrap in Firefox. It seems that Safari and Firefox have different line-wrapping behavior, where Safari will wrap some text after certain characters but Firefox will not.
    Message was edited by: Rachel R

  • Workbook Precalculation: "Message text too long:

    Good day
    I have setup the precalculation server/services and all is well except for the size of some workbooks.  I receive the following message:
    u201CThe message could not be delivered to recipient  because the message    
    text was too long. The node used supports messages up to a a length of  
    20,000,000 bytes. The message text is, however, 43,152,918 bytes long.u201D
    I have deleted the results from the workbook before precalculation and the file is zipped for email.
    Where in BW will basis have to increase the size when a workbook is precalculated and mailed?
    Thanks in advance.
    Cj

    Hi,
    Please refer this link for the same -
    Re: error  Entry is too long  is displayed for the text edit
    Regards,
    Lekha.

  • Tween text, publish as image sequence

      I'm trying to tween one font into another, which I am able to do by breaking apart the text into objects and using a simple shape tween.  The preview and exported movies look as they should, but I would like to be able to export the frames of the animation as jpegs, targas, or pngs so that I can import this image sequence into photoshop as layers.
      Idealy it would be great to be able to take the .fla file itself and open it up in photoshop as a layered document, yet I don't see how this is possible either.  Does anybody know how I can automate the process of exporting an image sequence without having to go frame by frame and exporting bitmaps individually?
    thanks

    jdehann,
      Thank you, that is exactly the export option that I was looking for.  I knew it was in there somewhere, just never had reason to look before now.  Thanks for your help.

  • Text too close to page number in TOC

    Most of the time I can take care of unattractive line breaks in the TOC by putting in non-breaking spaces in a paragraph.
    However, I sometimes have a situation where the text of a TOC entry is too close to the page number on the right. The text is so close to the page number that in some cases no leader dots show, or only one or two leader dots show.
    The entry and its page number fit on a single line, so putting in non-breaking spaces won't solve the problem. I could put in a soft return (Shift-Enter) in the TOC entry to force a line break, but it isn't efficient because I have to put in the soft return manually each time the TOC is updated.
    If anyone has a tip on how to handle this problem efficiently, I'd love to know about it.

    Van
    That is absolutely brilliant. It also seems to prevent multi-line TOC entries from encroaching on the page number area in general.
    For ages I thought the only way around this ugly problem would be to wait 200 years for Adobe to give us four different indent options (first line left, left, right, and last line right) instead of the three that we currently have. (Last line right doesn't exist.)
    I'll just add one more suggestion that might make your line breaks and page number positions in the TOC 100% automatic instead of merely 98%.
    (It doesn't sound like much of an improvement, but if you've ever had to manually adjust the TOCs for 50 manuals every time you regenerated them, then you'll know where I'm coming from.)
    If you have any TOC paragraph specifications that use more than one tab, for handling section or chapter numbers at the front of the paragraph for example, then you'll notice that if a TOC entry wraps to two or more lines then the page number will no longer be printed at its intended tab stop, but will use one of the earlier tab stops instead (because in the new line there are no longer any previous tab characters to fill the earlier tab stops).
    The cure for this is to go to the TOC specification flow on the Reference pages, and in the problematic paragraph format add an extra tab character in front of the <$pagenum> building block.Then...
    If the TOC entry only covers one line, the extra tab character will be ignored.
    If the TOC entry covers two or more lines, the extra tab character will be used to fill up the previous stop so the page number settles at its intended tab stop.
    If you have TOC specifications that rely on more than two tab positions, just add more tab characters in front of the <$pagenum> building block (and regenerate) until the page number (in multi-line entries) lands at the correct tab stop.
    Thank goodness FM uses absolute tabs and not relative ones.

  • Gmail Email Text Too Large

    I just got the Tour 9630 for Verizon(upgraded from a Curve 8330) and all my Gmail emails text are too large. I've read that people had this issue, but I'm not sure if there was ever a solution for it? Changing the font size does nothing for the problem. 
    Also just another question: I rarely leave the USA, would it be wise for me to take the SIM card out? Any benefits if I do or don't? I'm using OS v4.7.1.61, which I think is the most recent?
    Thanks much.

    See if COMMAND - or COMMAND + does the trick.
    Ciao.

  • Qosmio X500 - Texts too small in program

    Hi, I downloaded McAfee internet security on my Qosmio X500 11-G.
    The program is working without any problems however the items are too small to read in the program.
    How can I make them larger? I made the screen view to 150 % but still no way.

    Hello
    Do you have the problem since McAfee installation or earlier?
    Probably removing McAfee would help and install another AntiVirus like AntiVir but its strange that McAfee changes the text size
    Is it a known issue of McAfee? Did you contact the support already?

  • Uneven morphing of Shape Tween (Text)

    I am using Adobe Flash Professional CS6 for a slideshow, and am using shape tweens as text transition between slides. However, when I transition from a paragraph of text to a single line of text, half the paragraph will form the last alphabet, which isn't very appealing. Is there anyway I can distribute the morphing of the alphabets from the alphabets of the paragraph's text into the line of text such that it becomes more even? I tried fragmenting each the alphabet in attempt to "fool" the shape tween so that it may use more alphabets from the paragraph for each alphabet in the line, but it doesn't seem to work.
    This is what I'm referring to:
    Paragraph:
    Transition:
    Line:
    Help! Thanks a lot! ^^

    Shape Hints
    To improve the quality of the morph, you can add shape hints to each keyframe. Shape hints let you tell Flash precisely which points in each vector to match up during the tween. So, if you add shape hints matching the corners of the square with the secondary anchor points of the circle, the morph will no longer appear to rotate. Here's how:
    Select the first keyframe and choose Modify Shape Add Shape Hint (Ctrl/Cmd-Shift-H).
    A small circle with an a inside will appear in the center of your shape. Drag it to the upper-left corner of the square.
    Select the last keyframe, and you will see a corresponding a shape hint. Drag it to the upper-left arc of the circle.
    Continue the process until you have four matching   shape hints. (Often, just one or two hints are enough for Flash to catch on, but sometimes many are required.)
    Note: There is a limit of 26 shape hints for each shape tween. 

Maybe you are looking for

  • How write rmi-iiop over ssl with weblogic server 6.1?

    Hello, I have written an appication like this: - An EJB server running on Weblogic server 6.1 (named: BankServerHome) -A java client calling the BankServer. Platform: windows 2000 - jdk1.4 Now I want to secure the communication with SSL protocol. I h

  • Need good tutorial for J2EE

    Hi All, Can anyone help in out in finding a good tutorial for J2EE. I wanted to have glimpses of this technology before delving deeply into it. Also please suggest some good reference books on the same Thanks Ankush

  • Regardig the extension of the Idoc

    Hi Experts,                 We are using an Inbound Idoc.               I extended the idoc COND_A, becoz we are having some custom fields in the IDOC.          For this we have an Exit in the FM IDOC_INPUT_COND_A. But the data coming to inbound woul

  • Clean installed lion--now missing find my mac guest login

    Like the title says.  I clean installed lion and now the guest account for the find my mac feature is gone.  How do I get it back?  All I have at the login screen now is just my acct. .     My icloud acct. is activated.   Thanks

  • Randomly corrupted atf texture

    I'm trying to render single fullscreen atf texture. And it is rendered corrupted sometimes (repro 4/10). Only happens if texture is less then 256x256 size (128x128 for example) and has transparency. Have somebody encountered same problem? Or is there