Groups | Blog | Home
all groups > flash (macromedia) > february 2004 >

flash (macromedia) : co-ordinates


Alexander Ross
2/12/2004 5:37:10 PM
Don't quote me on this but i believe it is 32,768 (2^16) plus/minus 1


[quoted text, click to view]

kyokutan
2/12/2004 10:19:52 PM
hi everyone,

i was wondering what the maximum _x and _y co-ordinates in flash were.. if there is a maximum.

urami_
2/13/2004 11:43:19 AM

[quoted text, click to view]

Well , while executing actions I don't think there is any limit .
Try to move movie clip XY in enter frame loop, I was letting it run for 10 minutes
and I was still able to refer to it where it was on X 531776 Y 531713.5
By the way the file still running and it's on X 1388876 Y 1388813.5 , it became a bit slow
but I don't believe anyone ever get to such coordinate :)

The authoring on the other hand has limit of 2800 pixels. Anything beyond can cause problems.

// if you like to test
//movie clip with action

onClipEvent (enterFrame) {
this._y+=100;
this._x+=100;
trace("numX "+this._x+" numY "+this._y);
}

and button

on (release) {
mc1._x=100;
mc1._y=100;
}

after many minutes being on 130.000 X , you still can call it and rest it to X=0 :)




Regards


urami_*

<xmas>
http://flashfugitive.com/
</xmas>

AddThis Social Bookmark Button