Cannot work out how to update dimensions on AS file

Hi,

I am working on this script: http://wonderfl.net/c/abv6/

The SWF it generates is 512 by 512 pixels.

I’d really like to change it to be 800 by 800.

I have edited the script by doing a find/replace:

replace: 512 with 800
replace: 256 with 400
replace: 128 with 200
replace: 511 with 799

When I compile the AS I don’t get an error, but the code doesn’t render the text as smoke as happens before I did all of the find/replaces.

I’m not enough of a programmer to work out what other numbers to change in order to get the code to work with the revised scale.

I have attached the AS code to this thread, with the revised numbers in it, and wondered if anyone might have time please to advise about what I’m doing wrong?

Any advice would be very much appreciated.

Thanks!