Re: [Flashcoders] regExp

2010-06-17 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) {

Re: [Flashcoders] regExp

2010-06-17 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-17 Thread Steven Sacks
http://www.asciitable.com/ a-z = 97-122 A-Z = 65-90 97 - 65 = 32 a-z = 26 letters A-Z = 26 letters 0-9 = 10 numbers 26 + 26 + 10 = 62 On 6/16/2010 11:15 PM, Karl DeSaulniers wrote: Ah thanks Steve. So is 97 to 123 the placement of upper and lowercase letters and the numbers on the CharCode

Re: [Flashcoders] regExp

2010-06-17 Thread Karl DeSaulniers
Nice! Thank you. On Jun 17, 2010, at 2:49 AM, Steven Sacks wrote: http://www.asciitable.com/ a-z = 97-122 A-Z = 65-90 97 - 65 = 32 a-z = 26 letters A-Z = 26 letters 0-9 = 10 numbers 26 + 26 + 10 = 62 On 6/16/2010 11:15 PM, Karl DeSaulniers wrote: Ah thanks Steve. So is 97 to 123 the

[Flashcoders] Flash 10.1 problems on Mac OSX / Firefox

2010-06-17 Thread Tom Gooding
I've been running player 10.1 debugger (latest version), and subsequently the main release and I am finding sometimes on OSX / Firefox it seems to not render to the screen; I get either a white screen or a partial rendering of 1 single frame which then stays static. The app seems to be running;

[Flashcoders] Error in displaying Hindi Text

2010-06-17 Thread Pankaj Singh
Hi, I am writing a slide show application in flash action script 3.0 . i am importing text from a external text file .. I am having no problem in windows 7 but it is showing boxes instead of texts in XP and Linux.. How to get out of this. -- -- -- Thanking You, Pankaj Kumar Singh, 2nd Year

Re: [Flashcoders] Error in displaying Hindi Text

2010-06-17 Thread Deepanjan Das
Have you tried embedding the texts. Regards D On Thu, Jun 17, 2010 at 2:19 PM, Pankaj Singh singh.pankaj.iitkg...@gmail.com wrote: Hi, I am writing a slide show application in flash action script 3.0 . i am importing text from a external text file .. I am having no problem in windows 7 but

Re: [Flashcoders] Flex license with CS3?

2010-06-17 Thread Glen Pike
Hi, Sorry, should probably have been more specific - we still have Master Collection CS3 - so looking for the Flex companion to that so maybe we can get an upgrade from Flex NN to FB4 Thanks. Glen On 17/06/2010 01:25, Kerry Thompson wrote: Glen Pike wrote: I vaguely

RE: [Flashcoders] Error in displaying Hindi Text

2010-06-17 Thread Benny
Make sure the font(s) you use are embedded. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Error in displaying Hindi Text

2010-06-17 Thread Pankaj Singh
which font i should embed in order to make hindi text visible .. I embeded Arial MS Unicode and it was working fine in Windows but creating problem in linux .. showing boxes only ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] regExp

2010-06-17 Thread Jim Lafser
In hexadecimal representation: A = 0x41, a = 0x61 ... All lowercase letters = uppercase + 0x20 0x20 = 32. From: Karl DeSaulniers k...@designdrumm.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thu, June 17, 2010 3:56:17 AM Subject: Re:

Re: [Flashcoders] Realaxy ActionScript Editor public beta

2010-06-17 Thread Ivan Dembicki
Hello, Steven, I agree definitely with the point the video in its current state in not always clear and it doesn't manage to fulfil its function. If we talk about the dealing with metadata video you touched upon, its goal was not to show the speedy performance, but to depict the error tracking.

Re: [Flashcoders] Flex license with CS3?

2010-06-17 Thread Kerry Thompson
Glen Pike wrote:    Sorry, should probably have been more specific - we still have Master Collection CS3 - so looking for the Flex companion to that so maybe we can get an upgrade from Flex NN to FB4 Gotcha. What you want, then, is FlashBuilder 4 Standard

Re: [Flashcoders] Text area focus

2010-06-17 Thread Juan Pablo Califano
Karl, I'm not sure how to benchmark memory in AS 2. I think that what you might want to benchmark here is cpu performance, anyway. In this particular case, I don't think you can benchmark much, though. Basically, all performance benchmarks I've seen are based on getTimer (two simple calls to

Re: [Flashcoders] regExp

2010-06-17 Thread Juan Pablo Califano
If don't want to learn the ascii codes by heart (or look them up), you can use charCodeAt() like this: var first:int = (A).charCodeAt(0); var last:int = (Z).charCodeAt(0); for (var i:int = first; i = last; i++) { trace(String.fromCharCode(i)); } Cheers Juan Pablo Califano 2010/6/17 Karl

[Flashcoders] as3 flvPlayback seekbar

2010-06-17 Thread allandt bik-elliott (thefieldcomic.com)
hey guys i usually use a Video class with a netstream object to show video but i've been trying to implement the (supposedly) simpler flvplayback component because of the extra functionality that it provides (like variable streams and metadata cuepoints in f4vs) however i'm trying to add a

Re: [Flashcoders] as3 flvPlayback seekbar

2010-06-17 Thread Bob Wohl
What version is the FLVPlayback? Have you tried using a simple skin to see if that works as expected? On Thu, Jun 17, 2010 at 9:42 AM, allandt bik-elliott (thefieldcomic.com) alla...@gmail.com wrote: hey guys i usually use a Video class with a netstream object to show video but i've been

Re: [Flashcoders] as3 flvPlayback seekbar

2010-06-17 Thread allandt bik-elliott (thefieldcomic.com)
hey bob i've tried using the seekbar component as is and it didn't work i've tried using a stock skin (by passing the url into flvplayback.skin) and that works so i'm thinking i've done something wrong (or not done something i should have) i'm using cs4 to compile the swc for the flvplayback so

[Flashcoders] date modified

2010-06-17 Thread Lehr, Theodore
Is it possible to grab the date a file was modified? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] as3 flvPlayback seekbar

2010-06-17 Thread Bob Wohl
Gotcha. Sounds like you're missing a step some where. Though looking at your code it looks like you've followed the documentation pretty well. Can you get any events from the seekBar component? On Thu, Jun 17, 2010 at 10:45 AM, allandt bik-elliott (thefieldcomic.com) alla...@gmail.com wrote:

Re: [Flashcoders] date modified

2010-06-17 Thread Ktu
... http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/net/FileReference.html#modificationDate Ktu; On Thu, Jun 17, 2010 at 1:47 PM, Lehr, Theodore ted_l...@federal.dell.comwrote: Is it possible to grab the date a file was modified? ___

[Flashcoders] contextMenu getting overridden

2010-06-17 Thread Mendelsohn, Michael
Hi list... I have a parent sprite with a custom contextMenu defined for it, and within that, there is a child sprite with a custom contextMenu defined for that. The issue is that the child sprite doesn't show its contextMenu. It only shows the parent contextMenu. Anyone know what I'm

Re: [Flashcoders] regExp

2010-06-17 Thread Karl DeSaulniers
Thanks Juan, Thanks Jim. @Steve I noticed with your example I get undefined as one of the results. Also, I had to change the var i:int; to var i:number = 0; I got an error with int saying it could not load the class or interface for int. What am I missing here? TIA Karl On Jun 17, 2010, at

Re: [Flashcoders] date modified

2010-06-17 Thread Ktu
rtfm On Thu, Jun 17, 2010 at 2:47 PM, Ktu ktu_fl...@cataclysmicrewind.comwrote: ... http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/net/FileReference.html#modificationDate Ktu; On Thu, Jun 17, 2010 at 1:47 PM, Lehr, Theodore ted_l...@federal.dell.com wrote: Is it possible to grab

Re: [Flashcoders] contextMenu getting overridden

2010-06-17 Thread Deepanjan Das
Hi Michael, This may be a problem of symbol hierarchy in Adobe CS 3 onwards, Warm Regards Deepanjan Das On Fri, Jun 18, 2010 at 1:13 AM, Mendelsohn, Michael michael.mendels...@fmglobal.com wrote: Hi list... I have a parent sprite with a custom contextMenu defined for it, and within that,

Re: [Flashcoders] contextMenu getting overridden

2010-06-17 Thread Karl DeSaulniers
Did you check to see if the parent lets the children be accessible in the accessibility prefs. This may allow the context menu of the child sprite display even with the parent having one. More of a guess, but might do the trick. Not positive if this will deal with the context menus, but it