[Xerte] Re: hotspots - Flash folks
Dave Burnett
d_b_burnett at hotmail.com
Sun Feb 27 18:48:54 GMT 2011
Ok, if I fill the button with anything and set that alpha to 0, it acts just like a button.
(If I left the center unfilled, only the outer pixel frame was active)
So the real kicker is this:
The outer frame resizes (of course) when I change the button w,h in Xerte.
e.g. the frame that was 1 pixel thick is now 3 pixels or whatever thick.
Is there any trickery that will vector the button while leaving that outer frame the same thickness?
Dave
From: d_b_burnett at hotmail.com
To: xerte at lists.nottingham.ac.uk
Subject: RE: hotspots
Date: Sun, 27 Feb 2011 12:38:08 -0500
hey, a preliminary test indicates the transparent button thing might work.
Any of you Flash graphic wizzes out there that can whip up a transparent button with some sort of shadow around the outer pixels that won't blow up when resized?
Even a pixel or 2 black on bottom/right, white on top/left.
Just needs over and down states (and they can be identical actually.
From: d_b_burnett at hotmail.com
To: xerte at lists.nottingham.ac.uk
Subject: hotspots
Date: Sun, 27 Feb 2011 10:58:45 -0500
Is there any sort of precedence I can set up that will allow overlapped HS to both function?
Or do I need another architecture?
Issue:
I have a graphic with multiple hotspots.The hs areas need to both react when they are rolled over, (draw a shadow effect to indicate user over hs) and when they are clicked (show feedback).
The feedback also needs to erase on rollout.
(This is a proto, so I can't use a button, unless it's transparent. Hmm there's a thought).
If over a spot I lay 2 hotspots (1 click=0, another click=1) then no matter how I order them in the flow, the hs higher in the tree blocks anything below it from functioning.
Also, if I lay a catchall in there, it block everything else.
I suspect I'm using a hammer when I should be using a saw.
Is the transparent button feasible?
Maybe a transparent png hot object? (or do i run into the same precedence issue?)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110227/96e460ca/attachment.html>
More information about the Xerte
mailing list