I want to stop in frame 1

I want to stop every action on keyframe  1. I have so many movie clip on layer 1 and layer 2 and so on. Now, I want to stop all movie cip.

that's what i posted.
here it is again:
stopAllF(MovieClip(root),true);
function stopAllF(mc:MovieClip,bool:Boolean){
    if(bool){
        mc.stop();
    } else {
        mc.play();
    for(var i:uint=0;i<mc.numChildren;i++){
        if(mc.getChildAt(i) is MovieClip){
            stopAllF(MovieClip(mc.getChildAt(i)),bool);

Similar Messages

  • Stop the Frame from being able to be dragged

    Hi all
    I was hoping that someone could tell me how to stop the frame from being dragged
    while a dialog is showing.
    I am using this code to call the dialog.
    When is is visible I can still click and drag the frame behind it.
    I want to set it so you can not drag it until the dialog has be closed.
        public void runStartup() {
            Login dlg = new Login(this, "Login", true);
            Dimension dlgSize = dlg.getPreferredSize();
            Dimension frmSize = getSize();
            Point loc = getLocation();
            dlg.setLocation((frmSize.width - dlgSize.width) / 2 + loc.x,
                            (loc.y + 22));
            dlg.setModal(true);
            dlg.pack();
            dlg.show();
        }

    here is the Login Class
    package build0_0_1.dialogs;
    import java.awt.BorderLayout;
    import java.awt.Frame;
    import javax.swing.JDialog;
    import javax.swing.JPanel;
    import java.awt.*;
    import com.borland.jbcl.layout.XYLayout;
    import com.borland.jbcl.layout.*;
    import javax.swing.JLabel;
    import javax.swing.JComboBox;
    import javax.swing.JPasswordField;
    import javax.swing.JButton;
    import javax.swing.ImageIcon;
    import build0_0_1.images.image_pics;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseAdapter;
    import java.awt.event.FocusEvent;
    import java.awt.event.FocusAdapter;
    import build0_0_1.mysql.MYSQLDAO;
    import build0_0_1.Command;
    import javax.swing.*;
    import java.sql.SQLException;
    * <p>Title: </p>
    * <p>Description: </p>
    * <p>Copyright: Copyright (c) 2005</p>
    * <p>Company: </p>
    * @author not attributable
    * @version 1.0
    public class Login extends JDialog {
        ImageIcon back;
        MYSQLDAO mysqlDAO;
        Command command;
        JPanel panel1 = new JPanel();
        XYLayout xYLayout1 = new XYLayout();
        JLabel loginLabel = new JLabel();
        JLabel nameLabel = new JLabel();
        JLabel passwordLabel = new JLabel();
        JComboBox jComboBox1 = new JComboBox();
        JPasswordField passwordField = new JPasswordField();
        JButton loginButton = new JButton();
        JButton cancelButton = new JButton();
        JLabel backLabel = new JLabel();
        JLabel logoLabel = new JLabel();
        JComboBox locationComboBox = new JComboBox();
        JLabel locationLabel = new JLabel();
        public Login(Frame frame, String string, boolean _boolean) {
            super(frame, string, _boolean);
            try {
                setDefaultCloseOperation(DISPOSE_ON_CLOSE);
                jbInit();
                pack();
            } catch (Exception exception) {
                exception.printStackTrace();
        public Login() {
            this(new Frame(), "Login", false);
        private void jbInit() throws Exception {
            this.setResizable(false);
            this.setUndecorated(true);
            this.setSize(new Dimension(450, 220));
            back = new ImageIcon(image_pics.LOGIN_BACK);
            logoLabel.setIcon(new ImageIcon(image_pics.SMALL_LOGO));
            panel1.setLayout(xYLayout1);
            panel1.setMinimumSize(new Dimension(450, 220));
            panel1.setPreferredSize(new Dimension(450, 220));
            loginLabel.setText("Login");
            nameLabel.setFont(new java.awt.Font("Lucida Grande", Font.PLAIN, 11));
            nameLabel.setText("User Name");
            passwordLabel.setFont(new java.awt.Font("Lucida Grande", Font.PLAIN, 11));
            passwordLabel.setText("Password");
            backLabel.setIcon(back);
            passwordField.setFont(new java.awt.Font("Lucida Grande", Font.PLAIN, 11));
            passwordField.setText("Enter Password");
            passwordField.addFocusListener(new
                                           Login_passwordField_focusAdapter(this));
            loginButton.setBackground(new Color(231, 231, 231));
            loginButton.setFont(new java.awt.Font("Lucida Grande", Font.PLAIN, 11));
            loginButton.setText("Login");
            loginButton.addActionListener(new Login_loginButton_actionAdapter(this));
            cancelButton.setBackground(new Color(231, 231, 231));
            cancelButton.setFont(new java.awt.Font("Lucida Grande", Font.PLAIN, 11));
            cancelButton.setActionCommand("cancelButton");
            cancelButton.setSelected(true);
            cancelButton.setText("Cancel");
            cancelButton.addActionListener(new Login_cancelButton_actionAdapter(this));
            jComboBox1.setFont(new java.awt.Font("Lucida Grande", Font.PLAIN, 11));
            jComboBox1.setEditable(true);
            logoLabel.setBorder(null);
            logoLabel.setHorizontalAlignment(SwingConstants.CENTER);
            logoLabel.setHorizontalTextPosition(SwingConstants.CENTER);
            logoLabel.setText("");
            locationLabel.setFont(new java.awt.Font("Lucida Grande", Font.PLAIN, 11));
            locationLabel.setText("Location");
            locationComboBox.setFont(new java.awt.Font("Lucida Grande", Font.PLAIN,
                    11));
            panel1.add(cancelButton, new XYConstraints(337, 170, -1, -1));
            panel1.add(loginButton, new XYConstraints(245, 170, -1, -1));
            panel1.add(loginLabel, new XYConstraints(208, 21, -1, -1));
            panel1.add(logoLabel, new XYConstraints(21, 20, 57, 54));
            panel1.add(passwordLabel, new XYConstraints(99, 141, -1, -1));
            panel1.add(locationLabel, new XYConstraints(104, 72, -1, -1));
            panel1.add(nameLabel, new XYConstraints(90, 106, -1, -1));
            panel1.add(passwordField, new XYConstraints(185, 138, 219, -1));
            panel1.add(jComboBox1, new XYConstraints(183, 103, 219, -1));
            panel1.add(locationComboBox, new XYConstraints(183, 67, 219, -1));
            panel1.add(backLabel, new XYConstraints(0, 0, 451, 223));
            getContentPane().add(panel1);
            panel1.grabFocus();
         * Exit action performed.
         * @param actionEvent ActionEvent
        public void cancelButton_actionPerformed(ActionEvent actionEvent) {
            System.exit(0);
         * Login to MySQL Server. Using User ame and Password
         * This pass into MYSQLDAO user Name and Password
         * @param actionEvent ActionEvent
        //This pass into MYSQLDAO user Name and Password
        public void loginButton_actionPerformed(ActionEvent actionEvent) {
            String pass = new String(passwordField.getPassword());
            if (!pass.equals("Enter Password")) {
                System.out.println("This the username   " +
                                   (String) jComboBox1.getSelectedItem() + "\n" +
                                   "Password is     " + pass);
                try {
                    mysqlDAO = new MYSQLDAO();
                    mysqlDAO.setUserName((String) jComboBox1.getSelectedItem().
                                         toString().
                                         trim());
                    mysqlDAO.setPassword(new String(passwordField.getPassword()));
                } catch (SQLException ex) {
                    // handle the error
                    System.out.println("SQLException: " + ex.getMessage());
                    System.out.println("SQLState: " + ex.getSQLState());
                    System.out.println("VendorError: " + ex.getErrorCode());
                } catch (Exception ex) {
                    // handle the error
                    System.out.println("Erro no registro do Driver Mysql!!!!");
                hide();
         * Password field select all.
         * Feild is select. The user can just start typing
         * and overright the password feild
         * @param focusGained FocusEvent
        public void passwordField_focusGained(FocusEvent focusEvent) {
            passwordField.selectAll();
    class Login_loginButton_actionAdapter implements ActionListener {
        private Login adaptee;
        Login_loginButton_actionAdapter(Login adaptee) {
            this.adaptee = adaptee;
        public void actionPerformed(ActionEvent actionEvent) {
            adaptee.loginButton_actionPerformed(actionEvent);
    class Login_passwordField_focusAdapter extends FocusAdapter {
        private Login adaptee;
        Login_passwordField_focusAdapter(Login adaptee) {
            this.adaptee = adaptee;
        public void focusGained(FocusEvent focusEvent) {
            adaptee.passwordField_focusGained(focusEvent);
    class Login_cancelButton_actionAdapter implements ActionListener {
        private Login adaptee;
        Login_cancelButton_actionAdapter(Login adaptee) {
            this.adaptee = adaptee;
        public void actionPerformed(ActionEvent actionEvent) {
            adaptee.cancelButton_actionPerformed(actionEvent);
    }

  • I have itunes set up on a PC with all my music, apps, etc. I want to stop using PC and move my iTunes and files to a Mac I bought and synch my iPhone with the Mac. Can I just synch iPhone with Mac iTunes and will it copy all my stuff onto Mac, or will I h

    I have itunes set up on a PC with all my music, apps, etc. I want to stop using PC and move my iTunes and files to a Mac I bought and synch my iPhone with the Mac. Can I just synch iPhone with Mac iTunes and will it copy all my stuff onto Mac, or will I have to copy files from PC onto Mac?

    Here are some of the links to get you started.
    https://discussions.apple.com/thread/3727530?start=0&tstart=0
    http://support.apple.com/kb/HT4527
    http://www.macworld.com/article/1146958/move_itunes_windows_mac.html

  • We have multiple devices in the family, including now 4 iphones, all who share the same Apple ID. I want to stop this, but need thoughts on multiple IDs as Findmyphone works well as same ID?!

    We have multiple devices in the family, including now 4 iphones, all who share the same Apple ID. I want to stop this, but need thoughts on multiple IDs as Findmyphone works well as same ID?!

    I don't know if I'm asking this all in a way that can be understood? Thanks ED3K, however that part I do understand (in the link you provided!)
    What I need to know is "how" I can separate or rather create another Apple ID for my son-who is currently using "my Apple ID?" If there is a way to let him keep "all" his info on his phone (eg-contacts, music, app's, etc.) without doing a "reset?') Somehow I need to go into his phone's setting-create a new Apple ID and possibly a new password so he can still use our combined iCloud & Itunes account?
    Also then letting me take back my Apple ID & password, but again allowing us (my son and I) to use the same iCloud & Itunes account? Does that make more sense??? I'm sincerely trying to get this cleared up once and for all----just need guidance from someone who has a true understanding of the whole Apple iCloud/Itunes system!
    Thanks again for "anyone" that can help me!!!

  • How can I change (or select) what is being being used when I share, as the file cover. When I Share lets say "Master File" i want to select a frame that is used as the file cover. So when its on my desktop I see this image as the file icon.

    How can I change (or select) what is being being used when I share, as the file cover. When I Share lets say "Master File" i want to select a frame that is used as the file cover. So when its on my desktop I see this image as the file icon.

    I don't think Finder does this (I've tried).
    iTunes does though. Where you can set artwork or the "poster frame"...
    This may not be what you want but if it helps, I know 2 ways  do this is
    Open the video in QuicktimePlayer7 | View | Set Poster Frame (even then, you might need to save it as .mov (ie in a 'mov container').
    Drag the file into iTunes and set the artwork (as in http://www.dummies.com/how-to/content/adding-album-cover-art-or-images-in-itunes .html)
    From there, iTunes will use that frame as the "poster frame" ie the photo/frame that shows when you browse your videos. Which is what you want, but limited to iTunes.
    When I do either of these above, the frame I set does not show when exploring files in "Finder" (or in the other Explorer tool I use called "Pathfinder").
    So it maybe, that exactly what you want, is not possible.

  • I want to stop it going to OpenDNS when I type a word in the url area. I want it to go to google.

    I want to stop it going to OpenDNS when I type a word in the url area. I want it to go to Google.
    I have changed the keyword.URL to http://www.google.com.my/search?q=
    But this only works for terms with a space in it. For example:
    Typing: "word1 word2" will go to Google
    Typing: "word" Goes to OpenDNS
    Furthermore... If I type in "eBay" it will take me to eBay.com (as I would expect) but if I type in another site like "tip20" it goes to OpenDNS.
    How do I fix this once and for all.

    Use a keyword search via the location bar.<br />
    You can add a keyword to a search engine if you click the search engine icon on the search bar and open Manage Search Engines. Select a search engine and click the "Edit Keyword" button. You can use a one letter keyword like g for Google.<br />
    Then you can type <b>g word</b> or <b>g word1 word2</b> in the location bar to do a search.

  • Hello there, my iphone has stolen and i want to stop it at all

    hello there, my iphone has stolen and i want to stop it at all
    here is my imei imei 358763053881745
    please i want to stop the service on this device as soon as possible ..

    fahad-ibra wrote:
    im here to get the best help ...
    What to do if your iOS device is lost or stolen >  http://support.apple.com/kb/HT5668

  • When i logged in to itunes in the morning it started downloading the previously downloaded apps which i want to stop, please help me!

    yesterday i downloaded dead trigger and asphalt 8 and transferred them to my iphone 5c via itunes downloaded to my laptop, but whenever i log in again to itunes store it starts downloading those applications again which i want to stop, how to do that by keeping the downloaded apps into my account?

    Is this on your computer's iTunes ? If it is then do you have downward pointing arrow at the top right of the  iTunes screen :
    If you do, then does clicking on it open a popup window, and if it does do those apps show on it ? If they do can you select and delete them from there.
    Not sure what you mean by 'keeping the downloaded apps into my account'. If it's that you want to keep them linked to your account then as long as they remain in your country's store and you don't change countries then they will remain linked to your account - you can't delete any item from your purchase history.

  • I downloaded iMesh and I can't stop it from automatically popping up each time I request a new tab. I have uninstalled the program, but I want to stop it from defaulting as a new tab. I tried uninstalling, but it is no longer installed as an add-on

    I downloaded iMesh and I can't stop it from automatically popping up each time I request a new tab. I have uninstalled the program, but I want to stop it from defaulting as a new tab. I tried uninstalling the add on and plug in, but it is no longer installed as an add-on or plug in. How do I get the "new tab" request to simply open with a blank address in the address box instead of www.imesh.com.

    Ok, I finally managed to get rid of it.
    First I did the thing with the about:config but I flitered for imesh instead and managed to reset two thing but when I got to the keyword.URL I got the same thing as lolbabe98 did with the "An attempt to change your search engine or homepage was blocked."
    Then I did a search on my C: drive for iMesh and discovered some things that hadn't been removed even though I had unistalled both the toolbar and the actual program. After that it worked fine and I now have a regular "untitled" tab when I open a new tab.
    One last thing, when I tried to remove some of the files there was one that said it was in use, it was called datamanagerUI or something rather. The only thing I had to do there was to open Task Manager and kill a process called DATAMN~1 and I was able to remove it. Hope this helps.

  • I get a window pop up after every click into a new site that reads : Safari is no longer responding because of a script on the webpage "    ". Do you want to stop running the script, or let it continue? If I  click on continue it just continues,

    I get a window pop up after every click into a new site that reads : Safari is no longer responding because of a script on the webpage "    ". Do you want to stop running the script, or let it continue? If I  click on continue it just continues, stop, it stops.  How to correct this annoying message?

    Disable Javascript for those webpages.  Note, your Javascript is probably antiquated by now.  Try a different web browser, or contact the website and let them know they aren't as accessible as they could be*:
    http://www.macmaps.com/browser.html

  • Firefox start with two pages. One says welcome to Firefox etc. And the other is my homepage (google). I want to stop the first page. How can I do this??

    Firofx (5.0) starts with two pages. One is the welcome to Firofox and also that there are Add-ons available. The other one is my homepage (google). I want to stop the first page. How can I do this?

    See these articles for some suggestions:
    * https://support.mozilla.com/kb/Firefox+has+just+updated+tab+shows+each+time+you+start+Firefox
    * https://support.mozilla.com/kb/How+to+set+the+home+page - Firefox supports multiple home pages separated by '|' symbols
    * http://kb.mozillazine.org/Preferences_not_saved

  • I want a stop button for disabling JavaScript only in the current tab

    I want a 'Stop' button for disabling JavaScript only in the current tab.
    I searched for a feature like this but couldn't find it. It would be a great new feature.

    Tab Permissions: https://addons.mozilla.org/firefox/addon/4757

  • HT3702 How can I stop and remove my credit card from my iPad ,my children keep buying games and I want to stop it......please help me to remove any payment from now on.

    How can I stop and remove my credit card from my iPad ,my children keep buying games and I want to stop it......please help me to remove any payment from now on.

    iOS: Understanding Restrictions
              http://support.apple.com/kb/HT4213

  • I added music to a set of clips but want to stop the music there and have no music in the rest of the movie. How do I do that?

    I added music to a set of clips but want to stop the music there and have no music in the rest of the movie. How do I do that?

    there are two ways applying music to an iM project
    http://help.apple.com/imovie/#mov3b0f955f
    as 'Background' which offers lots of automatisms, but lil' control
    or…
    http://help.apple.com/imovie/#mov3b0fb470
    as 'clip' - which can be handled asany other clip, edited, shortened, copy/paste, faded, located, etc

  • Tried to use Iphoto and was told I needed upgrade. Try to install upgrade . Upgrade should take an hour if photo library is large. It's now close to three hours and still upgrading.  Can't use Iphoto and don't want to stop if still upgrading...3hours??

    Tried to use Iphoto and was told I needed upgrade. Try to install upgrade . Upgrade should take an hour if photo library is large. It's now close to three hours and still upgrading.  Can't use Iphoto and don't want to stop if still upgrading...3hours??

    You are on Windows 2000, you do not have a "Firefox" button, and should consider yourself to be fortunate in that you still have menus and don't have to do anything to get the menus back instead of the "Firefox" button. (The same applies to Windows XP users).
    Use the "File" menu to get to Import. You are not on Windows 7 or Vista, and don't have to put up with the nonsense added for Aero.
    If you want the "Firefox" button you can get it with View -> toolbars -> (uncheck) Menu Bar. The menu bar and the "Firefox" button were supposed to be mutually exclusive (which is impossible in some cases without being incompatible).
    Once you are using the "Firefox" button ...
    Use the "Alt" key to view the menu bar (temporarily) containing File, Edit, View, History, Bookmarks, Tools, and Help. On Windows 7 and Vista, the menu bar was hidden by default in Firefox 4 and above. These menu items are more or less available under the "Firefox" button which has the most used of the built-in Firefox menu items available in a different format.
    To get back to having menus again. "Firefox" button -> Options (second column) -> (check) Menu Bar
    You can make '''Firefox 7.0.1''' look like Firefox 3.6.*, see numbered '''items 1-10''' in the following topic [http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 4.0 thru 8.0, look like 3.6)]. ''Whether or not you make changes, you should be aware of what has changed and what you have to do to use changed or missing features.''
    * http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface

Maybe you are looking for

  • Dynamic Directory not reliable with XSLT

    Dear experts, I have set up an XSLT mapping that dynamically sets the Directory: <xsl:param name="inputparam"/> <xsl:param name="TargetFolder">         <xsl:choose>             <xsl:when test="$storeCode='1234'">                 <xsl:value-of select=

  • Can we use two pricing procedure for same sales area

    can we assign  two  pricing procedure to the same sales area please suggest

  • Why doI keep losing firefox after I update?

    Every time I update Firefox I keep getting a message telling me" I am running an old version and need to update". After Firefox loads, the rest of the info doesn't come up, like,"click run", only the"click save" comes up. So, I would guess it isn't c

  • How to Add a field in Asset 'Change Document'

    Asset Change documents displays only room number & room type in old & new fields. I would like to add fields like BUILDING NAME, ROOM NUMBER, ROOM TYPE & LOCATION STATUS CHANGES. Thanks, Kiran Edited by: kiran dasari on May 26, 2010 12:47 AM Edited b

  • Static Type doesn't allow axis movement?

    Hi all, hoping someone can help me here. I have a problem, found a solution but I don't really understand it - hoping someone can explain and help me make sure I'm really solving this in the best way (or if there is a better way) I'm trying to use va