Re: [Flashcoders] regExp

2010-06-16 Thread Karl DeSaulniers
Ah thanks Steve. So is 97 to 123 the placement of upper and lowercase letters and the numbers on the CharCode chart? and are the upper and lowercase letters 32 letters apart on the chart? Trying to understand where you got these values. Your solution is very good and interesting to me. Also,

Re: [Flashcoders] regExp

2010-06-16 Thread Steven Sacks
RegEx isn't really used for what you're talking about. You should use ascii codes to create your alphanumeric array and then choose random indexes from it to create your random string. var i:int; var alphaNumeric:Array = []; for (i = 97; i < 123; ++i) { alphaNumeric.push(String.fromCharCo

[Flashcoders] regExp

2010-06-16 Thread Karl DeSaulniers
Hi I have an array that I think could use some shortening. It is an array of the alphabet and numbers that I use to get a random letter/number combo from. I am sure there is a better way to do this. Maybe a regExp? In essence, I want to get a random combo of Upper and lowercase letters and nu

Re: [Flashcoders] Flex license with CS3?

2010-06-16 Thread Kerry Thompson
> I can't find a way to buy FlashBuilder 4 standard, except in the CS suite. Actually, I did find it. Here's a link to the upgrade page:

Re: [Flashcoders] Flex license with CS3?

2010-06-16 Thread Kerry Thompson
Glen Pike wrote: >  I vaguely remember hearing something a while ago about a Flex license being > "free" for people who owned CS3 Master Collection - can anyone verify this? >  If so, which version of Flex was it and did you need to apply / ask Adobe > for the license number for Flex? FlashBuilde

[Flashcoders] Flex license with CS3?

2010-06-16 Thread Glen Pike
Hi, I vaguely remember hearing something a while ago about a Flex license being "free" for people who owned CS3 Master Collection - can anyone verify this? If so, which version of Flex was it and did you need to apply / ask Adobe for the license number for Flex? Thanks Glen -- _

Re: [Flashcoders] Text area focus

2010-06-16 Thread Karl DeSaulniers
On that note, what would be a good way to get a benchmark for this? Any pointers? Karl On Jun 16, 2010, at 3:47 PM, Karl DeSaulniers wrote: Ahh.. let me try that. I am sure you are correct. That way it only checks to see if that textField is changing when focus is on it. And being that onCh

Re: [Flashcoders] Text area focus

2010-06-16 Thread Karl DeSaulniers
Ahh.. let me try that. I am sure you are correct. That way it only checks to see if that textField is changing when focus is on it. And being that onChanged was less memory intensive than onEnterFrame that makes sense. But my tests are not finite. I do not have a benchmark result or anything st

Re: [Flashcoders] Dynamically Creating an XML Request

2010-06-16 Thread allandt bik-elliott (thefieldcomic.com)
there's this http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/XML.html#elements() you should also search for e4x wildcards if you want to search for a list of nodes that have a common attribute it's li

Re: [Flashcoders] CameraDetection Update

2010-06-16 Thread Ktu
btw. I removed all magic values. Also, Thanks Juan for suggesting my class. Ktu On Wed, Jun 16, 2010 at 10:06 AM, Ktu wrote: > Its unfortunate there was a long break from when you ran across these > problems. I wonder if the default amount of time to check each camera is not > long enough. > >

Re: [Flashcoders] CameraDetection Update

2010-06-16 Thread Ktu
Its unfortunate there was a long break from when you ran across these problems. I wonder if the default amount of time to check each camera is not long enough. A stupid thing about camera objects is that when you first try to use it, the activity property spikes to 100 for a short period of time,

Re: [Flashcoders] CameraDetection Update

2010-06-16 Thread Juan Pablo Califano
Hi Ktu, I told you when you shared your code in this list I'd give you some feedback. I ended up using it a couple of months after that and totally forgot about telling you how it went, so sorry about that. But yes, it worked out great for Macs, which was the problem I was trying to solve. As I

Re: [Flashcoders] Text area focus

2010-06-16 Thread Juan Pablo Califano
Not really. In theory, onChanged should be less intensive, I think. But, from your description it seems it isn't, so go figure... I'd go with the onSetFocus / onKillFocus then, but I'd do another test, just out of curiosity. Instead of setting an enterframe when you get focus and nulling it when f

Re: [Flashcoders] Text area focus

2010-06-16 Thread Karl DeSaulniers
Hi Juan, Interesting enough, it seems your solution also runs my fan a bit wild too. Not as bad, I'd say about half as much. I know its the form because I have tested many times. Every time I close the browser window that has the form, my fan slows to a stop almost immediately. I chose the o

Re: [Flashcoders] Text area focus

2010-06-16 Thread Karl DeSaulniers
Thanks Juan.. That is much cleaner. Thank you also for the AS3 conversion. That helps me understand just a little more about AS3. Best, Karl On Jun 15, 2010, at 9:56 PM, Juan Pablo Califano wrote: It seems like you don't really need to bother about gaining or losing focus here. Just listen