Setting dynamic text not working in AS2

I'm working on a complex file given to me by another designer
and I'm having a problem with being able to set dynamic text.
Basically, I just want to set the text of a nested instance (e.g.,
with an instance called foo and a instance inside foo called bar,
I'm using foo.bar.text = "test".) This works beautifully and as
expected in a test file. But when I move the symbols and code to
the other designer's file, nothing happens. I.e., the dynamic text
is blank.
I feel confident that I'm not making any errors (I'm using
tested code and symbols!), but I cannot think what else could be
causing the error. Mine is the only ActionScript in the entire
file.
Are there bugs with dynamic text? Could this have to do with
font substitution? I did change the fonts to Arial and "device
fonts" without effect.
Thanks!

I appreciate your taking the time to help me and others on
this board. (I actually have another -- probably related question
-- that has never been answered, but that one is more confusing
because it involved multiple language support and worked *until* I
embedded the font.)
My understanding of Flash is definitely a mixed bag. I have
encountered so many problems (really quirks) with Flash that I kind
of start with the assumption that I'm dealing with something
quirky.
In this case, since I don't know your style, I just couldn't
see where you were going with your questions. In any case, thanks.
I'm smarter re Flash as a result of your help.

Similar Messages

  • Using alerts with variables-"dynamic text" not working

    Hello all,
    I'm triggering an alert from a BPM, and have set the flag "dynamic text" on for the alert category associated with it. I'm doing it in a similar way to the blog 1382 by Michal:
    [/people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated|/people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated]
    The only difference is that I'm just assigning a fixed text instead of a payload element to the container element, which I've defined as simple type - string.
    However, the text of the alert doesn't show anything. I'm getting an email with just "Process <id>" as the subject and "Alert ID: <number>" in the body of the email (the same in the Alert Inbox).
    I'm starting to think that there could be something wrong in PI 7.1 which I'm using, as I've configured other alerts in scenarios without BPM without problem.
    Thanks for your suggestions!

    I've solved it using an alert from the Enterprise Services Builder (Integration Repository). It's a new feature in PI 7.1. It seems the tab "Container" in the alert category didn't exist before (that's why you don't find it in the weblogs of Michal and others) and now you have to use it.

  • Variable Text not working as dynamic header in Crystal report

    Dear Experts,
    I'm working Crystal report that connected to Query BEX SAP BW trough SAP integration kit,
    currently i have case that need report dynamic header using variable text from BEX query, but seem the variable text not working in Crystal reports. the header in Crystal report shown as Desription\technical name, not result from the variable text in Query BEX in SAP.
    In https://wiki.sdn.sap.com/wiki/display/BOBJ/Crystal%20Reports%20and%20BW%20query%20elements stated that the "Text variable" with "replacement path" is supported, but i don't know in my query is not working.
    i already set in Database -> options->  table and fields -> Show Both, but the text variable still not working.
    can you help me
    Crystal Reports 2008 12.2.0.290
    SAP Integration KIT 12.1.0.890
    Thanks
    Luqman

    Post your question BEX and B1 and classic SAP data source issues to the Integration Kit forum

  • Why is predictive text not working on my iPhone 5s anymore

    Why is predictive text not working on my iphone anymore

    Actually, I just found the answer to my issue in this thread: The type correct/predict function for mail and text in iOS 8.0.2 was working fine then suddenly disappeared and reverted to the old style. I've checked all settings that seemed appropriate. How do I restore? I actually liked the new version. 
    Which says "a thin gray bar with a white dash in the middle of it immediately above the keyboard, you can reopen the suggestions by sliding up with one finger on the white dash." 
    That did it.
    I too have noticed a change, it seems with the new IOS update. My Predictive setting is on, but it seems before it would come up more often in predicting words and also give me a few choices. Now, it's not coming up as much and only providing one 'predictive' word which is not always right. This change is not very useful.

  • I just upgraded to the New OS on my Mac Book Pro and now my trackpad does not zoom in or out.  I looked at system settings on trackpad and it is set, but does not work How do I get it started?

    I just upgraded to the New OS on my Mac Book Pro and now my trackpad does not zoom in or out.  I looked at system settings on trackpad and it is set, but does not work How do I get it started?

    This is really unfortunate. I'm sorry that nothing works. I was going to mention holding down the power button and doing a force shutdown but you already did that. You might need to take it into the Apple store. I don't know if booting into safe mode would help. You would have to turn off the machine again, hit the start button and hold down the shift key after you hear the tone, but normally you would let go of the shift key when you see the apple logo and spining wheel. Maybe by holding down the shift key after you here the tone will cause the screen to come back on? The other option is to start up from the 'install disk' if your machine came with one. You would insert the disk, then shut down the computer, and hold down the C key right after hitting the start button.
    Here's the link for the safeboot
    http://support.apple.com/kb/HT1564?viewlocale=nl_nl

  • Why Does Dynamic Link Not Work

    I purchased the CS5 Adobe Production Premium.  I have been working in Premiere and I have been learning about how to use Dynamic Link. I want to be able to alter clips in After Effects and bring them back and forth into Premiere.  When I go to File/ Adobe Dynamic Link/New After Effect Composition, I get this message:
    Adobe Dynamic Link Requires Adobe Production Premium.
    Since I own production premium, I do not know why I am getting this message.  I have reinstalled the CS5 Production Premium Software twice and it still gives me the same message.  What can I do to get Dynamic Link Working.

    Thank you for the tip.  Could you possibly tell me how to deactivate and
    then reactivate the suite.  I am using a Macbook Pro laptop running OS
    10.6.4.  I do not even know where to start.
    From:   Colin Brougham <[email protected]>
    To:     Dan Seanor <[email protected]>
    Date:   03/15/2011 09:55 AM
    Subject:        Why Does Dynamic Link Not Work
    Deactivate the software (not uninstall), and then reactivate the suite.
    This often fixes this. You can opt to leave the serial number on the
    system; no need to clear it and re-enter it.

  • Home Page setting option is not working. Home Page always reverts back to Modzilla Firefox Start Page.

    Home Page setting option is not working after saving a new or different home page on Firefox 19.0. When opening a new page (not tab) it always reverts back to the default "Modzilla Firefox Start Page" no matter what.

    That was it! There was a duplicate preference file in the profile folder. Followed the instructions under "Locked Preferences File" to
    6. Delete any prefs-n.js files where n is a number (e.g. prefs-2.js).
    Once I deleted it I was able to then save my preferred home page.
    Thanks!!

  • TS3406 Everytime is restart or update my iPhone 5s it stops making calls, i tried the air plain mode toggle & to reset thenetwork setting, it's not working !! What should i do ??

    Everytime is restart or update my iPhone 5s it stops making calls, i tried the air plain mode toggle & to reset thenetwork setting, it's not working !! What should i do ??

    If it has been officially unlocked, it will stay unlocked after an update:
    iPhone: About unlocking

  • CS3 asked serial number suddenly and the box-set serial number not work.

    CS3 asked serial number suddenly, and the box-set serial number not work.

    Elton Adobe which web browser are you utilizing?  Are you signed into http://www.adobe.com/ when you attempt to contact our support team directly at Contact Customer Care.
    I would recommend utilizing a different web browser and contacting our support team directly as suggested by KGlad in message #6.

  • Dynamic conversion not working if SSEnableDirectDelivery is set to true

    hi experts,
    In our site, we have downloadable pdfs,docs,videos etc. So in order to achieve this, we have used following configuration :
    SSEnableDirectDelivery=true
    SSDirectDeliveryExtensions=pdf,doc,ppt,jpg,gif,docx,pptx,gif,png,tif,eps,dot,html,zip,swf,exe,xls,xlsx,flv,mp3,mp4,fla,ppsx
    Now, we have planned to use dynamic converter to convert word douments into HTML and display on site for Press Releases. As we have enabled SSEnableDirectDelivery, Dynamic conversion is not working.
    we have a dynamic list on Primary Layout (hcsp template) that displays list of Press Releases. When we click on Press Release link, the word documents start downloading......
    the steps are as follows :
    1. Added SSEnableDirectDelivery=true and SSDirectDeliveryExtensions=pdf,doc,docx to config.cfg . Restarted the UCM server .
    2. Added Dynamic List Plain fragment to a section of the site . Set the query to retrieve all the contents with extension .doc
    3. Launched the site from a browser and the section where DL was added . This listed the word documents (extension with .doc)
    4. Selected the word doc and see that it is being downloaded .
    I also tired following :
    <!--$xml(dDocTitle)-->
    it is working fine but issue is that URL in browser changed to http://example.com/idcplg?IdcService=GET_DYNAMIC_CONVERSION&RevisionSelectionMethod=LatestReleased&dDocName=id_003461
    I dont want to expose this url, i want to show the friendly URL in Browser
    e.g
    http://exmaple.com/corporate/press-release/P09082010.html
    please help!!!!!!!!!

    help please

  • Form in Dynamic page not working when checkbox is used.

    I have created a form using dynamic page. The form most have display fields and a checkbox field. When I check a box, it assigns 'Y' value and when unclick, it assign 'N' to the database field.
    When I submit the form, the procedure which is supposed to save the form data never gets executed. Well, at least it says, page not found HTTP 404 error.
    Interestingly if I make this field a text box and manually enter 'Y' or 'N', and then submit the form, the procedure is executed. Data gets saved.
    Is the checkbox not supposed to be used for a database field because checkbox value can be assigned only using javascript and the procedure never get that value ?
    Can you please tell me how to use a checkbox for a database field using dynamic page ?
    thanks,
    Mainak

    Sharmila,
    When I said, the form does not get submitted, I meant that the procedure does not work. The form gets submitted but the procedure does not work. It gives HTTP 404 error. That is what perplexes me. I am unable to understand why the procedure does not work when I click a checkbox.
    May be you can make this work. I am hopeless about this.
    Here is the code for the procedure sumbit_form:
    NOTE: I ADDED TWO FIELDS CALLED PROMOT VARCHAR2(1), PROMOTID NUMBER(4) TO THE EMP TABLE AND CREATED A NEW TABLE CALLED PROMOTEMP. THIS IS A TEST CASE.
    create or replace procedure sumbit_form
    (p_empno IN portal30.wwv_utl_api_types.vc_arr, p_promot IN portal30.wwv_utl_api_types.vc_arr, p_action IN VARCHAR2)
    is
    begin
    if p_action = 'save' then
    for i in 1..p_empno.count LOOP
    update scott.promotemp
    set promot = p_promot(i)
    where empno = p_empno(i);
    END LOOP;
    end if;
    commit;
    htp.p('<b>Saved Successfully</b>');
    htp.p('<table border=1 bordercolor="red">');
    for c1 in (select * from promotemp where promot='Y')
    LOOP
    htp.p('<tr><td>');
    htp.p(c1.ename);
    htp.p('</td><td>');
    htp.p(c1.job);
    htp.p('</td><td>');
    htp.p(c1.mgr);
    htp.p('</td><td>');
    htp.p(c1.sal);
    htp.p('</td><td>');
    htp.p(c1.deptno);
    htp.p('</td></tr>');
    end loop;
    htp.p('</table>');
    EXCEPTION
    when others then
    raise;
    end;
    Here is the code for the dynamic page.
    <HTML>
    <HEAD>
    <TITLE>Promot Emp</TITLE>
    <script language="JavaScript1.1">
    function include(form) {
    var thisform = form;
    for (var i=0; i<thisform.length; i++) {
         if (thisform.elements.type == 'checkbox') {
              if (thisform.elements[i].checked) {
                   thisform.elements[i].value = 'Y'; }
              else { thisform.elements[i].value = 'N'; }
    form.submit();
    function show(form) {
    var thisform = form;
    for (var i=0; i<thisform.length; i++) {
         if (thisform.elements[i].type == 'checkbox') {
              if (thisform.elements[i].value = 'Y') {
                   thisform.elements[i].checked = true; }
              else { thisform.elements[i].checked = false; }
    </script>
    </HEAD>
    <BODY>
    <FORM action="scott.sumbit_form" method="post">
    <table border=1 bordercolor="red">
    <tr>
    <td> </td>
    <td>Name</td>
    <td>Job</td>
    <td>Manager</td>
    <td>Hire Date</td>
    <td>Commission</td>
    <td>Department#</td>
    <td>Include</td>
    </tr>
    <ORACLE>declare
    i number;
    begin
    i := 0;
    for c1 in (select * from scott.promotemp where promotid = :promotid)
    loop
    htp.p('<tr><td>');
    htp.p('<input type="hidden" name="p_empno" value='||c1.empno||'>');
    htp.p('</td><td>');
    htp.p(c1.ename);
    htp.p('</td><td>');
    htp.p(c1.job);
    htp.p('</td><td>');
    htp.p(c1.mgr);
    htp.p('</td><td>');
    htp.p(c1.hiredate);
    htp.p('</td><td>');
    htp.p(c1.comm);
    htp.p('</td><td>');
    htp.p(c1.deptno);
    htp.p('</td><td>');
    if (c1.promot = 'Y') then
    htp.p('<SELECT NAME="p_promot" SIZE="1">
    <OPTION SELECTED VALUE="'||c1.promot||'">Yes
    <OPTION VALUE="N">No
    </SELECT>');
    else
    htp.p('<SELECT NAME="p_promot" SIZE="1">
    <OPTION SELECTED VALUE="'||c1.promot||'">No
    <OPTION VALUE="Y">Yes
    </SELECT>');
    end if;
    htp.p('</td></tr>');
    end loop;
    htp.p('</table>');
    htp.p('<input type="submit" value="save" name="p_action">');
    end;
    </ORACLE>
    </form>
    </BODY>
    </HTML>
    thanks,
    Mainak

  • Links in dynnamic html text not working?...

    Hi all
    I have a dynamic text field, set to format html.
    The link that loads in the dynamic text field is:
    <a
    href="portfolio_template.php?sec=housing%2F&sub=townhouses%2F&pro=rheingold+gardens%2F&st =2&id=5">Rheingold
    Gardens receives 2006 Building Brooklyn Award</a>
    It does not work.
    If I make a very simple link, like:
    <a href="
    http://example.com">link</a>
    It works.
    I have seen in the Flash (MX2004) doc that
    "<a href> must be a string, up to 128 characters."
    My href string is not longer than 128 chars...
    What is wrong?...
    seb ( [email protected])
    http://webtrans1.com | high-end web
    design
    Downloads: Slide Show, Directory Browser, Mailing List

    Have tried putting
    http:// in front of your link?

  • Dynamic text not displaying when publishing for flash 8

    This dynamic text works fine when the movie is published for
    flash 7, but when i export for the flash 8 player it seems to be
    invisible. Is there any obvious reason for this happenning?
    thanks
    jon

    Ok, thanks, looks like you've pointed me in the right
    direction. I havent fixed it yet though. Heres where i am at:
    eval(theTarget+".buttonPrime").tex.embedFonts = false;
    now i can see my text. of course its using a default font.
    var my_fmt:TextFormat = new TextFormat();
    my_fmt.font = "arial14b";
    eval(theTarget+".buttonPrime").tex.embedFonts = true;
    eval(theTarget+".buttonPrime").tex.text = "wasssup?";
    eval(theTarget+".buttonPrime").tex.setTextFormat = my_fmt;
    this isnt working. I have added a font object to the library
    and linked it for actionscript using the monkier "arial14b".
    however my text is quite invisible. i have checcked, 'export in
    first frame' for the font object i even tried it with this
    deselected. i have deselected the embed font option on the text
    feild itself. that doesnt work either (unless i dont try to set the
    text format, so long as i accept a default font, its fine).
    so err, help?
    confused
    jon
    ps further to this is have discovered more about this strange
    behaviour. i can set the text to a different string, provided i do
    not try to embed the font in any way. if i set the font to embed, i
    can have the text display with the correct font, until i change the
    text. then it dissappears. also i cannot seem to affect properties
    like font size by means of my TextFormat object. the textFormat
    object also does not seem to affect the font of the text.
    in short, when exporting for flash 8, i cannot seem to
    successfully embed fonts for dynamic text. the only thigs i have
    gotten to work are: static text (or a dynamic text feild with
    unchanged text) with an embedded font, or dynamic text with a
    default font.

  • 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 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

  • Adobe AE cs4 Sound Error?

    I just got the CS4 trial, and everything was working fine. I made my very first video successfully. Then, I realized that the video was taking entirely TOO much space on my computer, so I Brought the camera's video size down. This worked, But now whe

  • Upgrading SSD's in my macbook pro retina

    I'm just wonding if its possible to upgrade from a 256gig SSD in my macbook pro retina to a larger SSD. I'm assuming you have to use a certain type of SSD. Anyone knoe what type and how ?

  • Lines over images and around text in Captivate SWF file

    My project works & views fine in captivate and when published, it views fine on my mac - through flash player and browsers. But when I send a swf file to the client to view they see odd lines above and below images. But they dont see the lines when t

  • Storing a lot of data in an indexed data structure for quick access.

    I'm designing an app. which will need to store a large amount of data in memory. Records will be flowing into the app. via a socket. The app will receive about 30 records/second which is about 108,000 records/hour and about 600,000 records/day. I nee

  • Why do I have a blank category in my Spotlight preferences?

    Hello all!  Long time listener, first time poster... I was looking through my Spotlight Preference Pane and noticed at the bottom of the list there was a blank #16 category.  I tried deleting the Spotlight preferences but that didn't make it go away.