[Xerte] Setting Hotspot Highlights in a sript icon

Paul Beckwith paul.beckwith at acns-group.com
Wed Sep 16 16:56:08 BST 2009


How do you do it the proper way though? My underlying mission here is to
find out how to change the attributes in the XML via script..

 

Cheers Jules, 

 

Paul

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 16 September 2009 16:30
To: Xerte discussion list
Subject: RE: [Xerte] Setting Hotspot Highlights in a sript icon

 

I'd just draw the highlight yourself

 

hotSpotID.lineStyle(1,0xFFFF00,100);

hotSpotID.drawRect(0,0,hotspotID._width, hostpotID._height);

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Paul Beckwith
Sent: Wednesday, September 16, 2009 1:44 PM
To: 'Xerte discussion list'
Subject: [Xerte] Setting Hotspot Highlights in a sript icon

 

When a user clicks on a hotspot, I want  the highlight property to change
from 0 to 1 so the highlight is then visible. 

 

I've tried a few different ways but I cant seem to get the code quite right.


 

Any ideas?

 

Cheers, 

 

Paul

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20090916/93367c3f/attachment.html


More information about the Xerte mailing list