Help! I don't understand the frame mechanics.

Hi, I've been trying to figure out how frames work in Flash.  I'm new to ActionScript, so I don't know the inner workings of the language.  I tried checking the API but no Frame class is listed.  The closest thing was FrameLabel and that wasn't helpful.  I need to know a few things:
1) How can I tell what frame I am in?  If there is a class method for this, what is the exact name?
2) How does a frame advance?  I have some code with no timer, only event listeners/handlers, and I've got a hacked animation working without playing clips on the time line.  The displayed pictures change whenever I press a directional button to move the character.  This is not really what I want to do however, because I'm switching the visibility of many different symbols and updating their position according to the original player symbol.  Very inefficient.  And does that mean that the frame only advances when a button is pressed? Am I even advancing the frame at all?  I don't know any frame advance method.
3) How do frames work on the time line?  I have all of my symbols on a single frame.  I made their visibility false in my constructor because I don't want some things to show when I first load up the .swf file.  When I created a second frame, everything went crazy and things began to show up.  This suggests that the visibility = false was only done in the first frame?  What caused the frame to change?  I don't really get it.
Ideally I want to achieve a dynamically modifiable animation because the game actions are not going to be linear.  The player character will be responding to controls (which will change the animation) and the AI will be responding to the player (which will also change the animation).  I don't think I can do this without understanding frames, so please help me.  I'm very confused!  Even pointing me in the right direction as to where I can read about frame details would be cool.  I've tried Adobe tutorials, support, and documentation but it was not sufficient.  Is there any place where there is a very in depth explanation about frames, or would someone be so kind as to tutor me about them?
Thanks in advance.

You can find out the current frame by using the currentFrame property. There are a number of ways to change frames, where the most common would be prevFrame(), nextFrame(), play(), gotoAndPlay(), and gotoAndStop().  There are plenty of ways to make use of frames in a Flash file, from having linear animations along the timeline, to have each frame being a distinct zone of operation that contains elements having their own timelines.
One thing you may need to get a handle on are the different types of frames.  There are plain frames and there are keyframes.  Plain frames genrally involve a continuation of preceding frames, while keyframes mark an area of change.  In your example of things going crazy when you added a second frame, I am guessing you implanted a new keyframe because had you inserted a plain frame the status of your content from frane 1 would not have been impacted.
I don't know of any resources for you to follow up with for learning more about frames--I came to learn them thru trial and error.  Someone else may come along with some suggestions for reference materials.

