Re: [Flashcoders] Stage Height Bug?
Huh.. If i have the bandwidth profile open it traces 100px less than the actual size althought the window size is the right one (i took a screenshot and masured). So this issue only appears when the bandwidth profile is open. That is weird but good to know. I had some items on stage that would react on the stage size and when the BW profile was opened of course I would have a different behavior. Thanks for the tips ...helmut On 11/17/06, Mick G <[EMAIL PROTECTED]> wrote: It works OK for me without the onEnterFrame... I think what's happening is your Flash IDE SWF preview window is being cropped for display. Is the bandwidth profiler open and cropping your SWF? Have you tried outputting your trace to the stage and previewing it in a HTML file? On 11/17/06, Helmut Granda <[EMAIL PROTECTED]> wrote: > > I am sure this has come up before but I couldnt find any specific answer > to > this "bug". > > If i create a blank movie and post this scrit trace(Stage.height); it will > give 100 less than the actual size. but if you do this: > > this.onEnterFrame = function() { > trace(Stage.height); > } > > it will trace the true size after the first enterFrame. > > Ideas? > > TIA > > -- > ...helmut > helmutgranda.com > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- ...helmut helmutgranda.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Stage Height Bug?
It works OK for me without the onEnterFrame... I think what's happening is your Flash IDE SWF preview window is being cropped for display. Is the bandwidth profiler open and cropping your SWF? Have you tried outputting your trace to the stage and previewing it in a HTML file? On 11/17/06, Helmut Granda <[EMAIL PROTECTED]> wrote: I am sure this has come up before but I couldnt find any specific answer to this "bug". If i create a blank movie and post this scrit trace(Stage.height); it will give 100 less than the actual size. but if you do this: this.onEnterFrame = function() { trace(Stage.height); } it will trace the true size after the first enterFrame. Ideas? TIA -- ...helmut helmutgranda.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Stage Height Bug?
If i create a blank movie and post this scrit trace(Stage.height); it will give 100 less than the actual size. but if you do this: this.onEnterFrame = function() { trace(Stage.height); } it will trace the true size after the first enterFrame. This is a known issue. It may take up to two frames until Stage size is reported correctly. Cheers, Claus. -- claus wahlers cĂ´deazur brasil http://codeazur.com.br ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Stage Height Bug?
I am sure this has come up before but I couldnt find any specific answer to this "bug". If i create a blank movie and post this scrit trace(Stage.height); it will give 100 less than the actual size. but if you do this: this.onEnterFrame = function() { trace(Stage.height); } it will trace the true size after the first enterFrame. Ideas? TIA -- ...helmut helmutgranda.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com