Hi John,

could not resist, so I quickly whipped up a revlet using AE. :-)

http://derbrill.on-rev.com/ae3/randommoving.html

the stack is here: http://derbrill.on-rev.com/ae3/randomMoving.rev (carries AE as a substack)

This is the complete script for it. (in the card, mind line wraps) + 2 buttons that call createGrc or resetAnimation respectively.

on openstack
if "animationEngine" is not among the lines of the stacksInUse then start using "animationEngine"
   createGrc
end openStack

on createGrc
   lock screen
     create grc
   set the style of it to "oval"
   set the height of it to 25
   set the width of it to 25
   set the opaque of it to true
   set the backcolor of it to any line of the colornames
set the loc of it to random(the width of this cd),random(the height of this cd)
   unlock screen
aeMoveTo the long ID of it,random(the width of this cd),random(the height of this cd),1000+random(1000),any item of "in,inOut,out,bounce,overshoot"
end createGrc

on resetAnimation
   aeStopMoving "all"
   repeat with i=the number of grcs down to 1
      delete grc i
   end repeat
end resetAnimation

on aeMoveDone
aeMoveTo the long ID of the target,random(the width of this cd),random(the height of this cd),1000+random(1000),any item of "in,inOut,out,bounce,overshoot"
end aeMoveDone


Also a shameless plug. If you think about getting AE, keep in mind that tis the season again and you can get AE quasi for free along with all the other good stuff, if you decide to get yourself the mega bundle: http://www.runrev.com/products/mega-bundle-09

All the best,

Malte
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to