The Prompt on combo box is not disappearing after a value is selected.

Hi guys,
I am putting in the prompt "Course Category" which starts off black and when a value is selected it turns grey but doesn't disappear, obscuring the selected value.
I have tried putting in the line course_step1.prompt = ""; in the post selection part of the code but this has no effect.
Interestingly when I test just this scene and not the whole movie this problem dosen't occure.
This is a quote from my code I hope it gives you the idea...
Thanks in advance,
var course_step1:ComboBox = new ComboBox;
                sophia_page2.addChild (course_step1);
                course_step1.x = 245;
                course_step1.y = 12;
                course_step1.width = 200;
                course_step1.dropdownWidth = 300;
                course_step1.prompt = "Course Category";
                course_step1.dataProvider = new DataProvider(cat_array);
                course_step1.addEventListener(Event.CHANGE,select_cat);
                function select_cat(event:Event):void
                                var cat_select:String =(course_step1.selectedItem.data);
                                course_inst1.textColor = 0x999999;
                                course_inst2.textColor = 0x000000;  
                                course_inst3.textColor = 0xCBDEF5;
                                course_step1.prompt = "";
                                //trace ("http://onedev/one/Sophia/CourseQuery2.asp?Cat=" + cat_select);
                                var cat_selecturl:String =("http://onedev/one/Sophia/CourseQuery2.asp?Cat=" + cat_select);
                                var xmlq2:XML = new XML ();
                                var q2theURL_ur:URLRequest = new URLRequest("xmlq2.xml");
                                                       //replace with cat_selecturl ---- test with "xmlq2.xml"
                                var q2loader_ul:URLLoader = new URLLoader(q2theURL_ur);
                               q2loader_ul.addEventListener("complete", q2fileLoaded);
                                function q2fileLoaded(e:Event):void
                                                xmlq2 = XML(q2loader_ul.data);
                                                //trace (unescape (xmlq2));
                                               course_step1.prompt = "";

Check the HTML source. Is any code after the initial option present (ie the </select></td>)? If not then you are getting an error that is masked by the fact that you already committed the response. Look into your logs.
If the HTML source looks fine I fall back to my previous answer and you need to re-check the messages closer to where the work is being done. Though it never hurts to check the log files.

