Professional :: Make An Animated Button With 2 Hit Areas That Do Different Things?

Apr 30, 2010

For example if you had a cat and running a mouse over its tail would make it angry, but running the mouse over it's head would make it happy. I thought it might be done by having layers on a button with 2 hit areas, I mocked it up quickly, but it just played both animations when I hovered over each button.

View 3 Replies


Similar Posts:


ActionScript 3.0 :: Display List / How To Make Things Appear Behind Other Things

Feb 8, 2011

In my game, Ive got a HUD, (heads up display, life bar, points scorer etc...) and when an enemy comes onto the stage, the lifebar is appearing behind everything else, and it should really be the thing that's infront of everything else. Is there like a line of code and a function or variable I should declare or import that allows me to create depth and put my lifebar at the front.

View 2 Replies

Professional :: How To Make Things Visible Offstage

Jun 6, 2010

I'm trying to allow all things oitside of the stage peramiters to be visible in the browser screen so certain elements can be longer than the stage and still be shown Can't remember if it's a flash thing or an html thing.

View 6 Replies

Flash :: Professional - Make Certain Areas Of Image Into Links To Other Sites?

Sep 22, 2011

I am new to Flash but am slowly teaching myself via [URL] etc I have an image that I have added to a website via a content management system and want to make certain areas of that image into links to other sites. I found this page that does the kind of thing I want to do, but it appears from looking at the source code that the person who has done this has cut the image up into several sections in order to fit it into a table: [URL] Is there a better way to achieve the same kind of effect using Flash by making ares of an image into links and keeping the image as a whole?

View 2 Replies

Professional :: Flash Cs4 Where Is The Up, Over, Down, Hit Button Things?

Dec 2, 2010

I have flash cs4 and cant find the Up, Over, Down, hit button things

View 2 Replies

ActionScript 2.0 :: Make A Button Do Two Things / Play A Movieclip And Goto Frame

Aug 27, 2005

What im trying to do is play a movie clip between frames. So say we have two menus, when you are on menu 1 and you click the button for menu 2, a short movie clip plays and then you stop on menu 2. I realise I can do this by putting the movie clip on the main scene timeline, but is there anyway i can put it on the button? I think the action script would be something along the lines of "On release play MovieClip and goto frame X" As i said i want the movie to play as an almost filmic transition between menus, with a fade up and then out (Have got that bit sussed using the alpha controls)

View 3 Replies

Professional :: Make Animated Text?

May 16, 2011

I want to make the text moving like this one here : http:[url]....How do I make it or where I can find tutorial to learn?

View 2 Replies

Make 3 Animated Gif Files For All 3 Stages Of Button?

Jul 31, 2009

I want to make 3 animated gif files for all 3 stages of button. If I use transparent png files when creating gif Im gonna preserve transparency of png files, my question is if I import transparent gif animation to flash and convert them to button stages are they going to keep their transparency. If somebody know how to do this please help.

Gif animations is going to look like this: metallic looking orb rotates on transparent background on x axis from left to right side of gif file, what I need is that when I upload swf file containing this gif to internet, you can see only metallic orb and everything around it need to be transparent so you can see web page background. It should be looking like flash file is part of the background and interacting with it.

View 14 Replies

Professional :: Animated Hit Area Into A Button?

Aug 23, 2010

I have an 800x800px button within a 800x800 stage, in the up state only 200px of the button are visible, the others 600px remains out of the stage, the over state is a movie clip with a spring-like animation that brings the button to the left to a viewable area of 600 pixels (while now only 200px are left out of the stage). the down state is very the same than the over (without animation, so no changes in size at all).
 
The problem here is how i set my hit area: if I set it to be the size of the up state then the button works the way it's supposed to work but if i move the mouse just i little to the left (just out of the hit area, remember, same size as the up state) then is considered not to be on the over state so i come back to my initial 200px button. By the way if i set the hit area to match the size of the button once it has completed it animation on over state (600px of viewable button) I fix this issue but then I will click the button even when I'm out of the UP state.It's possible to place a movie clip inside the hit area so that it always mach the motion of the movie clip inside the over state?[URL]This is an early prototype of the site but you'll see what i mean, my buttons are the numbered tabs, when you roll over there you'll see they become animated but i planning to make this animation much more exaggerated and then is when the problem come...

