Moving a shape on its X axis depending on a variable

Jun 08, 2012

I doubt this is possible, but i want to move a shape so far along the screen depending on the value of a variable. e.g. if the variable was 50 then the shape would appear in the middle of the page.

I dont see anyway to get to the shape in JavaScript, or get to its .x property if it has one available or not?

I guess my alternative is to create enough layers to cover the spread of results but im looking at around 50+ layers.

1 Reply