[Xerte] Addressing individual elements in a drawing
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Mon Aug 24 16:52:44 BST 2009
You need to allow allowShapeEvents. Then the icon fires on ShapeRelease,
onShapeOver, onShapeOut and you can see which shape with
drawID.currentShape
J
-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Johnathan
Kemp
Sent: Monday, August 24, 2009 4:54 PM
To: Xerte discussion list
Subject: [Xerte] Addressing individual elements in a drawing
Is there any more information available on how to interact with shapes
in a drawing?
Many of the drawing functions appear, unless I have misunderstood this,
to be aimed at making the drawing tools available to the end user.
What I want to do is to be able to reference individual shapes within a
drawing, so that I can modify them (change size, rotate, alter alpha
etc) or add new shapes using script.
I would like to be able to identify specific shapes so that if a user
rolls over them or clicks on them I can capture the event to be used in
scripts.
Is this kind of thing possible and if so how.
A few pointers in the right direction would be very useful.
Kind regards
Johnathan.
Johnathan Kemp
ICT Development Coordinator
Connexions Staffordshire
www.cxstaffs.co.uk
01785 355714
This email and any files transmitted with it are confidential and are
intended solely for the use of the individual(s) or entity(s) to whom
they are addressed. All messages are monitored for virus, high risk
files and inappropriate content. As a result users should be aware that
this mail maybe accessed, read and the right is reserved to reject,
return, remove attachments or delete if considered to be inappropriate
or unsuitable. Liability cannot be accepted for any loss or damage
arising from this email (or any attachments) or from scripts or any
virus transmitted.
This communication represents the originator's personal views and
opinions, which do not necessarily reflect those of Connexions
Staffordshire. If you are not the original recipient or the person
responsible for delivering the email to the intended recipient, be
advised that you have received this email in error, and that any use,
dissemination, forwarding, printing, or copying of this email is
strictly prohibited. If you received this email in error, please
immediately reply to the sender or notify postmaster at cxstaffs.co.uk
Connexions Staffordshire Limited is registered in England No.4355170
Registered office: Foregate House, 70 Foregate Street, Stafford,
Staffordshire, ST16 2PX
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
More information about the Xerte
mailing list