[Xerte] Layering...
Paul Beckwith, AC&S Ltd
paul.beckwith at acns-group.com
Tue Apr 29 15:28:39 BST 2008
How do we set it up so all the icons can match the area? (line 2)
Also
myIcon.animate(myIcon.initX, myIcon.initY,10,'linearTween'); - Is there a
reference for this function call? Can't find it in the flash 8 docs.
_____
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Tenney Julian
Sent: 29 April 2008 15:22
To: Xerte discussion list
Subject: RE: [Xerte] Layering...
Set up a 'catch all' target area - a target that covers the entire stage (or
the entire area it is possible to drop objects into);
Set it up so all your icons can macth this area, leave them on drop and
don't end the drag.
In the response, use yourInteractionIcon.objectDropped to see which icon was
just dropped, and then animate it back to it's starting position.
You might need to store the starting positions as properties of the icons
(myIcon.initX = blah) to animate them back - myIcon.animate(myIcon.initX,
myIcon.initY,10,'linearTween');
Alternatively do it all with onPress / onRelease events, where you have much
finer control.
HTH,
_____
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Paul Beckwith,
AC&S Ltd
Sent: 29 April 2008 14:36
To: 'Xerte discussion list'
Subject: RE: [Xerte] Layering...
Thanks Julian,
Also, is there a way to capture an event when a target area icon fails to
move a graphic to the correct position?
In other words I have an image that I want to be dragged to a target area
but if it is dragged anywhere else I want it to be put back to its starting
position (using animation preferably)
P
_____
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Tenney Julian
Sent: 29 April 2008 12:03
To: Xerte discussion list
Subject: RE: [Xerte] Layering...
Use iconID.swapDepths(otherIconID); or iconID.swapDepths(depth) to switch
the layers around.
So myEntryFrame.swapDepths(999); will put your entry frame page above all
other pages on the framework (which I think is what you want)
J
_____
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Paul Beckwith,
AC&S Ltd
Sent: 29 April 2008 10:26
To: 'Xerte discussion list'
Subject: [Xerte] Layering...
Hi all,
I have a custom .swf interface in my Xerte file which is called from the
"interface" icon. The problem being that it overlaps everything else in the
piece even though it was added first and is at the top of the tree. Is there
a way of "layering" or sending icons back/forward?
Thanks,
Aerospace Consulting & Services Ltd
<http://www.acns-gmbh.com/> Engineering, Training, Consultancy
Paul Beckwith
Multimedia Developer
AC&S LTD
35A Victoria Road East
Thornton-Cleveleys
Lancashire
FY5 5BU
UK
<mailto:mark.tomlinson at acns-group.com> paul.beckwith at acns-group.com
<http://www.acns-group.com/> www.acns-group.com
tel:
fax: :
<http://www.plaxo.com/click_to_call?lang=en&src=jj_signature&To=%2B44+1253+8
55+997&Email=mark.tomlinson at acns-group.com> +44 1253 855 997
+44 870 762 6818
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20080429/9e2eb427/attachment.html
More information about the Xerte
mailing list