[Flashcoders] Fullscreen Flash Video
Hi people, On some sites I do see some really smooth fullscreen video action... What's the best way of doing this. What are the points to look out for... - encodingwise? - Using netstream? - Using bitmap(data) objects? Like for example http://www.blackbeltmonkey.com/ What's the best way performance-wise...? Thnx in advance! Regards, Sander ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Fullscreen flash SOLVED
Also, be sure to check your Stage.align value if you're doing things based on Stage.width and height. I was tearing hair out of my scalp before i realised all i needed was Stage.align = left; - Andreas Mike Boutin wrote: Thanks Ian, works like a charm! Ian Thomas wrote: Hi Mike, It's a Known Feature with Firefox. It's not strictly speaking a bug - the browser doesn't know how high the document is supposed to be, because there's no sized content in the document. Try sticking this in the head style body,html { margin:0px; padding:0px; height:100%; } /style If that doesn't work straight off, you may need to change the document type - try putting in a valid HTML or XHTML doctype to kick Firefox out of Quirks mode. (You might not need it - I honestly can't remember). The above code and a valid XHTML doctype certainly works for me. HTH, Ian On 1/26/06, Mike Boutin [EMAIL PROTECTED] wrote: Hi, I am making a fullscreen flash site and I have the width and height set to 100%. In internet explorer it all views fine, but when I view the same page in Firefox and Safari, the flash document doesnt stretch to 100%, it only shows like 1/3 of the page as flash and the rest as just plain html, has anyone had this problem before?? Cheers! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Fullscreen flash SOLVED
Er, Stage.align = TL even. I need my coffee. - Andreas Andreas Rønning wrote: Also, be sure to check your Stage.align value if you're doing things based on Stage.width and height. I was tearing hair out of my scalp before i realised all i needed was Stage.align = left; - Andreas Mike Boutin wrote: Thanks Ian, works like a charm! Ian Thomas wrote: Hi Mike, It's a Known Feature with Firefox. It's not strictly speaking a bug - the browser doesn't know how high the document is supposed to be, because there's no sized content in the document. Try sticking this in the head style body,html { margin:0px; padding:0px; height:100%; } /style If that doesn't work straight off, you may need to change the document type - try putting in a valid HTML or XHTML doctype to kick Firefox out of Quirks mode. (You might not need it - I honestly can't remember). The above code and a valid XHTML doctype certainly works for me. HTH, Ian On 1/26/06, Mike Boutin [EMAIL PROTECTED] wrote: Hi, I am making a fullscreen flash site and I have the width and height set to 100%. In internet explorer it all views fine, but when I view the same page in Firefox and Safari, the flash document doesnt stretch to 100%, it only shows like 1/3 of the page as flash and the rest as just plain html, has anyone had this problem before?? Cheers! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Fullscreen flash
Hi, I am making a fullscreen flash site and I have the width and height set to 100%. In internet explorer it all views fine, but when I view the same page in Firefox and Safari, the flash document doesnt stretch to 100%, it only shows like 1/3 of the page as flash and the rest as just plain html, has anyone had this problem before?? Cheers! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Fullscreen flash
Hi Mike, It's a Known Feature with Firefox. It's not strictly speaking a bug - the browser doesn't know how high the document is supposed to be, because there's no sized content in the document. Try sticking this in the head style body,html { margin:0px; padding:0px; height:100%; } /style If that doesn't work straight off, you may need to change the document type - try putting in a valid HTML or XHTML doctype to kick Firefox out of Quirks mode. (You might not need it - I honestly can't remember). The above code and a valid XHTML doctype certainly works for me. HTH, Ian On 1/26/06, Mike Boutin [EMAIL PROTECTED] wrote: Hi, I am making a fullscreen flash site and I have the width and height set to 100%. In internet explorer it all views fine, but when I view the same page in Firefox and Safari, the flash document doesnt stretch to 100%, it only shows like 1/3 of the page as flash and the rest as just plain html, has anyone had this problem before?? Cheers! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Fullscreen flash SOLVED
Thanks Ian, works like a charm! Ian Thomas wrote: Hi Mike, It's a Known Feature with Firefox. It's not strictly speaking a bug - the browser doesn't know how high the document is supposed to be, because there's no sized content in the document. Try sticking this in the head style body,html { margin:0px; padding:0px; height:100%; } /style If that doesn't work straight off, you may need to change the document type - try putting in a valid HTML or XHTML doctype to kick Firefox out of Quirks mode. (You might not need it - I honestly can't remember). The above code and a valid XHTML doctype certainly works for me. HTH, Ian On 1/26/06, Mike Boutin [EMAIL PROTECTED] wrote: Hi, I am making a fullscreen flash site and I have the width and height set to 100%. In internet explorer it all views fine, but when I view the same page in Firefox and Safari, the flash document doesnt stretch to 100%, it only shows like 1/3 of the page as flash and the rest as just plain html, has anyone had this problem before?? Cheers! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Fullscreen Flash issue
I am working on a fullscreen flash project. Can anyone tell me why this code acts like a loop rather than just happening once? I am trying to position an object at the bottom of the browser window no matter what the window size. I am using this code to set it right off the start. This all works and positions it at the bottom except when I resize the window the object moves around to repositions itself again, when I only want it to happen once. It is no in a onEnterFrame or setInterval and it is not in a onResize listener either. Can anyone tell me why this happens and how to get around it? siteLogo._x = Stage.width / 2; siteLogo._y = Stage.height - 70; Cheers! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Fullscreen Flash issue
Mike, Where is this code? Just on the root timeline? Are you sure the repositioning you're getting isn't a result of the normal Flash resizing/scaling and that this code _is_ being called twice? Cheers, Ian On 1/16/06, Mike Boutin [EMAIL PROTECTED] wrote: I am working on a fullscreen flash project. Can anyone tell me why this code acts like a loop rather than just happening once? I am trying to position an object at the bottom of the browser window no matter what the window size. I am using this code to set it right off the start. This all works and positions it at the bottom except when I resize the window the object moves around to repositions itself again, when I only want it to happen once. It is no in a onEnterFrame or setInterval and it is not in a onResize listener either. Can anyone tell me why this happens and how to get around it? siteLogo._x = Stage.width / 2; siteLogo._y = Stage.height - 70; Cheers! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Fullscreen Flash issue
not sure why, but try putting Stage properties in a new variable that doesn't get reset when repositioning the object: theWidth=Stage.width/2; theHeight=Stage.height-70; siteLogo._x = theWidth; siteLogo._y = theHeight; - Marc At 10:34 AM 1/16/2006, you wrote: I am working on a fullscreen flash project. Can anyone tell me why this code acts like a loop rather than just happening once? I am trying to position an object at the bottom of the browser window no matter what the window size. I am using this code to set it right off the start. This all works and positions it at the bottom except when I resize the window the object moves around to repositions itself again, when I only want it to happen once. It is no in a onEnterFrame or setInterval and it is not in a onResize listener either. Can anyone tell me why this happens and how to get around it? siteLogo._x = Stage.width / 2; siteLogo._y = Stage.height - 70; Cheers! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Fullscreen Flash issue
Yes thanks this seems to work. Still not sure why it was doing what it was, either way thanks for the help! Marc Hoffman wrote: not sure why, but try putting Stage properties in a new variable that doesn't get reset when repositioning the object: theWidth=Stage.width/2; theHeight=Stage.height-70; siteLogo._x = theWidth; siteLogo._y = theHeight; - Marc At 10:34 AM 1/16/2006, you wrote: I am working on a fullscreen flash project. Can anyone tell me why this code acts like a loop rather than just happening once? I am trying to position an object at the bottom of the browser window no matter what the window size. I am using this code to set it right off the start. This all works and positions it at the bottom except when I resize the window the object moves around to repositions itself again, when I only want it to happen once. It is no in a onEnterFrame or setInterval and it is not in a onResize listener either. Can anyone tell me why this happens and how to get around it? siteLogo._x = Stage.width / 2; siteLogo._y = Stage.height - 70; Cheers! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders