Re: [Flashcoders] Fullscreen Hardware Acceleration and Video Player Skins

2011-01-13 Thread David Bellerive
and then zoomed the whole thing up. If you can detect the size of the screen and don't mind the controls being a bit pixelated you could try that. On 13 January 2011 16:34, David Bellerive david_beller...@yahoo.com wrote: Hi everyone, This question has been puzzling me forever. How

[Flashcoders] Fullscreen Hardware Acceleration and Video Player Skins

2011-01-12 Thread David Bellerive
Hi everyone, This question has been puzzling me forever. How is it possible, when you build a video player in Flash, to have a fullscreen button that sends the video in fullscreen mode USING HARDWARE ACCELERATION but without distorting (scaling) the video player skin with it? I know it's

[Flashcoders] AS3.0 QName class bug?

2009-01-11 Thread David Bellerive
The AS3.0 documentation states that when a QName instance does not have a URI (it only has a local name), it will match any namespace. However, when I create a new QName instance like this var myQName:QName = new QName(null, images); and use that QName instance like this var results:XMLList =

Re: [Flashcoders] use get / set functions or make your own

2008-12-09 Thread David Bellerive
I think some ActionScript developers simply prefer the use of regular setVar() getVar() instance methods instead of the AS3 get set keywords because they know what's going on in their own code. I remember going to Colin Moock's AS3 1 day crash course last year in Toronto and he said that while

[Flashcoders] Are string literals and String objects the same in AS3?

2007-04-30 Thread David Bellerive
Does anyone know if string literals are the same as String objects in AS3? From what I understand, in AS2, a String object was a wrapper object around a string literal. For exemple, in AS2, these were not the same: var myFirstString:String = my first string; var mySecondString:String = new

Re: [Flashcoders] Are string literals and String objects the same in AS3?

2007-04-30 Thread David Bellerive
objects the same in AS3? On 4/30/07, David Bellerive [EMAIL PROTECTED] wrote: From what I understand, in AS2, a String object was a wrapper object around a string literal. For exemple, in AS2, these were not the same: var myFirstString:String = my first string; var mySecondString:String = new

Re: [Flashcoders] Are string literals and String objects the same in AS3?

2007-04-30 Thread David Bellerive
between objects and primitive values. All values can have methods. _ David Bellerive wrote: In AS2, your example would of course work but only because the Flash Player would create a temporary String object with your string literal, then get the object's length property and return

[Flashcoders] What's in a flash 9 format SWF generated by FB2 ?

2007-04-26 Thread David Bellerive
I was just wondering why, when I make a default ActionScript project in Flex Builder 2, the file size of the generated SWF is around 561 bytes ? That's a SWF with an empty main (or document) class instance. I'm not saying that 561 bytes is too big. I'm just wondering why an empty flash 8

Re: [Flashcoders] What's in a flash 9 format SWF generated by FB2 ?

2007-04-26 Thread David Bellerive
. - Original Message From: Austin Kottke [EMAIL PROTECTED] To: David Bellerive [EMAIL PROTECTED]; flashcoders@chattyfig.figleaf.com Sent: Thursday, April 26, 2007 2:09:29 PM Subject: Re: [Flashcoders] What's in a flash 9 format SWF generated by FB2 ? The swfs generated include the flex

Re: [Flashcoders] You Tube + Progressive download of flvs

2007-04-10 Thread David Bellerive
I might be wrong but I thought Google video used progressive download (not real streaming) but used some sort oh PHP script to allow moving forward to a part in the video that hasn't downloaded yet. Stephan Richter describes how to do this on his blog. - Original Message From: Cay

[Flashcoders] Cache Killer... is it bulletproof ???

2007-03-02 Thread David Bellerive
I've read that appending a random query string ( example : new Date.getTime() ) to the URL of assets (images, sounds, XML files, etc.) loaded at runtime in the Flash Player ensures that these assets are always loaded from the server instead of being loaded from the cache. I've tested this on

