Flash combo box component

I have created an application that requires the flash combo
box component but i dont know how to code it. Any help?
I want each label to goto a certain frame when clicked.
Jak.
Cheers if you can help

Drag a combo box onto the stage.
Give it an instance name (myCombo)
Click properties and add the labels
Add the frame numbers you want to jump to as data
Add to frame actions

Similar Messages

  • Bugging Array by using COMBO BOX component !!!

    Hi,
    Today, I create a flash with Array. I did use prototype
    method to add one more fantastic function to sort the array
    randomly. But when I include one combo box component with static
    value in to the parent file, I have a big trouble. The flash file
    stop running & give the alert of endless looping. Ah ha, what a
    funny thing is happened out there?
    If you want to produce this bug, please follow me.
    Step1: Create 1 flash movie & name it "test.fla". Copy
    the code below into the first frame.
    Array.prototype.randomSort = function():Array {
    var arr1:Array = this;
    var arr2:Array = new Array();
    var rand:Number;
    while (arr1.length>0) {
    trace(arr1.length);
    rand = Math.floor(Math.random()*arr1.length);
    if (rand == 1 && arr1.length == 1) {
    rand = 0;
    arr2.push(arr1[rand]);
    arr1.splice(rand, 1);
    return arr2;
    Step2: Export the movie by Ctrl+Enter -> we will have
    test.swf huh?
    Step3: Create another flash & name it "main.fla".
    Step4: In main.fla, create an empty movieclip symbol &
    name it loader_mc. Drag it to the stage & five the instance
    name "XXXloader_mc" for example.
    Step5: In main.fla, Drag one combo box component to the stage
    & add some data to the combo
    Step6: In the first frame of main.fla, load the test movie
    into XXXloader_mc. Try this
    XXXloader_mc.loadMovie("test.swf");
    Step7: Export main.fla. Ctrl+Enter again.
    Congratulation, you are in the problem.

    both together caused the problem and i don't see a problem
    with your randomSort() method although destroying the original
    array seems like a bad idea and is one of the 2 reasons for your
    problem:
    one, the combobox is executing your method (and every other
    array prototype method that exists) every time it's clicked. that
    looks like a bug in the combobox component.
    and two, your prototype is causing a problem because it
    destroys the arrays that call your method.

  • To filter data in two dates using combo box component

    Hi,
    I have a requirement like, i need to filter data in chart between two dates from two combo box.. From combo_box and To combo_box.
    I am using one QaaWS to populate LOV's into Combo box's and another QaaWS for chart data. Universe is the same one on SAP  BI query.
    LOV's are populating into both combo's and chart as well, i used a query refresh button after choosing two dates and press button.
    Data is not reflecting as per the choice of dates.
    If any one have such scenario, request you to share the same....
    Thanks in advance...
    Raj..

    Problem is with ranges, not with dates, my data is working fine with CALDAY (in BI Query)....
    My query variable is on FiscalPeriod month, like "FEB 2011"  to "OCT 2011" and is optional, but it is fails in QaaWS to execute when i try to input any months.
    If we give default values in BI query format is like K4/010.2011 for october month. QaaWS doesnt fail and executes, but if i change any value in QaaWS it is taking as "OCT 2011"
    And in Xcelsius it is not recognizing eaither of the formats like, K4/010.2011 or "OCT 2011"
    the format is not matching with xcelsius.

  • Help with Combo Box Component

    I am creating an application with comboboxes and using action
    script to load them. I can figure out how to change text color of
    the choices in the combo box, but can anyone tell if it is possible
    to make the text choices appear as different colors. For instance
    if I wanted all of the choices to be black text, but for the third
    choice down to appear red.
    Thanks for the help.

    You can set the backgroubd color if that helps.
    To set the second item to have a red background, attach this
    to the combobox:
    on(open){
    dropdown.setPropertiesAt(1,{backgroundColor:0xFF0000})
    }

  • Combo Box Component

    Hi all,
    I am trying to figure out how to put a comboBox in my Flash
    form and normally I just use something like:
    countryList.dataProvider = ["Country1", "Country2",
    "Country3", "Country4"];
    var listenerObject:Object = new Object();
    listenerObject.change = function(evtObj:Object) {
    // code placed here executes
    // when the event is triggered
    trace("Selected Item: "+countryList.selectedItem);
    countryList.addEventListener("change",listenerObject);
    This will give me the selected item's value which I can chuck
    in a variable and send off to my form...
    Well that is usually good enough but now I want to have a
    Label AND a Value so that when the user does the drop down they see
    the Label but I am actually sending the Value. I am messing around
    with the Flash Help code and I kind of see how this is working yet
    I can not get at the data I need which is the Value not the Label.
    my_cb.dataProvider = [{name:"Gary", gender:"male"},
    {name:"Susan", gender:"female"}];
    my_cb.labelField = "name";
    var listenerObject:Object = new Object();
    listenerObject.change = function(evtObj:Object) {
    // code placed here executes
    // when the event is triggered
    trace("Selected Item: "+my_cb.selectedItem);
    my_cb.addEventListener("change",listenerObject);
    Any help on this would be greatly appreciated.

    > You would think there was something easy to allow for a
    label being
    > different
    > from the variable I'm sending. All I want to do is make
    the drop down menu
    > say
    > "Afghanistan" while I am sending the form data "AF" to
    the .php script
    > that
    > will save the data to a mySQl database. I can easily
    send the name of the
    > country (Afghanistan) as thats the name of
    my_cb.selectedItem. I'm just
    > not
    > sure why it is so difficult to send the value (AF)
    instead. I'm just not
    > getting it.
    Did you put the code I supplied in the event handler?
    var listenerObject:Object = new Object();
    listenerObject.change = function(evtObj:Object) {
    // code placed here executes
    // when the event is triggered
    trace("Selected Item Data: "+my_cb.selectedItem.data); //Put
    code here
    Dan Smith > adobe community expert
    http://www.dsmith.tv

  • Combo box component reset

    once an item is selected. the component is still set on that
    option so if I choose that option again it doesn't do anything.
    How do I reset it?

    > You would think there was something easy to allow for a
    label being
    > different
    > from the variable I'm sending. All I want to do is make
    the drop down menu
    > say
    > "Afghanistan" while I am sending the form data "AF" to
    the .php script
    > that
    > will save the data to a mySQl database. I can easily
    send the name of the
    > country (Afghanistan) as thats the name of
    my_cb.selectedItem. I'm just
    > not
    > sure why it is so difficult to send the value (AF)
    instead. I'm just not
    > getting it.
    Did you put the code I supplied in the event handler?
    var listenerObject:Object = new Object();
    listenerObject.change = function(evtObj:Object) {
    // code placed here executes
    // when the event is triggered
    trace("Selected Item Data: "+my_cb.selectedItem.data); //Put
    code here
    Dan Smith > adobe community expert
    http://www.dsmith.tv

  • Help with Radio Buttons & Combo Box for Flash Form that sends email

    I'm having a bit of a hard time with a Flash form that I'm working on.
    I've got the basic text fields working fine, but I'm not sure how to retrieve the values from the Radio Button and Menu List components.
    The PHP script pulls the values from the text fields with:
    $contact_name = $_POST['name'];
    $contact_email = $_POST['email'];
    $contact_subject = $_POST['subject'];
    but using
    $radioGroup = $_POST['radioGroup'];
    doesn't retrieve the selected radio button value.
    The radio buttons have a groupName of "radioGroup". The combo box component doesn't even show up in the HTML version, but does in the .swf.
    Can anyone point me in the correct direction to pull these values from these components and get them passed to the PHP form? The native .FLA and the php file are here for reference:
    http://dl.getdropbox.com/u/21984/flashform.zip
    My solution needs to be ActionScript 2.
    Thanks!

    again, you assign a variable.  the selected radiobutton's data and/or label isn't going to magically be sent to the php file.
    for example, if you have sendLV and receiveLV loadvars instances, you can use:
    sendLV.rbData=yourradiogroup.selection.data;
    sendLV.yourothervariables=yourothervariables;
    sendLV.sendAndLoad("yourphp.php",receiveLV,"POST");

  • Increasing row capacity of any excelcius component (Filter ,Combo Box)

    Hi
    Even though I have increased the capacity of Dashboard rows capacity from 512 to 2000.
    But my filter component or combo box component source data is mapped to more than 512 rows in the spreadsheet,while previewing it still shows data of 512 rows.
    Is there any way to increase component capability?
    I know the performance will be bad but still atleast it should capture the whole source data records and

    It could be two reasons
      First Reason: it could be due to the limit of no of rows in excel .Please check the preferences option in Xcelsius . By default it will be set as 512 rows of data increase that to required rows.
       Second Reason: if you are using live office in Xcelsius.By default it will fetch 512 rows of data.To increase limit we have to do some server side settings.Please refer to the following SAP Note which gives the solution to this problem.
      SAP Note:1307538
      or go through the following steps:
    These changes have to be made on the server side
    1.     Create a backup of dsws-liveoffice-provider.jar from serveru2019s InstallDrive:\program files\business objects\Tomcat\webapps\dswsbobje\WEB-INF\lib for future reference.
    2.     Copy dsws-liveoffice-provider.jar from serveru2019s InstallDrive:\program files\business objects\Tomcat\webapps\dswsbobje\WEB-INF\lib to your computer.
    3.     Rename the file just copied to dsws-liveoffice-provider.jar.zip (add.zip to end of filename)
    4.     Create folder in root of InstallDrive: named META-INF (case sensitive), in InstallDrive:\META-INF named BusinessObjects (case sensitive) and in InstallDrive:\META-INF\BusinessObjects named DSWS (case sensitive)
    5.     Using WinZip or WinRAR, unzip the file named liveoffice_config.properties from the dsws-liveoffice-ws.jar.zip file copied from the server. Place this file in InstallDrive:\META-INF\BusinessObjects\DSWS.
    6.     Edit the liveoffice_config.properties file and find the following section:
    #max number of range rows and range columns to return
    maxRowCount=512
    maxColumnCount=512
    7.     Edit the maxRowCount entry to the value youu2019d like to use
    8.     Save the file as liveoffice_config.properties (same filename)
    9.     Using winRAR or WinZip add the new liveoffice_config.properties file back to dsws-liveoffice-ws.jar.zip, making sure to use the "use absolute path" option.
    10.     Stop Apache Tomcat service on BO server
    11.     Copy dsws-liveoffice-ws.jar.zip to serveru2019s InstallDrive:\program files\business objects\Tomcat\webapps\dswsbobje\WEB-INF\lib.
    12.     Rename dsws-liveoffice-provider.jar in serveru2019s InstallDrive:\program files\business objects\Tomcat\webapps\dswsbobje\WEB-INF\lib directory to dsws-liveoffice-provider.jar.old.
    13.     Rename dsws-liveoffice-provider.jar.zip in serveru2019s c:\program files\business objects\Tomcat\webapps\dswsbobje\WEB-INF\lib directory to dsws-liveoffice-provider.jar
    14.      Empty the Tomcat cache by deleting the content of the folder <<C:\Program Files\Business Objects\Tomcat55\work>>
    15.     Restart Apache Tomcat on server
    This should increase the number of rows fetched by LiveOffice, however it may happen that changing the number of rows in the liveoffice_config.properties many times may result in liveoffice picking the data from the cache. Hence deleting the cache (C:\Program Files\Business Objects\Tomcat55\work) is necessary. Incase deleting the cache also doesn't work, we may have to redeploy the dswsbobje folder.
    To redeploy, follow the steps given below:
    1.     Go to C:\Program Files\Business Objects\Tomcat55\webapps and keep a backup of the dswsbobje folder.
    2.     Now delete this folder and restart Tomcat.
    3.     Restarting Tomcat will recreate the dswsbobje folder but will again default the number of rows fetched by LiveOffice to 512.
    4.     We will again have to follow the steps mentioned in the start to increase the number of rows from 512 to the desired value.
    5.     Restart Tomcat again for the changes to take place.
    Note: Increasing the number to large values might cause inconsistency in the behavior or instability.

  • Combo-box format static

    I tryed posting this question before with no success, so I
    thought I would
    re-explain.
    i am using a combo box component (using flash mx 2004 pro)
    and have been
    able to customize the fonts, colour, etc. of the list once
    the user clicks
    on the combo box, but can not figure out how to make the
    initial combox
    box text use the embedded font. Any suggestions?
    You can see the combo box in question at :
    63.134.206.80/FRAM-email.html
    thank you
    Tim

    Thanks, that worked great! one more quick question, is there
    a way to
    actionscript the component so that the comboc box doesn't
    have rounded
    corners when it's not selected?
    In article <f2955i$7q1$[email protected]>,
    "proPingu"
    <[email protected]> wrote:
    > _global.style.setStyle("color", 0x0000FF);
    > _global.style.setStyle("themeColor", 0xFFCC00);
    > _global.style.setStyle("fontSize",12);
    > _global.style.setStyle("fontFamily" , "Century Gothic");

  • Combo Box doesn't persist data insertion settings

    Hi,
    I'm simply trying to setup a combo box that places the selected label into a destination table cell. I've tried about every combination possible to simply add a data insertion series. Please note, I AM clicking the plus button to add it to the list shown to the left of the settings. Unfortunately, everytime I have the series added and I click away from the selected combo box it loses the settings I just provided.
    Has anybody else had these frustrating issues with the combo box component?
    Thank you.

    Greg,
    The combo box component can be a bit fiddly at times. It would help if you let me know which version of Xcelsius you are using.
    In any case if you are simply trying to insert the label to a destination you dont need to bother with the series at all. Try it in this order:
    1) Drag a combo box component
    2) In combo box properties pane and click on the range select button beside Labels
    3) Select the range in your excel sheet that has the labels and click OK
    4) Go back to the properties pane and choose Insertion Type: Label
    5) Click the range select button beside Destination and select a cell
    6) To test it drag a Text -> Label compoent in and point it to the destination cell you selected in step 5.
    7) Preview to see if all is in order
    Let me know how you get on.
    Cheers,
    Ryan

  • Locating on a location on GMap using combo box using SDK

    Hi All,
    I have a requirement to locate a city on google map using combo box. I want name of cities to appear in combo box and on selecting a city, map should be able to locate that city. This combo box will be visible on map itself. Combo box can be a component of either Xcelsius or Flex Builder.
    I think combo box dragged from Xcelsius component panel not able to communicate with google map which is embedded in form of swf through manage and packager.
    So, I tried with Flex Builder combo box component, but not able to done it. I am not getting the flow how to communicate between combo box and google map.
    I can locate a particular city giving a latitude and longitude through propertysheet.
    Please, if anyone could help me out asap.
    Thanks in advance!

    Hi Monammed,
    The said functionality should work. Please check your logic one more time. Also, try using some spreadsheet components mapped to the cells in question and understand how the data is flowing during run-time. This will help you test things. Delete spreadsheets when you are done with identifying the issue.
    Lets check the combo box mapping one more time : Map the source of the combo to the entire range; labels in the combo box ONLY to the country column in the source range(typically this may be the left most column in the range); selected item should be mapped to the cell that has the destination for the icon and the type for default selection may be dynamic. Well, if there is any hard-coding of values involved anywhere, do check the spellings and other trivial things.
    Do let me know if this was helpful and if you need any more help.
    Thanks,
    Prasanna

  • Combo box bug

    When I make a selection in my combo box component the opened
    selection box closes however the border of the selection box
    remains visible.
    How can I resolve this?

    After troubleshooting I noticed that this only happens when I
    have deselected the "export in first frame" checkbox in the
    combobox linkage identifier. (had to uncheck this box to set up my
    preloader)
    It would be fantastic if someone could tell me whats going on

  • Flash ph mysql combo box

    hey. need some help please. ive managed to get info from a
    mysql database into flash in a combo box. i have a text field and i
    want it to load in the corresponding data when a new title is
    selected in the combo box.
    any body help please?
    Matt

    You use the
    ComboBox.change
    event to respond to the choice. There is a good example at the
    link in the last sentence.
    As far as what you do in the change handler depends on your
    data:
    1. You can download all that data when you download the items
    for the combo box. You can store the values related to the item in
    the combobox in the data parameter. See
    ComboBox.additem.
    For example: comboBoxInstance.addItem({label:label[, data:data]}).
    Then using
    ComboBox.selectedItem
    you can get the data and populate other items in the change event
    handler.
    2. You only have key values stored as data in the combobox
    item. Then in the change handler you go to the server and fetch the
    data selected and then populate the other objects.
    The first way is preferable if the amount of data is
    reasonable because it requires downloading all the needed data for
    all the items all at one time. The second way is necessary if the
    data is excessive to be downloaded all at once.

  • Tab Component Dynamic Visibility to Combo Boxes

    I am using a Tab component.  I have 3 tabs on my dashboard.  I have 2 Combo boxes that I am using to filter rows of data on 3 Excel sheets.  Both Combo boxes are not used on all the tabs.  How can I pass example: User clicks on Tab 1 and use dynamic visibility for Combo Box 1 and Combo Box 2 are visible.  If the user clicks on Tab 2 I want only Combo Box 1 to be visible.

    Hi Joe,
    This can be achieved in Dynamic visibility.
    On click on Tab,just map to some target(say value "1") and then For Combo box,set target cell mapped for tab to 1,which means when the target cell gets "1",show the Combo box.
    If you are not clear then you can refer the following URL,which will give you more informations about this.
    http://everythingxcelsius.com/2008/08/tip-7-xcelsius-dynamic-visibility-video-tutorial.html
    Rgds,
    Murali

  • Flash Lite 2 component:XML List Box Lite for Dynamic Flash Lite 2 application

    XML ListBox Lite is the Flash Lite UI component lets you
    create XML driven dynamic lists for your Flash Lite 2 mobile
    applications!
    XML ListBox Lite is a Flash component for Flash Lite 2.0
    application development for mobile phones. Creating a lightweight
    dynamic list box for Flash Lite application becomes as easy as a
    snap using this component. Now no more the Flash Lite application
    developers need to be worried about creating dynamically populated
    list box that will work on nearly every symbian series 60 models
    which support Flash Lite 2.0.
    XML ListBox Lite comes handy when you plan to create a
    dynamic list which is populated with the data sourced from a simple
    XML file , such creating a play list for your Flash Lite MP3 Player
    application, creating a list for a shopping catalogue etc.
    XML ListBoxLite is a complete solutions for creating
    customized xml driven dynamic lists in Flash Lite 2 mobile
    application development.
    The basic features of the component are:
    Create Unlimited Number of Tabs: XML ListBoxLite can populate
    any number of tabs and provides proper visualization and navigation
    of these tabs.
    Fully Functional Scrollbars: The scrollbars position ratio is
    auto adjusted by the number of tabs that appear in the list, which
    gives the users whether any tabs are left in the list to scroll.
    Display Tabs as per needs: This list component allows you to
    display any number of tabs from the range of 8, 4, 2 and 1, at any
    instance. This serves the need for example when you have more text
    to display you can choose 4 or 2 tabs so that you need not
    compromise on the content side.
    Customize the Look and Feel: You can set any color as
    parameters for different elements of this list component so that it
    will fit your application seamlessly.
    Virtually zero time to implement: This component does not
    require any extra programming in FlashLite 2.0 Action script to
    display your contents. Just update the xml list and it is ready for
    use.
    Lightweight and User friendly: XMLListBoxLite offers you
    great glossy look and advanced features within just 17 KB . The
    user experience is also magnetic.
    More details at:
    http://esspl.com/flashcomponents/xmllistboxlitehome.asp

    Hello there,
    I am have a similar kind of problem. I am trying to run a video on Pocket PC (WM5) using video.play() method on FlashLite 2.1. It works fine in Device Central and my Nokia mobile (symbian OS with default FlashLite 2.1). Video is obviously embedded in FlashLite 2.1 and was originally in *.3gp format.
    Can you please help me where I am going wrong or what am I missing ?
    As ever,
    Vinayak Kadam

