Controlling multiple movies with one button

Hi flash gurus,
I have 4 movies of the same length running on my stage in the
FLV playback component, with different instance names. I also have
a single play/pause component. I want all of the movies to play
together and unpause/pause when I press the play/pause button.
However, I have only been able to get the play/pause button to
control one of the movies (the last one listed in the
actionscript). I'm using the following code to attach the
play/pause component to the FLV playback movie:
FLV_instance_name1.playPauseButton = PlayPause_instance_name
FLV_instance_name2.playPauseButton = PlayPause_instance_name
FLV_instance_name3.playPauseButton = PlayPause_instance_name
FLV_instance_name4.playPauseButton = PlayPause_instance_name
When I use this, the play/pause button only controls the
FLV_instance_name4 movie. How do I get it to control all 4 moives?
Any help is much appreciated. Thanks!

PS, I'd also prefer for the controls to be detatched from any of the viewers, if possible. Thanks!

Similar Messages

  • Control 2 flv movies with one button

    Hello,
    I am not even sure this can be done, but I am trying to
    control 2 flv's with one set of controls. The reason; We have
    footage of a talking head as one flv and footage of a microscope.
    Basically, the guy talks and moves the microscope around. These 2
    flv's have to be synched b/c the guy is talking and showing how
    things look under a microscope (the original footage was shot at
    the same time using 2 different methods - I imported both in
    Flash). So, my quandry is that I need one set of controls for both
    these flv's b/c if you pause the talking head, you also have to
    pause the scope. I tried to make both flv's a movie clip and
    control them that way, but got no where with that. I also tried to
    build my own skin with a Play and Pause Button for now, but only
    got as far as the code below. Basically, I can control one flv
    component, but not both at the same time. Any ideas would help - I
    am not sure if this is an AS issue, or a complete design issue, or
    if it can even be done at all - thanks much in advance...
    Jason

    I have discovered that what I wanted to do above is not possible in Livecycle. The only thing that works in the Livecycle script editor is the xfa.host.print from what I found.
    I was able to add a print button to a form that I scanned in that enabled me to print at 2 different printers at the same time. What I did was to first set up a mouse up action to execute a menu item (file>print) and then I added a second mouse up action to run the JavaScript below
    var pp = this.getPrintParams();
    pp.interactive = pp.constants.interactionLevel.automatic;
    pp.printerName = "\\\\DPDSVR\\Xerox WorkCentre 7435 PCL6";
    this.print(pp);
    This resulted in me being able to print to my default printer (HP) and the Xerox with just one click of the button.

  • Submiting multiple forms with one button

    I have a form that has a cfform within it. The cfform has a
    cfloop in it that includes an id and a dropdown list box that
    includes a new id. I want to transfer one id to another. I want the
    user to be able to click on one button that would update all the
    rows in the table with the new id.
    If there are 3 rows in the query, the user would select an
    entry in a dropdown for each row and upon clicking on the submit
    button all three rows would be updated with the id selected from
    the dropdown.
    Any suggestions?
    Thanks for the help!
    Gary

    There isn't a way to set this up using the Paypal payment integrated into FormsCentral using seperate forms for each child, you can set up one form so they can register additional children and then pay in one session, but if you need each child to be a unique form submission it can not be set up to pay for multiple at once.
    Thanks,
    Josh

  • Controlling multiple videos with one set of controls

    I'm currently working on a project that allows the user to view multiple videos at one time. The videos will be exactly the same length and video format/type. I'd like to let the user use just one set of controls to view each video. Is this possible? If so, does anyone have any code samples?
    I also want the video to not start when the application starts. I've got that done, but I'd also like the first panel of the video to be displayed. How can I do that?
    Thanks!

    PS, I'd also prefer for the controls to be detatched from any of the viewers, if possible. Thanks!

  • Run multiple reports with one button

    Hello, I am new to Oracle Form Builder and I have a generic form built that has a button the user will press to run a specified report. I'm wondering if it's possible to use the same form with the one run report button to print multiple reports at the same time. Is this possible?

    I recommend that you start here:
    http://blogs.oracle.com/shay/entry/10_commandments_for_the_otn_fo
    You can do just about anything in Forms if you are creative enough. However, exactly how you do it will partially depend on things like which version you are using, the platforms (OS on client and server), and the preferred behavior you would like to see.
    Here is an older document whch explains how to integrate Forms/Reports. This old doc mostly still applies to the latest versions.
    http://www.oracle.com/technetwork/products/migration/frm10gsrw10g-132606.pdf

  • Controlling multiple instruments with one VI

    I have 5 instruments that I need to control simutaneously.  Right now, each is controlled separately by its own VI, all of which run in LabVIEW 7.1.  I would like to consolidate control into one panel instead of 5.  I have seen examples of libraries that contain multiple sub-VIs controlled by a main VI, but I cannot figure out how data is passed between them, or how to create a library from my existing VIs.  Is there a way to do this? 

    For a simplistic answer, you just have to place your existing VIs into a new top level main VI. In order to pass data from a subVI to a mian, you wire the controls/indicators on the subVI to the subVI's connector pane. These is really basic LabVIEw knowledge and if you don't know how to do this, then you should probably spend some time learning LabVIEW basics. A great starting point is at http://www.ni.com/academic/lv_training/how_learn_lv.htm.
    With 7.1, a library is an llb file and you really don't need to use one of these. They can be handy for distributing an application but should not be used during development. Just keep your VIs in folders.

  • Perform multiple actions with one button

    Is it possible to do 2 things when clicking a single button?
    Like this:
    A button adds an item to a collection and after adding the button must be disabled.

    Yes - you can chain multiple commands together with a ;
    In this example, add a button control (Button1) and an Input Text (Text1) control.
    Set the OnClick property for Button1 to:
    Collect(myCollection, {FirstName: Text1!Text}); UpdateContext({ButtonDisabled: false}); UpdateContext({ButtonDisabled: true})
    Set the Disabled property for Button1 to:
    ButtonDisabled
    FYI - The UpdateContext is used twice to change the state of a context variable.
    Let us know if this answers your question -
    Thor

  • Controlling multiple TextAreas with one ScrollBar

    Hello,
    Fairly new to java so you may have to excuse my lack of java knowledge!
    I would like to create a Frame with three TextAreas, side-by-side, controlled by a single ScrollBar.
    I thought it would be fairly easy. Just add the three TextAreas to a Panel then add a ScrollPane to the Panel. If that is the right way, how can you make the TextArea as high as the number of rows. Think I've seen some example using Swing but I'm using AWT.
    I've provided some example code if it helps:
    import java.awt.*;
    public class MyExample extends Frame
      TextArea field1 = new TextArea("", 0, 0, TextArea.SCROLLBARS_NONE);
      TextArea field2 = new TextArea("", 0, 0, TextArea.SCROLLBARS_NONE);
      TextArea field3 = new TextArea("", 0, 0, TextArea.SCROLLBARS_NONE);
      MyExample()
        super("My Example");
        this.setSize(800, 500);
        new BorderLayout();
        //enter any data into all three text areas
        for (int i = 0; i < 150; i++)
          field1.append(i+"\n");
          field2.append(i+"\n");
          field3.append(i+"\n");
       /** Any method here to make the TextAreas the maximum height (so the TextAreas
       *   are too large for the Panel and need the scrollbar!). I have tried setSize,
       *   setMinimumSize, setMaximumSize, setRows and prob more but cannot get any
       *   to work!?!
        // create panel and add the three text areas
        Panel centerPanel = new Panel(new GridLayout(1,3));
        centerPanel.add(field1);
        centerPanel.add(field2);
        centerPanel.add(field3);
        //create a scroll pane and add the panel to control
        ScrollPane scrollPane = new ScrollPane(ScrollPane.SCROLLBARS_ALWAYS);
        scrollPane.add(centerPanel);
        // add scroll pane to frame
        add("Center", scrollPane);
    }Any help is appreciated!
    Dave

    Hai dave,
    try the below program in which i set the panel size by calculating the textarea size. To caluculate the number of lines in the text area-field1:
    1. store the value of field1 in a string
    2. find the number of '\n' -end line characters
    this gives the number of lines in the text area-field1
    then set the height of the panel equivalent to the height of field1 by using the calculated number of lines * 15( a single line takes 15"-i am not certain but it is OK).
    import java.awt.*;
    public class MyExample extends Frame
    TextArea field1 = new TextArea("", 0, 0, TextArea.SCROLLBARS_NONE);
    TextArea field2 = new TextArea("", 0, 0, TextArea.SCROLLBARS_NONE);
    TextArea field3 = new TextArea("", 0, 0, TextArea.SCROLLBARS_NONE);
    public MyExample()
    super("My Example");
    this.setSize(800, 500);
    new BorderLayout();
    //enter any data into all three text areas
    for (int i = 0; i < 300; i++)
    field1.append(i+"\n");
    field2.append(i+"\n");
    field3.append(i+"\n");
    /** Any method here to make the TextAreas the maximum height (so the TextAreas
    * are too large for the Panel and need the scrollbar!). I have tried setSize,
    * setMinimumSize, setMaximumSize, setRows and prob more but cannot get any
    * to work!?!
    **/int k=0;
    String str=field1.getText();
    /*my for loop to calculate number of lines in the string which holds value of TextArea-field1*/
    for(int j=0;j<str.length();j++){
         if(str.charAt(j)=='\n')k++;
    System.out.println(String.valueOf(k));
    Panel centerPanel = new Panel(new GridLayout(1,3));
    centerPanel.add(field1);
    centerPanel.add(field2);
    centerPanel.add(field3);
    Dimension dim=field1.getPreferredSize();
    ScrollPane scrollPane = new ScrollPane(ScrollPane.SCROLLBARS_ALWAYS);
    scrollPane.add(centerPanel);
    //the scroll bar of mouse can't work!(?)
    centerPanel.setPreferredSize(new Dimension(780,k*15));
    add("Center", scrollPane);
    setVisible(true);
    public static void main(String args[]){
         new MyExample();
    * if you still have problem then post but expects my reply after atleast 2 days:i am busy

  • How download from multiple accounts with one button

    What do I do to have multiple accounts checked and messages downloaded without opening the get mail dropdown. I used to just hit the get mail button.

    I use this add-on:
    https://addons.mozilla.org/en-US/thunderbird/addon/get-selected-mails/
    which lets you define various sets of email accounts. Any of these sets can be defined as the default action.
    There is also a GetAllMails add-on:
    https://addons.mozilla.org/en-US/thunderbird/addon/get-all-mails/

  • Multiple functions in one button

    Good evening,
    Is it possible to run multiple functions with one button?
    For example: With a button to open and close an object?
    Thanks 

    Hi Rinku,
    This is an example for you:
    A Piano Key Control in C#
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Create multiple folders with one click on documents tab in BP in SAP CRM

    Hi Experts,
    I have a requirement to create multiple folders by clicking on a button in Documents tab in BP transaction in CRM. In standard process by clicking on create folder button we create folders. we want to create multiple folders with one single click ( i guess we can develop another button for that) folder name will be hard coded. Kindly let me know , how this can be achieved.

    Hi Experts,
    I have a requirement to create multiple folders by clicking on a button in Documents tab in BP transaction in CRM. In standard process by clicking on create folder button we create folders. we want to create multiple folders with one single click ( i guess we can develop another button for that) folder name will be hard coded. Kindly let me know , how this can be achieved.

  • Can we perform two actions with one button with two clicks one after other?

    Sir,
    can we perform two actions with one button with two clicks one after other?
    I want that when I click an Add Button first time it add data to the database and when I click again this button it clear the form data to empty fields.
    Regards
    Tanvir

    In code it should be easy.
    The following code adds a button called butman with a text "ADD".
    It then registers a listener that will be called if the button is clicked.
    This listener then calls the runAddData method if you clicked on butman while it contained the "ADD" text and it will call the runClearData method otherwise.
    Therefore it will swap the button's functionality between ADD and CLEAR on every click.
    final Button butman = new Button("ADD");
    butman.setOnAction(new EventHandler<ActionEvent>() {
              @Override
              public void handle(ActionEvent t) {
                        if (butman.getText().equals("ADD")) {
                                  butman.setText("CLEAR");
                                  runAddData();
                        } else {
                                  butman.setText("ADD");
                                  runClearData();
                        } // END IF-THEN
              }});I hope this is what you wanted.
    Some extra food for thought.
    You might want to run the ADD and CLEAR methods in their own threads so that it can run in the back ground, without slowing down your user interface.
    I also like to rather reuse one button for multiple functionality in stead of making an application with hundreds of nodes only used rarely with masses of code to show and hide them if needed.

  • Create multiple delivery with one invoice

    Hi all,
    can you tell me how to do multiple delivery with one invoice,
    i tried in vf01 by giving their my 3 delivery nos but it is generating three invoices
    pls explain this in details
    points will be rewarded
    regards,
    smmmmmm

    Dear Sameer
    As per your requirement run the Tcode VF04 (Billing Due list) and select the Delivery Documents for which you want to to have single Billing Document by clicking on Collective Billing document/Online  Push Button in that screen.
    To Have Single Billing Document for Multiple Delivery you need to have Payer,Terms of Payment,Incoterms(part 1 and part2) same for all materials orelse the billing document will split and this split analysis is visible during creating of Billing document.
    Hope this will help you in solving your problem.
    Regards
    PSH

  • Selecting multiple checkboxes with a button

    Hi, I'm currently making a booking form with a clickable map.  I'm trying to figure out the way to select multiple checkboxes (i.e. a zone on the map) with one button/checkbox.  Thanks!

    Just give them all the same name (and export value) and when you tick one, the others will be ticked automatically as well.

  • How to insert into 2 tables from the same page (with one button  link)

    Hi,
    I have the following 2 tables....
    Employees
    emp_id number not null
    name varchar2(30) not null
    email varchar2(50)
    hire_date date
    dept_id number
    PK = emp_id
    FK = dept_id
    Notes
    note_id number not null
    added_on date not null
    added_by varchar2(30) not null
    note varchar2(4000)
    emp_id number not null
    PK = note_id
    FK = emp_id
    I want to do an insert into both tables via the application and also via the same page (with one button link). I have made a form to add an employee with an add button - adding an employee is no problem.
    Now, on the same page, I have added a html text area in another region, where the user can write a note. But how do I get the note to insert into the Notes table when the user clicks the add button?
    In other words, when the user clicks 'add', the employee information should be inserted into the Employees table and the note should be inserted into the Notes table.
    How do I go about doing this?
    Thanks.

    Hi,
    These are my After Submit Processes...
    After Submit
    30     Process Row of NOTES     Automatic Row Processing (DML)     Unconditional
    30     Process Row of EMPLOYEES     Automatic Row Processing (DML)     Unconditional
    40     reset page     Clear Cache for all Items on Pages (PageID,PageID,PageID)     Unconditional
    40     reset page     Clear Cache for all Items on Pages (PageID,PageID,PageID)     Unconditional
    40     reset page     Clear Cache for all Items on Pages (PageID,PageID,PageID)     Unconditional
    40     reset page     Clear Cache for all Items on Pages (PageID,PageID,PageID)     Unconditional
    50     Insert into Tables     PL/SQL anonymous block     Conditional
    My pl/sql code is the same as posted earlier.
    Upon inserting data into the forms and clicking the add button, I get this error...
    ORA-06550: line 1, column 102: PL/SQL: ORA-00904: "NOTES": invalid identifier ORA-06550: line 1, column 7: PL/SQL: SQL Statement ignored
         Error      Unable to process row of table EMPLOYEES.
    Is there something wrong with the pl/sql code or is it something else?

Maybe you are looking for

  • Automatic bank reconciliation with Electronic bank statement

    Deal All, As mentioned in the subject of this mail, this is to request for your inputs to advice the configuration steps with process for Configuration of Electronic Bank Statment in R3 to eneble the user for automatic bank reconciliation with cleari

  • Re: DeLocalizer and Safari?

    Ran DeLocalizer last night to free up some hd space. This morning, noticed small glitches with Safari, i.e., clicking on a link opens the new page behind the page that's front and center. Mike Bombich doesn't know what the connection would be, but su

  • Strange PRE11 startup crash

    A little while ago my PRE11 installation (originally from DVD) started to crash as the application was started.  I uninstalled and re-installed from DVD, and this appeared to fix the problem.  A few days ago I attempted to use PRE11 again, and got th

  • Presenter 10 and Pathlore LMS

    What settings are required for a published SWF file from Presenter 10 to play in Pathlore LMS?  When the SWF file is dowloaded and played locally, it plays fine in IE8, but the same file when placed on Pathlore, does not load and leaves the user with

  • Retrieve only a certain number of messages and deleting only those

    I have to do this thing in my application... but i don't know how to do it... any idea?? thanks!