Mailing List
Home
Flash Pro
Extending Flash
Flash Macromedia Developer
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Overlapping a button

Overlapping a button

2004-02-22       - By Steve C

 Back
Reply:     1     2     3  

I am sure that this has already been replied to further; and I apologize if
I am repeating anything that someone else has already said, however...

It would be possible to detect obstruction based on the boundaries of both
symbols (the button and any graphic that would obstruct the button.) The
only feasible situation in which this would not be an option would be when
the obstructing graphic is not a symbol. However, this is (in most cases)
bad form and bad project design, and should be avoided. If worse comes to
worst and it is, in fact, the button that moves, then you could determine if
the button will be behind something based on its position on the stage
relative to stationary elements during the time at which the button will be
on stage.

In short, you aren 't doing anything wrong; you just need to hone that
ActionScript. :)

Steve Calamia
Section 9 Media

-- --Original Message-- --
From: Richard [mailto:richardleggettmk@(protected)]
Sent: Friday, February 20, 2004 4:43 PM
To: flashcoders@(protected)
Subject: Re: [Flashcoders] Overlapping a button

For any buttons that are going to be obstructed by graphics you should
enabled = false; them. Unless in your example you don 't know when the
buttons are going to be obstructed?


-- -- Original Message -- --
From: "Meschrak " <meschrak@(protected) >
To: <flashcoders@(protected) >
Sent: Friday, February 20, 2004 8:40 PM
Subject: [Flashcoders] Overlapping a button


> Sup all?
>
> If you create a button on your stage, then place a graphic over the top of
> it, the button remains active(clickable) behind.
>
> I 'm sure you 've all run into this before. My usual workaround is to make a
> BIG button that does nothing other than combat the annoyance. For my
current
> project this just isn 't going to work, so I 'm curious if anyone has found
a
> workaround. Am I doing something wrong.
>
> Thanks.
> spa
>
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> Supported by Fig Leaf Software
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> Be sure to check the archives and the wiki:
> http://chattyfig.figleaf.com/
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104873
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> To unsubscribe send a blank e-mail to:
> Normal Mode: flashcoders-unsubscribe@(protected)
> Digest Mode: flashcoders-digest-unsubscrive@(protected)
>
>

=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104880
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)



=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104945
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)