[Flashcoders] Cancelling a load in progress : has this issue ever been fully resolved ???

2007-02-01 Thread David Bellerive
Hi! Just wondering if anyone ever found a solution to stop loading something that is currently loading in the Flash Player (an image, a sound, an XML file, etc.)? I've heard and tried about loading a dummy (non-existent) file in place of the file being loaded to stop the load process. When I

[Flashcoders] Implicit setters and exceptions in AS2.0

2006-09-28 Thread David Bellerive
Last week, I sent a message to the FlashCoders list asking if validating the values passed to setter methods (in custom classes) was a good practice. After reading on how exceptions work in Java, here's the solution I've decided to use in my setter methods in AS2.0. If the client (the programmer

[Flashcoders] Implicit Setters: Is validation considered a good or bad OOP practice ?

2006-09-25 Thread David Bellerive
I've been reading and learning about OO design analysis for the past few months and I've just recently started applying what I've learned in my Flash projects ? Learning a new language (like AS3) is no biggie but learning how to code differently (from procedural to OOP) is the real challenge for

[Flashcoders] Flash Video : Relationship between data rate and file size doesn't work ?

2006-09-22 Thread David Bellerive
I don't know if I'm missing something here but what's the deal with Flash Video data rate and file size? Here's my understanding on Flash Video encoding: When I specify 300 kilobits/second for the video data rate and 50 kilobits/second for the audio data rate, I should get and FLV file that NEVER

[Flashcoders] RE: Flash Video : Relationship between data rate and file size doesn't work ?

2006-09-22 Thread David Bellerive
Thanks for the replies. However, it still doesn't make sense to me! A 30 seconds video encoded with a total data rate (video + audio) of 700 kilobits/second should result in an FLV that weighs 2.56 MegaBytes no matter what the other settings are. But that's not the case. If I encode that 30

[Flashcoders] Best way to learn OO Analysis and Design with ActionScript

2006-08-18 Thread David Bellerive
Hi everyone! I'm having real difficulty understanding how to properly architect and structure Flash applications using ActionScript 2.0. I've read Colin Moock's excellent Essential ActionScript 2.0 and several other books and articles on the topic and while I can safely say that I do understand

Re: [Flashcoders] Shared fonts : method with 2 files seems faster that method with 1 file

2006-07-09 Thread David Bellerive
2- Works with faux bold and faux italic. Excuse my ignorance, but what is a faux ? Fake Bold or Fake Italic, i.e. when the font itself doesn't include any italic or bold versions of the letters/glyphs. Won't the render be ugly ? Like device fontsÂ… No. Faux bold and faux italic are the

[Flashcoders] Shared fonts : method with 2 files seems faster that method with 1 file

2006-07-08 Thread David Bellerive
I've been doing some testing with sharded fonts lately because they are a key part of a project I'm working on right now. So far, here's what I've learned by searching the FlashCoders archive and reading blog posts. Shared fonts are a mess to work with. But, as of Flash Player 6.0.65.0, it's not

Re: [Flashcoders] Text link on hover

2006-06-09 Thread David Bellerive
You wish as been granted :) You can call another actionscript function from within a dynamic textfield by setting it's html property to true and using asfunction within the anchor tag like this : tfMyTextField.html = true; tfMyTextField.htmlText = a href=\asfunction:fMyFunction,sMyParameter\/a;

[Flashcoders] What is a wrapped RTMP server in NCManager.as

2006-05-18 Thread David Bellerive
I'm looking at the NCManager class of the FLVPlayback component and there's a method called parseURL that parses the URI of the file to play to determine if it's a prog. download or a streaming file, relative or absolute, etc. At one poitn in this method, there is the following comment followed

[Flashcoders] Poll: FlashObject or UFO

2006-04-19 Thread David Bellerive
Let me start by saying a big thank you to both Geoff Stearns and Bobby Van Der Sluis for their great work and for taking the time to maintain and share their Flash detection routines with the rest of us. As we all know by now, both FlashObject and UFO are a great way of detecting the presence and