Flash ComboBox

I created a presentation that sync between a FLV video and a
set of slides in a Flashpaper file. Cuepoints are set via
Actionscrips by reading in data from an XML file. To navigate
between the slides, I use a combobox (filled with labels and data
from the XML file), and "next" and "prev" buttons. There are a few
other buttons on the movie to open up "about" text info, and
hyperlinks to certain Websites... Everything seems to work fine
(moving forward and backward with the button... jumping around
through combobox...). However, as soon as I click on the combobox
to navigate, problems will arise and persist afterward: (1) the
"next" and "prev" buttons will then require double mouse clicks to
work (a single mouse click was fine before I selected an item on
the combobox); (2) all other buttons and hyperlinks on stage stop
workings (apparently, I can no longer call the "on(release)...."
functions for these buttons. HELP!!!! Below is the relevant part of
the code

Welcome to our community, Denise
Personally, I'd be very surprised if the issue was as simple
as changing the Frame Rate. You may wish to examine other things
such as the ActionScript version in use. I believe Captivate
expects ActionScript 2 not ActionScript 3. Aside from that, perhaps
it has something to do with the manner in which you are referencing
the root level or something similar.
Sincerely... Rick

Similar Messages

  • Flash ComboBox with a textfield component

    Hi,
    How can I add textfields created at runtime into flash combobox? Something just like we have item renderers in Flex...

    use addItem or addItemAt to add additional textfields to the cb during runtime.

  • Flash ComboBox only showing 2 rows when embedded in Connect

    We've built an AS2 application that can be embedded into various LMSs, etc.
    Curiously, when embedded in Adobe Connect, the ComboBoxes aren't rendered correctly.  Rather than dropping down, the menus are displaying above the widget, even though there is plenty of room below.  Even worse, only the first two rows are displayed, so to select any other rows you have to use the arrow keys.
    My guess is that the ComboBox is trying to determine how much room it has to render its menus, and that this is going awry.
    _lockRoot is set to true
    I think this might be handled by the PopUpManager, perhaps by its setSize function, but I can't figure out where this is defined.  It's simply listed as a property:
         var setSize:Function;
    Any ideas?  Thanks!

    Hello Chris and Sameer,
    thank you for getting back on this issue.
    To answer your questions first:
    - no, I have not posted this issue in the connect forums - I will do and point to this discussion
    - Sameer, I have tested the webcam on the website you pointed out, it is not working with Firefox but it is working in Chrome
    I also need to give you an update on the current versions I use:
    Win 7 Pro (64bit) (all updates included)
    Firefox 21.0
    IE 10.0.9200.16576
    Chrome  26.0.1410.64 m
    Flash Player 11.7.700.202
    Adobe Connect Addin 11.2 r261
    I tested the webcam via FP with Firefox, IE and Chrome in the versions mentioned above. Only in Chrome I can run the WebCam on the www.testwebcam.com website. Once I start the adobe connect meeting and want to start the webcam the Connect Addin stops working with the popup as shown in post 3 of this discussion in all three browsers.
    All components have been uninstalled and installed again (except for IE)  for testing with no change in the result. I have also rolled back the computer to the system recovery point furthest back in time to see if any other installation might be the cause. But no luck either.
    I am happy to post the logs but would need advise where to find these or how to retrieve.
    Thanks!
    Konwill

  • Flash combobox, check box, radio buttons  to wok with php for email

    Hi i'm a newbee in flash web designing can you help me
    out???? I'm making a reply form consist of text field, check
    buttons, combo box. think my acton script and php code has a
    problem. Can somebody help me out??? Thank you very much

    Have a try with HTML:
    "<html>First line<br>Second line.</html>"

  • How to use combobox to filter datagrid in Flash Builder 4?

    Hi,
    I've been working through the TestDrive application with Flash Builder 4 and I would like to learn how to filter a datagrid using a combobox.  I've googled the subject and results for many different versions of Flash, some which look like they will take a considerable amount of time to implement.  I'm hoping with Flash Builder 4 there is a straight-forward way to do this without writing pages of code.
    I think I may be close to getting this working by passing the combobox value into a PHP script which queries the database with a WHERE clause.
    Thakns,
    David

    I was able to get the data returned from a PHP call into an array by placing the following in the service result handler:
       public var myEmployeesArray : Array;
       [Bindable]
       public var myEmployeesDataProvider : ArrayCollection;
        myEmployeesArray = mx.utils.ArrayUtil.toArray(event.result);
        myEmployeesDataProvider = myEmployeesArray[0];   //data provider for the datagrid
    Not certain how to use filterfunction yet though.  I started to read this page but need to work on it more: http://cookbooks.adobe.com/post_Using_the_to_ArrayCollection_s_filterFunction-5441.html
    I'd like to filter only one field in the ArrayCollection.
    Also, for anyone else who may be learning while reading this, I found the following page helpful in figuring out how to load the PHP service return data into an array:
    http://www.cflex.net/showFileDetails.cfm?ObjectID=415
    David

  • Listing The Database Objects Using Menu (combobox, list etc.)  With Flash Builder

    Hi,
    i try to learning flash builder and developing a simple application.
    i have a database and it contain a id, eser, baslik area.
    id : standart id area.
    eser : contain a long text
    baslik : title of the eser
    you can see the database below (i add a long text area view (eser) second image)
    i added a combobox to my project. bind it (get all results) "baslik" coloumn in database
    and listing titles  in combobox.
    i want to learn. how can i listing a long text area (eser) in database, when i select a title (baslik)
    below the combobox.
    I asked an example for ComboBox. may be another type of menu.
    I'm trying to do this for a long time but just could list the titles in combobox.
    I will be a very very happy, if somebody can help me.
    love & respect & peace

    i researched a many document but still can't find a insert data grid.
    it seems to under Components Panel all documents and videos
    but i can't see it?
    Anirudh SasikumarRangoraTodd_KoprivaJason San JoseSunilAdobeAmy_WongDatabase Listing And Paging With Flash BuilderUsing Flash BuilderFlex
    somebody help me please?
    thanks
    bye

  • URGENT - Flash CS5 - TLF not working on Combobox

    There is NO SUPPORT for TLF and right-to-left writting settings in Flash CS5 for this components: Combobox / List / TextInput
    Steps to reproduce:
    1.Add combobox component to stage
    2.Open properties panel and add in the data provider some Arabic text eg.: العربية
    3.Publish and upload Flash page on some server
      Actual Results:
      The Arabic text is backwards
      Expected Results:
      To show correctly
    TLF and right-to-left writtin support is missing completly for this components: Combobox / TextInput / List.
    Please test on a computer where Flash CS5 is not installed, because it  shows correctly on that machine and incorrectly on a normal user  computer that doesn't have Flash CS5 IDE.
    * Persists in any browser.
    If anyone knows of a workaround please let me know ASAP !
    Many thanks,

    The reason the combobox isn't doing R-to-L correctly, is because the component is based on TextField (not TLF). TextField does not have support for R-to-L.
    The only component converted to work with TLF in CS 5 was the Scrollbar.
    To do what you're wanting, you'll need to modify the component to use TLF text instead. Not having looked at that component, I don't know how large of a task that is, but it's certainly doable.
    Rusty

  • Combobox and Flash player version 9,0,16,0

    Does anybody know that if you use a combobox component in
    flash, it creates conflict with specific sub version of flash
    player like: 9,0,16,0 and does not load properly and the flsh file
    is stuck on the first frame of the movie.
    The file runs ok on sub version like: 9,0,45,0
    Any suggestions to fix this problem?

    See this cool mp3 xml player with visualization, playlist and
    skins. Fully customisable. Vector.
    http://flashden.net/item/mp3-xml-strongplayerstrong-with-visualization-and-skins-vectorise d/11851

  • Can comboboxes have drop shadows, and if so, how (Flash Pro)?

    Hi
    Is it possible to give the drop down part a drop shadow? At the moment, mine blends a little too much into a datagrid.
    Cheers

    You can do it programmatically the same way you would assign a filter to any DisplayObject...
        import flash.filters.DropShadowFilter
        var cbFilter:DropShadowFilter = new DropShadowFilter ();
        cb.filters = [cbFilter];
    Another approach sans AS3 for the same effect would be to just place cb inside a MovieClip and apply the filter to the MovieClip thru the properties panel
    Though you will find that it only shadows the main element in both of those approaches, not the drop list portion with the shadow.  To add it to the drop list portion you need to target that....
        cb.dropdown.filters = [cbFilter];

  • Problems with linked ComboBoxes

    Hi everyone, and thanks to those who will reply
    It's been 3 days since i'm having the same problem :
    I have 2 comboboxes in a JPanel, and the things to be displayed in the second one depends on the first (for example selecting 'Hewlett-Packard' in the first combo box display all HP model in the second one)
    When i select a item in the first combobox, an actionPerformed is fired, and i can populate the second combobox. Unfortunately, the combobox disappear in my panel, but if i click on the place where it used to be, the popup list display correctly... !
    I just want to know hox can i make it visible anyway. I've tried combobox2.repaint() method within the actionperformed method (combobox2 is the name of my second combo box as you've guessed), but it doesnt work...
    Something else too : in my first list, if i select another vendor, the list in the second is not removed, but the list of workstation of the second-select manufacturer is appended... I've tried here the combobox2.removeall() method, but here again, no results....
    this is my code :
    public class DocPCConfig extends JFrame implements ActionListener, WindowListener
    /** D�clare les variables utilis�es **/
    JComboBox comboConstructeurs, comboMachines;
    private JPanel imagePanel, panelConstructeur, panelMachines;
    * DocPCConfig()
    * Constructeur par d�faut
    * - But : Initialise les composants Swing de la fen�tre principale
    * - E : -/-
    * - S : -/-
    public DocPCConfig()
    /** Ajoute les composants dans l'onglet **/
    ajoutCompoCstr();
    /** Ajoute un �couteur d'�v�nement de fen�tre **/
    addWindowListener(this);
    * main()
    * - But : Point d'entr�e de l'application
    * - E : String args[] : Tableau de param�tres
    * - S : -/-
    public static void main(String args[])
    System.out.println("Lancement de l'application de configuration");
    new BdD();
    mainFrame = new DocPCConfig();
    mainFrame.setSize(1024,738);
    mainFrame.setTitle("DocPCConfig");
    mainFrame.setVisible(true);
    * ajoutCompoCstr()
    * - But : Ajoute les composants pour le panel de s�lection constructeur/machine (1er onglet)
    * - E : -/-
    * - S : -/-
    public void ajoutCompoCstr()
    java.awt.GridBagConstraints gridBagConstraints1;
    /** Cr�e le vecteur stockant les r�sultats provenant de la BdD **/
    Vector listeConstructeurs = new Vector(10,5);
    /** Se connecte � la BdD **/
    BdD.connecteBdD();
    /** R�cup�re la liste des constructeurs depuis la BdD **/
    listeConstructeurs = BdD.getConstructeurs();
    DefaultComboBoxModel comboModele = new DefaultComboBoxModel(listeConstructeurs);
    BdD.deconnecteBdD();
    /** Lance le constructeur pour la liste d�roulante avec le vecteur de liste
    comme param�tre **/
    comboConstructeurs = new JComboBox(comboModele);
    /** R�gle les param�tres suppl�mentaires **/
    comboConstructeurs.setMaximumSize(new Dimension(5,5));
    comboConstructeurs.setSelectedIndex(-1);
    // comboConstructeurs.setEditable(true);
    /** Ajoute les contraintes graphiques pour la liste des constructeurs **/
    gridBagConstraints1 = new GridBagConstraints();
    gridBagConstraints1.gridx = 1;
    gridBagConstraints1.gridy = 1;
    gridBagConstraints1.insets = new Insets(10, 10, 10, 10);
    panelConstructeur.add(comboConstructeurs, gridBagConstraints1);
    comboConstructeurs.addActionListener(this);
    /** Cr�e les �l�ments de la liste d�roulante **/
    String[] listeMachines = { "                             " };
    comboMachines = new JComboBox(listeMachines);
    comboMachines.setSelectedIndex(0);
    /** Ajoute les contraintes graphiques pour la liste des machines **/
    gridBagConstraints1 = new GridBagConstraints();
    gridBagConstraints1.gridx = 1;
    gridBagConstraints1.gridy = 2;
    gridBagConstraints1.insets = new Insets(10, 10, 10, 10);
    panelConstructeur.add(comboMachines, gridBagConstraints1);
    * actionPerformed(ActionEvent ae)
    * - But : Traiter les op�ration quand une action est effectu�e sur les boutons
    * de l'interface de la fen�tre principale.
    * - E : ActionEvent ae : Un pointeur sur l'action courante.
    * - S :-/-
    public void actionPerformed(ActionEvent ae)
    Object source = ae.getSource();
    /** Liste d�roulante des constructeurs **/
    if (source == comboConstructeurs)
    /** R�cup�re la ligne s�lectionn�e dans la liste **/
    String constructeur = (String)comboConstructeurs.getSelectedItem();
    /** Creation des �l�ments de la liste d�roulante **/
    Vector listeMachines = new Vector(50,1);
    /** Se connecte � la BdD **/
    BdD.connecteBdD();
    listeMachines = BdD.getMachines(constructeur);
    /** Se d�connecte de la BdD **/
    BdD.deconnecteBdD();
    /** Supprime toutes les pr�c�dentes entr�es de la liste des machines **/
    comboMachines.removeAll();
    int i = 0;
    System.out.println(listeMachines.size());
    /** Tant que la liste n'a pas �t� parcourue **/
    while(i < listeMachines.size())
    /** Copie l'�l�ment du vecteur et l'ajoute dans la liste d�roulante **/
    comboMachines.addItem(listeMachines.elementAt(i).toString());
    i++;
    comboMachines.repaint();
    I've removed all the things I found useless, but maybe i've removed too much ;-) I hope that this code is enough.
    Thanks for your help (can you send a copy of your answers at : [email protected] - if you're too lazy to do this that's not a matter, but i don't know how i can find my post in all these posts... so that'd be cool ;-)

    Thanks Martin
    that makes sense now was driving me mad as I couldnt find anything saying it wasnt supported, makes sense seeing as its a flash server. Annoyning thing was it was playing in the content viewer locally when I previewd the folio you would think that would not be the case if it was not supported. Im going to try the rtmp links in a player in a web page and view it on the ipad out of curiosity and ill let you know. Out of interest have you done anyting with imported html into indesign as part of your folios ? I havent as yet but am curious to know how it holds up ?
    Thanks again
    Neil

  • Focus manager is not working in Flash lite 4.0

    Hi,
    I am working on development of UI components in flash lite 4.0. And i am using Focusmanger class to handle focus of all components present in the stage. I don't have any issues when the component is running in flash player 10. But i am getting some issues if i test the same component in deceive central.
    Eg: I will place 2 combobox component on a stage. Focus first combobox and click enter list items will open.
    I will try to navigate between the combo item. At the last combo item focus is going outside the component. As per the requirement focus should not go outside until user clicks enter again. Looking for valuable solution for this.

    There is no way to know what will change in the future. This
    is the solution that works now. It will probably remain in place
    for the reasonable future.

  • Any possibility for loading and changing XFL/... data at run time of Flash app?

    Hi everybody,
    I have a quick and general question for the following case:
    I want to produce some transitions and effects for a kinetic typography project in After Effects and then import these parts into Flash Professional via XFL and Bridge.
    So my actual problem is this one: my Flash application should be able to load these made transitions and effects dynamically at run-time and not from a pre-configured timeline made upfront. Because there should be dynamic text fields in these XFL data from After Effects I also need to be loaded at run-time for the kinetic typography thing.
    So is there any possible way to do / load / change the dynamic text fields in these XFL data or the order of all transitions and effects in Flash Professional at run-time or anything else?
    I know this is a special question, but I hope there would be an answer...
    Thanks for your help in advance
    Regards,
    Kevin

    Something along this model is what I had in mind:
    public class MainPanel extends JPanel
        private DrawPanel drawPanel = new DrawPanel();
        private JComboBox comboLeft = new JComboBox();
        private JComboBox comboRight = new JComboBox();
        public MainPanel()
            // add drawpanel and comboboxes to main panel
            // add item listener to comboboxes
        private class ComboListener implements ItemListener
            @Override
            public void itemStateChanged(ItemEvent arg0)
                if (...) // both comboboxes changed
                    // get values from comboboxes
                    drawPanel.setValues(left, right); // call drawpanel's method
    public class DrawPanel extends JPanel
        private int left = 0;
        private int right = 0;
        public DrawPanel()
            //setPreferredSize(....); // set panel size
        @Override
        protected void paintComponent(Graphics g)
            super.paintComponent(g);
            //... draw the line depending on the left and right value
        public void setValues(int left, int right)
            this.left = left;
            this.right = right;
            repaint();
    }

  • Is this a bug in mx:ComboBox ?

    Hi All,
    I'm using a mx:ComboBox control in my extension project for InDesign CS5/CS55.5/CS6 using Extension Builder 2.1, Flash Builder 4.6 and Extension Builder 3.4 SDK.
    Problem:
    When I click my ComboBox control(the text part excluding the down arrow part) after switching application to another and then back to InDesign, the list is shown and then closed quickly. Again if I click on ComboBox then the list is displayed properly.
    Is this a BUG in mx:ComboBox ?
    Please suggest any solutions/workaround to fix the issue.
    ComboBoxTest.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" historyManagementEnabled="false"
      initialize="initializeHandler(event)">
      <mx:Script>
      <![CDATA[
      import mx.collections.ArrayCollection;
      import mx.events.DropdownEvent;
      import mx.events.FlexEvent;
      import mx.events.ListEvent;
      [Bindable]
      private var cmbBoxItems:ArrayCollection;
      private function onComboBoxClick(event:MouseEvent):void{
      trace('onComboBoxClick() - '+event);
      private function onComboBoxOpen(event:DropdownEvent):void{
      trace('onComboBoxOpen() - '+event);
      private function onComboBoxChange(event:ListEvent):void{
      trace('onComboBoxChange() - '+event);
      private function onComboBoxClose(event:DropdownEvent):void{
      trace('onComboBoxClose() - '+event);
      trace('\n');
      protected function initializeHandler(event:FlexEvent):void
      cmbBoxItems = new ArrayCollection(["One","Two","Three","Four","Five"]);
      ]]>
      </mx:Script>
      <mx:VBox height="100%" width="100%" verticalAlign="middle" horizontalAlign="center" verticalGap="10">
      <mx:ComboBox  id="testCmbBox" dataProvider="{cmbBoxItems}" click="onComboBoxClick(event)" open="onComboBoxOpen(event)" change="onComboBoxChange(event)" close="onComboBoxClose(event)"/>
      </mx:VBox>
    </mx:Application>

    Now I'm sure that its a BUG in mx:ComboBox(Mac OS X Lion, InDesign CS5.5) as I'm able to reproduce in Adobe's Kuler panel also as follows,
    Open Kuler panel and switch to Browse tab.
    Then switch application(Cmd+Tab) and come back to InDesign.
    Then click on any combo-box(Highest Rated or All Time).
    We see that the combo-box is not opened for the first time.
    Any help/suggestion/workaround is highly appreciated.
    Thanks.

  • Multiple Forms in a Flash Document and Posting Using ASP

    Hello everyone!
    I have some what of a dilemma on my hands. I am creating
    multiple forms in one document using Flash and need them to post
    using ASP script. I have been researching this for the last six
    days, and I have had NO luck. I have noticed that all the
    information that I have found is for one form, not more than one.
    What I have so far is the Flash document, with 4 forms. The
    basic idea is that a user chooses from a drop down menu (the
    combobox) a location, and depending on the location chosen, it
    takes the user to another frame in the flash document. The forms
    (all their own movie clip) contains a name field, a department
    field, and either a manager name a userID field or an employee
    number as well as the basic buttons for submitting the form or
    resetting the form.
    So far what I have working is the drop down menu (combobox)
    taking me to the proper frame and it shows the appropriate form.
    The reset button clearing the form (deleting any information that I
    have imputed into the input fields), but I have absolutely NO idea
    how to get the submit button to work (I did manage to get it to
    send me a message if there was nothing in one of the input fields),
    and NO idea how to get the information to the ASP file.
    Where there are 4 forms do each of them have to have their
    own ASP file attached to them, or can I use one?
    If anyone knows a site that deals with multiple forms in one
    SWF and posts using ASP that would be greatly appreciated, or if
    you know some actionscript that could be helpful.
    Thank you all in advance.

    That would be part of my problem, I really don't know ASP,
    and I am flying by the seat of my pants.
    The current script I have for the ASP file is:
    <% @Language = "VBScript" %>
    <%
    Option explicit
    Dim strfullName
    Dim strdeptName
    Dim strmanagerName
    Dim strobjeemail
    Dim strlocation
    strfullName.Request.Form("fullName_txt")
    strdeptName.Request.Form("deptName_txt")
    strmanagerName.Request.Form("managerName_txt")
    strlocation.Request.Form("locationName")
    Set strobjemail = CreateObject("CDO.Message")
    strobjemail.From = "[email protected]"
    strobjemail.To = "[email protected]"
    strobjemail.Subject = "Program from " + strlocation
    strobjemail.Body = "This user has completed this progrmam
    from " + strlocation & Chr(13) & Chr(10) & "Name: " +
    strfullName & Chr(13) & Chr(10) & "Department: " +
    strdeptName & Chr(13) & Chr(10) & + "Manager: " +
    strmanagerName
    strobjemail.Send
    Set strobjemail=nothing
    %>
    The AS code that I have so far is:
    function formValidationChecks(){
    if (fullName_txt.length==0){
    status_txt.text = "Please enter your Name";
    else if (deptName_txt.length==0){
    status_txt.text = "Please enter your Department";
    else if (managerName_txt.length==0){
    status_txt.text = "Please enter your Manager";
    else {
    status_txt.text = "Thank You!";
    variables.fullName_txt = fullName_txt.text;
    variables.deptName_txt = deptName_txt.text;
    variables.managerName_txt = managerName_txt.text;
    varLoader.load(varSend);
    trace("-----");
    trace("Name: "+fullName_txt.text);
    trace("Department: "+deptName_txt.text);
    trace("Manager: "+managerName_txt.text);
    trace("Form validated");
    submit_btn.onRelease = function(){
    status_txt.text = "";
    if(formValidationChecks()){
    var lv = new LoadVars();
    lv.fullName_txt = form.fullName_txt.text;
    lv.deptName_txt = form.deptName_txt.text;
    lv.managerName_txt = form.managerName_txt.text;
    lv.sendAndLoad("mail.asp", lv, "POST");
    reset_btn.onRelease = function()
    fullName_txt.text = "";
    deptName_txt.text = "";
    managerName_txt.text = "";
    So far my reset button clears everything, and the submit
    button is tracing the content in the form fields, but it's not even
    grabbing the asp page.
    Any suggestions? Even pages that have tutorials that are in
    the form of a video.
    Thanks

  • Trouble skinning AS2 ComboBox component

    I'm using Flash CS3 and want to create a custom ComboBox. I've followed the steps outlined in "Editing component skins in a new document" (http://livedocs.adobe.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?cont ext=Flash_MX_2004&file=00002045.html#1120753), but every time I get to the step where I drag the ComboBox Assets folder from the HaloTheme.fla library into my library, if I test movie at that point my combobox has become an unclickable white rectangle with no label, button or anything. Am I doing something wrong? Any suggestions would be welcome.
    Thanks!

    start with a new fla and follow the directions.

Maybe you are looking for

  • Creation of a line item in the existing PO by inbound idoc (ORDERS05)

    Hi friends,    I have the following requirement.This is for the  inbound idoc ( orders05). If there is an extra item line in the confirmation idoc, for which no corresponding purchase order line is found, check if the extra line's NOB-number is found

  • How to include SAP login link in the workflow notification email ?

    Hi, How to provide a link in notification email triggered thru workflow to outlook   ?? This link should take the user to correct SAP system logon screen..... kindly help ! urgent !! thank you R

  • Stream/Channel in memory; C# MemoryStream equivalent?

    Alright, I've tried to do my homework before posting this question, so bear with me. I'm coming from more of a C++ and C# background... I've only been pecking away at Java for 2-3 months. In C#, Stream is an abstract class inherited by MemoryStream,

  • Why does my ipod touch take an hour to restore?

    There's nothing I've really added to it (no videos, etc) to fill it up, but every time I try to restore it takes forever. I have several other ipods and have never had this problem before. Kate

  • Update query with non-equijoin

    I have three tables - sales_order, item and price. I want to update item.actual_price with price.list_price. The item table is joined to the sales_order table using order_id. The appropriate list_price for each order_id is where sales_order.order_dat