[Xerte] Resize Graphics IN Xerte
Paul Beckwith, AC&S Ltd
paul.beckwith at acns-group.com
Tue May 27 15:15:27 BST 2008
Although this works brilliantly on it's own, if I try and move the image at
the same time, both scripts will not run together?
Here is what I'm trying to do.
Id.animate(294,249,20, 'linearTween');
Id.scaleTo(50,20);
Anybody any ideas?
Paul
_____
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Lockley Patrick
Sent: 27 May 2008 11:44
To: Xerte discussion list
Subject: RE: [Xerte] Resize Graphics IN Xerte
Hello all,
I'll try my best to answer (not sure I can say if this is the best way or
not), but after having a look through the help file and with a quick play, I
see two possible possibilities (not sure on the english there)
id.setScale(new scale in percent) (no tween)
id.scaleTo(new scale in percent, steps) (has a tween)
Hope this helps.
Pat
_____
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: 27 May 2008 11:23
To: 'Xerte discussion list'
Subject: [Xerte] Resize Graphics IN Xerte
Morning everyone,
I'm trying to minimize or "zoom out" an image on-the-fly and in the middle
of a transition. I have tried using _x = number from actionscript 2 but no
joy.
What's the best way to do this?
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/20080527/f4efda69/attachment.html
More information about the Xerte
mailing list