ComboBox problems when in a MovieClip loaded at runtime

Hello,
I hope someone out there can help me with this problem: I
have a ScrollPane that contains a MovieClip that to which I attach
several other MovieClips at runtime in response to user inputs
using attachMoveClip() (both MCs are in my library and set to
export for actionscrip in first frame). Each of those MovieClips
contains a ComboBox.
At runtime, I attach the MovieClip containing the ComboBox,
then I set the dataProvider property for the ComboBox to a list
(Array) of data/label value pairs. I then try to set the text
property of the ComboBox to a "Please select a value" message and
then I add a couple of listeners.
Setting the dataProvider property sort of works: the ComboBox
displays the proper dropdown list when clicked, but nothing happens
when I select an item from the dropdown list - i.e., the selected
value doesn't display in the ComboBox's TextField.
Setting the text property doesn't seem to work: the value
doesn't display in the ComboBox's TextField, but oddly, if I trace
the ComboBox's text property, it outputs the correct message.
Also, none of the event handlers work at all.
I tried all of the same code on a ComboBox that isn't created
dynamically, and it all works.
Here's the code. The first set of code is the part I need to
get working. It sets up the ComboBox after the MovieClip it is
contained in is attached to the parent MovieClip. The second set of
code was my test code to see if this worked on a ComboBox that
isn't created at runtime. It all works properly.

Most likely the Combobox isn't fully loaded yet. In your code
check if a property of the cb is undefined using an interval and
proceed with the code when the property is defined.

Similar Messages

  • Security problem when signed applet dynamically load plugins

    Hi!
    I have one problem : "security problem when signed applet dynamically load plugins"
    This is the scenario:
    the main program [app.jar]
    . contain applet and shared library (interface & implement of common class)
    . it is signed and run normally on browser
    . it can draw image loaded from other URL [ex] http://bp1.blogger.com/image.jpg
    . the image loader is in the shared library
    . dynamically load amazon.jar through URLClassLoader and reflection
    the plugin [amazon.jar]
    . search amazon product [ex] Harry Potter book
    . draw image on applet
    . use image loader from shared library, BUT CANNOT LOAD IMAGE
    The question: "Why it cannot load image, because the image loader is in the shared library which has been signed and working?" I tried to sign the amazon.jar too, but it did not work.
    Your reply would be very helpful. Thank you.
    Sovann

    hello. i have create a signed applet for A.jar. A.jar include two package B and C. the main applet class is within B.
    B need some classes in C to run the applet. but i got the error that class in package c are not found.
    what shall i do?

  • Problem when applet going to load local machine jar files

    hi all,
    I have an applet that contains a 'core' module(jar) and 'core dependency' modules(jars).To reduce the applet download time i decided to load some heavy weight and lesser use 'core dependency' jars from local machine and core jar module and other low weight and highly use 'core dependency' jar modules from applet archives. I use the same class loader that used to load the applet archives for load local machine 'core dependency' modules.
    eg- this.getClass().getClassLoader().loadClass("class")
    When applet starts, Local machine 'core dependency' jar modules start loading but it couldn’t find classes in the core module (that download from archives) and stop the loading applet . But when i run that applet using IDE it is work fine. Please someone help me to solve this problem.
    Exception in thread "thread applet-com.dfn.pro.ui.UIContext-1" java.lang.NoClassDefFoundError: com/dfn/pro/plugins/dataupdate/UpdatableTable
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$000(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at com.dfn.pro.plugins.JarClassLoader.invokeClass(Unknown Source)
    at com.dfn.pro.plugins.PluginContext.loadPlugins(Unknown Source)
    at com.dfn.pro.plugins.PluginContext.analyzeDependancies(Unknown Source)
    at com.dfn.pro.plugins.PluginContext.<init>(Unknown Source)
    at com.dfn.pro.plugins.PluginContext.getPluginContext(Unknown Source)
    at com.dfn.pro.ui.UIContext.init(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ClassNotFoundException: com.dfn.pro.plugins.dataupdate.UpdatableTable
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)

    eg- this.getClass().getClassLoader().loadClass("class")Try using Thread.currentThread().getContextClassLoader() instead of this.getClass().getClassLoader().

  • When I try to load an image from the scanner, or from a file, into a bank deposit script, I get a message - "Error Java heap space". Need help to diagnose and fix this problem.

    I am running a script from my banking facility which asks me to load an image of the front and back of the check. I never had a problem before, but this time when I try to load the images either directly from the scanner, or from previously saved jpg files I get an error window message that says - Error Java heap space,
    Ed Marcato

    I am running a script from my banking facility which asks me to load an image of the front and back of the check. I never had a problem before, but this time when I try to load the images either directly from the scanner, or from previously saved jpg files I get an error window message that says - Error Java heap space,
    Ed Marcato

  • I get a assertion error when trying to up load adobe lightroom have followed the instruction on the adobe site to fix the problem

    i get a assertion error when trying to up load ,lightroom have follow the instructions on the adobe site and it still does not work
    and ideas on how to fix the problem
    tk
    bigguy1965

    Hi,
    Can you Please provide Configuration of your XP, Win7 Machine [How to post a screenshot in the forum]?
    To check if Windows 7 Service Pack is already installed, follow the below steps:
    Click the Start button , right-click Computer, and then click Properties.
    The basic information about your computer page will open.
    To check if Windows XP Service Pack is already installed, follow the below steps:
    Click the Start button , right-click Computer, and then click Properties.
    Click System and Service Pack Information will be listed
    Please also attach log [Where do I find the Flash Player installation log on Windows?], [How to share a document] and Share the Current Version of Flash Player goto - [https://helpx.adobe.com/flash-player.html] and click on Check Now button, using about method can you place the screenshot.
    Meanwhile you can also try cleaning Application Temporary Data and Try again. [c:/users/username/appdata/local/temp folder - Microsoft Community], Due to some reason the Installer file is getting corrupted which might be blocking Flash Player Installation. After cleanup try using the offline Installer [Installation problems | Flash Player | Windows]
    Thanks
    Piyush

  • SQL LOADER Problem when data is loaded but not come in standard formate

    Hi guys,
    I got problem when sql loader run data loaded successfully in table but UOM data not come in standard formate.
    UOM table column contains the Unit of measure data but in my excel sheet it's look like :
    EXCEl SHEET DATA:
    1541GAFB07080          0     Metres
    1541GAFE10040          109.6     Metres
    1541GAFE10050          594.2     Metres
    1541GAFE10070          126.26     Metres
    1541GAFE14040          6.12     Metres
    1541GAFE14050          0     Metres
    1541SAFA05210          0     Metres
    1541SAFA07100          0     Metres
    1551EKDA05210          0     Nos
    1551EKDA07100          0     Nos
    1551EKDA07120          0     Nos
    1551EKDA07140          0     Nos
    1551EKDA07200          0     Nos.
    1551EKDA08160          0     Nos.
    1551EKDA08180          0     Nos.
    1551EKDA08200          0     Nos.
    1551EKDA10080          41     Nos.
    1551EKDA10140          85     Nos.
    .ctl file :
    OPTIONS (silent=(header,feedback,discards))
    LOAD DATA
    INFILE *
    APPEND
    INTO TABLE XXPL_PO_REQUISITION_STG
    FIELDS TERMINATED BY ','
    OPTIONALLY ENCLOSED BY'"'
    TRAILING NULLCOLS
    ( ITEM_CODE CHAR,
    ITEM_DESCRIPTION CHAR "TRIM(:ITEM_DESCRIPTION)",
    QUANTITY,
    UOM,
    NEED_BY_DATE,
    PROJECT,
    TASK_NAME,
    BUYER,
    REQ_TYPE,
    STATUS,
    ORGANIZATION_CODE,
    LOCATION,
    SUBINVENTORY,
    LINE_NO,
    REQ_NUMBER,
    LOADED_FLAG CONSTANT 'N',
    SERIAL_NO "XXPL_PRREQ_SEQ.NEXTVAL",
    CREATED_BY,
    CREATION_DATE SYSDATE,
    LAST_UPDATED_BY,
    LAST_UPDATED_DATE,
    LAST_UPDATED_LOGIN
    Some output came in table like:
    W541WDCA05260 0 Metres|
    W541WDCA05290 3 Metres|
    W541WDCA05264 4 Metres|
    W541WDCA05280 8 Metres|
    1551EADA04240 0 Nos|
    1551EADA07100 0 Nos|
    1551EKDA10080 0 Nos.|
    1551EKDA10080 41 Nos.|
    proble in | delimiter...how to remove it ' | ' from my table when sqlloader program runnig ...... where i can change in .ctl file or excel file....it's urgent guys olz help me ..
    thanks

    Hi,
    How are you extracting the data to Excel sheet ?
    Please check the format type of the column in Excel sheet for UOM.
    There is no issue in the SQL loader control file, but issue is there in your source excel file. (Try using a different method to extract the data to Excel sheet.)
    Regards,
    Yuvaraj.C

  • My iphone 3g wont load all comments from online newspaper. when I touch the "load more comments" button the little spinning spiral appears then nothing happens. Anyone else have this problem with some online newspapers?

    My iphone 3g wont load all comments from online newspaper. when I touch the "load more comments" button the little spinning spiral appears then nothing happens. Anyone else have this problem with some online newspapers?

    Anything?

  • GenericServiceFactory initialization problem when trying to load Web servic

    Hi,
    I am making a Guided procedure that calls a webservice. I have created a new Destination Template and was able to load the webservice definition successfully, but when I test the callable object I created for that same webservice y get the error:
    GenericServiceFactory initialization problem when trying to load Web service model for WSDL.
    Somehow I think there is something wrong with the user authentication. The Destination template has a user and password but somehow I think the callable object test is not using this information at all.
    Can anyone help ?
    Thanks in advance

    Hi Hans,
    Have you verified if you can call any external web service calls from your J2EE engine?  Go into the SOA Management / Global settings (if you are on CE - if you're on 7.0 it's in manage WS desintations).
    Look at your proxy settings and set them like your web browser that enables external calls.  For example, in the SAP network I set my global proxy settings on my local J2EE engine to be:
    Proxy host:  proxy
    Proxy port: 8080
    Exclude list:  *.sap.corp
    Does that make sense - have you verified if your settings are correct for your company?
    Regards
    Ginger

  • I keep losing entire catalogs. I put in 30,000 images and cannot get to them. Put in 3,000 images and get error message "LR encountered error when reading its previous cash and needs to quit. LR will fix this problem the next time it loads.' I  have loade

    I keep losing entire catalogs. I put in 30,000 images and cannot get to them. Put in 3,000 images and get error message "Light room encountered error when reading its previous cash and needs to quit. light room will fix this problem the next time it loads.'
    I  have loaded light room several times and even exited computer for 8 hours. Still get error message

    A search of this forum shows lots of threads where this issue of "error reading cache" is solved

  • I have a problem when I loading application. It shown your payment method was declined due to last payment problem which I've already  paid.

    I have a problem when I loading application.
    It shown your payment method was declined due to last payment problem
    which I've already  paid.

    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

  • Problems when load testing a cluster on CSS11501

    Hello there,
    I have the following setup:
    INTERNET <--> CSS11501 <----> SERVER CLUSTER
    Vlan address of server cluster is in the same subnet of that of the CSS. server's gateway is IP of CSS. My problem is when we do load testing on each server, it goes well with no errors. but when we do the load testing using the VIP address of the cluster, the load testing app gets a timeout when getting the flash content of the cluster.
    my config on the content is:
    content BGUIDE_NEW
    vip address 192.168.8.4
    protocol tcp
    port 80
    balance leastconn
    advanced-balance sticky-srcip
    add service SRV1
    add service SRV2
    add service SRV3
    add service SRV4
    active
    Is there anything lacking in my content config that I need to do? Where else in the config do I need to look at.
    Thanks in advanced.
    JC

    Testing tool is outside the subnet/network. Only the particular file cannot be loaded. I haven't used any sniffer programs yet. Should I install it on one of the server in the cluster? What do I look for on the trace.
    Sorry about this. I haven't used sniffer programs yet.
    Thanks

  • Refresh event problem, when using anything other than on-load

    I am attempting to create a series of sequential xml loads, without any user interaction.
    I.E. xml1 contains the location of xml2, and xml2 contains the location of xml3, so the next must wait until the prior xml has been loaded.
    It is impractical to use dropdown lists or refresh buttons to update these - (they should all happen behind the scenes as they are just loading selections that change depending on the user privileges).
    While my desired refresh-event is the when-value-becomes, I have tested when-value-changes, and found the same problem.
    When I set these to automatically chain through (xml1 is set to refresh-on-load, xml2 is set to load by a trigger cell that equals "load" if there are values loaded from xml1, and so on) - the conditional refresh events do not fire.
    When I use a manual refresh button, they load without a problem, and when I use a dropdown list to test the on-change or value-equals logic, this loads correctly too. So the problem is specifically during the intial load-up point, and is reproducable in any new xcelsius project I create.
    To state the problem precisely, during the initial loading phase of xcelsius, the logic behind when-value-changes and when-value-equals load events does not seem to execute - however after the initial load, they fire correctly based off user input.
    Is there any workaround or solution? If any clarification is needed, let me know where.

    May not be your exact issue, but something similar -
    Only a problem w/SP3 - I used dynamic visibility to hide two connection refresh buttons that were loading data after components finished. They stopped working until I turned the dynamic visibility off and just hid them behind other layers. Confirmed by revealing them after load and the triggers ran appropriately. May not be the issue (since you didn't mention visibility), but worth a try.

  • My problem is a sudden loss of ability to get to PSE12 Organizer when I tried to load a saved scan. Had been using the Organizer and the Editor with no problems for several hours just before that.     Can not load the Organizer from the icon at the bottom

    My problem is a sudden loss of ability to get to PSE12 Organizer when I tried to load a saved scan. Had been using the Organizer and the Editor with no problems for several hours just before that.  
    Can not load the Organizer from the icon at the bottom of  Editor screen, from the icon on the MacBook Air dock (OS 10.10.2),  nor from the file in applications located with Finder.
    I have tried without success to access Organizer after turning off and on the scanner, turning off and on the computer, loading a fresh copy of PSE12 from the CD, and restoring default preferences.  I have searched on line for other options but not  found any. 
    Can you help me?

    Not Charge
    - See:    
    iPod touch: Hardware troubleshooting
    iPhone and iPod touch: Charging the battery
    - Try another cable. The cable for 5G iPod (lightning connector) seems to be more prone to failure than the older cable.
    - If a 5G iPod               
    Iphone 5 lightning port charging problem - SOLUTION!
    - Try another charging source
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar

  • Problem when loading from ODS to the CUBE

    Hi Experts,
    I am facing an unusual problem when loading data from ODS to the cube.
    I have a first level ODS where the delta postings are updated. I have checked the active table of the ODS and the data is accurate.
    I have deleted the entire data from the Cube and trying to do a full load from ODS to the CUBE.
    I am sure when I run a full load the data goes from Active table of the ODS.
    After the full load the the keyfigure values are 0. I have tried doing the testing by loading couple of sales documents and still the keyfigure values are 0.
    I wonder when I load the full. The data should be picked exactly the way it is in active table of the ODS.
    I also dont have any fancy routines in the update rules.
    Please help me in this regard.
    Regards
    Raghu

    Hi,
    Check the procedure did u do that exactly or not. just follow the the laymen steps here:... and let me know ur issue
    o     First prepare a flat file in Microsoft excel sheet for master data and transaction data and save it in .CSV format and close it.
    o     First select info objects option and create info area then create info object catalog then char, & key figure. Then create ‘id’ in Char, Name as attribute activate it then in key figures create no and activate it.
    o     In info sources create application component then create info source with direct update for master data and flexible update for transaction data. The flat files would be created for master data create info package and execute it.
    o     For transaction data go to info provider then select the file right click on it then select option create ODS object. Then a new screen opens give the name of the ODS and create other screen opens then drag character to key fields.
    o     Activate it then update rules it will give error to it then go to communication structure and give 0Record mode then activate it then go to update rules it will activate it.
    o     Then go to info source then create info package then external data then processing update, Data targets then the scheduling then click start then the monitor.
    o     Then other screen opens there we can see if we doesn’t able to see the records then come back to the info provider right click on it then other screen opens then select the option activate data in ODS then a screen opens.
    o     so select the option QM where it would be in a yellow co lour then by double click then another screen opens then select green color option then click continue it and it comes to the previous screen then select the option and click save it would be underneath of it just click it up and close it.
    o     Then come back to the main screen to the info source to the info package go to the package and right click on it then a screen opens then click schedule without distributing any of the tab directly click the monitor tab. Then refresh it until the records come to the green.
    o     Once it is green the click the data target and see the file executed.
    o     Now go to the info provider then a right click on the file name then create info cube. Then a new screen opens and gives the name and activates it. The drag the key figures to the other side, time characteristics to the other side, and chacetristics to the other side.
    o     Then create the dimension table then assign it and activate it .Then go to file name right click on it then select the option create update rules select ODS option and give the file name and activate it .
    o     Then come back to the main screen and refresh it. Whenever you see 8 file names you will know that it is undergoing the data mart concept.
    o     In the main screen click ODS file right click then a pop up screen opens select the option update ODS data target. Then another screen opens in that we are able to see 2 options full update, initial update then select initial update.
    o     Then another screen opens info Package there the external data , data targets , scheduler select the option later in background option then a another screen opens just click immediate then click save automatically it closes then click start option.
    o     Then select monitor option then the contents then the field to be elected then the file to be executed.
    regards
    ashwin

  • Just upgraded to firefox 4 and websites are now taking ages to load, there were no problems when I downloaded the upgrade. Is there a fault with the new version of firefox?

    Just upgraded to firefox 4 and websites are now taking ages to load, there were no problems when I downloaded the upgrade. Is there a fault with the new version of firefox?

    Did you check your security software (firewall)?
    A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process.
    See:
    * [[Server not found]]
    * [[Firewalls]]

Maybe you are looking for

  • Managing Metadata in Digital Libraries within Lightroom for Upload to WordPress

    I have been researching SEO tips for my clients to build their image libraries and fill in all of the pertinent meta data. Unfortunately, I have not been able to find a workable solution to categorize the images and retain the metadata after uploadin

  • Folder with question mark + wont boot from disk

    Hi I am trying to reinstall a powermac g5 from the disk, using a old hard drive that works.. (formatted in NTFS) (hoping that when selected to boot from disk, mac will then erase and reformat it)this image is presented when i hold down the option key

  • How to edit the final output ?

    I have recorded the instructions using Captivate 5, using application mode. I just realized that, i do not want the users to view the entire application. Instead i want them to view only a portion of the application. I do know that there is an option

  • Consideration during Multiple ECC systems with One APO system for PP/DS

    Hi All,           We have a scneario that Multiple ECC systems and Third party ERP systems and Legacy systems .What are the points to be considered for this scenario when using with PP/DS?

  • Updater Doesn't Update

    I try to run the Software Updater and it gets about 1/4 of the way and then just sits there. Any suggestions?