[Xerte] Setting Hotspot Highlights in a sript icon
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Wed Sep 16 16:55:54 BST 2009
It wouldn't work in this case: the unerlying xml is used ot render the
page.
So, it is used as the page initalises.
After the user has interacted with it is too late, unless you refresh
the page - which is not what you want,
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 4:56 PM
To: 'Xerte discussion list'
Subject: RE: [Xerte] Setting Hotspot Highlights in a sript icon
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/0a114c5a/attachment.html
More information about the Xerte
mailing list