View 6 Replies

Professional :: Animated Button In Flash?

Aug 23, 2011

I am having a problem creating an animated btn in flash, I simple want it to do fades and blink several times.I have created a movie clip with frames 1-20 where frame 1-10 is in the normal state and 10-20 is the mouse over state with the effects.In my action controls I have a stop on frame 1 and a stop on frame 10 and a gotoAndPlay("Repeat"); on frame 20

View 3 Replies

Professional :: Clicking Animated Button Goes Directly To URL?

Dec 16, 2010

I have created a button in Flash CS4 with AS3. It is an invisible button over a test tube illustration. I have created an animation of an empty test tube illustration that fills with liquid when you click on the invisible button. The duration of the movie clip (test tube filling) is 26 frames at 18 frames per second (about 1.5 seconds).I have put in action script that sends the viewer to a URL when you click on the (invisible) test tube button and it works as expected.My problem is that when I test the button, it goes immediately to the URL without me being able to see the full animation of the test tube filling first.

My question:How can I delay the action of the button linking to the URL to allow the viewer to see the full 26 frames (about 1.5 seconds) of animation and THEN GO TO THE SPECIFIED URL?Found lots of stuff about delaying using intervals?? in ActionScript -not making any sense to me. I am a beginner/intermediate in Flash and know very little about AS - i find most of my AS stuff on line on forums etc.Here is my action script 3.0 on the last frame (26) of my animation. teach_btn is the invisible button.

stop();
teach_btn.addEventListener(MouseEvent.CLICK,mouseClick);
function mouseClick(event:MouseEvent):void

[code].....

View 1 Replies

Professional :: Create An Animated Movie Clip Button In AS2 Using CS5?

Nov 22, 2010

I'm trying to create an animated movie clip button in AS2 using CS5. The button should fade in/out as the mouse moves over and away from the button.Lets say my frame rate is 30 FPS. When  I insert a motion tween on frame 1, the timeline is automatically extended by 30 frames. I then select frame 30, select the button and change the alpha value to 30%. When I drag the head marker back and forth, the button fades in and out smoothly exactly as I wanted.But I want to create a motion tween between frame 1 and 10. So I select frame 10, insert a keyframe, select frame 5 and insert a motion tween. Then I select frame 10, select the button and change the alpha value to 30% like before. When I drag the head marker, there is no fade in/out. When the head marker is exactly over frame 10, the button is faded, but when it is on any frame between 1 and 9, it is normal.

View 2 Replies

Professional :: Export Animated Banner In Animated .gif Format

Sep 1, 2006

I have been tyring to export an animated banner, in animated.gif format. it's a simple animated text with no gradients. it should go on top of a graphic which has some gradients and is multi-coloured and with effects (the colours are similar to the one/i used in the page) as you can see here the text looks a bit funny.url...

View 3 Replies

Professional :: Animated Mask On An Animated Clip?

Jan 20, 2012

Am I completely hallucinating or what ? That's several years I'm working with Flash, and today, i want to do the simplest animation ever, and it just doesn't work....I want to mask an animated clip with an animated mask (a shape animation), but every time the mask arrives at a keyframe, the clip restarts to the frame 1 !!I added a piece of code to see at which keyframe it is blocked, and at every mask keyframe, the code says 'TypeError: Error #1009: null property..

View 2 Replies

ActionScript 2.0 :: Make Mc In Hit Areas Stay?

Jun 14, 2010

I am working on an interactive site to design necklaces. I have hit areas where the jewels (they are movie clips) can be placed. How do I get the movie clips (jewels) that are in the hit areas to stay and the ones that are still in "drawer" to choose from to disappear when I go on to the next step?

View 3 Replies

As3 - Make Click And Drag Two Different Things?

