How the hell move clip?

Frusterated.
moveTo() not working and resizing doesn't stretch of text.

What gives?


THE FORMAT OF TEXT FIELD
var my_fmt:TextFormat = new TextFormat();
my_fmt. Color = 0xFFFFFF;
my_fmt. Size = 26;
my_fmt. Underline = true;

THE TEXT FIELD PAARENT MC
var titleBox:MovieClip = this.createEmptyMovieClip ("titleBox", _root.getNextHighestDepth ());

titleBox.createTextField ("my_txt", 1000, 0, 0, 300, 50);
titleBox.my_txt.multiline = true;
titleBox.my_txt.wordWrap = true;
titleBox.my_txt.border = true;
titleBox.my_txt.text = _root.headline;
titleBox.my_txt.setTextFormat (my_fmt);

Try and move it
titleBox.my_txt.moveTo (200, 100);

trace('titleBox MoveTo = (' + stage.)) Width + ' / 2)-(' + titleBox.my_txt._width + ' / 2) = "+ ((Stage.width/2)-(titleBox.my_txt._width/2)));"
titleBox.moveTo((Stage.width/2)-(titleBox.my_txt._width/2), 10);

Hi ooba,.

In fact, moveTo is part of the drawing API. It is used to move the
design of cursor on a specific location without drawing. I do not believe
moveTo was used to move a clip (or any user interface for this object
question). In ActionScript 2.0, you must update the properties '_x', and 'FLF '.
(as kglad has pointed out), and in ActionScript 3.0, they are 'x' and 'y '.
respectively. Unless you have your own "moveto" method, you will not be able to
It allows to move anything, even video clips.

Kind regards
Patrick Bay
BAY OF NEW MEDIA

"ooba" wrote in message
News:fn7jj1$8U5$1@forums. Macromedia.com...
> kglad,.
>
> Thank you for pointing out this oversight.
> Movie Clips are positioned at the moveto(), while the textfield object is
> positioned via the _x and FLF.

Tags: Adobe Animate

Similar Questions

  • How the hell is R100 supposed to boot from an external source?

    Hi guys

    Please I need some wisdom... I'm trying to reinstall XP. However a member of the forum here named Meier has posted previously that the R100 bios does not support so I'm tryin to boot from USB CD, USB CD-rom boot. Is this TRUE?

    Now, I don't have a USB FDD, just a combo of Asus USB CD player. Then how the hell am I supposed to reinstall windows? ! ? ! Any ideas?

    Hello

    I'm afraid it's true, you will not be able to reload the OS or boot from a usb cdrom drive, since it is not supported by the bios, the only way to boot from a cd is to use a cdrom pcmcia (with a 16-bit connection).

    Sorry :(

  • How the hell someone from Microsoft to help online?

    How the hell someone from Microsoft to help online?

    For individuals, please visit the Microsoft Solution Center and antivirus security for resources and tools to keep your PC safe and healthy.  If you have problems with the installation of the update itself, visit the Microsoft Update Support for resources and tools to keep your PC updated with the latest updates.

    OPTION has:

    I. open THE 32-bit (only) to https://consumersecuritysupport.microsoft.com/

    II. click on security updates aren't installed properly

    III. on the resulting page, click CONTINUE

    IV. Select country/language appropriate, then click CONTINUE

    V. click on the PHONE or the E-MAIL supports the option.

    OPTION B:

    Start an email from Windows Update support incident request for free

    OPTION C:

    http://supportservices.Microsoft.com/support/services/windows_update > here is a review of the Department: http://www.pcworld.com/article/245772/microsofts_answer_desk_offers_live_free_and_fee_tech_support.html#tk.nl_wvx_h_cbstories>

    http://support.Microsoft.com/contactus/?ws=support#tab2>

    UTC/GMT is 10:40 on Sunday, February 5, 2012

  • How the hell can I open this PDF file? !!!

    Original title: how the hell can I open this file? !!!

    I have files which are "PDF" files, but I can't open them.  What I am doing wrong?

    Do you have a PDF Reader installed?

    Adobe Reader
    http://get.Adobe.com/reader/

    Foxit Reader
    http://www.foxitsoftware.com/PDF/reader/

    Adobe is more "well known", but Foxit is much more compact and my personal preference.

    Bruce Hagen
    MS - MVP October 1, 2004 ~ September 30, 2010
    Imperial Beach, CA

  • Do I need to buy a license, even if I am registered for the promotion of 10 free images? If this isn't the case, then how the hell do you want to download the images?

    Do I need to buy a license, even if I am registered for the promotion of 10 free images? If this isn't the case, then how the hell do you want to download the images?

    Go to your license history and you will see the license key. By clicking above opens a dialog where you can buy an extended license, simply select scope from the menu drop down.

  • Your support staff had deleted all my creative cloud and Lightroom apps remotely and asked me to restart! Now I have nothing! How the hell can I get the back lot?

    Your support staff had deleted all my creative cloud and Lightroom apps remotely and asked me to restart! Now I have nothing! How the hell can I get the back lot?

    You can check the link below to reinstall the Cloud Creative applications

    Download and install Adobe Creative Cloud apps

  • I can't download lightroom cc because "adobe does not support the system" I use. How the hell am I supposed to know what system he supports and how do I get the system that God Adobe says that I have? Googling lightroom cc requirements made n

    I can't download lightroom cc because "adobe does not support the system" I use. How the hell am I supposed to know what system he supports and how do I get the system that God Adobe says that I have? Googling lightroom cc requirements does not help.

    System requirements | Creative cloud

    The system requirements (lightroom)

  • How the hell can I just talk to someone at Adobe?  When it changed that you cannot call them?

    How the hell can I just talk to someone at Adobe?  When it changed that you cannot call them?

    Mr. teacher,

    just to see how Adobe assistance works for the moment I got this:

    I could use the chat right now (an agent is available) or "call Agent". Strangely enough that you can't get it!

    Hans-Günter

  • How the hell this guy fired with its extruded 3d pencil?

    In the following video, Mr. Smith a first extrude text. Then, about 40 seconds, he takes his pencil and draw a line and it is automatically expelled. How the hell did do that? Looks like it is expelled as soon as it leaves his click. Am I just missing it does 'shift-control-e' to apply the same 3d effect immediately to his line? Of course it looks that he was not obligated to do that... I see in the appearance Panel, that there is "no selection", but this 3d extrusion effect is shown here.

    http://www.Adobe.com/DesignCenter/video_workshop/?ID=vid0053

    If you create an effect that you can keep this effect to the newly created art making in this new Art has basic appearance is deselected in the appearance Panel. Now, make an impact to a certain type, now draw a line. If you have this deselected in the context menu of the line appearance Panel should have the same effect as the type.

  • How to change the alignment of the existing "Movie Clip" symbol Point?

    Hi all

    by:  Adobe Flash Professional CS6

    My Flash program contains a 'Symbol' MovieClip and then to the breast of this "Movie Clip" there are 3 layers, which are about 6-7 long chassis.

    Right now is size of video Clip "1680 x 1050" and it is centered on the stage. But the registration point is in a strange situation. It seems

    as it is biased a bit and to the right.

    I was wondering if there was a way to change the point of alignment in the same way as when you create the symbol (* that is when it shows you the )

    points of type "grid" which you click on one of them and it becomes its registration point)? I read about how you can change the registration Point of

    by clicking on the Clip and then clicking on Edit > Edit Selected/symbol/In_Place. But when I try that it's really hard to get where I want it to be...

    What I want is the upper-left corner of the symbol for the registration Point, which is the top-left corner is "0,0"

    Anyway I can do without having to "Hands-free" move image to the Point of alignment... ?

    Any ideas/suggestions would be greatly appreciated!

    Thanks in advance,

    Matt

    You can always create another movieclip that you (select the mc and choose create MovieClip) and when you specify the upper left corner to be the alignment point.

  • Memory use and class of the custom movie clip?

    Hello

    I need to create instances of a clip 100. Is it better to add functions for these clips in the movie clip class or in a separate category?

    For example, I move(), setPosition(), setRotation() functions, would be that create these features a hundred times and held memory or just reference functions? What could be better?

    Thank you

    There is a slight advantage to create a function to handle all objects of class vs each class having its own class.  but it's such a small benefit that's not worth it to sacrifice any principle of encapsulation, so you should let each Member of the class to use the class methods.

  • FLVPlayback, scrubber, is there a property for how the scrubber moves?

    I built a flash site that has a video player. I use a FLVplayback component and a skin flash for controls. I use CS4 & AS3.

    When you watch the video and click on the washing area, the video will jump but it seems that there is a limit of size on the movement.

    Here's and example, if you click anywhere on the scrubber from the start about 30 seconds, the scrubber jumps automatically at the beginning even if I could have clicked around the mark 15 seconds.  If you click on the screen later in the film, it seems he'll jump a certain seconds instead of exactly where I clicked on the slider bar.

    My question is, is there a property that controls the amount of movement scrubber?

    I have an event listener for the scubber movement,

    videoScene_mc.video_mc.addEventListener (VideoEvent.SCRUB_FINISH, fnc_videoScrub);

    This listen port resets a dynamic text field when the scrub bar is moved. I don't know if it is at the origin of the behavior of jumping.

    Starting from your description, it seems that the video has not enough keyframes in it... If you look at the NetStream property research you will see that it works based on key frames and is the closest. You can try to re-encode the video and set the interval to keyframe manually - around 30 or less.

  • How do nested Movie Clip play once and then stop?

    Hi all

    I was looking for a simple solution to this issue for more than a year. I saw a few solutions

    that work, and lots of questions that remain unanswered questions.  So I thought that I get it from the pros.

    I have a nested clip (image sequence) I use the snippet of Flash CS5 GoToAndPlay.  The Clip

    loops continuously.  How to play once and stop.  I tried the snippet for the stop, I tried

    Stop(); in my layer "Actions".  I tried a stop(); in the last picture of my sequence nested.  I tried a stop to the

    end of the function, but nothing stops this 'thing'. He keeps going and going and going.  This is my typical of the code which

    loops...

    Stop();

    btn3.addEventListener (MouseEvent.CLICK, cd_ClickToGoToAndPlayFromFrame);

    function cd_ClickToGoToAndPlayFromFrame(event:MouseEvent):void

    {

    gotoAndPlay (1);

    }

    btn4.addEventListener (MouseEvent.CLICK, ef_ClickToGoToAndPlayFromFrame);

    function ef_ClickToGoToAndPlayFromFrame(event:MouseEvent):void

    {

    gotoAndPlay (10);

    }

    There are basically two (2) buttons on the page, and the back and the button forward and the sequence of images is nested in a

    video clip, in this case, to frame (1) and another nested video clip to frame (10).  How can I play once and stop

    on the last frame of the clip nested?

    Thank you

    Duane

    You are welcome.

    If my answer has worked for

    you, please indicate your question as answered.

  • Call the method in the root Movie Clip

    Hi all

    In AS 2, I was able to call a method declared in the chronology of the root of a moviclip by placing code similar to "_root.callMethod ()". I'm doing the same AS 3, but I get an error "1119: access of the meshes of property may be undefined in a reference with static type flash.display:DisplayObject.".

    On the first frame of my main script, I have:
    var st:String = "HELLO";

    I also have a movieclip in the main scenario that has the following on its 1 setting:
    trace ("ST ROOT OF CLIP -" + root.st);

    When launched, I get the above error.

    How can I access variables declared in other clips and the main timeline and calling the methods declared in other MC and the main timeline?

    Thanks for your help in advance.
    V

    You must convert this object to display as a dynamic class - for example, a movieclip:

  • Why my story is the compensation function "disabled"? How the hell I turn it on?

    The dang system is not allowing me to clear the history. Why? I am a solo operator - nobody else uses it. How - what is diaabled?

    Where are you trying to erase history and that the elements of the story?

    Make sure that you are not Firefox running in permanent private browsing mode (don't remember history).

    • Tools > Options > privacy > Firefox will be: "use the custom settings for history".
    • : Uncheck the [] "always use the private browsing mode.

Maybe you are looking for

  • iPad not visible

    Updated to the latest version of iTunes (12.5.1.21) today on Windows 10. Now my iPad Air is not visible at all in iTunes when the connected usb cable. He was previously. Cannot sync anything. BTW: Win 10 now showed "Phone Companion" by default whenev

  • videos of flashplayer - black and no sound

    Apparently, I need downgrade from 11.3 to 11.2 flashplayer to solve this problem, thus losing updates of security to 11.3. I don't want to do that. Is anyone know about when a Flash Player update that corrects this problem is available? I waited seve

  • Tabs do not move as before.

    Somewhere along the traffic to 10 FF my tabs do not act as before. I load dozens of tabs at once.1. I'm going to a tab, the next tab just beyond the right tab would show I could just 'hit' on it and it opens. The tab after a little show. Now, I have

  • Re: Satellite L550 - 1 9 refuses to go to sleep mode

    I have a * Satellite L550 - 1 c 9 *, very satisfied except for one small detail same helpline of the retailer could not solve. * Never, ever the screen saver (I installed bubbles) came to the top *. No matter how long I let the laptop, its always on

  • What version of the pci express x 16 graphics cards can handle office of a747c?

    What versions of pci Express x 16 graphics cards can handle desktop a747c?