Similar Messages

  • How Do I Get Item In Combo Box and Not It's Export Value?

    I created a Combo Box in Adobe pdf listing Company Names in the Item field. As well, I added an abbreviation for each Company Name in the Export Value field. When I try to display the Company Name from the Item field, it displays the Export Value.
    The Combo Box is named "Company-Name".
    In it, I have a company called "MacKenzie" within the Item Field. It's Export Value is "MFC".
    app.alert(this.getField("Company-Name").value); will display "MFC". How do I display or get the value from the Item field?

    You can use the getItemAt field method, like:
    // Get a reference to the combo box
    var f = getField("Company-Name");
    // Get the index of the selected item
    var a = f.currentValueIndices;
    // Show the item value of the selected item
    app.alert(f.getItemAt(a, false));

  • Combo box entries not refreshing as per new data

    Hi,
    I am using Oracle SOA PS3 version.
    I have created an Updating ordered List report on a DataObject. I created a filter on a field 'NAME' and made that filter associated that to a prompt. The prompt is visible as a drop down on top of a report.
    Before I open the report there is no data in DataObject and the combo box does not show any options. But after the report is opened data comes into the dataObject and the rows appear in report also. But when I try to see the entries in the combo box, I dont see anything there.
    The entries in combo box are not getting refreshed dynamically as per the newly arriving data. Any idea of how to get this done .. ?
    Any Information on this will be helpful.
    Thanks,
    Raj Kumar

    Hi,
    Do the below checks,
    1) Check if you have maintained correct Key values where the data is stored in your report.
    2) Check if you have data for the specific combination of dimension members using EVGET function
    3) Check if the data is there in the backend for the specific combination of dimension members using the transaction RSA1
    4) Create new Report of that type and check if the data is flowing.
    Hope this helps,
    Regards,
    G.Vijaya Kumar

  • VBA Userforms – Getting errors when item from combo box is not selected

    Hi there
    Thank you in advance for taking the time to check this out.
    Objective:
    I have 2 combo boxes, one is dependent on what has been selected in the first combo box (dynamic named range), they work fine except for an irritating error when the user accidentally clicks in the empty
    Cmbox_IncCategory and it won’t allow the user to go back to the
    cmbx_Category_Type box if the user forgot he had to make a selection from that first before selecting the
    Cmbox_IncCategory.
    The error that pops up is “Invalid property value”.
    I tried having text in there to say “please select from Cmbox_IncCategory first, but that didn’t fix it.
    I tried to ‘If error resume next’ but that didn’t like it either. Now I am stumped.
    Main combo box= cmbx_Category_Type
    2nd combo box (displaying a list dependent on what was selected in Main combo box)= Cmbox_IncCategory
    I know there must be a way to fix it so that if a user clicks on the combo box, but doesn’t make a selection it won’t lock up the form.
    Yes, it is a mandatory field, and I was considering using a message box to advise the user that this must be completed, but I am not sure how to do it (and avoid the errors
    Here’s the current code I have for the combo boxes.
    Me.Cmbox_IncCategory = "" 'Clears the contents of the 2nd combobox when another category is chosen
    On Error Resume Next
    'I can't seem to have the Incident Category combobox to be empty when the form is open _
    I have tried Cmbox_IncCategory.Value = "", but I get an error. I then tried Cmbox_IncCategory.text = "" _
    but also get the error. I don't know how else to get it to work .. I tried both codes in the _
    form_initialize, but get an error ... I'm stumped !
    Select Case Me.cmbx_Category_Type
    Case "Crime"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_CRIME"
    Case "Property Damage - Minor - NS"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_PROPRTY_NS"
    Case "Property Damage - Significant - S"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_Proprty_S"
    Case "Safety"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_SAFETY"
    Case "Security Breach"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_BREACH_S"
    Case "Support"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_SUPPORT"
    Case "Vehicle"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_VEHICLE_S"
    End Select
    End Sub
    I’d be really grateful if someone could help me out, or perhaps direct me to where I might find some coding that will achieve the result I am seeking.
    This links to
    My Sample form
    With much gratitude,
    TheShyButterfly
    Hope you have a terrific day, theShyButterfly

    Hi Peter,
    Thank you for your quick response :) Brave man! :)
    Both combo boxes are blank to start with (because nothing has been selected). If I click on the first combo box (cmbx_Category_Type) which lists the main events/category types, but I don't select any thing, and I click in the secondary box
    (Cmbox_IncCategory) and then click on any other control, I get an “Invalid property value” error. When I click OK on the error (a few times) and I return to the code window, it gives no indication where/what is breaking
    the code/causing the error. I have no choice but to exit the form by stopping in the code window.
    If I click on the first textbox, (cmbx_Category_Type), and then do the right thing and make a selection, then I have no problems with the secondary textbox (Cmbox_IncCategory).
    As I am not that up on VBA I am trying to follow your instructions... I have changed the code as follows, removed and replaced the rowsource name, but I encounter the very same problem.
    When I changed my code from Me.Cmbox_IncCategory="" to yours myCombo.ListIndex = -1  (changing the combo box name to reflect my combo box name) and adding the second line of code ...
    Me.Cmbox_IncCategory.ListIndex = 0 I still got the same behaviour and error.
    I even tried moving each row of the named rows down one row (so that there would be a 'blank' row which could be selected to get out of trouble, but it wasn't very successful either.
    Have you opened my form to see what happens, I included the link so whoever was looking at my problem (and yes, I have many I know), could see for themselves what it is doing/not doing.
    The code now reads as below (is this what you meant?) - the results were as I mentioned above.
    Me.Cmbox_IncCategory.ListIndex = -1 'Clears the contents of the 2nd combobox when another category is chosen
    Me.Cmbox_IncCategory.ListIndex = 0
    ' On Error Resume Next
    'I can't seem to have the Incident Category combobox to be empty when the form is open _
    I have tried Cmbox_IncCategory.Value = "", but I get an error. I then tried Cmbox_IncCategory.text = "" _
    but also get the error. I don't know how else to get it to work .. I tried both codes in the _
    form_initialize, but get an error ... I'm stumped !
    Select Case Me.cmbx_Category_Type
    Case "Crime"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_CRIME"
    Case "Property Damage - Minor - NS"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_PROPRTY_NS"
    Case "Property Damage - Significant - S"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_Proprty_S"
    Case "Safety"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_SAFETY"
    Case "Security Breach"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_BREACH_S"
    Case "Support"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_SUPPORT"
    Case "Vehicle"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_VEHICLE_S"
    End Select
    End Sub
    I appreciate your patience :) I am growing in knowledge, but its a slow process. Please let me know if there is anything else I can help clarify for you :)
    This links to
    My Sample form
    Thanking you again
    TheShyButterfly
    Hope you have a terrific day, theShyButterfly

  • HOWTO Get the text of "combo box" and "labe" controls with JavaAccessBridge

    HOWTO Get the text of "combo box" and "labe" controls with JavaAccessBridge.
    Please help,
    I'm trying to use the Java Access Bridge (JAB) 2.1 to get the text in Java Applet controls. I've been able to use the sample code in AccessInfo.cpp sample that comes with JAB to get text from "text" controls in a Java Applet. To clarify, I am referring to the "role" in the AccessibleContextInfo struct being set to "text" or "combo box" or "label".
    The problem is, when I use the AccessInfo.cpp sample to get text from a "combo box", the accessibleText data member comes back as FALSE, and thus any of the JAB text functions like GetAccessibleTextInfo fail to get any text information from "combo box" or "label" controls.
    I've also tried GetCurrentAccessibleValueFromContext on the "combo box" and "label" controls, but the text returned is empty.
    Can anyone help?

    I have new information in regards to this issue. A contact from Sun did get to me in email and relayed that that "label" objects store their text in the "name" data member of the AccessibleContext structure. This was a big help.
    But I'm still stuck trying to get information from "combo box" and other controls, like "push button". The contact said, the Java Access Bridge does not provide all the information because it is already implemented by other interfaces like AccessibleComponent, AccessibleAction, or AccessibleSelection. The contact did not allude to whether these opther interfaces can be used along side the Java Access Bridge or not. So, I'm left a step closer to the goal, but still stuck without the full solution.
    Can one take the Java Access Bridge functions, like say those used in the Ferret sample, and close the gap to get text back from "combo box", "push button", and other controls by using some other API in conjunction?

  • ModifyScript, Prompt and Combo Boxes (SSIS)

    Hi,
    I am trying to populate values into a Combo Box through the ModifyScript
    Prompt() command: However I don't seem to be able to populate the combo box with more than 3 possible values, using the 3 available parameters. If I try and use Array Syntax, the values don't get split out.
    Here's an example of what I mean by Array Syntax:
    Prompt("ComboBox","Here are some values to Choose From",,{A,B,C,D},,,)
    Here is the result; Only 1 available value {A,B,C,D}
    If I omit the {} then it places the values in the available Parameter slots (upto 3), but I need more than just 3 available values for the user to choose from.
    Can anyone move my cloud????
    Thanks

    Yes, that is the way to do it, just don't forget to addChild the mclip as well... here's a quick example using the built-in Tween class...
    import fl.transitions.Tween;
    var mclip:MovieClip = new MovieClip();
    mclip.addChild(aComboBox)
    mclip.addChild(aComboBox2)
    mclip.addChild(aComboBox3)
    addChild(mclip);
    var tw:Tween = new Tween(mclip, "x", null, mclip.x, mclip.x+200, 1, true);

  • How do I change the dimensions of an image? The Image Size dialog box will not allow me to change it

    How do I change the dimensions of an image? The Image Size dialog box will not allow me to change dimensions.  I am taking an online class and the Image Size dialog box looks different than the one I am seeing in Photoshop CC.  It has the option to change the dimensions.

    When you say chage the dimentions, do you mean crop the image and adjust the size of the image at the same time, or do you mean you want to just resize the image?  Can you post a screen shot of what you're trying to do?

  • When I try to send a link via email a lot of incoherent information comes up in the To.... box and not in the body of the email or in the Subject.........

    When I try to send a link via email a lot of incoherent information comes up in the To.... box and not in the body of the email or the Subject.

    Does this happen in Thunderbird? http://www.mozillamessaging.com/en-US/support/
    Or in a web based interface? Then check whether same happens in another browser to see whether that's a browser or website issue.

  • How do you lock the menu bar so it does not disappear as the cursor is moved around?

    How do you lock the menu bar so it does not disappear as the cursor is moved?

    No.... you need a different cover

  • All my Notes disappeared after ICloud upgrade

    All my Notes disappeared after ICloud upgrade. I cannot find them, nor a way to recover them from backups?  Any ideas? This is a BIG hiccup!

    I posted this on another discussion:
    Similar problem:  I was at a store today and went to my Notes on iPhone 3GS to look up information recorded there about medications for an aging parent. I am syncing through iCloud so the same notes are on my iPhone, iPad 1, and desktop Mac (in Mail). I opened one note, but it didn't have the information I needed, so I went back to the main Notes list and picked another of the dozen notes. I was scrolling down through that note and then suddenly....poof....the note was gone. ALL the notes were gone. The note pad said NO NOTES. ***???!!!!
    They were gone from my iPad, too. The notes represent information gathered and organized from multiple years (with no problems until now). The notes are information I NEED. I created a test note, it showed up on my devices. Then I chose to delete it to see if a single key click could do that. The app requires a second click on a Delete Note button as confirmation. And there's no way to delete ALL notes while viewing a single note, deliberately OR accidentally.
    Any suggestions about how to recover the notes lost today? Thanks in advance.

  • After last upgrade Apple TV 3 blue dots not disappearing after podcast is watched. How do I fix?

    After last upgrade Apple TV 3 blue dots not disappearing after podcast is watched. How do I get them to disappear like they always have?

    That crash appears to be casued by the Facebook plug-in.
    Create a new account (systempreferences -> accounts or Users & Groups on 10.7 and 10.8), make a new Library in that account, import some shots  and see if the problem is repeated there. If it is, then a re-install of the app might be indicated. If it's not, then it's likely the app is okay and the problem is something in the main account.

  • HT1694 All of the mail on my iPad and iPhone disappeared after my outlook downloaded. How to I keep mail resident in both places?

    All of the mail on my iPad and iPhone disappeared after my outlook downloaded. How to I keep mail resident in both places?

    I managed to lose an earlier reply I'd started before you came back with your "solved" so I didn't bother to retype it.
    It went something like this:
    You should be able to recover the media with the tips in  this post from forum regular Zevoneer but I'm not sure what the implications are for your application settings. You can probably transfer your purchases into an authorised library, backup the device, recover any other media using third party tools, then restore the device from the backup.
    The older .itl file is useful however as iTunes should see this as the "home" library for your device which will allow you to preserve the application settings. (.itl file? Mac? I assume the library has migrated from PC to Mac at some point). Any files in the Previous iTunes Libraries folder or did you kill those as well? The most recent of these would be the best place to start.
    And no, the .itl file is not editable by mortals...
    Once you've restored the media from backups or recovered whatever else you useful can from the device, the scripts MusicFolder Files Not Added and Super Remove Dead Tracks should help get the library up to speed with the contents of the media folder.
    tt2

  • The MSS ECM FPM Steps are not working after the upgrade

    Hi all,
    The MSS ECM FPM Steps are not working after the upgrade. We use Java Webdynpro and MSS ECM (SP17), version 603.
    On cliking the FPM steps, nothing is happening, however we can navigate using the buttons.
    But this functionality was working before the upgrade.
    Please let me know what should I do.
    Thanks,
    Sarayoodharan.K

    clinet provided in the backend system was not correct during SSO certificate using tx-code strustsso2 -  Cleint should be 000

  • Hello I have a problem with my ipod touch 1G the problem is that see me key to the floor! And when recogi not prendia after 5 minutes prendio but it gave to me the surprise of which the battery had finished completely! What I did was to set it to load wit

    Hello I have a problem with my ipod touch 1G the problem is that see me key to the floor! And when recogi not prendia after 5 minutes prendio but it gave to me the surprise of which the battery had finished completely! What I did was to set it to load with the USB but do not load the battery me the icon of the battery appear and below of her the beam that indicates that this being loaded but this way I have left it the whole yesterday and what goes of today and continues without loading anything! They can help me porfavor I am grateful for them to him very much!   And my PC does not detect it not itunes

    Try the not-charging topic of:
    iPod touch: Hardware troubleshooting
    It could be that the battery is dead.

  • The sound in my IPad is not working after I downloaded the new iOS 7. I tried to reset the IPad to no avail. Could anyone be so kind to help me?

    The sound in my IPad is not working after I downloaded the new iOS 7. I tried to reset the IPad to no avail. Could anyone be so kind to help me?

    I"m going to make the presumption that you've checked the volume and that you don't have it muted. One thing some have suggested is to go into the settings and reset all settings.
    It is kind of a drag because you wil have to retweak everything but it's helped for some.

