[Xerte] Transitions

Tenney Julian Julian.Tenney at nottingham.ac.uk
Mon May 19 12:00:07 BST 2008


OK, I have re-written the transitions to use mx.transitions, and
basically wrapped all the different types as methods of the icon
superclass (i.e. all icons can do these transition methods). I've
removed the old methods because (as you say) they didn't work well, and
presumably no-one is using them much anyway because no-one is
complaining they don't work well.
 
 
The methods you have are:
 
id.fade(dir, duration, easing, easeType)
id.zoom(dir, duration, easing, easeType)
id.wipe(dir, duration, easing, easeType, startPoint)
id.fly(dir, duration, easing, easeType, startPoint)
id.squeeze(dir, duration, easing, easeType, dimension)
id.iris(dir, duration, easing, easeType, shape)
id.blinds(dir, duration, easing, easeType, numStrips, dimension)
id.dissolve(dir, duration, easing, easeType, xSections, ySections)
 
notes:
dir is the string 'in' or 'out'
easing is one of the following: 'Strong', 'Back', 'Elastic', 'Regular',
'Bounce', 'None'
easeType is one of the following: 'easeIn', 'easeOut', 'easeInOut',
'easeNone'


startPoint is 1,2,3,4,6,7,8,9
dimension is 0 or 1 (vertical / horizontal)
shape is 'circle or 'square'
 
Icons will fire the 'onMotionComplete' event when each is complete.
 
 
There is also a new iconID.tween method for tweening any other
properties:
 
id.tween(property, begin, end, duration, easing, easeType);
 
which also fires onMotionComplete.
 
 
Have fun,
 
 
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: 15 May 2008 14:58
To: 'Xerte discussion list'
Subject: [Xerte] Transitions



I have noticed that not all of the transitions listed in the Xerte help
work correctly and that if you use more than one transition within a
page it breaks it. 

 

Are there any other available transitions or is it possible to somehow
access the mx.transitions class and use it's methods?

 

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/20080519/97507d82/attachment.html


More information about the Xerte mailing list