List Info

Thread: - **Error height != width




- **Error height != width
country flaguser name
Belgium
2007-02-25 03:52:51
Hi All,

a little error line 18 into ScreenProtectionUI :
var h : Number = settings.height ? settings.width :
Stage.height;

correct is :
var h : Number = settings.height ? settings.height :
Stage.height;

Bye,
Laurent

_______________________________________________
Pixlib mailing list
Pixlibosflash.org
http://osflash.org/mailman/listinfo/pixlib_osflash.org


Re: - **Error height != width
user name
2007-02-25 04:00:46
Hello

for me is more secure with a isNaN() condition to finalize the expression :

var h:Number = isNaN(settings.height) ?  Stage.height : settings.height ;

EKA+


2007/2/25, ali_o_kan < ali_o_kanget-url.net">ali_o_kanget-url.net>:
Hi All,

a little error line 18 into ScreenProtectionUI :
var h : Number = settings.height ? settings.width : Stage.height;

correct is :
var h : Number = settings.height ? settings.height : Stage.height ;

Bye,
Laurent

_______________________________________________
Pixlib mailing list
Pixlibosflash.org">Pixlibosflash.org
http://osflash.org/mailman/listinfo/pixlib_osflash.org

Re: - **Error height != width
country flaguser name
Belgium
2007-02-25 18:00:34
yes, it's more secure 

LAurent
Le 25-févr.-07 à 11:00, eka a écrit :

> var h:Number = isNaN(settings.height) ?  Stage.height :
 
> settings.height ;


_______________________________________________
Pixlib mailing list
Pixlibosflash.org
http://osflash.org/mailman/listinfo/pixlib_osflash.org


Re: - **Error height != width
country flaguser name
France
2007-02-26 06:18:21
thanks for the report laurent ;)

francis

Le 25 févr. 07 à 10:52, ali_o_kan a écrit :

> Hi All,
>
> a little error line 18 into ScreenProtectionUI :
> var h : Number = settings.height ? settings.width :
Stage.height;
>
> correct is :
> var h : Number = settings.height ? settings.height :
Stage.height;
>
> Bye,
> Laurent
>
> _______________________________________________
> Pixlib mailing list
> Pixlibosflash.org
> http://osflash.org/mailman/listinfo/pixlib_osflash.org

>



_______________________________________________
Pixlib mailing list
Pixlibosflash.org
http://osflash.org/mailman/listinfo/pixlib_osflash.org


[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )