Dynamic Text can't be masked or blurred?

Hi I have a dynamic textbox that has a scroller. I'm trying
to tween it with some blur effect or put a mask on top of it but
when I do it the text will not show at all. After changing the text
type to static and the effect all worked fine.
Is this the limitation of flash or is there a way to apply
tween/blur/mask effect on dynamic text?

Dynamic text can have anything done to it, just like static
text. You just
have to be sure to embed. Select a dynamic field, in the
Properties Panel,
click the Embed... button. Choose character sets to embed. I
will normally
use Uppercase, Lowercase, Numerals, and Punctuation.
Dave -
www.offroadfire.com
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/

Similar Messages

  • Dynamic Text and Masking

    I have Dynamic Text in a Movie Clip on the timeline. Text
    shows up just fine without Mask. When I add a Mask Layer to the
    Movie Clip the Dynamic text dissapears. Can anyone shed some light
    why?
    Thanks

    check out
    this
    forum discussion on the subject of masking dynamic text.
    the quick and short of it is, you need to embed the font in
    the dynamic text to mask it.

  • Dynamic text not showing up under a mask

    Hi All,
    So like many people, I've discovered the joy that you cannot display dynamic text boxes if they are masked.
    After browsing the internet I found a few things to try, first embedding the font, which I have done, and that didn't work.
    The other solution involves setting the mask to a display object, which I've done, sort of.
    I create a Sprite() in code (I use Flex Develop, and never code on the time line), then use the Sprite.graphics to draw the mask, then set my main stage movieClip's .mask property to equal this layer.
    That didn't work either.
    Is there a third option?
    Thanks in advance,
    Tom

    mask removed, the text still displayed, but I'm not sure what you meant by that, I can't see the field for the text itself, just the text, which is fine because it isn't an input box, the textfield itself is part of a movieClip, and I am able to adjust it no problems.
    After some fiddling around and forehead banging against desk I found that if I just drew two boxes at the edges of my video on top of everything and the same color as my background, it would cover what I wanted to be covered and leave the rest visible. Not an elegant solution, admittedly, but the one that I found and that works in the time constraints I have.
    Thanks for trying to help me once again kglad.
    I'll learn to ask the right question one day, I think.

  • Dynamic text and animated masking problem?

    Hi
    Can anyone suggest to me what might be happening here. I will
    try and explain step by step... I am using flash MX
    I have dynamically created a movieclip which I want to mask -
    _root.createEmptyMovieClip("myMovie", 1);
    I dynamically add a movieclip into it which I then load a jpg
    into -
    _root.myMovie.createEmptyMovieClip("image1", 0);
    _root.myMovie.image1.createEmptyMovieClip("newFile", 0);
    _root.myMovie.image1.newFile.loadMovie("http:...");
    I dynamically create another movieclip called myNormalText1
    insde the first movie -
    _root.myMovie.createEmptyMovieClip("myNormalText1", 2);
    this holds a dynamically created text box called mytext -
    _root.myMovie.myNormalText1.createTextField("mytext",1,0,0,0,10);
    // the text box formating is dynamic, uses devise fonts,
    arial and is red ect.
    I have then attach a movieclip and use it as a mask to create
    a transition effect over _root.myMovie (which holds the image and
    text)
    _root.attachMovie("mask","mask",5);
    _root.myMovie.setMask("mask");
    the mask movieclip is what is causing me the problem!!!
    method one
    when the mask movieclip contains this -
    a phisically drawn box that fills the whole page
    I use a shape tween to make the box transform into a thin
    rectangle down the left hand side of the screen
    I get a transition effect which makes _root.mymovie disapear
    to the left which is what I want!
    The image and text are masked correctly!
    *** Please note I am aware that dynamic text boxes using
    devise fonts are not displayed correctly under a mask layor when
    they are not embeded, in flash MX. I am able to view my movie in a
    browser window which uses flash player 8 that now allows dynamic
    devise fonts to be masked!
    method two
    I then wanted to create a different transition effect like
    venitian blinds,
    so, in my mask movieclip I created several rectangles that
    fill the page
    again I used a shape tween so they get thinner,
    when I tested my movie the same way in the browser,
    the mask did not work correctly over my text in
    _root.mymovie???
    yet the image in _root.mymovie was masked correctly???
    the only differance between the two methods is the shape
    tween in method one uses one box shape, and the shape tween in
    method two uses several rectangler box shapes.
    I was wondering if anyone knows why the text is correctly
    masked in case one and is not correctly masked in case 2
    I want to do other transition effects using masks in this way
    and I am having no luck :-(
    Thanks for any advice
    Claire Wall

    Hi
    I have been researching this ALOT and found some info that
    basically tells me when I use setMask() over dynamic device fonts,
    the mask uses its bounding box (the rectangular outside edge of the
    whole mask movieclip) as the mask.
    In case 1 the mask moviclips bounding box shrinks when the
    shape tween plays because there is one rectangular box being
    tweened. It appears to mask the text correctly.
    In case 2 I have variouse different shape tweens going on
    inside the mask movieclip so the bounding box stays the same size
    across the whole screen and it wont appear to mask my text
    correctly.
    I think I have answered my own question, but this still
    leaves me stuck! I want to create this venitian blind effect using
    masks over devise fonts.
    I came up with the idea of using for example 4 different
    masks over the one movieclip but again flash doesnt like this and I
    guess I can only use one setMask() per movieclip?
    Can anyone suggest a way I can use multiple dynamically
    created masks on one movieclip or cant it be done?
    Thanks
    Claire x

  • How can i set the dynamic text box to show variable value?

    In AS2, I can make a dynamic text box set a var name, when i
    use button set/change the var value, this textbox can show the
    value also.
    but In AS3, dynamic text box can't add var name. than how can
    i do it now?

    Set an instance name for the dynamic textfield. Then, to
    populate the textfield with the value of a variable, use:
    textFieldInstanceName.text = variableName

  • Can't get dynamic text in Flash 8 pro to work

    Hi,
    This is driving me nuts. I am using SWObject to send a
    variable to my Flash 8 swf. The swf is basically a header that
    plays a video and I want to put the name of the web page
    dynamically on top of it. Sounds simple right. Well I can not get
    it to work. In the past I have done dynamic text boxes without any
    problem.
    I have uploaded all the files to my clients server (
    including the fla and the HTML page that accesses the swobject code
    I have also tried other more conventional means to load the
    Variables ( in the URL address and using Flashvars with a normal
    object and embed tag ) Nothing seems to work.
    Is there a problem with dynamic text and Flash 8?
    I'm pulling my hair out any help would greatly be
    appreciated, Thanks in advance.
    Zip file on the
    server with all the files

    Hi jimWPX, I have no problems with dynamic text in Flash 8,
    and I see no problems in your file.
    Could it be that the js doesn't parse for Flash 8 correctly?
    A quick check for version seems to suggest that it's embedding with
    tags for v 6 Flash. Might be problematic.
    An alternative is FlashTag.js,
    http://www.macromedia.com/go/flashjavascript/
    which works fine for me also. Hope it helps

  • Can I embed fonts of all Dynamic Text objects in a Flash file?

    Hi there!
    I'm fairly new to Flash, so please bear with me.
    I have created a Flash file which will act as our company's standard presentation / portfolio of all previous projects.  I've pretty much got it running the way I want, but I've just tried it on a few different computers and realised that the fonts aren't embedded.  I've used our corporate font so it needs to look right.  Having read the following documentation (http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Liv eDocs_Parts&file=00000893.html) I now understand how to embed fonts for one dynamic text object at a time.  However, I have a lot of different dynamic text objects in the file and I would dearly love to embed them all in one step!  The same embedding options can be applied to just about all objects, as they're all the same size and font.
    I hope someone can help me.  If you are able to help please spell things out in simple steps!!  I am aware that I probably haven't yet grasped a number of the basics of Flash.
    Thanks in advance,
    Stuart

    Static text doesn't need to be embeded. So I'm not sure what the problem you are having is. The page you linked to is for making an embedded font in your library that can then be exported for actionscript and used by code and style sheets. If you are following the instructions on the page you liked to you only need to do that once. Which shouldn't be too hard.
    That is usually a different problem that having a bunch of different authortime created textfields that need to have characters embedded.
    As far as I know your only hope to change a bunch of authortime/library items is using JSFL. So even if the thing I pointed to isn't exactly what you need you could keep googling a bit or use that as a template.
    JSFL files are just text files so open it in note pad. Look for the line:
    if(it[i].itemType == "movie clip")
    and change it to this:
    if(it[i].itemType == "movie clip" || it[i].itemType=="button")
    Now it does buttons. You give up too easy.

  • Can dynamic text links (XML) pass arguements to movie clips?

    I have a dynamic text field that i'm pulling a XML file into,
    but I need the URL links within the XML to control a movie clip.
    I've read that you can pass an arguement inside flash from within
    the XML doc but i'm not positive how it would be done.
    Any love on this one?

    Hmm, this leaves a couple questions... Where would I put the
    script/function, inside the <a href> tag? That could get out
    of hand... like in-line CSS styles. And I have a URL node within
    XML set-up so I don't know if this solution would work.

  • Can I use mask tracking to blur my background?

    There is a help video " How to blur a moving face" at How to blur a moving face with masking and tracking | Adobe Premiere Pro CC tutorials  I need to do the opposite. I want the background of a "talking head" video to be blurred and the speaker to be in focus. Is this possible with Premiere?

    You don't actually need two video layers, because you can just apply a masked blur to a clip, then *invert* the mask so that everything *outside* the mask is blurred, and everything inside the mask is unaffected. Here are the steps in detail:
    1) apply the Blur filter (whichever one you want) to the clip.
    2) In the Effects Controls pane, turn the disclosure triangle for the Blur filter and click one of the mask buttons (the oval is probably best for this situation). Drag and resize the mask so it covers the person's face. Feather it as needed (probably not very much in this situation, or you'll get a weird halo-like effect).
    3) Back in the Effects Controls pane, under the the Blur filter controls, you'll now see a new option: "Mask (1)". Open those controls and check off "Inverted," so that when you apply the blur, it will apply to the area *outside* the mask, instead of the inside.
    4) Turn the Blurriness up until you get the look you want.
    5) (You can do this earlier, if you want) - but you have to track the mask so it moves with the person who's moving. To do this, start at the first frame of video. Make sure the mask fits well over the person at that frame. Then click the "Track selected mask forward" button (it looks like a regular triangular play button). It'll step through all the frames and adjust the mask on each frame. If it loses the person, just stop on that frame, adjust the mask, and track forward from there.

  • How can I load a .TXT file into a dynamic text box?

    I am sure that many people know how to load a .txt file into
    a dynamic text box. But I do not. I want to be able to reference a
    txt file from the server into the text box. So that when I change
    the text file it changes in the flash movie without even editing
    the flash file itself. Thank you.

    http://www.oman3d.com/tutorials/flash/loading_external_text_bc/
    I think this is the simplest way to go :)

  • Can I put Chinese and English characters in the same dynamic text box?

    I'm translating a game into several different languages, one of which is Chinese. I've noticed that in a dynamic text box where English characters are included also, they aren't displayed when the .swf is exported. The font is embedded in the document with all characters selected. It seems like whatever language-character is first displayed in the text box, the other language cannot be. For instance, if there are Chinese characters first, then English, the English will not display, and vice-versa. Any work around on this? I am using Flash CS5 and Actionscript 2.0. Thanks!

    Kglad - I'm not sure I follow your instructions for the fix. I assume you want me to set the _visible property to false via Actionscript ( textInvisible._visible = false; ). What is the purpose of this second text field - does it need any specific content in it to function? It doesn't seem to work to fix the problem but maybe I'm misunderstanding.

  • Can Dynamic Text Utilize Opacity?

    I did a search on this forum for "opacity dynamic text" and
    came up with nothing, so I apologize if this has been covered
    before.
    I have dynamic text boxes with scroll bars on a page. I made
    a Movie Clip of all of them and I am fading from 0 to 100 opacity
    in the timeline. When I scrub the timeline, it works. However, when
    I publish, the text doesn't fade in. The scroll bars do and the
    static text does, but none of the text boxes that are set to
    dynamic.
    I thought of fading a white rectangle (the background is
    white) from 100 to 0 on top of the dynamic text, but I have some
    animation going on in the background that would be covered as well.
    Anyone have any ideas?
    Thank you so much for your time.

    OK, I figured it out.
    You have to select the dynamic text, click on the Embed
    button, then click on Auto Fill, then click on OK.
    Embedding the dynamic text lets it fade in/out.
    Thanks, Scot! No problem, Scot.

  • Scrolling event: movieclip instead of dynamic text

    Hello everybody. I am very very novice to actionscript, so probably my question will sound a little silly.
    I am trying to put an arabic text to scroll with a custom scrollbar. So I found a nice video in youtube about doing that with a dynamic text field. It works wonderful for latin characters (left to right and separated letters) but unfortunately not for arabic characters (they don't get connected). Actually, I don't care to use just a movieclip with the text instead of the dynamic text field. But I don't know how to change the actionscript code for the movie clip instead of the dynamic text field.
    Here I show you the code for the scrolling text in a dynamic text field (it's a short code), on the stage I got just the dynamic text field (instance name: texto_txt), the scrollBar (a vertical line, instance name: scrollBar_mc) and the scroller itself (a little rectangle, instance name:scrollHandle_mc):
    var content:String = "cjeihfirehjfejlkfjkerjfirjfejifjrijwkjfirwjekñlkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkllllllll";
    texto_txt.text = content;
    texto_txt.wordWrap = true;
    var min: Number = scrollHandle_mc.y;
    var max: Number = min +(scrollBar_mc.height - scrollHandle_mc.height);
    var intervalo: Number = max - min;
    var arrastrando: Boolean = false;
    var bounds: Rectangle = new Rectangle (scrollHandle_mc.x, scrollHandle_mc.y, 0, scrollBar_mc.height - scrollHandle_mc.height);
    scrollHandle_mc.addEventListener (MouseEvent.MOUSE_DOWN, arrastrandoScroll);
    stage.addEventListener (MouseEvent.MOUSE_UP, stopIt);
    function arrastrandoScroll(mouseEvent:MouseEvent)
    scrollHandle_mc.startDrag(false,bounds);
    arrastrando = true;
    scrollHandle_mc.addEventListener(Event.ENTER_FRAME, progress);
    function stopIt(mouseEvent:MouseEvent)
    scrollHandle_mc.stopDrag();
    arrastrando = false;
    function progress(e:Event)
    var moverScroll:Number = scrollHandle_mc.y - min;
    var percent:Number = moverScroll/intervalo;
    if (arrastrando == true)
    texto_txt.scrollV = percent * texto_txt.maxScrollV;
    What I want to do is clear the dynamic text field and use instead a movieclip (text_mc) that includes already the text, the bounding box would be a mask. How do I change the actionscript? Could anyone help me out?

    It isn't really a matter of math, as much as it is logical reasoning, but if you plan to do things with programming, you better plan on getting comfortable with learning math as well.  Programming and math go hand-in-hand.
    Here's a simplified explanation of what your code needs to do -> If you move the scroller 25% of the total distance it can move, then the movieclip should be moved 25% of the distance it can move (in the oppostie direction).
    Your scroller handle can be moved a predefined distance.  In your code that value is called "intervalo".  See if you can figure out how that value is determined in the 3 lines of code.
    var min: Number = scrollHandle_mc.y;
    var max: Number = min +(scrollBar_mc.height - scrollHandle_mc.height);
    var intervalo: Number = max - min;
    Later on in your progress function you can see where the scrollbar handle values com into play again when determining where to place the textfield.  But if we change that to be the movieclip, it becomes more like the following...
    function progress(e:Event)
        var moverScroll:Number = scrollHandle_mc.y - min;
        var percent:Number = moverScroll/intervalo;
        if (arrastrando == true)
             yourMC.y = percent * (yourMCmaxY-yourMCminY) + yourMCMinY;
            // where  yourMCmaxY-yourMCminY is the mc's movement range
            // which is likely to be negative since yMax is likely < yMin for the mc.

  • Add Text to a Draggable Mask?

    I guess this is pretty basic but if you can help a new user I'd appreciate any thoughts ... thanks.
    I hope I included everything you need to know.
    I want to add a line of text to a small mask - the mask reveals a portion of an image underneath - the user drags the mask around the stage
    2 movie clips
    1. an image that fills the 900x700 stage
    2. a 200x200 rect with blur that acts as a "window" to the image
    The code below works fine (almost - see comment) but how do I add text to the mask?
    Looked up "mask" in Help but can't figure out how to apply it...thanks for taking a look.
    img_mc.mask = mask_mc;
    mask_mc.buttonMode = true;
    img_mc.cacheAsBitmap = true; // for the blur
    mask_mc.addEventListener(MouseEvent.MOUSE_DOWN, dF);
    mask_mc.addEventListener(MouseEvent.MOUSE_UP, rF);
    stage.addEventListener(MouseEvent.MOUSE_UP, rF); // I thought this prevents dragging off the stage but it doesn't work
    function dF(event:MouseEvent):void
        mask_mc.startDrag();
    function rF(event:MouseEvent):void
        mask_mc.stopDrag();

    if you want the text to be visible and not to be part of the mask, it can't be in the mask layer.  so, your thread title is misleading.  you don't want text to be part of a mask, draggable or not.
    you want your text to "appear" to be draggable along with your mask.  so, what you should do is to create your draggable mask (that doesn't include the text) and when you start to drag the mask (usually using a mousedown event), you start a loop that updates the text position based on the mask position.  for example:
    yourmask.addEventListener(MouseEvent.MOUSE_DOWN,startdragF);
    yourmask.addEventListener(MouseEvent.MOUSE_UP,stopdragF);
    function startdragF(e:Event){
    yourmask.startDrag();
    yourmask.addEventListener(Event.ENTER_FRAME,textF);
    function stopdragF(e:Event){
    yourmask.stopDrag();
    yourmask.removeEventListener(Event.ENTER_FRAME,textF);
    function textF(e:Event){
    yourtextfield.x=yourmask.x;
    yourtextfield.y=yourmask.y;

  • Dynamic Text Not Showing Up

    I placed the SCROLLABLE text in a Dynamic Text box, labeled
    the text, and set that same name as the Parameter on the UI
    Scrollbar. When the timeline reaches that point in the Timeline,
    the Scroll Bar appears, but not the text.
    Click on the INTRO link and you can see what happens.
    This is PROBABLY an easy fix for someone of intelligence.
    http://warrencomm.com/fsbresume.html
    I'm going crazy here.
    I may need medication!!!
    Thanks!!!

    mask removed, the text still displayed, but I'm not sure what you meant by that, I can't see the field for the text itself, just the text, which is fine because it isn't an input box, the textfield itself is part of a movieClip, and I am able to adjust it no problems.
    After some fiddling around and forehead banging against desk I found that if I just drew two boxes at the edges of my video on top of everything and the same color as my background, it would cover what I wanted to be covered and leave the rest visible. Not an elegant solution, admittedly, but the one that I found and that works in the time constraints I have.
    Thanks for trying to help me once again kglad.
    I'll learn to ask the right question one day, I think.

Maybe you are looking for