SunQuest
           Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 16th, 2003, 04:44 PM
Hapster Hapster is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Toronto
Posts: 12 Hapster User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Entire Banner Ad is a button

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)

Reply With Quote
  #2  
Old September 16th, 2003, 04:59 PM
dkkz dkkz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 50 dkkz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
on a separate layer, create an invisible button over the entire banner area.

Reply With Quote
  #3  
Old September 16th, 2003, 05:24 PM
Hapster Hapster is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Toronto
Posts: 12 Hapster User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks for the quick response..

An "invisible button"?.. is that using a mask?

Reply With Quote
  #4  
Old September 16th, 2003, 05:28 PM
dorianRM dorianRM is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 2 dorianRM User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #5  
Old September 16th, 2003, 05:43 PM
Hapster Hapster is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Toronto
Posts: 12 Hapster User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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 ! ! ! ! !

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > Entire Banner Ad is a button


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway