Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Finding Height and Width of Movie - Problem! (Of course) |
| From: | Mike Kelly |
| Date: | Mon, 05 Feb 2001 14:31:39 -0000 |
Hello,
I'm trying to create two variables in Flash 5, one which is equal to half
the movie's height, and another which is half the movie's width. (The whole
movie, not just a movieclip.) My movie is 800x600, but I may change it, so
my code tries to reflect that.
If I use:
scrwidth=_root._width/2
...I get a strange value: 392.575. So my movie is only 785.15px high??!
Same problem with the height - it suggests my movie is only 366.5px high.
These strange numbers don't seem to be related in any way to the content I
have on the stage...
Any ideas what's going on?
Thanks,
M
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

