Making It Simple!

Geez, I thought iDVD was supposed to be a simple way to create a slideshow, etc. If this is a simple program, I'd hate to see a hard one!
Basic terms are not defined. Buttons, chapters, etc. - why do you need those? I pick a theme, and I see a bunch of animated stuff going across the screen. No explanations, no nuthin'. I've watched the getting started video about 10 times to no avail. I think this program assumes a basic knowledge of video editing before you ever get started.
I have a simple slideshow presentation. I'd like to add music to it. It's a travel DVD, so I'd like to add "chapters" - I think that's what you call the breaks in the presentation that allow for navigation. I'd also like to add pictures to the drop zones in theme, only I can't find the drop zones. Earlier, when I played with this theme, I saw drop zones and could add pictures. Now the drop zones seem to have disappeared.
I'm burning a copy of my first attempt with this program. It says it will take nearly 8 hours to complete. How is that possible? All I have are 255 different slides - no music, no chapters, buttons, etc. because I don't know how to do those yet.
Anyone here willing to help me get started?

Trust me, it is simple compared to FCP and DVDSP (Apple's Pro Apps). But I can sympathize with your frustration in trying to learn something entirely new compared to any former version of this same software. At times it does feel more like an entirely different application. But for the most part it does do the job of editing video well. The ten new themes alone are worth every dollar spent on this new software and are frankly outstanding. As is the option to use Pro encoding (even tho it does take twice as long), something new that simply wasn't available to us in any former version of i-Life.
Here's my suggestion. If you haven't already; download iMovie 6 FREE from apple's web site. It works perfectly with iDvd'08 and it will give you all the options you mentioned above and it is more user friendly IMO. It's the version many of us prefer to use on a daily basis.
http://www.apple.com/support/downloads/imovieHD6.html
Good luck.

Similar Messages

  • Making a simple ticking clock in AS3 with .as files

    I'm making a simple clock in AS3 as seen on youtube (Doug Winnie) but I want to put the code into separate .as files. This is what I have so far but I keep getting the error 1046: Type was not found or was not a compile time constant: secondHand. But it's saying that the location of the error is Line 3 of Clock, but secondHand isn't even mentioned here?
    package  {
    import flash.display.MovieClip;
    public class Clock extends MovieClip {
    import flash.events.TimerEvent;
    import flash.utils.Timer;
    import flash.events.MouseEvent;
    var clockTimer:Timer = new Timer(1000, 60);
        public function Clock(e:TimerEvent):void
            clockTimer.addEventListener(TimerEvent.TIMER_COMPLETE, endTimer);
            function endTimer(e: TimerEvent): void
            trace("Finished");
    // startButton and stopBtn are instances of GameButton.
    package  {
    import flash.display.MovieClip;
    import flash.events.MouseEvent;
    public class GameButton extends MovieClip {
        public var startButton : GameButton;
        public var stopBtn : GameButton;
        public function GameButton():void
        createListener();
        startButton.buttonLabel.text = "Start";
        stopBtn.buttonLabel.text = "Stop";
        public function createListener():void{
            startButton.addEventListener(MouseEvent.CLICK, startTimer);
            stopBtn.addEventListener(MouseEvent.CLICK, stopTimer);
        function startTimer(e:MouseEvent):void
                clockTimer.start();
                trace ("Timer started.");
                startButton.visible = false;
            function stopTimer(e:MouseEvent):void
                clockTimer.stop();
                trace("Timer stopped.");
                startButton.visible = true;
    package  {
    import flash.display.MovieClip;
    import flash.events.TimerEvent;
    public class secondHand extends MovieClip {
        public function secondHand(e: TimerEvent):void {
            // constructor code
            clockTimer.addEventListener(TimerEvent.TIMER, moveHand);
        public function moveHand(e:TimerEvent):String
            secondHand.rotation = secondHand.rotation + 6;
            trace("timer");

    C:\Users\Claire\Desktop\CLOCK\secondHand.as, Line 8
    1018: Duplicate class definition: secondHand.
    C:\Users\Claire\Desktop\CLOCK\Clock.as, Line 1
    5000: The class 'Clock' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
    C:\Users\Claire\Desktop\CLOCK\GameButton.as, Line 1
    5000: The class 'GameButton' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
    C:\Users\Claire\Desktop\CLOCK\secondHand.as, Line 1
    5000: The class 'secondHand' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.

  • Need advice on making a simple Flash video file. Trying to accomplish two things.

    I have some video files (.avi) that I am trying to convert to a Flash video format. I am trying to export it to a Flash player to go into a Powerpoint file. With this, I am trying to accomplish two goals:
    1. To have the short clip (15sec, 30fps) endlessly loop, like an animated .gif.
    2. To allow the user to click on the video player and drag left/right to ff/rew.
    The video itself is a turntable animation. One of our products is making a complete 360degree turn. By allowing the user to grab and drag, it will simulate them rotating the model.
    So far, I have already accomplished Goal 1. I made a new Actionscript 3 file, imported video (embed flv in swf and play in timeline), and then made the video loop on the timeline. This seems to export properly, and the video loops as needed. The only thing I can't figure out is how to make the video "interactive" and let the user drag left/right.
    For context, I have never used Flash before. Any help would be greatly appreciated.

    This will come down to essentially moving the playhead of Flash based on the movement of the mouse. It's certainly not going to be smooth however, you'd need a timer to be responsible for moving your playhead and reversing spatial compression is very CPU intensive (moving backwards on the timeline). I'd recommend having a forward and backward version of the video so you could flip between them but if you're new to flash you're already in way above your head.
    Add a new layer and try adding this example script (or Download Source example here, saved to CS5):
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    import flash.events.MouseEvent;
    // make sure we don't trip this frame twice
    if (!stage.hasEventListener(MouseEvent.MOUSE_DOWN))
              // stop playhead
              stop();
              // set state (forwards? backwards?)
              var movingForward:Boolean = true;
              var curFrame:int = 1;
              var mouseStartX:int; // used later to determine drag
              // detect mouse click and drag left or right
              stage.addEventListener(MouseEvent.MOUSE_DOWN, onMouseF);
              stage.addEventListener(MouseEvent.MOUSE_UP, onMouseF);
              // create new timer to control playhead, start it
              var phTimer:Timer = new Timer(33,0);
              phTimer.addEventListener(TimerEvent.TIMER, movePlayheadF);
              phTimer.start();
              // function to control playhead
              function movePlayheadF(e:TimerEvent):void
                        curFrame += movingForward ? 1 : -1;
                        // validate frame (60 total frames)
                        if (curFrame > this.totalFrames) curFrame = 2;
                        else if (curFrame < 1) curFrame = this.totalFrames;
                        // goto the next frame
                        this.gotoAndStop(curFrame);
              // function that controls the direction variable
              function onMouseF(e:MouseEvent):void
                        if (e.type == MouseEvent.MOUSE_DOWN)
                                  // user started touching, record start spot
                                  mouseStartX = int(stage.mouseX);
                        else if (e.type == MouseEvent.MOUSE_UP)
                                  // user let mouse go, determine direction change (swipe stype)
                                  if (stage.mouseX > mouseStartX)
                                            // swiped right, move forwards
                                            movingForward = true;
                                            trace('Moving forward now');
                                  else if (stage.mouseX < mouseStartX)
                                            // swiped left, move backwards
                                            movingForward = false;
                                            trace('Moving backwards now');
    This is pretty simple. In the example source link above an object on the timeline (nice ugly red circle) moves right over 60 frames and then left over 60 frames (120 total). Consider that your movie.
    A timer ticks at a speed of 33ms (30fps). This is where it isn't necessarily going to be too smooth with video. If you increase it to 60FPS then decrease the timer by half (16.5ms), season to taste. Each time the timer goes off the playhead is moved, either forwards or backwards.
    To know if it should go forward or backwards a simple variable (movingForward) keeps track of the last 'swipe'. The swipe is simply captured when a user touches the screen (mouse/finger), moves in a direction and then lets up. If they moved to the left the direction will be reverse. If they moved to the right it will move forward. This doesn't take into consideration any more than that logic, but illustrates how you can watch the mouse for movement and "do something" based on it.
    A very simple validatior in the timer event function checks to see if the next frame (in either direction) is valid and if it's not, it corrects it so it stays within your videos timeline length.
    Note there is a MOUSE_MOVE event you can try to hook to which can be used to literally let the user drag the video forwards and backwards the amount they drag their finger/cursor. Also if this is some kind of circular surface like a record spinning, the direction the user moves the mouse based on where they touch the record would change which direction they expect it to move. Etc etc..
    That should get your feet wet in how much you need to consider for your project.

  • Making a simple calc applet.  Where am I going wrong?

    Hi everyone. I'm taking a introductory java class over the summer and so far I've been doing pretty good in it. I've been able to knock out and figure out how to do most of the assignments on my own. But this latest problem is driving me up a wall. I think I might be making it more difficult then it is. I'm supposed to a take a simple calculation program, and then convert it into an applet with new button functionality and text fields. In the applet, there will be two text fields(input and result) and two buttons(Update and Reset). In the first field you put in an operator and a number. Then from there you hit the Update button and the new value is put in the second field.
    For example. The program is defaulted to "0". So you put "+ 9" in the first field, then Hit Update. "9" will now appear in the second field. Go back to the first field and put in "- 3", hit update again and now the second field will go to "6." You can keep doing this all you want. Then when you want to start all over again you hit reset. Its sort of a weird program.
    Here's the original calc program:
    import java.util.Scanner;
    Simple line-oriented calculator program. The class
    can also be used to create other calculator programs.
    public class Calculator
        private double result;
        private double precision = 0.0001; // Numbers this close to zero are
                                           // treated as if equal to zero.
        public static void main(String[] args)
            Calculator clerk = new Calculator( );
            try
                System.out.println("Calculator is on.");
                System.out.print("Format of each line: ");
                System.out.println("operator space number");
                System.out.println("For example: + 3");
                System.out.println("To end, enter the letter e.");
                clerk.doCalculation();
            catch(UnknownOpException e)
                clerk.handleUnknownOpException(e);
            catch(DivideByZeroException e)
                clerk.handleDivideByZeroException(e);
            System.out.println("The final result is " +
                                      clerk.getResult( ));
            System.out.println("Calculator program ending.");
        public Calculator( )
            result = 0;
        public void reset( )
            result = 0;
        public void setResult(double newResult)
            result = newResult;
        public double getResult( )
            return result;
         The heart of a calculator. This does not give
         instructions. Input errors throw exceptions.
        public void doCalculation( ) throws DivideByZeroException,
                                            UnknownOpException
            Scanner keyboard = new Scanner(System.in);
            boolean done = false;
            result = 0;
            System.out.println("result = " + result);
            while (!done)
               char nextOp = (keyboard.next( )).charAt(0);
                if ((nextOp == 'e') || (nextOp == 'E'))
                    done = true;
                else
                    double nextNumber = keyboard.nextDouble( );
                    result = evaluate(nextOp, result, nextNumber);
                    System.out.println("result " + nextOp + " " +
                                       nextNumber + " = " + result);
                    System.out.println("updated result = " + result);
         Returns n1 op n2, provided op is one of '+', '-', '*',or '/'.
         Any other value of op throws UnknownOpException.
        public double evaluate(char op, double n1, double n2)
                      throws DivideByZeroException, UnknownOpException
            double answer;
            switch (op)
                case '+':
                    answer = n1 + n2;
                    break;
                case '-':
                    answer = n1 - n2;
                    break;
                case '*':
                    answer = n1 * n2;
                    break;
                case '/':
                    if ((-precision < n2) && (n2 < precision))
                        throw new DivideByZeroException( );
                    answer = n1 / n2;
                    break;
                default:
                    throw new UnknownOpException(op);
            return answer;
        public void handleDivideByZeroException(DivideByZeroException e)
            System.out.println("Dividing by zero.");
            System.out.println("Program aborted");
            System.exit(0);
        public void handleUnknownOpException(UnknownOpException e)
            System.out.println(e.getMessage( ));
            System.out.println("Try again from the beginning:");
            try
                System.out.print("Format of each line: ");
                System.out.println("operator number");
                System.out.println("For example: + 3");
                System.out.println("To end, enter the letter e.");
                doCalculation( );
            catch(UnknownOpException e2)
                System.out.println(e2.getMessage( ));
                System.out.println("Try again at some other time.");
                System.out.println("Program ending.");
                System.exit(0);
            catch(DivideByZeroException e3)
                handleDivideByZeroException(e3);
    }Here's me trying to make it into an applet with the added button functionality.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.math.*;
    import java.util.*;
    import java.io.*;
    import java.lang.*;
    public class Calculator extends JApplet implements ActionListener
              // Variables declaration. 
               private javax.swing.JPanel jPanel2;
             private javax.swing.JLabel jLabel2;
             private javax.swing.JTextField jTextField1;
             private javax.swing.JLabel jLabel3;
             private javax.swing.JTextField jTextField2;
             private javax.swing.JButton jButton1;
             private javax.swing.JButton jButton2;
             private javax.swing.JTextArea resultArea;
             private Container container;
             // End of variables declaration
         public void init () {
            initComponents();    
            setSize(400, 200);       
        private void initComponents() {
            container = getContentPane();
            container.setLayout( new BorderLayout() );
                // Creating instances of each item 
                jPanel2 = new javax.swing.JPanel();
            jLabel2 = new javax.swing.JLabel();
            jTextField1 = new javax.swing.JTextField();
            jLabel3 = new javax.swing.JLabel();
            jTextField2 = new javax.swing.JTextField();
            jButton1 = new javax.swing.JButton();
            jButton2 = new javax.swing.JButton();
            resultArea = new javax.swing.JTextArea();
                // End Creation
            // Set text on labels, preferred size can be optional on labels,
                // size should/must be used on text fields.
              // Then each individual item is added to a panel.
            jLabel2.setText("Input =");
            jPanel2.add(jLabel2);
            jTextField1.setText("");
            jTextField1.setPreferredSize(new java.awt.Dimension(65, 20));
            jPanel2.add(jTextField1);
            container.add( jPanel2, BorderLayout.SOUTH);
            jButton1.setText("Update");
                jButton1.addActionListener(this);
                jButton2.setText("Reset");
                jButton2.addActionListener(this);
                container.add(resultArea, BorderLayout.CENTER);
            container.add(jButton1, BorderLayout.WEST);
            container.add(jButton2, BorderLayout.EAST);
                     resultArea.setText("Calculator is on.\n" +
                             "Format of each line: " +
                                             "\noperator space number" +
                             "\nFor example: + 3" +
                                             "\nThen hit Update to compute"+
                             "\nHit Reset to set the result back to zero.");
       private double result;
       private double precision = 0.0001;
       public void actionPerformed(ActionEvent e)
                Calculator clerk = new Calculator( );
            try
                clerk.doCalculation();
                catch(UnknownOpException e2)
                clerk.handleUnknownOpException(e2);
            catch(DivideByZeroException e2)
                clerk.handleDivideByZeroException(e2);
            resultArea.setText("The final result is " + clerk.getResult( )+
                                        "\nCalculator program ending.");
         public Calculator( )
            result = 0;
        public void reset( )
            result = 0;
        public void setResult(double newResult)
            result = newResult;
        public double getResult( )
            return result;
         The heart of a calculator. This does not give
         instructions. Input errors throw exceptions.
        public void doCalculation( ) throws DivideByZeroException,
                                            UnknownOpException
            Scanner keyboard = new Scanner(System.in);
            boolean done = false;
            result = 0;
            resultArea.setText("result = " + result);
            while (!done)
               char nextOp = (keyboard.next( )).charAt(0);
                if ((nextOp == 'e') || (nextOp == 'E'))
                    done = true;
                else
                    double nextNumber = keyboard.nextDouble( );
                    result = evaluate(nextOp, result, nextNumber);
                    resultArea.setText("result " + nextOp + " " + nextNumber + " = " + result+
                                                    "\nupdated result = " + result);
         Returns n1 op n2, provided op is one of '+', '-', '*',or '/'.
         Any other value of op throws UnknownOpException.
        public double evaluate(char op, double n1, double n2)
                      throws DivideByZeroException, UnknownOpException
            double answer;
            switch (op)
                case '+':
                    answer = n1 + n2;
                    break;
                case '-':
                    answer = n1 - n2;
                    break;
                case '*':
                    answer = n1 * n2;
                    break;
                case '/':
                    if ((-precision < n2) && (n2 < precision))
                        throw new DivideByZeroException( );
                    answer = n1 / n2;
                    break;
                default:
                    throw new UnknownOpException(op);
            return answer;
        public void handleDivideByZeroException(DivideByZeroException e)
            resultArea.setText("Dividing by zero."+
                               "\nProgram aborted");
            System.exit(0);
        public void handleUnknownOpException(UnknownOpException e)
            resultArea.setText(e.getMessage( )+
                              "\nTry again from the beginning:");
            try
                resultArea.setText("Calculator is on.\n" +
                             "Format of each line: " +
                                             "\noperator space number" +
                             "\nFor example: + 3" +
                             "\nHit Reset to set the result back to zero.");
                        doCalculation( );
            catch(UnknownOpException e2)
                System.out.println(e2.getMessage( ));
                System.out.println("Try again at some other time.");
                System.out.println("Program ending.");
                System.exit(0);
            catch(DivideByZeroException e3)
                handleDivideByZeroException(e3);
    }I'm not getting any compiling errors or anything and it launches, but it doesn't work at all. I'm sure it has something to do with the calc program and the applet actionevent. I just don't know where to go from there. Can anyone tell me where I'm going wrong? Or even make sense of what I've posted. I know its a lot. I've been looking at this thing for a day now and its killing me. Any help would be greatly appreciated. Thanks.

    This is a mistake
    public void actionPerformed(ActionEvent e)
                Calculator clerk = new Calculator( );
            try
                clerk.doCalculation();You don't want to create a whole new applet every time anyone pushes a button.
    Make whatever changes are neccessary so that you don't have to create a new applet in your actionPerformed

  • *Help* making a simple RPG for my AP CS class

    I am in desperate need of help, I am creating an RPG(of sorts, it is a purely a battle RPG in which characters level up and modify stats) there will be no storlyine (Yet) or adventure elements. I've reached a severe mental roadblock in the actual programming of the game but I have a very clear picture of exactly how the game runs. Here's how the game works, after starting a new game from the opening screen, the player begins with a simple battle against one monster. The player has four characters and each character starts with one basic attack. Battle continues in typical RPG style in which the player selects attacks, and then battle ensues in order based on the speed of each participant. At the end of each battle, all the characters level up once and the player can distribute a certain amount of stat points to each of the characters individual stats. The game continues like this for 40 levels with increasing difficulty, new attacks, and an upgrade to a new class at level 20. level 41 is a final boss fight against a typical RPG boss monster. Here is what i particularly have trouble on
    1. Determining how to create the attacks that the player can choose and figuring out how i can call upon them and have them do their damage based on certain specs
    2. Determining how to create an interactive interface that allows the player to choose the attack for each character, upgrade individual stats after each battle, and save (this will be a point and click menu system)
    3. Figuring how to create and input my own homemade graphics into the game (the book i have doesn't seem to cover putting in graphics that you create on your own, just the graphics that are part of the java package)
    Any help on this would be greatly appreciated becuase it is a major grade in my class

    Hello,
    I have been programming (in various languages) for years now. I also am in AP CS and I have been trying to think up a good game to make, i'm about 2 months ahead of my coursework in class and spend my time making and re-making various games during class.
    If i were to program this game i would go about the Attack issue by having a class called Attack (as was mentioned early). In it have the methods and variables and such for the attack, i would have a database or something along those lines of all the attacks (but for now start small with a basic one) and then each player could have one (or multiple - depending on whether or not they have an assortment of attacks) class attached to it (or if multiple perhaps an array or vector of classes). The attack class would contain basic information like the Name of the Attack, the Damage, Type, etc. And the class could even include methods which get the 'Level' of the player and calculate the damage multiplier or something along those lines.
    As far as choosing what to have the characters/players do i would (for yours and simplicity's sake) make a side menu which allows you to choose whatever attack, etc. you want. It's simple and easier to work with, just have a JPanel within the JFrame which controls the players, and it will control each player when it's their turn. This shouldn't be too difficult to do.
    The graphics part (you have already recieved some suggestions about), i prefer to use ImageIcons in my games. They're simple and easy to work with and are painted just as a circle or rectangle is. You just draw the images outside of the program and use them in the program through ImageIcons. If you have a good image-edittor (Photoshop, Flash even), you can make Animated Gifs which will add to the look and quality of the graphics of your program.
    The trick with big projects like this (and the goal of Object Oriented Programming) is to take a big problem (Like and Entire RPG Game -- The Program) and break it up into smaller problems and tackle each one, one at a time (divide the Program into an assortment of Classes).
    I wish you the best of luck, i myself am starting a small game (Something similar to Zelda i'm thinking), i'm still designing it on paper and I personally think if you design and organize everything on paper and make a checklist of sorts, things go much smoother and more organized (not to mention faster).

  • I am really disappointed with iTunes 11. Stop making things SIMPLER!!!

    This is the first software upgrade that has really disappointed me in the 15 years of owning Apple product. I use iTunes to manage my music that is used for my DJ software. Traktor. Now I can't have 2 playlists open at the same time, so it's impossible to compare. I might have 4 different remixes of the same track and I need to easily compare to see if a track is in both playlists and it just cant be done. Here are some of the things I dislike about iTunes 11.
    You can't open more than one playlist.
    If you are using homesharing, you can't show only "song not on this computer" when you want to import tracks. And of course, I can't see if they are on my computer while having the homeshared library window open.
    You can no longer rate songs by using the remote app on the iPhone. It works with the iPad.
    Thank goodness I waited to upgrade iTunes on my iMac before I discovered all of these missing features. I now have to do my "power-user" chores on my old 2007 iMac and then have my new MBPro upgrade the playlists thru iTunes match.
    I get that Apple is trying to make things simple for a broad range of people, but by doing this to iTunes, which is the SOLE method of handling my music library with my 3 computers, and 2 iOS devices. I need the flexability of the power features.
    Maybe Apple can make a professional version of iTunes. Much like Apature to iPhoto, or Logic Pro to Garage Band. I'd be very happy to have a more powerful music player. Maybe one that shows the waveform of the song that is playing, so you can quickly jump to a certain section. Or give us the ability to color the track much like labels in the finder. I often want to select several songs in one playlist to create another playlist and having the ability to color-code them as I'm auditioning the song would really help in the organizational process. I find myself using the finder, quick-view and labels often for this chore.
    And how about a genre organizer so it would be easy to change or combine the 4 versions of R&B that show up on my genre list.
    Gimme iTunes Pro!!!

    I don't know man I too hope apple will do something this new I-tunes blow my top lost my whole tune!!!

  • Music files / itunes conversion - making it simple!

    Hello
    I am looking for some general and probably simple help with the file formats of my music.
    I have a vast amount of music which is stored on my computer hard drive, some of which is stored in m4p format and some in wma and some in mp3? Some of my music files are stored twice and some are in different formats. When i convert my music to itunes i find that most of the music converts 3, 4 and sometimes 5 times? I dont understand this!
    I really want to have a simple system for storing and converting music. If my music is to be stored on my hard drive i just want each music file stored once and in the same file format so when i search my music it is easy to find the artist i want. With itunes i just want the music to convert once. This all may seem very simple to someone but to me i feel like i have a complicated system and i just want to tidy it up and make it easy to manage. Can anybody help! Thank you.

    I really do not understand what all the different formats are so even trying to talk about this is difficult but i will try. I have all my music stored on my hard drive but it seems to be in different places. When i click on my music i have a number of artists listed with their music. I then have a folder in this section called itunes which has also got a big list of artists in it which seems strange. So i have one big music folder with all the music in plus an itunes folder with a lot of the music in also. Do i need to just copy all of the music to the itunes folder on my hard drive?
    When i use itunes to organise my music i click on file and then add folder to library and then send all the music in the folder 'my music' to itunes. Obvisouly i have just done this once at the start. When i add the folder a pop up comes with - some files are not in the itunes format, do you want itunes to convert them for you. When itunes has finished adding and converting i have 4 or 5 copies of each track in the itunes library??? I then have to use the delete duplicate option to get rid of tracks. When i then take my music to other computers and want to copy it into itunes it does the same so it seems to be a problem with the files on the hard drive.
    Ideally, i would like one copy of each music file in my hard drive plus when i copy to itunes it just copies once. Also when i take this music to a seperate computer i want it to copy into the itunes library once.
    If you require further info then no problem
    I appreciate your time and help
    Thank you.

  • Need help making a simple script for my webcam

    Hey everyone, fairly new to applescript programming. I just bought a usb camera for my macbook because I use it for video conferencing/playing around, and it is better quality than the built in isight. However, in order to use this camera I need to use drivers from a program called camTwist. This being said camTwist needs to be opened first and the usb camera must be selected from camTwist Step 1 list in order for any other application to use the camera. I just want to make a simple program that would open camTwist first, then select "webcam" from the list (double click it like I always have to in order to select it) in order to activate the driver, and then open photo booth which would then be using the camTwist driver in order to take pictures.
    I made a crude program but it does not automatically select "webcam" from the Step 1 list in camTwist:
    tell application "CamTwist" to activate
    delay 10
    tell application "Photo Booth" to activate
    that’s basically it. I set the delay to 10 seconds so that when camTwists boots up first I can manually select my webcam. HOWEVER, I would like to make a script that would boot up CamTwist first, select my webcam from the list automatically, and then open Photo Booth with the CamTwist webcam driver already selected.
    Don't know much about applescript so any help to make a working script to solve my problem would be greatly appreciated! Thanks!

    Solved my problem but now I need help with something else! First I used CamTwist user options to create user defined hot keys with the specific purpose to load the webcam. I chose Command+B. I tested it out in CamTwist and it worked. The program follows a logical order from there. First it loads CamTwist, then after a short delay it presses the hot keys in order to load the webcam from the video source list, then another short delay and Photo Booth is opened with the driver loaded from camTwist. Everything works Perfect! Here's the code:
    tell application "System Events"
    tell application "CamTwist" to activate
    delay 0.5
    --Press command+b which is a user defined hot key to load webcam
    key code 11 using command down
    end tell
    delay 0.5
    tell application "Photo Booth" to activate
    My Next question is, would it be possible with this same script to have both applications quit together. For example I always quit Photo Booth first, so when I quit photo booth is there a way to make CamTwist also quit and keep everything within the same script? Please let me know. This forum has been very helpful and lead me to a solution to my problem! Hoping I can solve this next problem as well! Thanks everyone.

  • Can anyone help get me started on making a simple custom web gallery template?

    I have tried using the documentation and a freeware template as an example, but I am getting confused, and I think the template is over-complicating things.
    I have a web-template that requires the following to get images to automatically work in a gallery:
    Full size images in a specific folder
    Thumbnails or each full size image in another specific folder
    Simple HTML code for each image which allows for image title and description information
    The script takes care of the rest.  So what I want to do is have Lightroom genereate the images in their specific folders, and the HTML code on the fly for each gallery I wish to publish to my website.  I'm posotive this can be done, but I'm having trouble customizing the code.  I've tried looking for tutorials and help, but the documentation on this is limited, and I'm not a programmer.  I do however have enough experience with basic web design to be able to work with existing templates with relative ease but this is seemingly difficult as I'm not sure what each file in the plugin structure is actually doing.  Any suggestions on how I can make a simple gallery output like this?  Or a link for a good, solid, easy, step-by-step tutorial?
    Many thanks in advance!
    -Zach

    Chipster1960 wrote:
    I have a Samsung Convoy flip phone. I am trying to transfer my pictures of my dog and nephews to Verizon online so I can show them off on Facebook to friends. 
    You don't need the intermediate step of uploading to Verizon; you can upload directly to Facebook from your phone.  You need to go to your Facebook account, and set up your mobile number; then you will get a personalized email address and you can send a text message with the picture and any caption you want to that email address and it will show up as a mobile upload on your timeline.
    You *used* to be able to text a status update or a pic to 32665 (FBOOK) but that didn't always work.

  • Making a simple gallery - issues with frames

    Hi there,
    Please help!
    I'm at the end of my tether with this one.
    I am a beginner with Dreamweaver and maybe I'm running before I can walk, but I thought what I am trying to make would be fairly simple.  Haha!
    I want to make a basic gallery, ie. you click the arrows or the thumbnail buttons and the next image appears within the page but DOESN'T reload to a whole separate page.
    I managed to do this using a frameset and thumbnails - the images loaded in the main frame fine -  BUT there are 2 issues with this:
    1. The link to the homepage I added in the corner loads WITHIN the frameset, and so the homepage is cut off and the thumbnails are still there.  I want the link to take the user OUT of the frameset and straight to the homepage (a totally different format, with no frames used)  I can't find a way to put this homepage link anywhere outside of the frameset.
    2.  I cant centre the frameset, or have much control over the layout like I do with tables.
    Could this problem be solved using tables? Or any way to solve this simply?
    Thanks.
    PS. I don't have fireworks, and I don't want to use a downloadable gallery as I want control over how it works/looks, also I dont think it would solve issues 1 and 2 anyway.

    kcoulton30 wrote:
    Thanks.
    PS. I don't have fireworks, and I don't want to use a downloadable gallery as I want control over how it works/looks, also I dont think it would solve issues 1 and 2 anyway.
    I don't understand this comment at all.  If you use a downloadable gallery you just edit the skin as you would any other HTML document and make it look like the rest of your site.  And usually support communities for those products are fairly helpful for skinning.  Learning to code something like this with frames for a first project is a little ambitious but it is heading in a direction that I know you are not looking to go.  I have a feeling you like the interactive galleries that pop up and switch from image to image while staying on the same page.
    To answer your questions:
    1.  You need to define the target frame with frames. By default links open within the window they are currently in.  See this example: http://webdesign.about.com/od/frames/f/bl_faq4-2.htm
    2.  Framesets cannot be centered on a page.  They are part of the overall page layout and cannot be positioned.  If you need to position a frame on a particular part of a page you will need to use iframes: http://www.w3schools.com/tags/tag_iframe.asp

  • Problems making a simple chart

    Im sure this is quite simple but im trying to produce a simple chart with an x and y value. The x and y's are columbs from a table.
    I have 2 problems:
    Firstly it makes a chart with 2 lines, 1 of which is just along the x axis.
    2 the x axis isnt proportional. The x values are 0.0016, 0.0004, 0.0002, 0.0001 they will be spaced the same distance apart so producing a curved line instead of a straigh line that it should.
    Any help would be really good
    Thank you everyone
    Stuart

    Stuart,
    I'm glad that my answer was helpful. Sorry I didn't have time to elaborate at the time.
    Scatter is for plotting values vs. values. All the other chart types plot a value vs. a text label. New in iWork 09, you can connect the points in a scatter chart, and you can add a best fit curve. In an 09 Scatter chart you can have multiple series, as with 08, and also as with 08, you can have only one Y-Axis. Unfortunately the 2-Axis chart option is a Category Chart.
    Regards,
    Jerry

  • WHAT IS IT ABOUT THIS VERSION WHICH IS MAKING A SIMPLE TASK SO IMPOSSIBLE??

    Frankly quicktime 7 vs newest is making all movie work and viewing a nightmare. I have installed and reinstalled QT 4 times and the codecs etc which I have spent a lot of $$ on. Still having problems with FLV and more. IF ANYONE has any idea what to do or what not to do please PLEASE advise. I am using QT Pro the latest version and by the way - all was 10000000 percent until this *T&^ version appeared.
    Thanks!
    sandz
    macbook dual core Mac OS X (10.4.9)
    macbook   Mac OS X (10.4.9)  

    thanks for that rather tongue in cheek reply!!
    I do have perian up and running (for a while now and I do export to MPEG.
    With QT pro this is not a problem until the latest verion especially when creating streaming vids and publishing.
    I will avoid all logs!
    thank you!

  • How might i go about making these "simple" adjustments?

    Hi Folks
    I am a bit of a photoshop novice, but have been sent a document with details of requested changes. I realise to many the changes may seem somewhat basic and straightforward but i was just wondering if you could perhaps point me (amateur) in the right direction so i would know what i would need in order to go about making these adjustments.
    Any advice or tips are much appreciated. Please find link enclosed
    Warmest regards
    http://i47.tinypic.com/33vopz6.jpg
    P.S I'm using CS5 extended, forgot to mention.

    In what file format was the illustration originally provided?
    Was it CMYK or RGB?
    Moving the cherry could be done with lifting the part onto a Layer of its own and applying a Layer Mask.
    The recoloring can be done with Adjustment Layers, but those would probably need fairly good Masks.
    Edit: But if the illustration was vector it would seem advisable to edit it in Illustrator.
    Could you please post the unedited image?

  • Loading External SWF Files: Making Things Simple... Still need help here =)

    Hello everyone! First of all, sorry for my english... I'm Brazilian and english is not my first language.
    This is my first post meant to be my first post and I'm learning AS3. Didn't know about this forum but now I hope to have the time to visit it a lot to help and be helped! =)
    Well, I'm trying to import some external files to my main flash file with buttons. Yes, this is a newbie question, but I'm learning... I click button 1 and content 1 is loaded, click button 2 and content 2 is loaded, and so on. So, I got two ways for doing it:
    edit: The code below is working fine now...
    montreal.addEventListener(MouseEvent.MOUSE_UP, loadCity);
    dublin.addEventListener(MouseEvent.MOUSE_UP, loadCity);
    sydney.addEventListener(MouseEvent.MOUSE_UP, loadCity);
    var box:MovieClip = new MovieClip();
    addChild(box);
    box.x=20;
    box.y=20;
    function loadCity (event:MouseEvent):void {
        var currentCity = event.target.name;
        // remove all the children of the box
        while (box.numChildren > 0) {box.removeChildAt(0);}
        var swfRequest:URLRequest=new URLRequest(currentCity+".swf");
        var swfLoader:Loader = new Loader();
        swfLoader.load(swfRequest);
        box.addChild(swfLoader);}
    The problem with this first option is that whenever I click a button, it don't renew the content of the "box"... instead, the content loaded is stacked over the last one and I don't know how to clean it... The user Andrei did the trick with the "while statement" so the above code is working but I don't know how to use tween with it...
    So here comes the second option:
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
    montreal.buttonMode=true;
    dublin.buttonMode=true;
    sydney.buttonMode=true;
    rio.buttonMode=true;
    paris.buttonMode=true;
    london.buttonMode=true;
    home.buttonMode=true;
    var box:MovieClip = new MovieClip();
    addChild(box);
    box.x=20;
    box.y=20;
    var cityLoader:Loader = new Loader();
    var cityURL:URLRequest=new URLRequest("montreal.swf"); //I use this to show a city when the site is opened
    cityLoader.load(cityURL);
    box.addChild(cityLoader);
    **Here I add the listeners to button, each one calling its own function like:
    montreal.addEventListener(MouseEvent.CLICK, loadMontreal);
    function cityTweens():void {
        var cityIn:Tween = new Tween(box, "y", Strong.easeOut, -350, 20, 1, true);}
    function loadMontreal(event:MouseEvent):void {
        var cityURL:URLRequest=new URLRequest("montreal.swf");
        cityLoader.load(cityURL);
        cityTweens();}
    function loadDublin(event:MouseEvent):void {
        var cityURL:URLRequest=new URLRequest("dublin.swf");
        cityLoader.load(cityURL);
        cityTweens();}
    function loadSydney(event:MouseEvent):void {
        var cityURL:URLRequest=new URLRequest("sydney.swf");
        cityLoader.load(cityURL);
        cityTweens();}
    function loadRio(event:MouseEvent):void {
        var cityURL:URLRequest=new URLRequest("rio.swf");
        cityLoader.load(cityURL);
        cityTweens();}
    function loadParis(event:MouseEvent):void {
        var cityURL:URLRequest=new URLRequest("paris.swf");
        cityLoader.load(cityURL);
        cityTweens();}
    function loadLondon(event:MouseEvent):void {
        var cityURL:URLRequest=new URLRequest("london.swf");
        cityLoader.load(cityURL);
        cityTweens();}
    function loadHome(event:MouseEvent):void {
        var cityURL:URLRequest=new URLRequest("home.swf");
        cityLoader.load(cityURL);
        cityTweens();}
    Well, the second option "is" working but I have some problems with the Tween... I have to wait the tween to finish before clicking another button or the tween will bug... I don't know how to disable the buttons until the tween is finished =/
    Now, I used to have one tween for each function but now I got it inside a function and just call it inside each function. Simple for you but I was like WOW when I had the idea and put it to practice! But I'm still repeating a lot of codes here with the "cityLoader.load(cityURL);" but when I try to put it inside the function "cityTweens" it will just open the Montreal City, maybe because I'm calling it as soon as the site opens...
    I'm almost sure I can make things simple, like mixing the idea of the first code (currentCity+".swf") so I don't need to call a function for each button. I just don't know how to do it...
    Could anyone help me? I'll also be VERY happy if you point me to any tip like good practices that I'm not following.
    Thanks in advance!
    Message was edited by: newToAS3

    As I said in your previous post, removing the child would not do the trick. Technically, you need to remove it after the tween is finished.
    In any case there are several issues with how you approach the whole thing. First of all, if you target your application to be on Internet - swf loading will not happen instantly - thus you, perhaps, need to consider waiting for swfs to be loaded before you doing anything with them. But if you just do it on local machine - you don't really need for them to show up. On the other hand, even with local environment it makes sense to take into account asynchronous/unpredicatable nature of external file loading.
    Also, your code can be more comact and the same functionality delegated to a single function. The code below demonstrates one of the ways. This is not the bes way though because it forces to load objects again although they were loaded already. But this is another story. I did not check code in action, of course (this is just an idea) - it is up to your to work out bugs:
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
    import fl.transitions.TweenEvent;
    import flash.display.DisplayObject;
    import flash.display.Loader;
    import flash.events.Event;
    montreal.buttonMode = true;
    dublin.buttonMode = true;
    sydney.buttonMode = true;
    rio.buttonMode = true;
    paris.buttonMode = true;
    london.buttonMode = true;
    home.buttonMode = true;
    var box:MovieClip = new MovieClip();
    addChild(box);
    box.x=20;
    box.y=20;
    var cityLoader:Loader = new Loader();
    // this line will allow to wait untill content is loaded
    cityLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onLoadComplete);
    var cityURL:URLRequest = new URLRequest("montreal.swf"); //I use this to show a city when the site is opened
    cityLoader.load(cityURL);
    // don't need the following line
    // box.addChild(cityLoader);
    // make it a single listener
    montreal.addEventListener(MouseEvent.CLICK, loadSWF);
    dublin.addEventListener(MouseEvent.CLICK, loadSWF);
    sydney.addEventListener(MouseEvent.CLICK, loadSWF);
    rio.addEventListener(MouseEvent.CLICK, loadSWF);
    paris.addEventListener(MouseEvent.CLICK, loadSWF);
    london.addEventListener(MouseEvent.CLICK, loadSWF);
    home.addEventListener(MouseEvent.CLICK, loadSWF);
    // the single function handles all the loading
    function loadSWF(e:MouseEvent):void {
         switch(e.currentTarget) {
              case montreal:
                  cityURL = new URLRequest("montreal.swf");
              break;
              case dublin:
                  cityURL = new URLRequest("dublin.swf");
              break;
              case sydney:
                  cityURL = new URLRequest("sydney.swf");
              break;
              case rio:
                  cityURL = new URLRequest("rio.swf");
              break;
              case paris:
                  cityURL = new URLRequest("paris.swf");
              break;
              case london:
                  cityURL = new URLRequest("london.swf");
              break;
              case home:
                  cityURL = new URLRequest("home.swf");
              break;
         cityLoader.load(cityURL);
    function onLoadComplete(e:Event):void {
         loadedContent = e.target.content;
         // assuming that previous content will be moved out -
         // place new content behind previous one
         box.addChildAt(e.target.content, 0);
         // now you can start tweening
         // if there are more than one child
         if (box.numChildren > 1) {
              cityTweens();
    function cityTweens():void {
         // tween the topmost object
          var cityIn:Tween = new Tween(box.getChildAt(box.numChildren - 1), "y", Strong.easeOut, -350, 20, 1, true);
         // wait until motion finished
         cityIn.addEventListener(TweenEvent.MOTION_FINISH, tweenFinished);
    function tweenFinished(e:TweenEvent):void {
         // make Tween instance eligible for arbage collection
         e.target.removeEventListener(TweenEvent.MOTION_FINISH, tweenFinished);
         // now you can remove tweened object from the box
         box.removeChild(e.target.obj);
         e.target.obj = null;
    Edited some code.

  • HELP MAKING VERY SIMPLE ANIMATION - Adobe Flash CS5

    - First off, apologies for the simplicity of the task I need to carry out- cannot seem to find any tutorials on this. (All aimed at After Effects)
    - I am hoping to make two simple animations;
    1. Animate the word "water" so it appears to be moving like water itself.
    2. Animate the word "sand" so it appears to crumble into sand itself.
    Appreciate any help, very new to Flash - still no luck after Lynda and other tutorials.

    Not exactly the answer to your question but found a tutorial page that could help you.
    Text Effects with Flash Professional 8 « Wonder How To

Maybe you are looking for