[Xerte] Rollover irregular shapes
Dave Burnett
d_b_burnett at hotmail.com
Mon Nov 8 17:25:24 GMT 2010
.png.
But if MC's do it, then MC's it is.
Thnx Julian.
Dave
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Mon, 8 Nov 2010 16:52:08 +0000
Subject: RE: [Xerte] Rollover irregular shapes
Only for MovieClips. This is the hitTest method: I think images
(.pngs?) are always the whole shape.
Rollovers for MovieClips do this automatically.
The trick is probably more pain than you need, but you could
inspect the colour at the current cursor position, and
if (not the backgroundCOlour){ blah }
Otherwise import the image into flash and breakApart, then save
out a swf.
What is it?
From:
xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 08 November 2010 16:45
To: Xerte list
Subject: [Xerte] Rollover irregular shapes
Any way to trick the rollover cursor into ignoring the transparent parts of an
image?
Cheers,
Dave
This message and any attachment are intended solely for the addressee and may
contain confidential information. If you have received this message in error,
please send it back to me, and immediately delete it. Please do not use,
copy or disclose the information contained in this message or in any attachment.
Any views or opinions expressed by the author of this email do not necessarily
reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20101108/62b66f61/attachment.html
More information about the Xerte
mailing list