[Xerte] Resize Graphics IN Xerte

Lockley Patrick Patrick.Lockley at nottingham.ac.uk
Tue May 27 15:44:32 BST 2008


Hi Paul,
 
I can't see anyway of doing it. Tried to run one after the other but it
led to some interesting results.
 
All I could suggest at the moment is using the onAnimateComplete event,
and running your animation over a series of steps. It won't be very
pretty.
 
The alternative would to create a SWF in SWFmill or flash itself and
embed it?


________________________________

	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 15:15
	To: 'Xerte discussion list'
	Subject: RE: [Xerte] Resize Graphics IN Xerte
	
	

	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

Engineering, Training, Consultancy <http://www.acns-gmbh.com/> 

 

Paul Beckwith
Multimedia Developer 

AC&S LTD
35A Victoria Road East
Thornton-Cleveleys
Lancashire
FY5 5BU
UK 

paul.beckwith at acns-group.com <mailto:mark.tomlinson at acns-group.com> 
www.acns-group.com <http://www.acns-group.com/>  

tel: 
fax: : 

+44 1253 855 997
<http://www.plaxo.com/click_to_call?lang=en&src=jj_signature&To=%2B44+12
53+855+997&Email=mark.tomlinson at acns-group.com> 
+44 870 762 6818

 

		 

		 

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


More information about the Xerte mailing list