Re-using a button with different URLs?

By a.renji | Aug 31, 2008

It’s a nightmare, I have created a button, and adding it dynamically in actionscript, the URL address is read off an XML, which is looped so all…

need some help math.

By geestring | Aug 31, 2008

I was never good at math.

but what I want is to have my links appear to be going into the distance. Using scaling.

now I can have link.scaleX = linkNum * 0.5; Where linkNum is the counter for each link 0,1,2…etc..

but what if I want to scale it backwards. 0 being the biggest. Right now 0 is…

Hmm. I need some help. :)

By lectersmeal | Aug 31, 2008

Okay, I have a question, and I hope that I can explain it well.

Inside of a movie clip, I have a button with this action:

Code:
———
docs.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandlerdocs);
function mouseDownHandlerdocs(event:MouseEvent):void {
gotoAndStop(5);

Next Page »

© 2007 ActionScript 3.0