Maybe you are looking for

  • Report 10g graph problem

    i have a problem in graph wizard in reports 10g when i want do display more than 3 diferent data in plot areao of graph wizard only first 3 rows can be seen and adjusted, others can not. is there a way to see and adjust more then 3 rows in plot area?

  • Vendor Master Rec. Attachmnt: Create ext. doc. URL addr. binary translation

    After we have attached a document to a Vendor Master Record using transaction code XK02 by path of Services of Object --> Create --> Create external document (URL), we see that table: SRRELROLES (Object Relationship Services - Roles) and table: SRGBI

  • Export scenarios from XI and import them into PI

    Dear experts We are planning to upgrade our exitsting XI 3.0 to PI7.0. Due to system requeriments, we need to install PI on new hardware and migrate all the existing scenario's from XI 3.0 PI7.'0 How to migrate the existing ABAP developements from XI

  • Translate Stored Procedure from MS SQL Server to ORACLE 9i

    Hi... I work usually with MS SQL Server, and now I need to migrate an application from MS SQL Server to ORACLE 9i. I think to preserve most of User Interface made actually in MS Visual Basic .NET 2003 and change or "translate" all the MS SQL Server s

  • R/3 source system 4.6C does not have 0PROD_CATEG_ATTR/TEXT/HIER data source

    Hello, I need to load data into infoobject 0PROD_CATEG.I have 2 source systems one is r/3 4.6c and the other ECC 6.I could not find the datasources related to 0PROD_CATEG in 4.6C but they are available in ECC system. Is there some patch missing in 4.