Oct 7, 2010

I'd love to know how to make click and drag two different things. As it believes the drag function is also a click. Also I'd love to know how to set it so that ALL movieclips stop when they reach say -10px from each side?

View 2 Replies

ActionScript 2.0 :: Make Things Have A Glow Effect?

Mar 17, 2009

how do you make things have a glow effect in flash 8? its probably some action script.

View 3 Replies

Professional :: Filling Pen Tool Areas?

Jan 24, 2010

This is a very very basic question.I am able to colour and otherwise manipulate elementary vector objects, such as rectangles. Yes, I know how to use the colour panel and the fil land ink pot tool. However, sometimes I can colour a vector shape drawn with the pen tool and sometimes I cannot. It seems completely random.In detail: select keyframe on an empty layer.I make a triangle with the pen tool, and a small circle shows completion. I get a triangle.This is coloured not for the stroke but for the layer. It seems to exist in two densities - a layer coloured line for drawing, a thicker, same-coloured one after selection.However, neither the ink bottle nor the fill tool do anything. I can set the colour in advance, or after the event, through the colour panel or otherwise, nothing. A gradient fill does not even show the guide lines for the fill tool.

View 4 Replies

Professional :: Creating Pop-up Areas On Screen?

Jun 17, 2010

I am designing an e-brochure using Flash presentation slides, I would like to creat pop-up areas that are viewed on click just like on this link [url] There should be a thread on this, or a tutorial online

View 1 Replies

ActionScript 2.0 :: Using Random To Make Things Happen Some Of The Time

Nov 5, 2010

I've been trying to use random to make something happen a certain percentage of the time. For example, for making the scientist go to frame 91 half the time and 181 the other half, I was using this code:

[Code]...

View 2 Replies

Professional :: Switch Out Graphics In Different Areas Of A Movie?

Jul 20, 2011

I'm working on for a flooring company. They want a Flash movie that allows the user to change the look (product and color) of different areas of the floor.I have a menu on the left side that designates the three different areas of the floor. I have the two products along with color swatches along the top. I currently have each of the three areas as separate movies that load into a main movie.These three area movies each contain the color swatches on the top as buttons to change the color of that area using "On Release > Go To Frame Label" actions that displays each of the different colors. These movies each load on a different level based on the selection of the left side menu.I want the user to be able to go to each of the three areas and change the product/color attributes without losing what they had already done. For instance, if they choose PRODUCT A in RED for AREA 1, then they want to change the product/color on AREA 2, I still want the movie to display PRODUCT A in RED for AREA 1, etc.The problem I run into is that when you go back and forth between the three areas, the navigation only controls what movie is on the top level and doesn't allow the user to go back to a previous area and change the product/color attribute.

View 1 Replies

Advanced Button Usage - Activating Two Separate Areas

Apr 14, 2011

Basically I am trying to link two buttons so that two separate areas activate as one button including with rollovers etc. I am creating a flash application that features a series of tabs along the top of the page that when rolled over, will light up. When clicked on, these tabs will take the user to a different page. My problem is that I have an image on the left hand side of the application that features areas of the image that will take the user to the same place. I wish to link the button rollovers so that when the user rolls over the tab, the image will light up and vice versa. I have been unable to find a solution to this myself - the closest I came was making the area one button, but due to the distance the image and tabs are apart, the whole screen becomes one big button!

View 1 Replies

ActionScript 2.0 :: Button And Frame Things?

Feb 6, 2005

How do you make a button, to where you press it, it plays a different frame from inside a defferent movie clip? Where that button is outside that movie clip.

View 5 Replies

ActionScript 3 :: How To Make Array That Index Things Based On Object

Nov 8, 2010

How to make a kind of array that index things based on a object? but not being strict like dictionary.

What I mean:
var a:Object = {a:3};
var b:Object = {a:3};
var dict:Dictionary = new Dictionary();
dict[a] = 'value for a';
// now I want to get the value for the last assignment
var value = dict[b];
// value doesn't exits :s