Similar Messages

  • Can anyone help me change fonts and size on my page? I don't understand the class questions?

    Can anyone help me change fonts and size on my page? I don't understand the class questions? All I want to do is change the font and size of a table or div.
    http://www.allgearinc.com/AG12SSWL-Swift.htm -One problem page

    If you want to change the fonts of the entire page then this code will do the trick:
    body {
        font-size: 16pt;
        color: silver;
         font-family: whatever, goes, here;
    If you want to change the fonts of ALL tables on a page then the code is something like this:
    table {
        font-size: 20pt;
        font-family: "Courier New", Courier, monospace;
        font-style: italic;
        font-weight: bold;
    what exactly do you want to change?  Can you be a bit specific so that Ben or Ken can give you the exact code and tell you about the short-hand method to write the code in one line.
    Have you bought a book on CSS yet?  If not, it is a good idea to get one as a reference.  Eric Meyer writes good books on CSS.

  • Java tutorial - helps, problem  is i don't understand the API

    I don't understand the JAVA Tutorials or the API

    Take two steps back.
    Buy a book on basic Java Programming. You need to understand the concepts behind programming before you should start reading the API.
    But kudos for at least trying to read the API.
    Now look at the column on the left, and follow the link called [url http://developer.java.sun.com/developer/onlineTraining/] Tutorials 
    and then the link titled [url http://java.sun.com/docs/books/tutorial/index.html]The Java Tutorial (Java Series).
    And finally read through the sections starting with [url http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html]Your First Cup of Java.
    Then once you have been through all of that, come back and ask for clarification
    on any specific points that you have trouble understanding.
    Finally (Because the Finally always gets executed) Try taking a class in java programming.
    regards

  • HT204088 I don't understand the charges on my account for Itunes.  When I asked for history online, I get no results.  Please help.

    I don't understand the charges on my credit card for itunes.  please help

    Your credit card is only linked to one iTunes account, and you've checked the purchase history on it via your computer's iTunes as per the page that you posted from ? And you don't have iTunes Match or any auto-renewing subscriptions (I'm not sure if they show on the purchase history or not, I don't have any so I can't check) : http://support.apple.com/kb/HT4098
    And you haven't added or changed your credit card details on your iTunes account ? Each time that you do so a small temporary store holding charge may be applied to check that the card details are correct and valid and that it's registered to exactly the same name and address as on your iTunes account - it should disappear off your account within a few days or so. Store holding charge : http://support.apple.com/kb/HT3702
    If you can't find anything on your account's purchase history then you should probably contact your card issuer and get the card cancelled and replaced. You can also contact iTunes Support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption
    I don't know what your second post means.

  • Don't understand the workflow in e-commerce

    Is there a place to see the backend of an online store working, or to see how it's supposed to be set up? My previous experience with shipping cart systems is that once the order is placed, it gives you the ability to change the status of the order, from something like "processing" to "shipped" or maybe "In Progress". Once you change it to "Shipped", it updates the customer via email and it takes the order off any WIP reports.
    I setup the online store in a dummy company, and ordered something from it, using "COD" for payment, then I went to see how all that worked. I can't see anything that moves the order through the process to the end. It looks like that might be something I have to setup with workflows. Is that correct? If not, how does the order go from a new order to a shipped order?
    I'm sure it does it or can do it, I just don't understand the way it all works. A tutorial or demo would be great, but I haven't been able to locate one.
    Thanks in advance for any help!

    Hi,
    The order status is changed as explained here -> http://kb.worldsecuresystems.com/kb/order-status.html
    and payment is applied to the cash order as explained here -> http://kb.worldsecuresystems.com/kb/order-payments.html
    Hope that helps!
    Please let us know for any further assistance.
    Kind Regards,

  • Which Mac Pro? More cores=slower speeds? And most of us know the speed matters or FPU for music and I don't understand the faster is for the least amount of procs. And while I get the whole rendering thing and why it makes sense.

    Which Mac Pro? More cores=slower speeds? And most of us know the speed matters or FPU for music and I don't understand the faster is for the least amount of procs. And while I get the whole rendering thing and why it makes sense.
    The above is what the bar says. It's been a while and wondered, maybe Apple changed the format for forums. Then got this nice big blank canvas to air my concerns. Went to school for Computer Science, BSEE, even worked at Analog Devices in Newton Massachusetts, where they make something for apple. 
    The bottom line is fast CPU = more FPU = more headroom and still can't figure out why the more cores= the slower it gets unless it's to get us in to a 6 core then come out with faster cores down the road or a newer Mac that uses the GPU. Also. Few. I'm the guy who said a few years ago Mac has an FCP that looks like iMovie on Steroids. Having said that I called the campus one day to ask them something and while I used to work for Apple, I think she thought I still did as she asked me, "HOW ARE THE 32 CORES/1DYE COMING ALONG? Not wanting to embarrass her I said fine, fine and then hung up.  Makes the most sense as I never quite got the 2,6,12 cores when for years everything from memory to CPU's have been, in sets of 2 to the 2nd power.  2,4,8,16,32,64,120,256,512, 1024, 2048,4196,8192, 72,768.  Wow. W-O-W and will be using whatever I get with Apollo Quad. 
    Peace to all and hope someone can point us in THE RIGHT DIRECTION.  THANK YOU

    Thanks for your reply via email/msg. He wrote:
    If you are interested in the actual design data for the Xeon processor, go to the Intel site and the actual CPU part numbers are:
    Xeon 4 core - E5.1620v2
    Xeon 6 core - E5.1650v2
    Xeon 8 core - E5.1680v2
    Xeon 12 core - E5.2697v2
    I read that the CPU is easy to swap out but am sure something goes wrong at a certain point - even if solderedon they make material to absorb the solder, making your work area VERY clean.
    My Question now is this, get an 8 core, then replace with 2 3.7 QUAD CHIPS, what would happen?
    I also noticed that the 8 core Mac Pro is 3.0 when in fact they do have a 3.4 8 core chip, so 2 =16? Or if correct, wouldn't you be able to replace a QUAD CHIP WITH THAT?  I;M SURE THEY ARE UO TO SOMETHING AS 1) WE HAVE SEEN NO AUDIO FPU OR PERHAPS I SHOULD CHECK OUT PC MAKERS WINDOWS machines for Sisoft Sandra "B-E-N-C-H-M-A-R-K-S" -
    SOMETHINGS UP AND AM SURE WE'LL ALL BE PLEASED, AS the mac pro      was announced Last year, barely made the December mark, then pushed to January, then February and now April.
    Would rather wait and have it done correct than released to early only to have it benchmarked in audio and found to be slower in a few areas- - - the logical part of my brain is wondering what else I would have to swap out as I am sure it would run, and fine for a while, then, poof....
    PEACE===AM SURE APPLE WILL BLOW US AWAY - they have to figure out how to increase the power for 150 watts or make the GPU work which in regard to FPU, I thought was NVIDIA?

  • I don't understand the thing you call live bookmarks never used it, and most forums I have used notify VIA E-mail not giving out my E-mail address information when a reply has been made to the thread in question.

    So how do I get notified of updates in this forum? As I said: I don't understand the thing you call LIVE BOOKMARKS I have never used them, and most forums I have used notify VIA E-mail not giving out my E-mail address, or other private information when a reply has been made to the thread in question, so how do I get notified of updates in this forum? I have seen no normal options for setting my viewing preferences used for this forum. Thank You.

    Thanks for your reply via email/msg. He wrote:
    If you are interested in the actual design data for the Xeon processor, go to the Intel site and the actual CPU part numbers are:
    Xeon 4 core - E5.1620v2
    Xeon 6 core - E5.1650v2
    Xeon 8 core - E5.1680v2
    Xeon 12 core - E5.2697v2
    I read that the CPU is easy to swap out but am sure something goes wrong at a certain point - even if solderedon they make material to absorb the solder, making your work area VERY clean.
    My Question now is this, get an 8 core, then replace with 2 3.7 QUAD CHIPS, what would happen?
    I also noticed that the 8 core Mac Pro is 3.0 when in fact they do have a 3.4 8 core chip, so 2 =16? Or if correct, wouldn't you be able to replace a QUAD CHIP WITH THAT?  I;M SURE THEY ARE UO TO SOMETHING AS 1) WE HAVE SEEN NO AUDIO FPU OR PERHAPS I SHOULD CHECK OUT PC MAKERS WINDOWS machines for Sisoft Sandra "B-E-N-C-H-M-A-R-K-S" -
    SOMETHINGS UP AND AM SURE WE'LL ALL BE PLEASED, AS the mac pro      was announced Last year, barely made the December mark, then pushed to January, then February and now April.
    Would rather wait and have it done correct than released to early only to have it benchmarked in audio and found to be slower in a few areas- - - the logical part of my brain is wondering what else I would have to swap out as I am sure it would run, and fine for a while, then, poof....
    PEACE===AM SURE APPLE WILL BLOW US AWAY - they have to figure out how to increase the power for 150 watts or make the GPU work which in regard to FPU, I thought was NVIDIA?

  • I just downloaded Adobe Acrobat XI Pro, I am in the install process now and I am getting an Error message, Error 1303, stating I need to log on as an administrator ... this is my computer so I don't understand the issue??

    I just downloaded Adobe Acrobat XI Pro, I am in the install process now and I am getting an Error message, Error 1303, stating I need to log on as an administrator ... this is my computer so I don't understand the issue??

    Hi MAX22,
    Even though it's your computer but your user account might not have sufficient privileges to install the software.
    Please try the following :
    > Enable the hidden Admin Account on Windows 7 ( Ref :  http://www.howtogeek.com/howto/windows-vista/enable-the-hidden-administrator-account-on-wi ndows-vista/ )
    Reboot and try installing in the new enabled Admin user account and check.
    Regards,
    Rave

  • HT4847 Don't understand the purpose of icloud storage

    Hello,
    Maybe I'm alone on this one, but even after reading Apple's articles on iCloud and iCloud storage, I don't understand the purpose of it.  I am only using 23.5 of a 25 Go storage (all of it is backup of all my apps and files (not sure the movies and music is covered even though the iPad general setting info implies this since I'm in Europe) and yet, if I delete the app files from the iPad, I also delete them from the cloud.  So for instance, I want to update to the latest iOS and it says I'm short 312 Mo and need to delete stuff from the iPad. 
    If I understand correctly, the only way to do this safely is to make sure a duplicate is on my PC via iTunes. So then what do I need the iCloud extra storage for (for which I am paying)?  Is this like a SkyDrive or Dropbox or not???
    Please someone clear this up in simple, step-by-step type language.  I feel like I'm getting a round around when I read or take to Apple folks via email.  Thanks in advance!

    Movies, music and apps are not part of your back ups, they are all available already on Apples servers as part of the iTunes Store. Backups consist of settings, photos and other data which cannot be obtained from elsewhere.
    iCloud is not general online storage like Dropbox, in addition to back ups it keeps all your app data from apps such as contacts, calendars etc so it can be accessed by all your devices and keep them in sync. But in keeping with the mobile system structure the data is accessed through the app rather than a folder structure.

  • HT5463 Don't understand the Silence section in Do Not Disturb.  I do NOT want to silence calls at any time.  How do I achieve this?

    Don't understand the Silence section in Do Not Disturb.  I do NOT want to silence the phone at all.  I have entered Allow Calls from 'Everyone". 

    If you do not want to silence the phone at all, you just need to set both Manual and Sheduled to off (not green). Those two switches turn Do Not Disturb on and off. The "Silence" section is only relevant when Do Not Disturb is On and determines whether it is active only while the screen is locked and Do Not Disturb is On or at all times that Do Not Disturb is On. Also, if Do Not Disturb is Off, it doesn't matter what the "Allow calls from" is set to.
    If Do Not Disturb is On you will see a moon icon on the right side of the status bar (somewhere left of the battery %). More information at: http://support.apple.com/kb/HT5463

  • Filter don't work or I don't understand the workflow

    Hi.
    Mac OS X 10.6.8
    Aperture 3.2.4
    I use AP for long time without problems.
    Maybe I don't understand the workflow of filters.
    I edit some photos, make HDRs and use external Plugins from Nik.
    When I use the filter to show TIFFs or edit with external applications I don't see the fotos when I use both rules.
    When I use only TIFFs I see TIFFs but only BlackWhite fotos. The colored HDRs also TIFFs but I don't see it.
    When I use only External Edit I see HDRs but only colored HDRs.
    When I use both I see nothing, see screenshot.
    Make I a mistake  ?
    I will not use keyword AP should do his job.
    Jochen (.de)

    Maybe my question is not clear.
    A additionally screenshot is more clear.

  • Don't understand the java.lang.OutOfMemoryError

    Hi there,
    I try to create an 'About' frame for a small programm I created and I get an java.lang.OutOfMemoryError which I don't understand. Can somebody help?
    Here is my code:
    * TabbedPaneDemo.java is a 1.4 example that requires one additional file:
    *   images/middle.gif.
    import javax.swing.JTabbedPane;
    import javax.swing.ImageIcon;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JFrame;
    import javax.swing.JComponent;
    import java.awt.BorderLayout;
    import java.awt.Dimension;
    import java.awt.GridLayout;
    import java.awt.event.KeyEvent;
    import java.awt.Dimension;
    import java.awt.Rectangle;
    public class TabbedAbout extends JPanel {
              JLabel label=new JLabel("PRODUCT INFORMATION ");
                JLabel pv=new JLabel("Product version:");
                JLabel pvR=new JLabel("1.0");
                JLabel javav=new JLabel("Java Version:");
                JLabel javavR=new JLabel("1.4.2");
                JLabel sqlv=new JLabel("PostgreSQL Version:");
                JLabel sqlvR=new JLabel("8.1");
                JLabel pt=new JLabel("Programming Team:");
                JLabel onoma1=new JLabel("Gkisis Traianos");
                JLabel onoma2=new JLabel("Zafeiropoulos Ioannis");
                JLabel onoma3=new JLabel("Supervisor Teacher:");
                JLabel onoma3R=new JLabel("Stamatis Dimosthenis");
                JLabel alr=new JLabel("Product developed as dissertation for the ATEI");
                JLabel alr2=new JLabel("Thessaloniki on autumn 2006.");
                JLabel alr1=new JLabel("All rights reserved");
                ImageIcon icon = createImageIcon("images/folder_sticky.gif");
            ImageIcon icon2 = createImageIcon("images/tick.gif");
        public TabbedAbout() {
             JLabel panel1 = new JLabel();
             JFrame frame = new JFrame("About");
             JFrame.setDefaultLookAndFeelDecorated(true);
             frame.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);
             //super(new GridLayout(1, 1));
            JTabbedPane tabbedPane = new JTabbedPane();
            panel1.setIcon(new ImageIcon("images/TakeANoteProgress.jpg"));
            tabbedPane.addTab("About", icon, panel1);
            tabbedPane.setMnemonicAt(0, KeyEvent.VK_1);
            JPanel panel2 = new JPanel();
            //JFrame frame2 = new JFrame();
            panel2.setLayout(null);
            label.setIcon(icon2);
            label.setBounds(new Rectangle(20, 20, 200, 25));
            pv.setBounds(new Rectangle(20, 40, 175, 45));
            pvR.setBounds(new Rectangle(180, 40, 175, 45));
            javav.setBounds(new Rectangle(20, 60, 175, 45));
            javavR.setBounds(new Rectangle(180, 60, 175, 45));
            sqlv.setBounds(new Rectangle(20, 80, 175, 45));
            sqlvR.setBounds(new Rectangle(180, 80, 175, 45));
            pt.setBounds(new Rectangle(20, 100, 175, 45));
            onoma1.setBounds(new Rectangle(180, 100, 175, 45));
            onoma2.setBounds(new Rectangle(180, 120, 175, 45));
            onoma3.setBounds(new Rectangle(20, 140, 175, 45));
            onoma3R.setBounds(new Rectangle(180, 140, 175, 45));
            alr.setBounds(new Rectangle(20, 190, 500, 45));
            alr2.setBounds(new Rectangle(20, 210, 500, 45));
            alr1.setBounds(new Rectangle(20, 250, 500, 45));
            panel2.add(label);
            panel2.add(pv);
            panel2.add(pvR);
            panel2.add(javav);
            panel2.add(javavR);
            panel2.add(sqlv);
            panel2.add(sqlvR);
            panel2.add(pt);
            panel2.add(onoma1);
            panel2.add(onoma2);
            panel2.add(onoma3);
            panel2.add(onoma3R);
            panel2.add(alr);
            panel2.add(alr2);
            panel2.add(alr1);
            tabbedPane.addTab("Detail", icon, panel2);
            tabbedPane.setMnemonicAt(1, KeyEvent.VK_2);
            tabbedPane.setSize(new Dimension(400, 300));
            //Add the tabbed pane to this panel.
            add(tabbedPane);
            //Uncomment the following line to use scrolling tabs.
            //tabbedPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT);
            //Create and set up the content pane.
            JComponent newContentPane = new TabbedAbout();
            newContentPane.setOpaque(true); //content panes must be opaque
            frame.getContentPane().add(new TabbedAbout(),
                                     BorderLayout.CENTER);
            //Display the window.
            frame.setLocationRelativeTo(super.getComponent(0));
            frame.pack();
            frame.setResizable(false);
            frame.setVisible(true);
        protected JComponent makeTextPanel(String text) {
            JPanel panel = new JPanel(false);
            JLabel filler = new JLabel(text);
            filler.setHorizontalAlignment(JLabel.CENTER);
            //panel.setLayout(new GridLayout(1, 1));
            panel.add(filler);
            return panel;
        /** Returns an ImageIcon, or null if the path was invalid. */
        protected static ImageIcon createImageIcon(String path) {
            java.net.URL imgURL = TabbedAbout.class.getResource(path);
            if (imgURL != null) {
                return new ImageIcon(imgURL);
            } else {
                System.err.println("Couldn't find file: " + path);
                return null;
         * Create the GUI and show it.  For thread safety,
         * this method should be invoked from the
         * event-dispatching thread.
       // private static void createAndShowGUI() {
            //Make sure we have nice window decorations.
            //Create and set up the window.
      public static void main(String[] args) {
      //      //Schedule a job for the event-dispatching thread:
        //    //creating and showing this application's GUI.
            //javax.swing.SwingUtilities.invokeLater(new Runnable() {
             // public void run() {
                   TabbedAbout a=new TabbedAbout();
        }Thanks in advance

    I will try your suggestions. But still I don't understand. It was running independently very ok and it was what I wanted. It was built excatly as the example in
    With run and main etc etc. But when I put it in my rest program it started and stack overflow error. Then I tried to change, change, change and got this last form.
    This is what I had before but didn't work with my rest program.
    * TabbedPaneDemo.java is a 1.4 example that requires one additional file:
    *   images/middle.gif.
    import javax.swing.JTabbedPane;
    import javax.swing.ImageIcon;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JFrame;
    import javax.swing.JComponent;
    import java.awt.BorderLayout;
    import java.awt.Dimension;
    import java.awt.GridLayout;
    import java.awt.event.KeyEvent;
    import java.awt.Dimension;
    import java.awt.Rectangle;
    public class TabbedAbout extends JPanel {
      JLabel label=new JLabel("PRODUCT INFORMATION ");
      JLabel pv=new JLabel("Product version:");
      JLabel pvR=new JLabel("1.0");
      JLabel javav=new JLabel("Java Version:");
      JLabel javavR=new JLabel("1.4.2");
      JLabel sqlv=new JLabel("PostgreSQL Version:");
      JLabel sqlvR=new JLabel("8.1");
      JLabel pt=new JLabel("Programming Team:");
      JLabel onoma1=new JLabel("Gkisis Traianos");
      JLabel onoma2=new JLabel("Zafeiropoulos Ioannis");
      JLabel onoma3=new JLabel("Supervisor Teacher:");
      JLabel onoma3R=new JLabel("Dimosthenis Stamatis");
      JLabel alr=new JLabel("Product developed as dissertation for the ATEI Thessaloniki on autumn 2006.");
      JLabel alr1=new JLabel("All rights reserved");
        public TabbedAbout() {
            //super(new GridLayout(1, 1));
            JTabbedPane tabbedPane = new JTabbedPane();
            ImageIcon icon = createImageIcon("images/folder_sticky.gif");
            JLabel panel1 = new JLabel();
            panel1.setIcon(new ImageIcon("images/TakeANote.jpg"));
            tabbedPane.addTab("About", icon, panel1);
            tabbedPane.setMnemonicAt(0, KeyEvent.VK_1);
            JPanel panel2 = new JPanel();
            JFrame frame = new JFrame();
            panel2.setLayout(null);
             label.setBounds(new Rectangle(170, 20, 150, 25));
             pv.setBounds(new Rectangle(90, 40, 175, 45));
             pvR.setBounds(new Rectangle(220, 40, 175, 45));
             javav.setBounds(new Rectangle(90, 60, 175, 45));
             javavR.setBounds(new Rectangle(220, 60, 175, 45));
             sqlv.setBounds(new Rectangle(90, 80, 175, 45));
             sqlvR.setBounds(new Rectangle(220, 80, 175, 45));
             pt.setBounds(new Rectangle(90, 100, 175, 45));
             onoma1.setBounds(new Rectangle(220, 100, 175, 45));
             onoma2.setBounds(new Rectangle(220, 120, 175, 45));
             onoma3.setBounds(new Rectangle(90, 140, 175, 45));
             onoma3R.setBounds(new Rectangle(220, 140, 175, 45));
             alr.setBounds(new Rectangle(30, 170, 500, 45));
             alr1.setBounds(new Rectangle(170, 190, 500, 45));
            panel2.add(label);
            panel2.add(pv);
            panel2.add(pvR);
            panel2.add(javav);
            panel2.add(javavR);
            panel2.add(sqlv);
            panel2.add(sqlvR);
            panel2.add(pt);
            panel2.add(onoma1);
            panel2.add(onoma2);
            panel2.add(onoma3);
            panel2.add(onoma3R);
            panel2.add(alr);
            panel2.add(alr1);
            tabbedPane.addTab("Detail", icon, panel2);
            tabbedPane.setMnemonicAt(1, KeyEvent.VK_2);
            tabbedPane.setSize(new Dimension(400, 300));
            //Add the tabbed pane to this panel.
            add(tabbedPane);
            //Uncomment the following line to use scrolling tabs.
            //tabbedPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT);
        protected JComponent makeTextPanel(String text) {
            JPanel panel = new JPanel(false);
            JLabel filler = new JLabel(text);
            filler.setHorizontalAlignment(JLabel.CENTER);
            //panel.setLayout(new GridLayout(1, 1));
            panel.add(filler);
            return panel;
        /** Returns an ImageIcon, or null if the path was invalid. */
        protected static ImageIcon createImageIcon(String path) {
            java.net.URL imgURL = TabbedAbout.class.getResource(path);
            if (imgURL != null) {
                return new ImageIcon(imgURL);
            } else {
                System.err.println("Couldn't find file: " + path);
                return null;
         * Create the GUI and show it.  For thread safety,
         * this method should be invoked from the
         * event-dispatching thread.
        private static void createAndShowGUI() {
            //Make sure we have nice window decorations.
            JFrame.setDefaultLookAndFeelDecorated(true);
            //Create and set up the window.
            JFrame frame = new JFrame("About");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            //Create and set up the content pane.
            JComponent newContentPane = new TabbedAbout();
            newContentPane.setOpaque(true); //content panes must be opaque
            frame.getContentPane().add(new TabbedAbout(),
                                     BorderLayout.CENTER);
            //Display the window.
            frame.pack();
            frame.setVisible(true);
        public static void main(String[] args) {
            //Schedule a job for the event-dispatching thread:
            //creating and showing this application's GUI.
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
    }But independetly was working just fine. Excatly as I wanted
    Message was edited by:
    sickboy

  • Slow Macbook Pro- please help, I don't understand previous advice.

    Hello all,
    I have a very slow Macbook Pro running on Lion 10.7.3.
    I looked up this problem on the forums before I sent this message but I didn't quite understand the advice. I have been on something called Disk Utility and Activity Monitor but don't really understand what I'm looking for. It seems a large percentage of my mac is 'idle' if that makes sense. Someone said to look at Page Out but I really don't understand what that means and what sort of numbers are normal.
    I do have some storage left so I don't think it could be that. A lot of my gigabytes seem to be taken up by movies and 'other'. I've tried deleted a load of videos but it hardly made a difference. I have Mac Mail and it seems very slow on my Macbook compared to on my Ipad and iphone. iCal is also very slow on here and it always takes a while to load internet pages. It isnt the wifi connection.
    Please help and bear in mind I am by no means a Mac whizz so you might have to talk in layman's terms!
    Thanks,
    Amy

    If you have more than ten or so files or folders on your Desktop, move them, temporarily at least, somewhere else in your home folder.
    If iCloud is enabled, disable it.
    Disconnect all wired peripherals. Launch the usual set of applications you use when you notice the problem.
    Step 1
    Launch the Activity Monitor application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Activity Monitor in the page that opens.
    Select the CPU tab.
    Select All Processes from the menu in the toolbar, if not already selected.
    Click the heading of the % CPU column in the process table to sort the entries by CPU usage. You may have to click it twice to get the highest value at the top. What is it, and what is the process? Also post the values for % User, % System, and % Idle at the bottom of the window.
    Select the System Memory tab. What values are shown in the bottom part of the window for Page outs and Swap used?
    Step 2
    Launch the Console application in the same way as above, and select “kernel.log” from the file list. Post the dozen or so most recent messages in the log — the text, please, not a screenshot.
    If there are runs of repeated messages, post only one example of each. Do not post many repetitions of the same message.

  • Newbie trying to understand the frame/fields per second concept on video

    Do video camera shutter speeds (1/60sec) reflect an interlaced field or a full frame comprised of two interlaced fields per part of a second.
    I suspect that a shutter setting of 1/60sec means it's not a full frame of video but is just an odd or even lined interlace field. Meaning that if I want to shoot 30fps I need to keep my shutter setting on 1/60sec.
    But if that's really the case, then what am I exactly shooting per second if actual NTSC frame rate is 29.97fps? I mean, the first 2p frames can easily be divided into two fields each, but what about the remaining .97frame. How can you divide that into two fields of interlaced video lines?
    Forgive my ignorance but books have a bad habit of not answering back when you don't understand something they say.
    iMac Intel Duo-Core; Intel Mac mini single-core   Mac OS X (10.4.6)  
    iMac Intel Duo-Core; Intel Mac mini single-core   Mac OS X (10.4.6)  

    The shutter speed is not relevant. I can be either field based or progressive. The frame rate is not dependent on the shutter speed.

  • Don't understand the cc cleaner tool

    Good morning and happy new year.
    I must be the dumbest people here but I tried to follow the cc cleaner tool process explained here and I'm at a loss and stopped before making a fool of myself.
    I went through the process 1 and 2 ie. I have a disk repair and an external disk backup of my system driver. (I use Win 7 Ultimate fully updated). My projects are NOT on the system drive as well as all the clips I use .
    question : Will CC cleaner delete on the system drive any information related to my projects? I need a precise answer: No or Yes. The "perhaps", "maybe" etc evavive answers are not acceptable in such situations.
    In  the step 2 of the help file I uninstalled with Win 7 uninstall manager different elements from CC and CS 6 that either I have no use of or that I wont use anymore as I want to stick to the latest version of CC which are PPro, AE  and Mediaencoder for the moment.
    We arrive to step 3 and there I just don't understand why I should have to uninstall programs I uninstalled in the previous step. Will that step totally erase the whole programs of CC for example, or will it just clean remaining items or directories specifically related to for instance Prelude CC 2014 ? Can't people who write these messages in their scripts be once and for all precise in their wording saying what will be done?!
    In this present instance I need to make a clean re-install of Mediaencoder CC as there has been most probably a problem during the recent update although it was completed without any error messages; I can't anymore re encode a project although I have not changed a line of it! The program stops suddenly and reboots my computer. I have not changed anything in the computer as well and the hardware is not the cause of the problem as it is only Media encoder which provokes the crash when it did not before the update.
    This will be probably considered an ill mannered way of presenting my problem by I'm sorry to say that one cannot work cautiously enough and I don't want to see weeks of work erased and not usable even with backups because a user manual is not clear and precise in its wording. This infuriates me and I wish to know where I set foot!
    Again sorry for my bad temper but really this is stressing.
    Thanks in advance for your help
    Claude

    Hi David,
    First happy new year. Secondly thanks for a reply which shows I was read...
    Let's review your remarks and questions.
    A/ it can be useful for you to know my pc configuration, I should have put it in my question:
    More details about my computer
    Component
    Details
    Subscore
    Base score
    Processor
    Intel(R) Core(TM) i5 CPU 760 @ 2.80GHz
    7.3
    5.9
      Determined by lowest subscore
    Memory (RAM)
    8.00 GB
    7.5
    Graphics
    ASUS HD7950 Series
    7.9
    Gaming graphics
    6559 MB Total available graphics memory
    7.9
    Primary hard disk
    49GB Free (286GB Total)
    5.9
    Windows 7 Ultimate
    System 
    Manufacturer
    System manufacturer
    Model
    System Product Name
    Total amount of system memory
    8.00 GB RAM
    System type
    64-bit operating system
    Number of processor cores
    4
    Storage 
    Total size of hard disk(s)
    5123 GB
    Disk partition (C:)
    49 GB Free (286 GB Total)
    Disk partition (D:)
    185 GB Free (488 GB Total)
    Disk partition (E:)
    233 GB Free (2795 GB Total)
    Disk partition (F:)
    646 GB Free (646 GB Total)
    Disk partition (G:)
    40 GB Free (244 GB Total)
    Disk partition (H:)
    40 GB Free (199 GB Total)
    Media drive (I:)
    CD/DVD
    Disk partition (M:)
    33 GB Free (466 GB Total)
    Graphics 
    Display adapter type
    ASUS HD7950 Series
    Total available graphics memory
    6559 MB
          Dedicated graphics memory
    3072 MB
          Dedicated system memory
    0 MB
          Shared system memory
    3487 MB
    Display adapter driver version
    13.152.0.0
    Primary monitor resolution
    1920x1080
    Secondary monitor resolution
    1360x768
    DirectX version
    DirectX 10
    Network 
    Network Adapter
    Realtek PCIe GBE Family Controller
    Notes 
    The gaming graphics score is based on the primary graphics adapter. If this system has linked or multiple graphics adapters, some software applications may see additional performance benefits.
    My project is on driver G, my clips are on D, E and G, with a majority of them on G; Cloud CC 2014 is on Driver C with Windows 7
    B/What version of Premiere Pro are you running currently? Do you have any third party plug-ins or hardware you using in conjunction with Premiere Pro? Do you know what version of Media Encoder you were using successfully before the recent update and you started having problems?
    I use exclusively since I took the subscription to Cloud CC, the latest versions, I check updates or upgrades every week and of course get notification also by the automatic Cloud manager of any new version. My last update was done on the 30th of December 2014. So yes I run with the most recent programs; the problems occurred just after! And got aggravated yesterday for no reason when Media encoder and Premiere Pro did not recognized MP4 format clips with an error message that the format was not supported!!! I hope Adobe did not decide to abandon this format, because it would put my 2 projects in full jeopardy!
    Before the last update I had no problems. I have uploaded on Vimeo a provisional encoded file (see
    with password rja404177 .
    I decided  to separate my project in two master projects concerning each of them the 2 parts of the video, with different names as to make the projects less heavy to manage by the computer and also easier to correct or change some of the effects controls especially the use of the curves RGB effect. I have a problem of getting an even colorimetric view between three different sources of files and cameras, one source is analog, the others HD and one of the latest has been more or less over exposed, so I check every clips with the YCscope and RGB parade and Vectorscope ( there could be a problem of color broadcast due to the red of the cliffs). Just imagine what would happen If I had to do it again! The full video is 1h10 minutes long! The video here corresponds to the first master project before the division in two parts. As I use nested sequences I have transferred in the master sequence here the 3 first sequences of the film (Titles, Las Vegas to Lee's Ferry, 1st day on the river).
    Yes I have Video Copilot addons but which are not used in the project as well as Red Giant Universe Premium also not used here. In fact I seldom use special effects in these projects as they are kind of documentary on my raft trip down the Colorado in 1995 updated with films of two friends done 2011 and 2013. The only effects used are Cross dissolve and the Slide push one twice in the project for the last one. I use otherwise the default controls of scale and opacity if necessary. Soundwise, my tracks are declared 5.1 and used in conjunction with Audition CC (I've been a user of this last program for many years since it's creation by Syntrillium under the name CoolEdit Pro before Adobe acquired it!)
    May I add that I'm not a novice with computers although an old froggy of 73!LOL! I began using computers in 1972 besides my job of Financial Analyst. I developed software in APL+ for stocks buy and sell decision making and created in France the first financial database in 1978 I was considered at that time like a perfect crazy guy in my business, good to be put in an asylum!!!. Since then I must say I had a good laugh! Try to prevent a trader to use a computer and databases nowadays and you'll see the speed at which he will throw you out of the window!
    C/I would probably have focused on just Media Encoder if possible but whats done is done. Maybe you did?
    Yes you're right I sort of thought of Media encoder first, but revised my way of dealing with the problem thinking that may be the installation had not been done correctly although no problem occurred during the update. I always update one program at a time waiting it to be fully completed before clicking on the install button of the next one.
    D/ about the two methods of uninstall.
    You say "The cleaner tool removes the same directories as the standard uninstaller. However the uninstaller is definitely the preferred method as it is done in conjunction with OS and the registry versus scripts which don't. The cleaner tool is generally used when the standard uninstall method fails "
    May I say I'm not sure this is the right way to do from the user viewpoint. It is misleading. I'm again neither a professional in development although I mentioned what I did when I was not retired, and not a professional in Video editing etc.. I just address the problem from the user's point of view. If Adobe thinks that the Management panel solution is the best solution to have all the files eliminated let's stick to it. In fact one can see by using the CCleaner program that it does not eliminate all the register's problems after having uninstalled a program. So perhaps then it is justified to use also the Adobe CC Cleaner device. Then may I suggest that the phrasing of the step 3 be changed to make the user understand its real purpose. From what you say one induces that they are complementary. This should be perfectly clear in the user's brain.  When I tried to find answers to my problems on the forums it showed many times that people did not really understand what would happen, how the device was going to work. That's why I insisted in my question on the "precise, yes or no " etc.. answers required. I can dedicate time to such questioning, I doubt a professional having to deliver a final product under contract has time to make hypothesis on this matter if it occurs to him such mishaps....
    E/ miscellaneous questions:
    Yes I use the default format proposed by Media encoder H.264  preset : Match source high bitrate which matches my project's settings. It worked three times before the update without an hitch. Why should not it go on like that?
    The encoded files are saved either on the driver of the project file, or on the E external driver to make sure I do not erase the final encoded file by mistake. Poirot's little grey cells are a little bit rusty nowadays!
    I had no problems before the update by working like that.
    I did not try a different codec before the last event which is the impossibility of using my MP4 clips. By the way the projects contain also AVI uncompressed (codec UYVY) files (My quicktime version is also updated) and the native files of my Canon Legria AVCHD camera (AVC format) and  I used the AVI uncompressed format because I wanted to derush my analog files to eliminate any shots which were of poor quality. I use for this a small software: AVI Cutty which works only with AVI uncompressed files. So I used Media Encoder to pre encode my analog files in this format first; It separate automatically my videos in clips more or less corresponding to scenes. Again I had no problem since I began to use Adobe software more than a year ago with CS5.5 and then with CC 2014 since last September as a yearly subscriber.
    Both projects have the same problem.
    I checked the Windows task manager while encoding and I observed this:
    a/ the crash occurs randomly in time.
    b/ it seems that each time the encoding passes on a cross dissolve section (I'm not certain of that it can be also the changes in the curves RGB effects settings from one clip to the other.) the CPU usage curve reaches a peak around 95 to nearly 100%. I suppose the crash occurs when the 100%+ is reached.
    c/I've checked my system driver's integrity, there is no problem here. I did the same for the memory which is ok too.
    d/ No I did put the question on other forums because I did not find the right place to put it.
    I do my best not to pollute other forums with non related questions.
    e/ As for the recognition of the MP4 files, other programs like the Windows mediaplayer recognize them so it's not a question of corrupted files.
    f/ I've just checked with the reinstalled media encoder. I did not re-encode but I do not get any more messages that the MP4 format is not recognized! Thank god! Remains to test the re-encoding itself and PP when the installation is over.
    Well I hope this long answer gives you a better idea of what is going on. I'm finishing right now the re installation of PP AE Media encoder and Audition and will come back to you with the results.
    Thanks again
    Best
    Claude

Maybe you are looking for