For the classsite I have been evolving a cube class build from an existing tutorial (which I have to restore the link from) with Papervision Great White 2.0 and Actionscript 3.0. Which I thought it might be useful to share, because changing colors in papervision 3D is actually not that obvious. For the current class site this class has been developed a bit further than this, but before the release of this site I am not allowed put up our top secret code.
You can really easy implement this cube class in your action script just by writing:
var interactivecube:interactiveCube = new interactiveCube(width, height, depth, segmentsT, segmentsS, colorFront, colorBack, colorFrontOver, colorBackOver);
The colors should be set in hexadecimals, as you can see I wrote this class so you can set a front and a back color and the same for the color while hovering.
Here is a zipfile with a demo use (creating 20 cubes with random hover colors) and see the actual working SWF here
MILTON
15. July 2010 at 21:41
< blockquote >< a href=”http://pillspot.org/”>PillSpot.org. Canadian Health&Care.Best quality drugs.Special Internet Prices.No prescription online pharmacy. No prescription pills. Buy pills online< /a >…
Buy:Acomplia.Wellbutrin SR.Zocor.Nymphomax.Lipitor.Lipothin.Amoxicillin.Buspar.Lasix.Zetia.Prozac.Advair.Seroquel.Benicar.Female Pink Viagra.SleepWell.Aricept.Cozaar.Ventolin.Female Cialis….
DERRICK
21. July 2010 at 23:19
< blockquote >< a href=”http://medicamentspot.com/”>Medicamentspot.com. Canadian Health&Care.No prescription online pharmacy.Special Internet Prices.Best quality drugs. Low price pills. Order pills online< /a >…
Buy:Actos.Zyban.Retin-A.Mega Hoodia.Synthroid.Arimidex.Human Growth Hormone.Zovirax.Valtrex.Accutane.Petcam (Metacam) Oral Suspension.Prednisolone.Lumigan.Prevacid.100% Pure Okinawan Coral Calcium.Nexium….
Du musst comment Comment on this post.