|
|
Subject:
Special effect in Making Flash animation
Category: Computers Asked by: victoriamkk-ga List Price: $20.00 |
Posted:
08 Oct 2006 18:04 PDT
Expires: 07 Nov 2006 17:04 PST Question ID: 771851 |
Please refer to the website http://www.harbourgreenplace.com/finishings.htm . I?don't how to acheive the effect of when mouseover any one of the four slice of the photos, that one slice will extend to a whole picture. Do I need to use ActionScript? Well I know at least I need to use on(dragOver) or on(rollOver) but I don't know what code to add after that! Also, If I put pics in different layers, one will cover up another, if I resize the pictures to small slizes, they will be rerendered, and it will only reduce the whole picture. It will not show the wanted behavior to hide part of the picture but still keep the left over part of the picture in the original ratio. Please give me some hints/suggestions asap!!! Thanks!!! | |
| |
|
|
There is no answer at this time. |
|
Subject:
Re: Special effect in Making Flash animation
From: minitux-ga on 12 Oct 2006 01:21 PDT |
Been a while since I done any flash work. However looking at it you definitely need actionscript. Create 8 different animation sequences of the 4 pictures expanding and minimizing. Break the main frame picture into 4 different regions, mouse over 1 then go to the animation sequence for expanding and vice versa for minimizing. Repeat the same for the other regions. |
Subject:
Re: Special effect in Making Flash animation
From: unr3a1-ga on 15 Oct 2006 14:43 PDT |
Hi victoriamkk-ga, I think I know how to achieve the affect you are looking for. I will try to explain how it is done as clearly as possible. 1)On one frame (let's say frame 1) in the movie timeline, there are four different buttons, each arranged on the first layer, each with a specific slice of the picture show when the mouse doesnt hover over them. 2)In each individual button, action script is used to detect on rollover or on rollout. When rollover is triggered, it simply goes to a section of time on the movie timeline and plays the transition affect for x # of frames until you roll out. So this isn't really an actionscript effect. The only actionscript used is that which detects if a mouse is over the button, and if so where to redirect to in the movie timeline to where the expanding effect is and when to stop. Hope that helps you out. |
Subject:
Re: Special effect in Making Flash animation
From: solely-ga on 15 Oct 2006 15:24 PDT |
Hi victoriamkk-ga. I see two different ways to solve you problem. 1. Create 4 button (with picture) and 4 masks with needed animation (1st frame - initial state, last frame - full-skale state. On last mask frame set stop()). On each button.rollOver set function play () for needed mask. On each button.rollOut set function gotoAndStop(1) for each mask. So, when you rollOver second button, the second mask play animation and stop, and when you rollOut button, the second mask animation gotoAndStop on first (initial frame) this animation. 2. Please see this example with AS implementation: http://vist-visicom.ru/temp/dMask.zip There are four movieclips with pictures (one by one) and four buttons side by side. onRollOver create mask for each movieclip and animate one mask depending on overed movieclip. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |