Maybe using a tweening engine (I think the mx.tween would do) ?
On 4/27/07, Parvaiz Patel <[EMAIL PROTECTED]> wrote:
Hi Guys, Actually I want to achieve the smoothness of that menu (created in http://www.mandchou.com/) I am developing an application for my client in which everything is loaded dynamically from MS-SQL server via ASP.Net frame work into flash. Here is the URL which is in the first stage of development. http://dev.mohawkind.com/vp/LeesVirtualPortfolio.html Here I use XML to communicate with database via asp.net The script I use on each dynamically loaded thumbnails to enlarge when mouse come closer is the following: //////////////////////////////// onClipEvent (mouseMove) { dist = Math.sqrt(Math.pow(Math.abs(_xmouse), 2) + Math.pow(Math.abs(_ymouse), 2)); if (dist<=_root.menutriggerdist) { currscale = (1 - dist / (_root.menumultiplier * _root.menutriggerdist)) * (_root.menumaxscale - 100); this._xscale = currscale; this._yscale = currscale; } else { this._xscale = 100; this._yscale = 100; } // end else if } ///////////////////////////////// _root.menutriggerdist = 40; _root.menumaxscale = 580; _root.menumultiplier = 1.500000E+000; ///////////////////////////////// guys, please help me to make this smoother. Thanks very much. PP -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gustavo Duenas Sent: Friday, April 27, 2007 8:52 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Wave effect I tell you marcelo, I've seen it every where....Even one with that idea won in thewfa.com, course not exactly at the mac is, but the spirit is in it. Regards Gustavo Duenas On Apr 27, 2007, at 10:49 AM, Marcelo de Moraes Serpa wrote: > Very well made site btw... inspiring! I liked the mac dock effect even > though it's said to be the new fashion among designers. > > On 4/27/07, Robert Brisita <[EMAIL PROTECTED]> wrote: >> >> "This is MAC only." :) That's funny. >> >> Michael Stuhr wrote: >> > Parvaiz Patel schrieb: >> >> Hi, >> >> >> >> Anybody knows how to create the wave effect shown in >> >> (http://www.mandchou.com/) at the bottom for dynamically loaded >> images. >> >> Pls let me know. >> >> >> >> Thanks & regards, >> >> PP >> > >> > This is MAC only. >> > >> > >> > micha >> > >> > >> > >> > >> > >> > >> > *sorry couldn't resist. >> > _______________________________________________ >> > 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 >> > >> > >> >> _______________________________________________ >> 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 >> > _______________________________________________ > 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 > Gustavo Duenas Creative Director LEFT AND RIGHT SOLUTIONS LLC 1225 W. Beaver St. Suite 119 Jacksonville, Fl. 32204 904 . 2650330 www.leftandrightsolutions.com _______________________________________________ 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 _______________________________________________ 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
_______________________________________________ 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