I need help with a button animation!

Hi,
I hope someone can help with a simple-looking problem which
nonetheless has me stumped!
I have a feeling that I've missed something obvious.
I've created a movie clip to act as a button (I've called it
"abs_button") and placed it on the stage.
My main movie has one frame.
Within the "abs_button" movie clip there are 5 layers.
Labels, actions, default button state, rollover state and rollout
state.
Technically, default button state, rollover state and rollout
state could be on the same layer as they don't overlap, but I've
given each animation its own layer for clarity.
FRAME 01.
Default button state is one frame with a graphic of the
button. Just a label at the start ("abs_up") and a "stop();" action
at the end.
FRAME 02 to 31.
Rollover state is a 30 frame animation. Label at start
("abs_over"), "stop()"; action at the end.
FRAME 32 to 62.
Rollout state is a 30 frame animation. Label at start
("abs_out"), "stop()"; action at the end.
All animations were achieved with tweens.
My initial "abs_button" code:
on (release) {
getURL("targetPage.htm", "_self");
on (rollOver) {
gotoAndPlay("abs_button", "abs_over");
on (rollOut) {
gotoAndPlay("abs_button", "abs_out");
As it stands, the animation jumps to frame 1 of "abs_out" on
rollout.
I need the "abs_over" animation to always play through to the
end, as the "abs_out" is "abs_over" in reverse (i.e. image grows
large on rollover and shrinks again on rollout.
I've tried for 2 days to solve this, but I clearly need help.
My experiments with variables simply didn't work.
I would be grateful if someone could tell me where I'm going
wrong!
Thanks,
Andy

use this:
on (rollOver) {
gotoAndPlay("abs_over");
Since the code is attached directly to the movieclip, you
don't have to
identify the clip. A gotoAndPlay() function takes a frame
number or a
frame label name as its argument, never the name of the clip
that
contains the frame number or name.
Rob
Rob Dillon
Adobe Community Expert
http://www.ddg-designs.com
412.243.9119

Similar Messages

  • Need help with a button

    Hello,
    I need help with a button. I created a button and set it up
    so that when you click and hold it, the button becomes lighter in
    color (I used Alpha). I want the button to stay this light color
    after i release the click. Right now it goes back to the normal
    color when I release the click. Can somone help we this?
    Thanks!

    rpofclt wrote:
    > Hello,
    >
    > I need help with a button. I created a button and set it
    up so that when you
    > click and hold it, the button becomes lighter in color
    (I used Alpha). I want
    > the button to stay this light color after i release the
    click. Right now it
    > goes back to the normal color when I release the click.
    Can somone help we
    > this?
    you can't use the button itself if you want to maintain the
    DOWN state after
    release as button automatically resets itself once the mouse
    lives the HIT zone.
    Use movie clip instead and on press simply send it to a frame
    where there
    is DOWN state like image.
    Best Regards
    Urami
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Need help with publishing as animated .gif

    I'm having trouble publishing my project as an animated .gif.  My project, which consists of two different animated movie clips, plays just fine when test it (Shift + Enter).  But, when I go to publish it, the animations don't show up.  The settings are exactly the same as with my other animated .gifs.
    Any suggestions???
    Thanks!

    If you try to 'publish' as an app, and you use the words ebook or just book, the review teams are likely to reject and tell you to do a book instead, so be prepared to not call it any type of book and to deliver something that showcases the device and iOS as best as you can if you take that route...it's non-trivial, mostly, so be prepared to learn any skills you may not have yet need going in.
    Look at the book 'Yellow Submarine' for what I consider a good example of a standard epub w/m'media. it can be done, but as noted, iBA is iPad only, so....good luck.

  • Need help with encore buttons - highlights

    Hi All
    I am seeking help with Encode CS5. I have a project working fine except that I dont have highlights for buttons, at least I think thats what its called. So when the mouse or remote control navigates up/down toa button it changes colour.
    In the properties of my button, the highlight option is greyed out.
    How do I apply highlights ?
    many thanks
    Chris Anderson

    Hi Bill
    Thanks for your reply.
    Here are 2 screen prints. One from encore the other from photoshop.
    First time I have inserted images, and they seem a little small on this message - if you have any problems reading I could email to you.
    I have highlighted the first button - which is called 'Highlights' - same issue with all the other buttons.
    Do you have to use photoshop to add highlighting? or can you do this in encore - i dont have much experience with photoshop.
    Not sure how to check 'Color Set' ? can you tell me how to get that for you - same for transparency for states? - I havent experienced them or changed them as I dont know how to
    Yes it was duplicated - have left a message not to reply
    Thanks again
    Chris

  • Need help with Submit button

    I'm needing a script that locks all of the fields once the submit button is pressed and it's emailed to someone else. Is that possible? Thanks in advance for your help.

    Right now I'm using javascript to submit the form. I'm using
         this.mailDoc({
         bUI: true,
         cTo: [email protected],
         cSubject: ""
    So I need to incorporate the script you gave me with this script that I'm already using?

  • Need help with adding buttons.

    I thought I could do this without help but I was wrong. I had to add buttons to my program and before it ran fine with the first four buttons I added but know there are many errors and I believe I messed up the whole thing now. Any advice would be greatly appreciated. Here is my code:
    import java.util.*;
    import java.text.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.JFrame.*;
    import java.io.*;
    import java.awt.font.*;
    import java.awt.geom.*;
    import javax.imageio.*;
    import java.awt.image.*;
    public class DVDInventory6
    public static void main(String[] args)
           Scanner input = new Scanner( System.in );
           int j;
          DVD_Genre [] inventory = new DVD_Genre[5]; // Size of the array
          // create DVD object
          inventory [ 0 ] = new DVD_Genre( "Rocky", "Action/Drama", 01, 15, 9.95 );
          inventory [ 1 ] = new DVD_Genre( "RockyII", "Action/Drama", 02, 13, 14.95 );
          inventory [ 2 ] = new DVD_Genre( "Matrix", "Action/Sci-Fi", 03, 23, 14.95 );
          inventory [ 3 ] = new DVD_Genre( "MatrixII", "Action/Sci-Fi", 04, 17, 19.95 );
          inventory [ 4 ] = new DVD_Genre( "Bambi", "Family", 05, 33, 12.95 );
          // Print out a screen title
          System.out.println();
          System.out.printf("Welcome to DVD Inventory:\n\n");
       GUI gui = new GUI();
          for(j=0; j<5; ++j)
               gui.add(inventory[j]);   
         double total = 0;
         for ( j=0; j<inventory.length; j++ )
             total += inventory[j].getvalueofdvds ();
    } // end for
             gui.setTotal(total);
       gui.display();
    public static void sortDVD(DVD[] inventory)
         //DVD_Genre temp[] =  new DVD_Genre[1];
          int i, j;
          for (i=1; i <inventory.length; i++)
             for (j=0; j < inventory.length-i; j++)
                if (inventory[j].getdvdName().compareTo(inventory[j+1].getdvdName())>0)
                   // exchange elements
                   DVD  temp = inventory[j]; //new DVD_Genre [1];
                   inventory[j] = inventory[j+1];
                   inventory[j+1] = temp; //temp [0];
       }//end method main
    }//end DVDInventory6
          class DVD
          protected String dvdName; //  DVD title
          protected String dvdGenre; // DVD genre
          protected int productnumber;  // DVD product number
          protected int numberofproducts; // the number of products in stock
          protected double price; // the price of the products in stock
            public DVD (String name, String genre, int productnumber, int numberofproducts,
    double price ) // class dvd constructor
            this.dvdName = name;
            this.productnumber = productnumber;
            this.numberofproducts = numberofproducts;
            this.price = price;
    this.dvdGenre = genre;
           public DVD( String name, int productnumber, int numberofproducts, double price ) //
    class dvd constructor
            this.dvdName = name;
            this.productnumber = productnumber;
            this.numberofproducts = numberofproducts;
            this.price = price;
          public void setdvdName( String name ) // method to set dvd name
          this.dvdName = name; // store the dvd name
          public String getdvdName()// method to get dvd name
          return dvdName;
          public void setproductnumber( int productnumber )  // method to set productnumber
          this.productnumber = productnumber; // store productnumber
          public int getproductnumber()// method to get productnumber
          return productnumber;
          public void setnumberofproducts( int numberofproducts )// method to set
    numberofproducts
          this.numberofproducts = numberofproducts; // store numberofproducts
          public int getnumberofproducts()// method to get numberofproducts
          return numberofproducts;
          public void setprice( double price )// method to set price
          this.price = price; // price of the products in stock
          public double getprice()// method to get price
          return price;
          public double getvalueofdvds()// method to get valueofdvds
          return numberofproducts * price;
    } // end class DVD
    class DVD_Genre extends DVD
             private String genre; // genre of DVD
      private double restockingFee; // percentage added to inventory value
       //constructor
    public DVD_Genre(String name, String genre, int productnumber, int numberofproducts, double
    price)
       super(name, genre, productnumber, numberofproducts, price);
      this.genre = genre;
                    this.restockingFee = restockingFee;
          public void setdvdGenre( String genre ) // method to set dvd genre
          this.dvdGenre = genre; // store the dvd genre
          public String getdvdGenre()// method to get dvd genre
          return dvdGenre;     
    // Calculates restocking fee based on previous data.
        public double restockFee() {
         double total = 0;
         double restock = 0;
         total = numberofproducts * price;
         restock = total * .05;
                return restock;
        public String toString()
       DecimalFormat Currency = new DecimalFormat("$0.00");
       return "\nDVD Title: " +  dvdName + "\nDVD Genre: " +  dvdGenre + "\nProduct number: " +
    productnumber +
              "\nNumber of products: " + numberofproducts + "\nPrice: " + price + "\nValue of
    DVD's: " +  Currency.format(numberofproducts * price) + "\nRestock Fee: "  +
    Currency.format(numberofproducts * price * .05);
    }// End class DVD_Genre
    class GUI {
    private DVD[] dvds;
        private int nCount;
    private double total;
    // Creates array DVD[]
        GUI() {
            dvds = new DVD[5];
            nCount = 0;
        public void add(DVD dvd) {
            dvds[nCount] = dvd;
            ++nCount;
    public void setTotal(double total)
      this.total = total;
        DecimalFormat Currency = new DecimalFormat("$0.00");
    //Displays the arrays contents element by element into a GUI pane
           public void display() {
      GUIDisplay(dvds, 5);
    public void GUIDisplay(DVD[] products, int numOfProducts)
              PanelFrame frame = new PanelFrame(products, numOfProducts);
              frame.pack();
              frame.setVisible(true);
              frame.setSize(600, 450);
    } // end class GUI
            class PanelFrame extends JFrame
            private JButton first;
            private JButton next;
            private JButton previous;
            private JButton last;
            private JButton add;
            private JButton delete;
            private JButton modify;
            private JButton search;
            private JButton save;
            JTextField dvdName;
            JTextField productnumber;
            JTextField numberofproducts;
            JTextField price;
            private DVD[] products;
            private int numOfProducts;
            private int currentIndex = 0;
    /** Creates a new instance of PanelFrame */
      public PanelFrame(DVD[] products, int numOfProducts)
            super("Welcome to the DVD Inventory");
            this.products = products;
            this.numOfProducts = numOfProducts;
            setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
            setLayout(new GridLayout(6,1,5,5));
            showLogo();
            showLabels();
            showInputFields();
            showButtons();
    public class MovieGraphics extends Component
            private BufferedImage image;
            private boolean imageFound = true;
      public MovieGraphics()
           super();
       try
           image = ImageIO.read(new File("logo.jpg"));
      catch (IOException x)
          x.printStackTrace();
          imageFound = false;
      public void paint(Graphics g)
      if (imageFound)
         g.drawImage(image,
         0, 0, 200, 100,
         0, 0, image.getWidth(null), image.getHeight(null),
    null);
      else
         g.drawString("Gary's DVD Krypt", 30, 30);
    } // end of class MovieGraphics
      public void showLogo()
            MovieGraphics myLogo = new MovieGraphics();
            this.add(myLogo);
      public void showLabels()
            JPanel panel = new JPanel();
            panel.add(new JLabel("DVD Title"));
            panel.add(new JLabel("Product number"));
            panel.add(new JLabel("Number of products"));
            panel.add(new JLabel("Price"));
            this.add(panel);
      public void showInputFields()
            JPanel panel = new JPanel();
            dvdName = new JTextField(10);
            productnumber = new JTextField(10);
            numberofproducts = new JTextField(10);
            price = new JTextField(10);
            dvdName.setEditable(false);
            productnumber .setEditable(false);
            numberofproducts.setEditable(false);
            price.setEditable(false);
            panel.add(dvdName);
            panel.add(productnumber );
            panel.add(numberofproducts);
            panel.add(price);
        this.add(panel);
      public void showButtons()
            JPanel panel = new JPanel();
            first = new JButton("First");
            next = new JButton("Next");
            previous = new JButton("Previous");
            last = new JButton("Last");
            add = new JButton("Add");
            delete = new JButton("Delete");
            modify = new JButton("Modify");
            search = new JButton("Search");
            save = new JButton("Save");
            panel.add(first);
            panel.add(next);
            panel.add(previous);
            panel.add(last);
            panel.add(add);
            panel.add(delete);
            panel.add(modify);
            panel.add(search);
            panel.add(save);
            ButtonActionHandler handler = new ButtonActionHandler();
              first.addActionListener(handler);
              next.addActionListener(handler);
              previous.addActionListener(handler);
              last.addActionListener(handler);
              add.addActionListener(handler);
              delete.addActionListener(handler);
              modify.addActionListener(handler);
              search.addActionListener(handler);
              save.addActionListener(handler);
              this.add(panel);
              setFields(0);
      protected void paintComponent(Graphics g)
      public void setFields(int i)
         setdvdName(i);
         setproductnumber(i);
         setnumberofproducts(i);
         setPrice(i);
      public void setdvdName(int i)
      dvdName.setText(products.getdvdName());
    public void setproductnumber(int i)
    productnumber.setText(String.valueOf(products[i].getproductnumber()));
    public void setnumberofproducts(int i)
    numberofproducts.setText(String.valueOf(products[i].getnumberofproducts()));
    public void setPrice(int i)
    price.setText(String.valueOf(products[i].getprice()));
    private class ButtonActionHandler implements ActionListener
    public void actionPerformed(ActionEvent event)
    if (event.getSource() == first)
    addClicked = false;
    currentIndex = 0;
    setFields(currentIndex);
    makeFieldsEditable(false);
    else if (event.getSource() == next)
    addClicked = false;
    currentIndex++;
    if (currentIndex == numOfProducts)
    currentIndex --;
    setFields(currentIndex);
    makeFieldsEditable(false);
    else if (event.getSource() == previous)
    addClicked = false;
    currentIndex--;
    if (currentIndex < 0)
    currentIndex = 0;
    setFields(currentIndex);
    makeFieldsEditable(false);
    else if (event.getSource() == last)
    addClicked = false;
    currentIndex = numOfProducts - 1;
    if (currentIndex < 0)
    currentIndex = 0;
    setFields(currentIndex);
    makeFieldsEditable(false);
    else if(event.getSource() ==add)
    //add actions for add here
    if (!addClicked)
    resetFields();
    makeFieldsEditable(true);
    int itemNum = incrementItemNumber();
    System.out.println(itemNum);
    itemNumber.setText(String.valueOf(itemNum));
    currentIndex = numOfProducts;
    addClicked = true;
    else if(event.getSource() ==save)
    //add actions for save here
    //we need to call SaveToFile.java
    // SaveToFile.save;
    addClicked = false;
    System.out.println(currentIndex);
    if (!updateProduct(currentIndex))
    JOptionPane.showMessageDialog(null, "You have reached maximum number of products!");
    currentIndex --;
    setFields(currentIndex);
    else
    saveProduct();
    makeFieldsEditable(false);
    else if(event.getSource() == edit)
    //add actions for edit here
    // Inventory.edit;
    addClicked = false;
    makeFieldsEditable(true);
    else if(event.getSource() == search)
    //add actions for search here
    // Inventory.findIndex;
    addClicked = false;
    String name = JOptionPane.showInputDialog("Enter Product Name: ");
    int index = searchName(name);
    System.out.println(index);
    if (index == -1)
    JOptionPane.showMessageDialog(null, "No matching product found! ");
    else
    currentIndex = index;
    setFields(index);
    Here are my errors:
    C:\java>javac DVDInventory6.java
    DVDInventory6.java:460: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    addClicked = false;
    ^
    DVDInventory6.java:463: cannot find symbol
    symbol : method makeFieldsEditable(boolean)
    location: class PanelFrame.ButtonActionHandler
    makeFieldsEditable(false);
    ^
    DVDInventory6.java:467: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    addClicked = false;
    ^
    DVDInventory6.java:474: cannot find symbol
    symbol : method makeFieldsEditable(boolean)
    location: class PanelFrame.ButtonActionHandler
    makeFieldsEditable(false);
    ^
    DVDInventory6.java:478: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    addClicked = false;
    ^
    DVDInventory6.java:485: cannot find symbol
    symbol : method makeFieldsEditable(boolean)
    location: class PanelFrame.ButtonActionHandler
    makeFieldsEditable(false);
    ^
    DVDInventory6.java:489: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    addClicked = false;
    ^
    DVDInventory6.java:496: cannot find symbol
    symbol : method makeFieldsEditable(boolean)
    location: class PanelFrame.ButtonActionHandler
    makeFieldsEditable(false);
    ^
    DVDInventory6.java:501: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    if (!addClicked)
    ^
    DVDInventory6.java:503: cannot find symbol
    symbol : method resetFields()
    location: class PanelFrame.ButtonActionHandler
    resetFields();
    ^
    DVDInventory6.java:504: cannot find symbol
    symbol : method makeFieldsEditable(boolean)
    location: class PanelFrame.ButtonActionHandler
    makeFieldsEditable(true);
    ^
    DVDInventory6.java:505: cannot find symbol
    symbol : method incrementItemNumber()
    location: class PanelFrame.ButtonActionHandler
    int itemNum = incrementItemNumber();
    ^
    DVDInventory6.java:507: cannot find symbol
    symbol : variable itemNumber
    location: class PanelFrame.ButtonActionHandler
    itemNumber.setText(String.valueOf(itemNum));
    ^
    DVDInventory6.java:510: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    addClicked = true;
    ^
    DVDInventory6.java:517: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    addClicked = false;
    ^
    DVDInventory6.java:519: cannot find symbol
    symbol : method updateProduct(int)
    location: class PanelFrame.ButtonActionHandler
    if (!updateProduct(currentIndex))
    ^
    DVDInventory6.java:527: cannot find symbol
    symbol : method saveProduct()
    location: class PanelFrame.ButtonActionHandler
    saveProduct();
    ^
    DVDInventory6.java:529: cannot find symbol
    symbol : method makeFieldsEditable(boolean)
    location: class PanelFrame.ButtonActionHandler
    makeFieldsEditable(false);
    ^
    DVDInventory6.java:531: cannot find symbol
    symbol : variable edit
    location: class PanelFrame.ButtonActionHandler
    else if(event.getSource() == edit)
    ^
    DVDInventory6.java:535: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    addClicked = false;
    ^
    DVDInventory6.java:536: cannot find symbol
    symbol : method makeFieldsEditable(boolean)
    location: class PanelFrame.ButtonActionHandler
    makeFieldsEditable(true);
    ^
    DVDInventory6.java:542: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    addClicked = false;
    ^
    DVDInventory6.java:544: cannot find symbol
    symbol : method searchName(java.lang.String)
    location: class PanelFrame.ButtonActionHandler
    int index = searchName(name);
    ^
    23 errors

    and many more errors
    such as;
    * you need to declare a method called makeFieldsEditable that takes a boolean value
    eg private void makeFieldsEditable(boolean editable){
       // add your implememntation
    }* you need to declare a method called resetFields
    eg private void resetFields(){
       // add your implememntation
    }* you need to declare a method called updateProduct
    eg private void updateProduct(int index){
       // add your implememntation
    }etc

  • Need help with linking buttons

    Can anyone help me with this problem I have.
    I have a gfx which I have created 6 shapes and converted them into simple buttons. I have urls sat inside an xml file. How can I get the buttons to use the urls set from within the xml file?
    Also how can I change the current external photo that is being loaded to load the url from a setting in the same xml file.
    I hope you arnt as confused as I am right now.
    I have packaged up the flash file which includeds the xml aswell.
    If anyone could help me out with this I would be very greatful.
    Thanks All
    http://www.onlineaddicts.co.uk/menu.rar

    Remove the code from all btns, as below paste it on main timeline
    Also no need to load xml twice as dome in image container...
    give an instance name to the outer container of btns - menumv
    use following method to openURL, use same for all the btns..
    import flash.events.Event;
    import flash.events.MouseEvent;
    import flash.net.URLLoader;
    import flash.net.URLRequest;
    var myXML:XML;
    var myLoader:URLLoader = new URLLoader();
    myLoader.load(new URLRequest("links.xml"));
    myLoader.addEventListener(Event.COMPLETE, processXML);
    function processXML(e:Event):void
    myXML = new XML(e.target.data);
    trace(myXML);
    menumv.carbtn.addEventListener(MouseEvent.CLICK, openURL);
    function openURL(e:MouseEvent):void
    navigateToURL(new URLRequest(myXML.car.url));
    http://www.darshanrane.com

  • Need Help with Advanced Button Actions

    I am a brand new Captivate 5 user and I have created a image button that I want to have a double action. When the user clicks on the image button, I want it to SHOW a new button AND SHOW another image. I used the Advanced Actions but it does not work when I preview project.  Help!

    Hello and welcome to the forum,
    Did you assign the advanced action to the image button as Success action? And the new button + the image have to be on the same slide, but with the status Invisible. You can not show hidden objects that are sitting on another slide then the slide with the advanced action.
    If you want to have more information about advanced actions, I do blog a lot about them. Here is the link to my blog:
    http://lilybiri.posterous.com
    Lilybiri

  • Need help with forward/reverse animation depending on playhead position

    I'm trying to create a side-scrolling image gallery, with a series of thumbnails at the top that will take you to their corresponding full size images. I've been able to make them link to the correct frames, and able to animate the scrolling going in one direction, but the scrolling in reverse is presenting a challenge. It might be an easy fix, it might not.
    Basically, in my non-AS3 literate mind, the way I imagine it would work is I'll have animations in my timeline corresponding to forward and reverse, and depending on what frame the playhead is on when a user clicks the thumbnail, it will play a certain portion of one animation or the other. So how would I accomplish this? A series of 'if' and 'then' commands?
    I don't know the syntax (yet). If anyone has been down this road before and can give me some guidance, I'd sure appreciate it.
    Thanks!

    Based on the code you show, it would appear that your image changing involves timeline-based animations, unless you have stop();s in all the frames you gotoAndPlay.  I can only guess that's how you have it... one images transitions into another as you move along the timeline.
    Actionscript is the coded approach, but beyond moving around to different frames.  The ultimate coded version of this occupies one frame of one layer and is all code (possibly just one line of code, importing the real code from a Class file), with all content being loaded dynamically from a server.
    Here's something I offered for another posting from today that took another approach that involved having all the content in the file and a bit of timeline transition--I've edited it slightly.  Maybe you can get an idea from it.
    ... you could create each slide as a movieclip which transitions in and out, with a stop on the first frame and on the frame where it is in full view.  Using a variable or two to keep track of things, such as the current slide and the next slide, you could have your buttons call a function that identifies/assigns the next slide, and commands the current slide transition out.  At the end of that transition (last frame), you assign the next slide to be the current slide and tell that slide to transition in.  Here's a working example that you can look at...
    http://www.nedwebs.com/Flash/AS3_slideshow.fla

  • Need help with simple(?) animation

    I need to animate a saw blade cutting letters out of a
    background bit map (the cuts are all straight lines). Coming from
    the Director world I would probably layer 2 copies of the
    background, the top one with the letters cut, the bottom one whole.
    I would then mask the top layer with an alpha channel and animate
    the alpha channel to gradually reveal the cut. Is there a better
    way to do this in Flash? Anyone have an open source example?
    I’ve got the letters as curves in Illustrator if that helps.
    Thanks, Sorry about such a broad newbie question.

    I need to animate a saw blade cutting letters out of a
    background bit map (the cuts are all straight lines). Coming from
    the Director world I would probably layer 2 copies of the
    background, the top one with the letters cut, the bottom one whole.
    I would then mask the top layer with an alpha channel and animate
    the alpha channel to gradually reveal the cut. Is there a better
    way to do this in Flash? Anyone have an open source example?
    I’ve got the letters as curves in Illustrator if that helps.
    Thanks, Sorry about such a broad newbie question.

  • Need Help with Navigation Buttons

    Hi,
    What I'm seeking should be straightforward for those of you
    who have mastered ActionScript. (I'm using Flash 8 Professional.)
    I have 84 photographs that progressively show one complete
    rotation of a photographed object (a model airplane). What I'm
    envisioning are a pair of buttons. When the "forward" button is
    pressed, the plane would rotate clockwise, and stop rotating when
    the button is released. Same for the "reverse" button, but the
    action would be counterclockwise. In that way, the viewer can
    control exactly what angle to look at.
    I assume I'd put each of the photographs on a Flash frame and
    use ActionScript on the buttons to make Flash go through the frames
    as described above.
    Please let me know what the AS code would be, or perhaps
    provide a link to someplace where it is explained.
    Thanks!
    Bill

    kglad,
    I (think) I followed your instructions. The airplane rotates
    fine when the forward button is pressed, but nothing happens when
    the backward button is pressed. I’ll describe exactly what I
    did, in case I did something wrong.
    1. I drew a small dot off stage, made it into a movieclip
    object, and gave it the name apMC.
    2. On the movieclip timeline, I created a keyframe for each
    photo and dragged the photos from the library onto the keyframes. I
    placed a stop() code on the first and last movieclip frames.
    3. On the main timeline, I created three layers:
    “Movieclip”: Onto the first frame of this layer
    I copied/pasted the code that you provided.
    “Button Labels.”
    “Buttons”: I created the forward and backward
    buttons, giving them the instance names you suggested.
    Any thoughts as to why the backward button doesn’t
    work? If you wish, I could send you the .fla file to examine. If
    so, let me know where to send it.
    Thanks!
    Bill

  • Need help with placing Flash animations in Captivate...

    I have a few short animations I did in Flash that I want to put in Adobe Captivate. They place fine and play fine. But I wanted to know if it is possible to have the last frame of the animation show for the rest of the captivate slide. Thanks!

    If I place a .swf in a Captivate slide (v5), it allows me to drag the duration of the swf placeholder to be as short or long within the slide duration.  If the swf file's duration is shorter than the Captivate slide's duration, it cuts out after X seconds, but if I drag the swf duration to match the slide, it plays as long as the slide does.  Is that the info you're looking for or is there more to it?
    Sean

  • Need help with Flash CS4 buttons/can't get buttons to control anything

    Hello,
    I need help with Flash CS4. I am making a banner with an animation (Image change into movie clip "3D Spiral") and added buttons but I cannot get the buttons to control the animation. Please help I am frustrated! If someone could help I would be most appreciated.

    Thank you.
    Regards,
    Michael J. Sheehan  allelois
    Date: Mon, 17 Aug 2009 18:48:09 -0600
    From: [email protected]
    To: [email protected]
    Subject: Need help with Flash CS4 buttons/can't get buttons to control anything
    Hi there
    I'm not sure how you wound up where you did. But you wound up in the Adobe Captivate forums. Please stand by as I move your thread to the Flash forums.
    Cheers... Rick
    >

  • I need help with storage.    5 GB are free.   So iCloud sends an email that I need more.   So I purchase 20GB and now I want to downgrade back to the 5GB.   I can check the 5GB box, but no DONE button appears.   Anyone have an answer?

    I Need help with iCloud storage.   5gb are free, so I get an email, that mine is just about full.   So I upgraded to 20gb and now I want to downgrade back to 5gb.
    tthe DONE button doesn't highlight, so my requested can't be completed.   Any help will be appreciated.

    Have you tried rebooting the computer? If not, the next step is to contact iCloud Support. http://www.apple.com/support/icloud/

  • Hi, I need help with scrolling

    Hello I am Kevin Jin, I am working a huge project acually not that big, but I need help with five things, i mihgt have more things in my mind but here it is
    1. I need help with scrolling like where you have buttons for example or press on a navigation bar tab, then it goes to that specific pace of the page, for a one page website, for example some sites you press on contacts and gose down to the bottom of the page where the contacts place is located, not opening a new link.
    2.Second also I need help with navigation bar, where it fallows the scroll as it gose down, like for example when it is html the object is fixed to the top, and when you scroll down it will fallow it it,
    3.I need Parallex scrolling where you can have the timeline or animations run while you scroll in the meantime and have animation running all the time, for example the infographic site where the bees are fluying but still have seperate animations while you scroll
    4.I am so sorry i have two more to go, i appreciate your help, I would also like to ask if like looping each animations sperately, not looping the whole timeline, can it be possible to loop an animation while you have all the interactivity witht he site like looping seperately all the time, without interfeering with all the other animation
    5.I also are wondering if you can create multiple pages on one animate project, like multiple pages with html
    I just moved on to edge animate from html, and html was also beirf learn for me and mostly i was doing design work, and i thought getting out of graphic river and moving on the theme forest would be a better idea for me, thank you guys so much of the help and add me on skype : kevin2019170 or add me on facebook ; [email protected] or graphicriver, www.graphicriver.net/user/phantomore I would appriciate if you just would like contact me through SNS since I have that in hany 24 hours long, but the thred will also do, thank you doo much foryour help,
    P.S, I want also all the five things to work on one aimate project not interfeering with other ideas liek all five questions i had should run on one site,
    THANK YOU SO MUCH FOR YOUR HELP AND I APPRICIATE YOUR HELP!

    1.
    write this code in your button Click
    $('html,body').animate({scrollTop: sym.$("Your Symbole Name Here").offset().top}, "slow"); // scroll to the top of that symbol name
    Or :
    $('html,body').animate({"scrollTop":"600px"}, 750); // Higher value means slower , scroll to top page
    1 and 2 see this post http://forums.adobe.com/message/5531344#5531344
    3 use edge commons plugin http://www.edgedocks.com/edgecommons
    4.just put the animations behind eachother so when 1 is done, start with the animating the other symbol/div
    5. i thin its best just to make for every page a new project or make the site in muse.

Maybe you are looking for

  • Wake-Up Problems, cold restart?

    for the past few weeks, if i closed my laptop (put the screen down), it went to sleep as usual, but then once i opened it back up, i would say more than 75% of the time, this gray cast, maybe 50% gray would sweep over the display from top to bottom.

  • Setting background image in JFrame

    Witam, Jak mozna ustawic tlo w postaci grafiki (png, jpg, ...) dla jFrame? Znalalem juz kilka sposobow ale one uzywaja jPanel, ktorego ja NIE moge uzyc ... niestety. Jesli nie ma takiej mozliwosci dla jFrame to moze tez byc dla jScrollPane, JComponen

  • IPhone will only connect to internet using Wi-Fi

    Brand new iPhone 3g. Internet works fine when I have Wi-Fi service. If there is no Wi-Fi network to connect to, the phone cannot access the internet. Any suggestions?

  • Reading unicode file using pure C++??

    Hi Guys, I need help reading a unicode/utf8 file using C/C++. Any pointers or sample code will be of great help. Thanks Gulshan

  • Flash 9: can't install.

    I'm trying to install the latest flash player prompted by Internet Explorer. It fails. I tried: Everything on http://www.adobe.com/go/tn_19166 (unistall previous versions, check IE settings, download and run SubInACL like explained on http://www.adob