How to change dynamic text on mouse click of an object

Here is my Project File.
I'm wanting to change dynamic text when an object is clicked.
I created 3 dynamic text boxes under "Selected Colors" and gave them instance names of selected_roof_color, selected_trim_color and selected_wall_color.
When the user clicks a color (ie Arctic White) and then clicks say the roof, I want the "Selected Color" to display "Arctic White" to the right of "Roof:". 
The colorable areas on the building have been given instances of roof, walls and trim.
I used this tutorial to change in the textbox underneath the colors when you mouse over a color.
Thank you for your assistance.

My first button color is Arctic White and it has an instance of arcticwhite.
The actionscript for the Arctic White Button is:
on (release) {
    _root.fillColor = 0xf3f5f4;
    _root.brush.gotoAndStop(1);
The roof button has an instance of selected_roof_color and my dynamic text field where I want "Arctic White" to appear is given an instance of selected_roof_text.
Using your suggestion, my main Actionscript now has the following
roof.addEventListener(MouseEvent.CLICK,roof);
function roof(e:MouseEvent):void{
selected_roof_text.text="roof";
Looks like I've still got something incorrect as the selected_roof_text isn't changing when I click a color onto the roof.
Can you explain what the F in "roofF" is?  Is that a typo?

Similar Messages

  • How to change dynamically text label at run time in the forms

    Hi,
    I am having a form in which i want to change the text label dynamically. I mean when a certain condition match then text label should be change and when condition does not match then the text label should reamin as it is in the same form.
    plz help
    thanks in advance
    azhar

    Hi,
    Use this code to change the label at run time.
    set_item_property('deptno',prompt_text,'pagal dept');
    Prompt_text is used for changing label at run time.

  • How to change the text of a user defined field in dynamic selections?

    Logical Database PSJ is used by t code CJI3 - we added a couple of user fields into the dynamic selections of CJI3.
    Now - how to change the text of this user filed (USR01 of structure PRSP_R in logical database PSJ)?
    Found an OSS note - 86980 - that tells that this is not possible.
    But when we read the documentation on the user field (CJI3 - dynamic selections  - double click on user field - F1), it shows the following text:
    User-defined field in which you can enter general information with a length of up to 20 characters.
    Dependencies
    The names (key words) for  user-defined fields depend on the field key.
    Now the question is where to change the field key..
    Thanks,
    Ven

    Madhu - you did not get the question I think.
    Anyways - I found an OSS note 1266643 - this code change should take care of the issue - it will then reflect the details maintained in custoizng at transaction code OPS1..
    Thanks,

  • How to change the text of label dynamically

    Hi all,
    I have done a dynpro program.It requires to implement the dynamically display the label text, for example: there is a label, sometimes, we want to display "Purchase Order" and sometimes we want to display "Sales Order". Can anyone tell me how to change the text of label according to my requirements? thanks in advance!

    Hi Wei,
    AS of now you will not be able to change the Text Field ( Label ) dynamically or at runtime. This is a limitation.Refer to this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/e4/2adbef449911d1949c0000e8353423/frameset.htm
    But, there is a way around.
    You can make a text field Visible / Invisible based on your program logic. So, based on what you want, you can process a module which will take care of that.
    Have a look at these DEMO Code. You can have a good idea to implement the logic.
    DEMO_DYNPRO_MODIFY_SCREEN - Demonstration of Dynamic Screen Modifications
    Thanks,
    Samantak.

  • How to change the text of a button dynamically in module pool

    hi gurus,
    how to change the text of button dynamically

    Hi ,
    Declare a variable in TOP Include with your button name.
    Example : P_BUTTON(20) TYPE C.
    Place button with name P_BUTTON on you screen. Do not forget to mark it as "Output Field". [ Double click on button, Attributes --> Program tab --> tick "Output Field".
    In you PBO / PAI , whereever you want to change your text -
    Assign value to P_BUTTON.
    Example -
    iF COND1..
    P_BUTTON = 'EDIT'.
    ELSEIF COND2.
    P_BUTTON = 'DISPLAY'.
    ENDIF.
    Regards,
    Mohaiyuddin

  • HoW to ChaNGE the text in the mobile application to be in MulTi-CoLoR text

    _*  Do anyone can tell me how to change the text in the mobile application to be in multi-color text, to make it more interesting and increase readability?
    Is it using the Graphic's paint() method? or any better suggestion?
    Please give the short example if can?
    Please help... "_"
    Hearing from u all soon...@_@
    thanks....

    Go into outline view. If you can see the outlines of the letterforms, you can't just change the text. If the letterforms are solid black, take the type tool, select the text and type yours.
    Anyway you can just select the letters, take the type tool and type new text.
    Working with the type tool is a basic. Please see the manual for details

  • How to change the text "form of address" while Create User in EP6.0??

    Hi All,
      We are using NDS 2.0.9 & EP6.0.
      I have the following doubts:
      1) I have to change the text <b>Form of Address</b> which comes when we <b>Create User</b> in EP.
      Can any1 please let me know how to change that text? Is there any .par file? What is the name of .par file (if any) which is used to <b>Create User</b> in EP6.0??
      2) I am getting the value of this <b>form of address</b> by <b>request.getSalutation()</b> in PDK, but this value is coming in the <b>Welcome Message</b> in the masthead. I tried to change the masthead by changing the corresponding code, but i am getting a runtime error. Is there any other method of making this salutation value <b>NOT</b> appear in the masthead welcome message?
      Please help me in this regard. Thanks in Advance. Bye.
    <b>Regards,
    Sai Krishna.</b>

    Hi Sai Krishna,
    within HeadiView.jsp, you'll find this code fragment:     
    if(salutation != null) {
      return java.text.MessageFormat.format(welcomeClause, new Object[] {firstName, lastName, salutation}).toString();
    } else {
      return java.text.MessageFormat.format(welcomeClause, new Object[] {firstName, lastName, " "}).toString();
    Just delete the first part and always use the second:
    return java.text.MessageFormat.format(welcomeClause, new Object[] {firstName, lastName, " "}).toString();
    This will delete the salutation without errors
    Hope it helps
    Detlev
    PS: For both solutions, 1. and 2., think of it: These workarounds will be overwritten witch patches / maybe hotfixes.

  • How to change the text of a field in organisational assignment.

    hi gurus,
    how to change the text of field MSTBR (super visor) to a differnt name in info type pa0001.
    i have changed the field name in cmod , changed name appears in table.but it is not appearing in the info type screen 0001.
    how to resolve this pls help me..

    hi,
    The Field showing in the infotype 1 is FORPR.
    Change the text of this Field in CMOD.
    CMOD ->Go to ->tect Enhancements->keywords-> Change ->FORPR
    Change the text and check again.
    Regards,
    Manoj.

  • How to change the text of customer tab in Me23n

    Hi
    I have added new customer tab in Me23n at item level.
    Its text is Customer Data.
    I would like to change to some other text.
    How to change the text of customer tab in Me23n
    Regards
    Amruta

    Amruta,
    I had the same query today and finally found the answer.
    In order to change the title text or description of the "Customer Data" tab in ME23N, etc. you need to define a new text symbol in program SAPLXM06. The text symbol must be number 111 for the PO data. Make sure you define this text symbol in the language you are using when viewing the PO. I had issues with this as the original language of object SAPXM06 is not my logon language.
    The standard code which picks up this text is in function module MEGUI_BUILD_PO_ITEM_PLUGIN. I could not find any documentation around this functionality.
    Hope this helps!
    Ben

  • How to change the text of a RadioButton in JDeveloper 11.1.2.0.0

    How to change the text of a RadioButton in JDeveloper 11.1.2.0.0

    Select the radio button, open the property inspector (ctrl+shift+i) select the 'Visual' tab and search for the 'Text' property. There you can change the text.
    Timo

  • How to change a text item to have a link that opens a different page?

    Hi,
    How to change a text item to have a link that opens a different page?
    Thanks,
    Guy

    Hi Denes,
    I understood what the code will do. But it did not work.
    ...a href="f?p=&APP_ID.:2:&SESSION.">LINK</a...
    By default, P5_TASK_NAME displays Task Name which is passed from Page 3.
    So I changed your code as follows so that P5_TASK_NAME value may be displayed with a link.
    ...a href="f?p=&APP_ID.:3:&SESSION.">:P5_TASK_NAME</a...
    But P5_TASK_NAME value appears without any link and does not open page 3.
    Then I created a new text item (display only) in the same HTML region in page 5 and entered the following code in the default box:
    ...a href="f?p=&APP_ID.:3:&SESSION.">LINK</a...
    When I ran the application, it displayed the whole code as text.
    How can I display P5_TASK_NAME value with a link to open page 3?
    Would appreciate your help.
    ... to be replaced with < or >
    Could you please let me know how to display link code correctly?
    Thanks,
    Guy
    Edited by: GUY3 on Mar 11, 2009 4:20 PM

  • How to change standard text in(me33k)?

    How to change standard text in me33k (under Reference data : Dept/Proj Manager) field. I tried it changing in CMOD - under Goto in Text enhancements in Keywords then Change . I did this change and in table ekko-verkf I can see the change, but in me33k I cannot . Appreciate if anybody can  reply back soon and help me solve this issue? points awarded for sure.

    If u are talking about the text  related to a Contract by (Trx ME33K --> Header --> Texts --> Text Overview).
    Then u need to use the FM create_text and then put the import parameters as
    Text Name     =  (contract number)
    Language       = EN
    Text ID        = K00  Release order header  text put K01 for first item text K02 for second item text so on
    Text object    = EKKO       Purchasing doc. header texts
    and then call bapi_transaction_commit
    u ll be a ble to find the changes
    thnks
    kanishak

  • How to change standard text in portal

    How to change standard text in portal
    Pls reply

    Archana,
    Please post it in the relevant forum(Portal Implementation/development)
    What text do you want to change.
    Thanks
    Bala Duvvuri

  • How to change the text under RECORD WORKING TIME IN ESS.

    Hi,
    How to change the text under RECORD WORKING TIME in ESS.
    Is there any setting at page or iview level?
    Please help me.
    Regards,
    Thirun.

    Hi,
    If it is standard business package ,then check home page framework
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b0e3a488-cdc2-2b10-209b-e01a0ed934b4
    Regards
    Koti Reddy

  • How to change the text Transport id code in sus

    Hi,
    How to change the text Transport id code in sus while creating ASN
    Please advise.
    Regards,
    manu

    SE80---> BSP APPLICATION with SRMSUS ---> views -->asn > detail_edit.inc.->
    On the right hand side in the details ---> search for
    BBP_SUS_UI/ASN_TRANSPORT_IDENTIFICATION
    replace the above with the following
    BBP_SUS_UI/INVOICE_DOCUMENT_NUMBER
    BBP_SUS_UI/INVOICE.
    there is no entry available for invoice number , only the above two are available.
    save the changes
    activate the changes
    REWARD POINTS IF USEFULL

Maybe you are looking for