Line animation using actionscript

hey all, I have what seems like a rather easy effect to acheive here, but I’m having troubles with it.

Basically, I want a line to scale from the left side of my movie to the right. When I use “this.line._width = 20”, it scales on both sides. I want it to only scale to the right. Is there a way to do this with actionscript? I’m going to make the line scale at a variable rate in the future, so it starts out scaling fast, then slows down as it reaches its destination. If anyone has any suggestions, I’d appreciate it.

Gene

You have to set the registration point to the side you want to be static.

When you create your bar clip in the create new symbol panel there is a square made up of 9 little squares, each of those little squares represent a location that your registration point can be at. Click on the one in the middle ROW (not column) on the side that you want to keep in one place, that way when you scale it, it will scale from that point only and not both sides as it would if the registration point were in the center.

argh! it’s so easy! and I knew it was… thanks a lot.

sorry to waste your time!

Gene

You didn’t waste my time. I was here anyway, might as well help people :beam:

Glad your problem is fixed.