PDA

View Full Version : centering problem?


snowedin
04-18-2002, 05:04 AM
MX is my first foray into flash.

I'm trying the 'fake' 3d aspect in prep for something hopefully interesting.

Can anyone tell me why this simple fla isn't centered around the cross-hairs when I run it? Attached 3k zip.

Trying to duplicate an example from the trig tutorial.

thanks,
s.

Jesse
04-18-2002, 02:26 PM
All references to root in your code are listed as 'root'. They should be '_root'. The Underscroe is part of the pneumonic.

snowedin
04-18-2002, 05:14 PM
ah, snytax...

I find it strange that MX AS doesn't throw
an error on mislabeled variables/fields/objects
like every IDE I've used.

I also spelled position wrong and it didn't
catch it.

Setting variable scope also seems non-intuitive,
at least to programmers used to other langs.

anyhow, thanks jesse, much appreciated.

s.