Creating an Animated Button

HI
I am new to flash. So i am trying to create an animated button, using a Movie Clip.
1. I create a Rectangle with a fill.
2. I convert it to a Symbol (Movie)
3. Double Click on the graphic to create it's on Timeline.
4. Why do i then need to convert to a symbol again?
It will not animate unless i convert that timeline button again.
I will now add a behavior, i think i am OK there...
Thanks in advance...

When you converted it to a movieclip. it already had a timeline.  In step 3 you would be accessing that timeline, not creating it. Whether or not you need to convert the rectangle to a symbol (inside the movieclip) depends on what/how you intend to animate.   Inside the movieclip the rectangle is the raw drawn item you started with, not an object that you can control except possibly to do a shape tween.  If you plan to tween the rectangle, such as fading it or moving it, then it needs to be converted to at least a graphic symbol.

Similar Messages

  • A few questions on making animated buttons for a website Nav

    Hello, I have a few questions on creating some animated buttons for a nav.
    There are 2 actions I want to trigger on moue over.
    If I want to use a static (PNG) image that I created in Photoshop for the actual button, can I use that? I want to smoothly slide button down on mouse-over and slide back up on mouse off. If I push part of the button off the "canvas" (sorry, this is coming from a Photoshop guy) will it disappear in the final animation? Another way to put that is, if I put an animated element off the white area, will it no longer show up in the movie (.swf) when it's published?
    For the second part; you can see a bit of what I want to do if you look at this website's top Nav: http://www.photoshopsupport.com/index.html
    I need the "light" above the button and it's going to be on another colored <div> so I can't set one solid BG color for my flash document. But I want to achieve the effect of the "bar" lighting up above the button and the actual button sliding down upon moue over.
    Any help you can provide would be greatly appreciated.

    Hi,
    Regarding this button problem mentionned by kglad, it is easily overcome with a little trick.
    I call this the undesired "jumpy button". Your button starts to hesitate down-back-down-back quickly, like it's a bug, and then it settles.
    What you could do is create a simple sprite or movieclip containing only a simple shape, whatever the color, put it on top of your button's graphic, change this sprite/movieclip's alpha to 0, then add your mouse events on this invisible "target" instead of your graphic. So, when you mouse over, you have the graphic move, not the invisible "target".
    Sometimes, for this invisible target, you will be using a movieclip, not a sprite, so you can easily add your own properties on it.
    Example:
    var graphicBtn:Sprite; // your png
    var targetBtn:MovieClip; // your invisible target, created with code or not
    targetBtn.graphics.beginFill(0x000000);
    targetBtn.graphics.drawRect(0, 0, graphicBtn.width, graphicBtn.height);
    targetBtn.alpha = 0;
    targetBtn.mygraphic = graphicBtn;
    targetBtn.addEventListener(MouseEvent.MOUSE_OVER, onOver);
    targetBtn.addEventListener(MouseEvent.MOUSE_OUT, onOut);
    addChild(graphicBtn);
    addChild(targetBtn);
    function onOver(event:MouseEvent):void
         TweenLite.to(event.target.mygraphic, 0.25, {y:40, ease:Back.easeOut});
    function onOut(event:MouseEvent):void
         TweenLite.to(event.target.mygraphic, 0.25, {y:0, ease:Cubic.easeOut});
    So you see, you can have only one function (well, 1 for over, 1 for out) used for all your buttons. You can add as many properties you need on your movieclip to make that one-function flexible.
    Here I used GreenSock's tweening engine, but use the one you prefer (Here, I am moving the graphicBtn in y for 0.25 second).
    Design Cyboïde
    Création de sites web

  • Animated button as3

    Hi there
    I have this animated button that I created from a tutorial, but am a little confused at to how I could set a hotspot for the button, the button is just a white outline square, no background image, so the button is not completely filled.
    it only triggers when rollover line, am I making any sense.
    is this the easiest way to create an animated button in as3, seems like there is alot of script???
    I have attached fla example of button

    thank you for that, yes that makes sense
    is this now the norm for making animated buttons in as3, or do/can you use a hotspot from the button movieclip??
    what is the correct way?
    many thanks

  • Add a hyperlink to animated button created in Edge.

    Hello,
    Is there any way to insert an animated button I created in Edge into Muse and add a hyperlink to it. The roll over and roll out work perfectly when inserted into my web page, I just can't attach any actions to it. Thanks.

    I'm attempting to do exactly this, and when I preview the Muse site in the browser, I get a page not found reply.
    As a test I've rigged up buttons in Muse that go to the exact same page, and they work perfectly.
    When I click the link, this is added to the end of the url.
    assets/design-page-animated-menu/logo-design.html, when the folders for assets, and design-page-animated-menu don't exist.
    This url seems to be generated somewhere in the export/preview process, but is not the url I directed the Edge Animate link to. It is simply directed to logo-design.html which as far as I can tell should work, as both pages are in the same folder—when exported—with no subfolders involved.
    Where is this longer url being generated, and is there anyway around it?
    Edit.
    Upon researching this further, I see that even though the muse pages are all in the same folder, the page that Edge is creating—that is being displayed on the Muse page via an iframe—is in it's own folder, and is therefore unable to see the pages I was linking to.
    I see that as mentioned above, it's just better to use absolute urls, and that they just won't work in testing.

  • What happens to the rendered animated buttons on sub-menus

    I am on a 3GB of memory MacBook Pro using Encore (CS3). Here is a description of how I have produced a working DVD...so far 3 out of 5 DVDs I have tried to render have worked.
    ANYWAY...seems that Encore implodes when I try to render the same project more than one at a time. Encore chokes and I am back in the MAC OS.
    HERE is my main question...every time it blows it seems to blow away the RENDERED ANIMATED BUTTONS on the secondary menu. SO each time I try this again I have to re-render the buttons taking about 1.5 hours. Why do I have to re-render...why aren't the rendered 2nd level menus SAVED.
    To make it clear...after I rendered the menus...previewed...saw the buttons are animated...SAVED...try to write a DVD Disc from the Current Project...succeed...try to burn another DVD...it aborts (why...I have no idea)...I empty trash...bring up Encore again...try to preview the secondary menu...NO ANIMATION there so have to rerender and start all over.
    I have been reading about compatibility of DVD disc, computer players and DVD players...what a PILE...without all the techies our there we can't make a dependable environment to create, burn and play DVDs...these companies should be ashamed...all they are doing is producing a whole bunch of frustrated producers (or lack of producing producers).
    Can anyone shed a light on my problem!?!?
    Thanks, --bill
    p.s. Are there better forums than here at Adobe? Seems I don't get many if any replies to queries.

    Bill,
    A couple of questions, mainly to make sure that I understand what is happening.
    1.) There are two files (an audio and a MOV), that show in the Orphanage, when you Check Project. Do they appear there BEFORE you Check Project, or only AFTER?
    2.) Do they appear BEFORE in your Project Panel, or only AFTER you Check Project?
    3.) Since they are Orphans, I assume that you do not intend to use them in this Project - right? Were they ever in the Project (Imported as Assets, or Timelines)?
    4.) Was this Project started fresh, or did you modify an existing Project, to create it, say using a Save_As, etc.?
    5.) If they were not Imported into this Project, were they Imported into another Project, that is/was being worked on coincidental to this one?
    6.) Can you find these files on your system? Where are they located?
    If 1.) is After and 2.) is After, then your Project might be corrupt. The Assets/Timelines/etc. are linked to the Project by XML. This can become corrupt for many reasons, most are often unknown - power dip, or hardware issue on Save, etc..
    Two ways to check this theory, is to start the Project from scratch, and see what happens. Another is to use a freeware program, XML Wrench, and run the Project file through it. Aside from pointing out broken links, and other problems, it should also allow you to search for these files names in the body. Save a copy of the Project file, so you will have it untouched, and then remove any lines, that reference these files. Save_As (new Project name) and open that in Encore. Being on MAC, doesnt every data file have a finder file, associated with it? Could this finder file be cross-linked, in some way, to your real Assets?
    It could be that there is a hardware issue, and this causes the links to the Rendered files to become broken, and also to link to files, that should not be included. Any other strange things with your system lately? I do not know the MAC folder/file structure, but can you do the equivalent of Windows Check Disk? If so, set it to find lost clusters, or whatever MAC calls them.
    Also, being on PC, I do not know what utilities might be available for your OS, or what other programs might be causing a problem. On PCs, other DVD burning software, especially if their packet-writing applet is installed, can cause havoc with Encore and are discouraged. Anything else installed, and/or running, that you can think of?
    Sorry to play twenty questions, but Id like to be as clear, as I can, on exactly what is happening, before I make too many more guesses.
    Hunt

  • Help creating an animated gif for a navbar!!

    Hey guys, I am very new to fireworks and dreamweave and am having a problem that is making my head spin! I have to create a simple animated .gif for a navigation bar (which will be made in dreamweaver). The navigation bar should function similar to this: http://www.eden.rutgers.edu/~baronson/ITI320/Exercise2/functionality.html. Essentially, all that is happening is I create this animated image and in dreamweaver, when I create the AP NavBar, I set the mouseover to that image. My problem is that in comparison to this website's mouseover image  ( http://www.eden.rutgers.edu/~baronson/ITI320/Exercise2/images/navi/audience_OVER.gif ) my animated gif has multiple layers and states, where as his only has one layer. I can't seem to figure out how to include both the text, and the gif image, and incorporate them under the same layer.
    A follow up question after having found how to incorporate both into the same state, would I have to lasso out each piece of my animated gif for the individual state I want to have it applied to?
    Any help/pointer to where the information can be found would be greatly appreciated. I've read through the manuals and watched many of Babbage's videos but haven't been able to figure this out. Thanks!

    Your gif doesn't need to have multiple layers, but it does need to have multiple states. To save yourself a lot of confusion, create the animated gifs first, and then export them. Create your navbar in the usual way, with simple rolloveres or swap images. Export the navbar.Rename the animated gifs with the names of the over state of the navbar images, and then delete (or mone to another folder) the over state images of the navbar. Move the renamed gif animations into the image folder of the navbar. Preview in browser. The animated gifs should have replaced the original over state of the buttons.

  • I am a new using Adobe products, and I am creating an Animation using Edge Animation.....

    Hi guys.
    As I said, I am new working with Adobe products, like Dw, and now I am creating an animation using Edge Animation.
    Actually, I am creating a carrousel with different pictures representing three different apps being displayed from different devices, moving them and creating a simulated
    movement for each one, based  on the functionality, that action should be activated by a button (i.e.) titled "Inventory", the action to execute is to move
    the three related screens ( Desktop, Ipad and Iphone ) from the original position  to the middle screen, but at the same time, and this is what I need to know,
    If there is another set of screens for a different application, how to move those back to the original position, before moving
    the selected one, "Inventory". I tried to use a duplicated transition and inverting, it works, but it doesn't stop waiting for a new action, and how to combine
    that movement back with the selected app-transition?
    I put  two screenshots with the stage and the original position for all of them. I have not created the buttons yet. I imagine I should use some kind
    of conditional statements to execute the action sending back  those elements  located in the middle  of screen, because were selected before,
    and then execute to animation to move the selected app.
    I would appreciate your help on this matter.
    Thanks.
    Gustavo Hevia
    original Position.
    After the First animation for Inventory App.

    No answers, Ok.
    I will try to give you more information about I want to do.
    I am a Filemaker Developer, and I started creating my webpage, and one of thing I would like to do is this
    animation and put it on my website.
    What I want is to simulate a carrousel of options to show the selected application using the three buttons,
    Now, I put the three buttons and each one of them is moving the three corresponding applications, that's fine.
    But the issue I have :
    I am using Mouseover and Mouseout to show a different color and size of the buttons, and to execute the
    corresponding animation.
    For each event I created different labels : Inventory_hover ; Inventory_mouseover ; Inventory_Animation and
    Inventory_Animation_Reverse and so on.
    Testing that
    After I selected one of them, and it ended moving the three pictures to the center of the screen, and then I
    leave, the three screens moved to the original position, which is not a bad idea, but I want to control that
    moving.
    So, what I want as a summary is :
    1) to control that back movement. I was trying to figure out how to add some code inside the Animation code, and
    just before execute that animation, check if there is another application selected before, and then move that
    set of pictures back to the original position, since I have only three applications pictures, and only one can move
    at the time, the checking "If Statements" would be for two others conditions.
    2) That should be done only when one of the buttons is clicked, and not when the mouse leaves the buttons like it
    is happening now.
    I attached a zip file with my EA files.
    Thank you in advance, Any help would be really appreciated.

  • What tool can i use to create an animation for iPad

    What tool can i use to create an animation the will run in I.E., Firefox and iPad. I want to have a series of large buttons that i can scroll using arrows on the left and right side of the large buttons, with each button  being a hot spot. I can't use Flash because it is not supported on the iPad.
    Thanks,
    Steve

    I've been playing with both Edge and Hype, and I found that stuff I create in Hype actually works in IE 8, but stuff I create in Edge does not. I'm not sure what the difference is, other than perhaps Hype automatically writes some legacy scripts so that things will work in IE. Hype's not perfect, but it's doing the job for what I needed it to do, where Edge was no help at all (working in IE I mean).
    I think Edge is a much better tool - more robust, greater feature set, but Hype seems a bit more forgiving and seems to play nicer with crappy browsers like IE.

  • What IS the best program to use to create an animation, that needs to be viewed in Powerpoint?

    What IS the best program to use to create an animation, that needs to be viewed in powerpoint?  Essentially i want to output a Movie File, so i'm guessing that Edge Animate is out of the question and it's not photoshop, more likely Flash?

    So it sounds like you want to create a form. There are really two approaches, either Acrobat (AcroForm) or LiveCycle Designer (XFA form). LiveCycle Designer comes with Acrobat Pro, but it's an entirely separate application.
    For an AcroForm, you'd create the underlying document in a page layout program (e.g., InDesign), word processor, or some other software and convert to PDF. Then in Acrobat you;d add the interactive form fields and any scripting you want. You can also add other types of interactive elements such as links, bookmarks, multimedia, etc. You can add a button which when clicked initiates an email with the filled-in form attached of submits to a web server.
    For an XFA form, you'd normally create the entire document in LiveCycle Designer, particularly for a dynamic forms. There's a lot that PDF has to offer that's not available with XFA forms, but XFA forms can do things AcroForms can't. For a good discussion of the important differences between the two types of forms, see the following article: http://acrobatusers.com/blogs/thomp/so-what-difference-between-acroforms-and-xfa
    For a form that needs to be saved with Adobe Reader, the document needs to be Reader-enabled. When such a document is opened in Reader, it will unlock certain functionality that Reader does not have otherwise, such as commenting, signing digital signature fields, and most important saving. But when a document has been extended this way with Acrobat, there are licesning restrictions. In short, if you distribute an enabled document to more than 500 recipients, you are allowed to use data from no more than 500 forms that have been returned to you, including hard copied. If fewer than 500 recipients, there is no such limit.

  • Please help - 3 second animated buttons

    Hey all,
    I am using Flash CS3 to create a button for a site I am building in Dreamweaver CS4.
    The button I am trying to create looks like a volume knob on a guitar amp. I need it to
    start at zero and then "turn up to 10" over a period of 3 seconds when the user hovers over
    it. It also needs to play a sound on mouse over.
    I have created seperate images in photoshop for the knob pointing at each increment 1-10. I
    added these to a new Flash doc on separate layers. However I cannot figure out how to get it
    set in a button. I tried both the layers version and exporting it as a movie and creating a
    movie button.
    I have created simple buttons but not one that "plays a longer animation" like this.
    Thanks for any help you can provide!

    Thanks! I appreciate your patience with my lack of knowledge here.
    So I created a new .fla file as AS3, inserted each image into a frame and applied the stop() command to the first frame:
    I then saved it as a Movie (.swf)
    Is that correct?
    Next steps...Do I then take that exported movie and insert it into a new layer in the original .FLA file and apply the action you outlined in your post?
    Thanks again for your help and patience!!!!

  • 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.

  • ___Off topic, but how do I create an animation of a character (monster) chewing?

    I'm trying to help out a friend and make an animation of a monster chewing - is there anyone who knows where I might find a visual reference of this type of thing?
    I can usually draw okay, but this one is a stumper creatively for me.
    Thanks

    Illustrator is not an animation program. But you can build indiidual graphics in Illustrator and then use those graphics as the basis for "frames" in a frame-by-frame animated format such as SWF (Flash) or animated GIF.
    This page displays a simple SWF animation in which a lizzard marches in from the left, licks his lips, and winks. You can replay it by clicking the reload button in your browser. After marching in, the lizard continues to wag his tail, and licks his lips and winks at random intervals.
    Below the graphic is a link (Construction Notes) to a PDF which describes the general process of building the animation in Illustrator, leveraging such features as Brushes and Blends.
    The different timing of the elements (march, wink, lick, wag) exemplifies the need to work with more than just Illustrator (in this case, Illustrator and Flash) if you intend to build anything beyond the most basic and linear animations. All of the artwork elements were drawn in Illustrator. But the entire animation is an assembly of several "sub animations" (MovieClips in Flash). The timing of the animations (march-in occuring only once; wag repeating continuously; wink and lick repeating randomly) is controlled by script (FlashScript).
    The result is a very small animation file, still all vector, and infinitely scaleable. My point is: Expecting to use Illustrator alone for creating finished animations is very very limited, and not likely to yield very bandwidth-efficient animations.
    Your example (a chewing monster) is a similar kind of project. Using Illustrator alone, you could create a frame-by-frame animated file (SWF or GIF) which either plays once, or loops continuously. That's pretty boring. Adding interest beyond continual looping will involve more than just Illustrator. For example, an animation of a chewing monster would be more interesting if the figure displayed some minor differences and timing irregularities (exact mouth shape, expression, winking, eyes moving) during and between individual bites, as opposed to simply having his jaw move up and down repeatedly in Pac-Man/clockwork fashion.
    JET

  • How do I create an ANIMATED GIF for my Website Logo?

    Hi,
    I would like to make a turning logo for my website. The problem is that I don't know which software to use and how.
    Is there an Adobe program which is easy for creating an Animated GIF or equivalent moving logo...
    You can see my static logo here: Online Radio
    Thank you,
    Freeway

    Hey Iggy,
    These might help:
    Muse
    http://tv.adobe.com/watch/introducing-business-catalyst/getting-started-with-business-cata lyst-and-muse-what-is-business-catalyst
    http://tv.adobe.com/watch/introducing-business-catalyst/getting-started-with-business-cata lyst-and-muse-creating-and-publishing-sites
    -Dave

  • How to create a rollover button effect in Captivate 7?

    Hi,
    I recently upgraded from Captivate 6 to Captivate 7 and am curious to know how I can create a rollover state for a SmartShape button. Basically, let's say I have a SmartShape being used as a button. What I want is to have the button have a glow effect and a shadow effect each time the mouse is hovered over it. Is there an easier way than having two objects on the slide -- one as the normal state and one the mouse hoever image. What I'm thinking is that the mouse hovered state image will have it's 'Visible in Output' set as unchecked and I can use an Advanced Action to show the object on mouse hover. Perhaps I can have the mouse hovered state image as a rollover SmartShape too?
    Nonetheless, this looks like too much work. If I have 10 clickables on the page for which I want rollover effects, I would need to have 10 additional objects with their rollover states -- just seems like too much, but perhaps that's the Captivate way. Or I am I missing the obvious?
    Any help would be appreciated.
    Thanks,
    Sean

    Most people would say the easiest way to achieve what you are talking about would be to just create your own custom image button in a graphics editor and give the Over state image having the glow effect that you want.
    If you decide to go that route, this tutorial describes the process of creating an image button:
    http://www.infosemantics.com.au/adobe-captivate/create-custom-image-buttons
    Another possibility is that you can use the Infosemantics Event Handler widget to trigger an Apply Effect action and use the Glow filter as the effect. 
    However, this may require some tweaking since it's not that easy to time effects that are applied via an advanced action.

  • Difference b/w create and createInsert button

    hi,
    what is the difference b/w create and createInsert button in ADF data control.

    first go through
    https://forums.oracle.com/forums/ann.jspa?annID=56
    next look
    http://jjzheng.blogspot.in/2010/04/create-or-createinsert.html
    ADF Faces & BC: Difference between Create and CreateInsert.

Maybe you are looking for

  • Selection screen change with check box and radio buttons

    hi frieds i have an requirement that there is a check box in the selection screen and bydefault it has been check if it check the selection box shuld be disable if it uncheck the check box then selection block should enabled and in that againg two ra

  • Link between Reports

    Hi Im new with Portal and I dont know hot to make a link between 2 reports, passing a parameter. I have a table of questions and a table of answers and a report for each table. So the idea is to have a link on the Questions report to the Answers repo

  • Pipeline step not displying at SXMB_MONI

    Hi all, I got my newly configured PI box ,every thing is working fine and we tested the test scenario File to File. file got picked and we able to create new file at receiver folder. but issue is when i am going to sxmb_moni Tcode I not able to view

  • Heterogeneous Services with password problem

    i need to connect to a password protected access database via oracle 9i. http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:4406709207206#18830681837358 following the steps described at ASKTOM (link above) i was able to connect to ac

  • What is the utility of the rating system in zen vision:

    Ok I found it nice to give rating to the songs but if you can't then play your best rated songs or something like that I don't know what to do with it. Is it possible to add a "play best rated" option in the DJ Mode? Thanks a lot !