Maybe you are looking for

  • Quality Certificate Report for Vendor

    Dear Sir, I need a help from your end. I need a program or logic, where I can put the vendor ID,  and get all the Quality certificate details of that particular vendor. Thanks & Regards, Kuntal

  • Java Studio Enterprise 8.1 and jdk1.6 - cannot find symbol

    Hi, I am using subj. The problem I have is that I declared 2-3 classes with methods in one package. I made an object of the class and use intellisense to navigate to the method I need but when I try to compile the code I have "cannot find symbol" err

  • Uploading .wav file from ITunes to IPod as mp3

    All the cd's I have added to Itunes are in the .wav format to achieve highest quality for playing on my pc or other external systems. I would like to download these file to my Ipod as MP3, but cannot seem to find a way to download and convert without

  • Using Stored Procedure in Crystal

    Hi Gurus, I am using Crystal Reports 2008. I have a report which uses the stored procedure named as 'XA'. Now there is another stored procedure named as 'XA_1' which is same as procedure XA with some additional fields. Now I have to point the report

  • ASA PAT UDP source port

    Is there a way to preserve the source port for UDP packets that use a PAT pool? Here is what I need: The client (1.1.1.1) sends a UDP packet from port 5060 to port 5060 on our external 2.2.2.2. This packet is port forwarded to our internal server 10.