yeah, I am tracing the stage size and that is how I am finding out that the
values go back to 0. thanks for the suggestions...

On Tue, Jul 22, 2008 at 12:45 PM, Kenneth Kawamoto <
[EMAIL PROTECTED]> wrote:

> If you output stageWidth/stageHeight to a TextField I think you can verify
> they are not zero.
>
> Kenneth Kawamoto
> http://www.materiaprima.co.uk/
>
> Helmut Granda wrote:
>
>> Yeah, that is the first setting in my Document's class constructor,
>> specially since i need that info through out the application.
>>
>> Thanks for the help. I will keep debugging...
>>
>> On Tue, Jul 22, 2008 at 12:06 PM, Kenneth Kawamoto <
>> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
>>
>>    If you monitor stageWidth/stageHeight in your Document Class
>>    constructor it should tell you the stage size every time you refresh
>>    your browser.
>>
>>
>>    Kenneth Kawamoto
>>    http://www.materiaprima.co.uk/
>>
>>    Helmut Granda wrote:
>>
>>                   DATA = Data.instance;    // Holds Data information
>>        for the app
>>                   DATA.stageWidth     = stage.stageWidth;
>>                   DATA.stageHeight     = stage.stageHeight;
>>
>>        On Tue, Jul 22, 2008 at 11:33 AM, Kenneth Kawamoto
>>        <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>>        <mailto:[EMAIL PROTECTED]
>>        <mailto:[EMAIL PROTECTED]>>> wrote:
>>
>>           It works fine for me every time. What is your code look like?
>>
>>           Kenneth Kawamoto
>>           http://www.materiaprima.co.uk/
>>
>>
>>           Helmut Granda wrote:
>>
>>               Hello all,
>>
>>               I have a small dilema, my application is working properly
>>        and I
>>               am relying
>>               on Stage width and height to position some elements. FOr
>> some
>>               odd reason
>>               when I refresh my movie the stage width and height render
>>        0. Is
>>               there any
>>               specific reason why this usually happens? OSX FF
>>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
...helmut
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to