|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I’m creating animated banner ads using Flash MX that each have multiple layers and frames.
As normal the idea will be for a viewer to click if wishing more information. I don’t want to tie up space with a specific ‘button’ area for them to click, or have one appear in certain frames and overlay an area. Rather I wish them to be able to click anywhere over the ad as if the whole animated thing was a button. I’ve tried many things but either loose the animation and the click work/not work, or the animation play but nothing happen when a click is made over a static or animated area. If this is even possible in Flash and if someone can help me my indebtness will be large. (oh and in keeping with life normal - they wanted it yesterday) |
|
#2
|
|||
|
|||
|
on a separate layer, create an invisible button over the entire banner area.
|
|
#3
|
|||
|
|||
|
Thanks for the quick response..
An "invisible button"?.. is that using a mask? |
|
#4
|
|||
|
|||
|
Your question hits home with me, as I have incorporated your concept into all my Flash banners here at work. So, here ya go:
1) With the rectangle tool selected (r), draw a rectangle around the perimeter of your banner. Make sure it is filled with a color. 2) Press (F8) to covert your rectangle to a symbol. Select "button." 3) Dbl.click onto the button to go into the editing mode for that symbol. 4) On the "Hit" frame, rt. click and choose, "insert keyframe." 5) Multiple select the remaining frames (Up, Over and Down) by holding the Shift key and clicking them. 6) With the three frames selected hit the "delete" button on your keyboard, thus clearing the frames. 7) Essentially, now you have created an "invisible" button, with other the HIT area defined (which is the entire banner). 8) Go back to Scene 1, and click onto the first frame in which this button lies. Holding down the Alt key, click and drag this frame to the end of the scene's timeline. Now, you have made this invisible HIT button remain constant throughout the entire animation. 9) Click onto the button on the stage and hit F9, pulling up the actions screen. 10) Here, simply add your destination URL via the getURL method, like so: on (release) { getURL("http://www.somesite.com"); } 11) Done.... ~Dorian |
|
#5
|
|||
|
|||
|
Thanks again dkkz and thanks dorian...
Got it, Done it, and it works just as needed.. - that was fast and well woth the registration time spent to be able to post the message.. If you ever need help with a mainframe let me know... Thanks again ! ! ! ! ! |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > Entire Banner Ad is a button |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|