How to make something like that. To not be to heavy as a lot of data will be flowing there. I have an idea to use the toString() method but I would have to make custom classes.. I would like something fast..

View 1 Replies

ActionScript 3.0 :: Stop The Action And Make Things Happen On Clicks?

Oct 16, 2009

I have a set of images of dogs and a doghouse.

1. Each dog has an email assigned to it for the person.

2. Clicking on a dog (or alternatively "dragging it"), puts it in the doghouse and moves the existing dog out to the now empty location.

3. Once moved in, ther should be a button presented to create an email to the person saying they have been placed in the doghouse (so..like..mailto??).

4. Maybe an image of the doghouse with them in it could attached to the email.

5. LATER: The state of the page could be kept so future visitors know that the person is in the Doghouse.

I have an old JavaScript page that kind of shows the functions:

FAMILY DOGHOUSE

Also, what I have done in FLASH (so far) is also shown at the bottom of the page.

1. Not sure how to make the action wait for the mouse click or drag!

2. Also, maybe a button, once the people decide who goes in the doghouse, to submit and fire the email??

When I chose this little project I thought it was easy, but I realize I have not a clue how to begin beyond making buttons and tweens.

View 0 Replies

Professional :: Text Following Cursor - Changing In Specific Areas?

Feb 14, 2010

im trying to produce something similar to this: [URL] What I need is to know how to create the text-feature.. : Meaning, the text changes everytime it enters one of the circels.. How do I make it do this?

View 5 Replies

Professional :: Displaying Things Out Of Stage

Sep 1, 2010

I have a menu movieclip that has 800 x 22 px i need to embed this flash menu in a jsp page and make that the displayed menus got outside of this size and overlay the contents of jsp. kinda of what does the menus of the adobe page

View 1 Replies

ActionScript 2.0 :: Tragger 2 Things By Clicking One Button?

Oct 20, 2009

i am using AS2. i wanted to tragger 2 things by clicking one button.

1)the movie clip(R1) play its 2nd frame

2)play the 2nd frame on the main stage(parent/root)

[Code]...

View 1 Replies

Professional :: Drag Drop Objects To Multiple Target Areas?

Oct 30, 2010

I am trying to make a quiz on metals. I have several elements which i want to fall into multiple target areas (e.g. the target areas are shaded grey in the following swf; metal_mc, nonmetal_mc, metalloid_mc). I can make individuals match to target areas (as there are tutorials for that) but i want each one to be able to slide in to any target area (and someday i want to create a solve button which will then place each element in the correct place). have started all over and have designated only chlorine to move (for the moment) but how do i code it to allow it to fall into any of the grey areas?

var objectoriginalX:Number;var objectoriginalY:Number;chlorine_mc.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);chlorine_mc.addEventListener(MouseEvent.MOUSE_UP, dropIt);function

[code].....

View 6 Replies

Professional :: Can Flash Fuse Together Adjoining Vector Areas Of Same Colour

Feb 21, 2011

Can I select all areas of the same fill/line colour attributes and tell flash to fuse them together into one new area so removing all the internal vector edges?Where is that command?Desperately wondering how I can reduce the complexity of some artwork, to try and stop CS5 crashing, or CS4 saying out of memory.I have a graphics exported from a mapping program as an Adobe Illustrator file.  Lots of adjoining coloured areas, there being five different colours on the map. many of these areas abutt and are the same colour, so the vector lines between them could be removed and hopefully reduce the file size.Explained a different way, imagine a world atlas map with France Germany and Spain all in yellow, can I select them and choose fuse and lose their adjoining boundaries ?Is there in fact a clever way of getting flash to select all areas of the same colour, so I dont miss any , then fuse them ?This assumes that my issues lie with complexity of artwork and not just the number of layers I have in my movie clip.I seem to have reached a limit of Flash CS5, 27Mb file of 16 layers, each layer a movie clip, 5 of which are these coloured areas. This will severeley limit my plans yet I see far more complex diagrams on the net. If this was a Freehand file it would be a few Kb.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved