The math for this is luckily just algebra and doesn't require any complex trig or calculus, and there are a few different ways to do it. This might help you on your way:
http://www.darronschall.com/weblog/archives/000054.cfm _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com