Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: [flasher] Finding Height and Width of Movie - Problem! (Of course) |
From: | Samuel Morello - Internence.com |
Date: | Mon, 05 Feb 2001 14:54:54 -0000 |
Hello ,
The result you have is not the height and width of the movie but the height
and width of all elements you have on it .
----- Original Message -----
From: "Mike Kelly" <mike [dot] kellyt-online [dot] de>
To: "flasher from chinwag" <flasherlists [dot] chinwag [dot] com>
Sent: Monday, February 05, 2001 3:34 PM
Subject: [flasher] Finding Height and Width of Movie - Problem! (Of course)
> 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
>
>
>
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> The Chinwag site carries a wealth of Flash resources.
> Find useful links, suggested reading and archives at:
>
> ** http://www.chinwag.com/flasher **
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> You are subscribed to flasher as: smorellointernence [dot] net
> To unsubscribe, email leave-flasher-478815Rlists [dot] chinwag [dot] com
>
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]