How do I create a simple button animation?

I am very new to flash although I did do some  movies in Adobe Live Motion when it was available.  I am trying to recreate a nav bar that I did in Live Motion, in Flash CS4.  I have done a little research but found no direct answers.
I have a simple graphic of a tin can. (I will end up using 8 different instances of this graphic for my nav bar.) There is a line of text above the tin can. I want to make this all a button that when mouse is over the can rotates once clockwise  and the text changes color.  When mouse is out it goes back to the normal up state.  When clicked I want to go to a web page.
That is it.  If I can learn how to do one I will be fine.
I would be ever so grateful for help with this.

I did, by the way, change the publish settings to as2.  Thanks for that info!
All works but the  mouseover.  The tin can continuously rotates instead of just once. The text changes color ok but flickers (from up to over) - again and again until mouseout. And the link works when clicked on either text or tin can.
So everything you gave me was correct but I have done something wrong with the over animation.
My  movie clip is as follows.  The instance is named btn1.
layer 3 = actions layer
layer 2 = text
layer 1 = tin can
frames 1 - 5 labeled "up" with stop action in frame 1.
frames 6 - 10 labeled over with tin can (layer 1) being a 5 frame tween using 1 rotation from the property panel
Scene 1 has 3 layers.
layer 1 = background - locked
layer 2 = btn1 movie clip
layer 3 = actions - with your code in frame 1
Again, any help will be appreciated.

Similar Messages

  • How do I create a simple cartoon animation in Photoshop and transfer it into AE for better timing?

    The title.
    I was wanting to make my own animation from scratch. I've always heard though that Photoshop didn't have good timing, so I was wondering how I could use AE for the timing.

    In the photoshop timeline panel, click on the icon in the upper righthand corner of that panel. When the menu pops up, select document settings. Here you can change the timing to what ever you want. The higher the frame rate the faster the animation will be. The frame rate is like saying how many frames do you want to pass in 1 second of time. Hence the higher the number the faster the animation.
    The issue with good timing stems from placing the animation inside a web browser. This is most noticable when using a gif format. As this format relys on the browser for the timing and can therefore run extremely slow.
    This issue will hapen no matter which app you create the gif file on. When creating large animations it is much better to use a format that can handle it, such as avi, mov, swf, flv and few others.
    Any video that is using one the "better" formats can easily be ported into After Effects. The main hurdle is the codec, but it was created on your system, then odds are good it will load into After Effects. There are exeptions of course such as currupted files, formats like swf, which are really meant as an end of the process format. (meaning use that format for sharing rather than editing) If it is for flash use flv instead, it is much easier to import into other editing apps.
    Which format you choose to use will depend on your audience, the size of the file, the quality of the file, what media it will be played on. Take into account the operating system if it will be played on a computer.
    Hopefully this helps.

  • How can i create a skip button?

    I'm creating an intro animation that leads to a drop down
    menu, but how do I create a skip button that lets me skip the intro
    to the menu.

    try this..
    skip_btn.onRelease = function(){
    gotoAndStop("menuFrame");
    skip_btn is the instance name of your skip button, and
    menuFrame is the frame name of where your menu is located.

  • How do I create a simple gallery in iweb? I don't know much coding though!

    how do I create a simple gallery in iweb?
    I don't know much coding though so I struggle
    with some tips given on-line. I've spent many
    hours on it with no success. Helpful advice will be greatly appreciated.

    Instructions :
    http://www.wyodor.net/blog/archives/2010/03/entry_308.html
    Result :
    http://www.wyodor.net/_Demo/Fancy/Fancy2.html
    http://www.wyodor.net/mfi/Dide/Photos.html

  • How do I create a print button to print a specific range of the document.

    How do I create a print button to print a specific range of the document.  I've found JavaScript to print a specific page, but a range or even multiple ranges.  Form is created in Adobe 9 Pro.  Any help would be truly appreciated! 

    Sure, I'll give it a test.  Its just that I have a 128 page form that not all of it needs to be printed.
    Currently,  I have an index page where I want to set up a print button queues per form, however there are several form scattered throughout the document that make up a specific section, but it does not require printing the entire document.  Does that make sense?
    I did find this JavaScript during my reseach, but have not be able to get it to work.
    var pp = event.target.getPrintParams() ;
    pp.interactive = pp.constants.interactionLevel.full;
    pp.printRange=[[1, 1], [3, 4]];
    event.target.print(pp);

  • How do I create a line-Map animation effect

    How do I create a Line-Map animation effect?
    i am trying to highlight a 'Route' on a map.

    Are you using PSE or Premiere Elements? You can't do this in PSE. For PRE, better to ask in their forum, since very few of us here use it:
    http://forums.adobe.com/community/premiere_elements

  • How can we create such navigation buttons using Flash CS4?

    Hi,
    How can we create such navigation buttons using Flash CS4 is in the following website? Please help me with any such tutorial to make my custom navigation bar/buttons.
    http://city.reallusion.com/join.html
    Thanks.

    While the Note 4 is a reasonably large device it still falls into the phone layout bucket. We need this layout to function on very small screens some as low as 320 pixels high and 240 pixels wide. These sorts of devices don't have the space for a full toolbar.

  • Creating a simple button in CS4...I'm missing something

    Okay....I'm just trying to create a simple button to test. I create a square, convert it to a button symbol. I click on the button and open the Actions window. The window says "current selection cannot have actions applied to it." Have I missed a step? I can add an action to a keyframe okay, but when I click a button, even just a simple button, it will not allow me to add an action to it?
    Anybody know what I'm missing?

    again, you cannot attach code to objects in as3.  you are going to attach code to a frame or you're going to create external as files/class files and i'm pretty sure that will be a bigger jump out of your comfort zone than attach code to a frame.
    you've already given your button an instance name (mybutton), so attached to the first frame that contains mybutton, in the actions panel paste the following:
    mybutton.addEventListener(MouseEvent.CLICK,f);
    function f(e:Event){
    navigateToURL(new URLRequest("http://www.adobe.com"));  // better to use adobe than apple in this forum.

  • How do I create a simple message board (forum)

    I am a BC new-bee. How do I create a simple message board (forum) in BC to use on a Muse site since no widget is available there.

    No worries,
    The simple way should be that:
    open your forum page in Muse
    under "object" > "insert HTML" > paste "{module_forum,a,}"
    click ok
    move the textbox to the right position
    now publish this page to your bc site
    if you have any forums set up in the admin of your site (http://yourdomain.com/admin) it should show you the title of the forum.
    if there are no forums set up, you will need to create a forum in bc (Modules > Forums)
    Try this and let me know how it turned out.
    [ advertising removed by admin ]

  • Beginner Flash question: How do I create a "step" style animation?

    How do I create a "step" style animation? For certain movements, I don't want a smooth transition. I want position A to jump to position B immediately at the appropriate marker in the Timeline, not a gradual movement from point A to point B. Thanks in advance!
    Alex
    N33Z

    just create keyframes with your displayobject positioned and do not using tweening between the keyframes.  or use actionscript and a timer to change the object's position.

  • How do I create a simple search program to search java console log

    I wanted to know how can I write a simple program to return a particular value from the java console.
    Let me give u a brief.
    There is an application that I use, say "XYZ".Every time I perform an action on "XYZ" a log gets created in the java console. One such thing in the log I want to search is "ANI" and the program/script shud return the value adjacent to it.
    Log Example:
    NumCTIClients:0 CallType:CALLTYPE_PREROUTE_ACD_IN
    ConnectionDeviceIDType:CONNECTION_ID_DYNAMIC
    ConnectionCallID:4 ConnectionDeviceID:"0"
    ANI:"9782755100" DNIS:"0006"
    DialedNumber:"8002755010" CED:"1"
    RouterCallKeyDay:145000 RouterCallKeyCallID:34320231
    CallVariable1:"1234567" CallVariable2:"0"
    CallVariable3:"0006" CallVariable5:"26000 123-45-6789
    Not Valid " CallVariable6:"1001123-45-6789
    26000000000038404LPCFAA" CallVariable7:"THIBAULT,
    JOHN C. " CallVariable8:"CISCO
    TESPHE " )
    Now my understanding is that whenever java logs in the console it appends at the top, i.e, first record stays on top of the log sheet.
    Now this script/program shud look up the top-most line which reads ANI and return the corresponding value which in the abv ex. was "9782755100"
    I wud also want a small button when clicked wud copy the "9782755100" to the clip board
    Edited by: SasK on Feb 9, 2008 6:09 PM

    dillmann74 wrote:
    Hello all,
    I am looking for a way to terminate a program when the user enters stop. I am using textpad, and I am running windows xp home. Here is where I need it....
    System.out.print( "Enter employee name:" );
    String nameOfEmployee = input.next();
    System.out.println();
    I need to be able to enter stop in the enter employee name area to terminate the program.
    Thank you all for your advice.Do you know about if statements?
    If not check out the java tutorials here
    if you do then I don't understand your question.

  • How can I create a simple chat function in a mobile app for iOS and Android

    I am wondering how can I create a chat function in my mobile app creating in AIR and Flex. The chat should be similar to the one in WhatsApp.
    Do you know some possible solutions?
    Thank you in advance!

    To enable chat messages, you need a server. The kind of server depends on the application. Do you want to create a chat like application like WhatsApp, where the server pushes messages without an active connection? Or do you have some sort of online game, where chat messages can only be transferred when the client is connected already?
    I have an online game where clients are connected to a Java server at all time. From there it is pretty straight forward:
    2 textfields:
    - 1 line textfield for input messages
    - multi-line textfield for chat history. Make sure the textfields autoscrolls to the bottom when the content changes
    on enter or button push, send a socket message to the server.
    the server broadcasts all messages to all clients that are subscribers of the chat group.

  • How can i create a simple netweaver portal page that shows text and images?

    Hi,
    i have a simple question or maybe it's not so simple.
    I am completly new to SAP Netweaver 2004s Portal. At the moment i'm trying to understand the struture of the whole thing. I already know how to create roles, worksets and pages and i know how to combine the different elements so a user can acces them.
    And now i want to create a simple portal page that shows text and images. Is it possible to create such a simple page with the portal content studio? What iView do i have to use?
    (I just want to create a start page with a welcome text on it.)

    Marc
    Considering that you would any ways go ahead with complex development from this simple start page I recommend create a Web dynpro Iview for your start page (include the Iview in your page).
    For putting the contents use Netweaver Developer studio to build a simple start page application and put your static text on that Iview.
    Please go through the following log after your NWDS development is over - This will make you comfortable for further challenging work.
    http://help.sap.com/saphelp_erp2005/helpdata/en/b7/ca934257a5c96ae10000000a155106/frameset.htm
    Do reward points if this helps and let me know of you want anything more.

  • How can i create a filechooser button inside the plugin window?

    Hi
    i'd like to create a filechooser button to load/save but inside the plugin window. Is it possible ? if yes how can i do that ?
    and i need the algorithm to be Mac/Windows compatible if possible
    thanks a lot
    *best regards*
    Jeff

    If by the "plugin window" you mean the dialog an automation or a filter plugin from the SDK sample code opens for you, you have to write platform-specific code using either Cocoa on Mac or regular WinAPI on Windows (e.g. by hooking GetOpenFileName()/GetSaveFileName() functions to a button you will add to the resource file or create dynamically). Take a look at any plugin that has a GUI (e.g. the Dissolve plugin) and you'll see that the GUI code is entirely platform-specific as there is no platform-independed GUI framework bundled with Photoshop anymore.
    Another option is to use some third-party cross-platform library such as Qt, but if you just need a couple of buttons and file selection dialogs it's probably not worth the trouble,.

  • How can we create a OCA button for Overview page?

    Hi Experts,
       Please help me with all the steps for creating an OCA button for Overview page. I have already tried it for table view in Viewset and it is working fine but how to do that in Overview page.
    Thanks and Regard,
    Pranoy Kumar

    Hi Pranoy,
    You need to redefine two methods of OVP view's _IMPL class and paste this code:
    METHOD if_bsp_wd_toolbar_callback~get_buttons.
      DATA:  ls_button    TYPE  crmt_thtmlb_button_ext.
    Ls_button-on_click = 'EDIT'.
         ls_button-type = cl_thtmlb_util=>gc_icon_edit.
         ls_button-page_id = me->component_id.
         ls_button-enabled = abap_true.
        APPEND ls_button TO rt_buttons.
      ENDMETHOD.                    "if_bsp_wd_toolbar_callbacku2014get_buttons
    method IF_BSP_WD_TOOLBAR_CALLBACK~GET_NUMBER_OF_VISIBLE_BUTTONS.
    *CALL METHOD SUPER->IF_BSP_WD_TOOLBAR_CALLBACK~GET_NUMBER_OF_VISIBLE_BUTTONS
    *  RECEIVING
        RV_RESULT = 6.
    endmethod.
    And write the event handler method for here in my case EDIT, or you can write depending on your requirement.
    Regards,
    Vishal.

Maybe you are looking for

  • How to set a Swing component as Modal window on a SWT Component.?

    How to set a Swing component as Modal on a SWT Component.I mean, I have a window (SWT Container) with some menu items. When I click on one menu item then i will get one new Swing Window. When creating the new frame I had passed Modal value as TRUE in

  • Adobe Reader X won't print

    When I click on either the printer icon or file-Print I getAdobe Reader has stopped working. The error in the event log is: Faulting application AcroRd32.exe, version 10.0.0.396, time stamp 0x4cc5e97b, faulting module ntdll.dll, version 6.0.6002.1800

  • How to compare two files in SAP

    Hi All, I have downloaded the contents of a custom table in two files and saved in the uncoverted format, now I want to comapre the contents of these files and see if there is any difference in these files or not. So is there any utility in SAP which

  • E_ADEPT_USER_UNKNOWN

    Am getting a error when trying to log with operatorclient to add new URL. Error message is: <error xmlns=http://ns.adobe.com/adept data="E_ADEPT_USER_UNKNOWN http://eusigningservice.adobe.com/licenseadmin/ManageOperatorURLDATA urn:uuid:00000000-0000-

  • An issue while Configuring the Access System Console

    I'm facing a problem while Configuring the Access System Console. I have installed the policy manager, and when I try to configure the access system, an error message appears "The environment variable TEMP points to a directory that does not exist. T