Re: [Flashcoders] Text field doesn't show hand cursor over links.

2009-05-15 Thread natalia Vikhtinskaya
Thank you, Glen and Karl!! You really helped a lot. THANK YOU SO MUCH! 2009/5/15 Karl DeSaulniers : > You will need a font instance for each style you want to use in your lib. > For instance to have the different "Arial" fonts embedded: > to have normal you would make a font instance using Arial

[Flashcoders] mail from as3

2009-05-15 Thread Hans Wichman
Hi list, is it possible to send an email with attachment (based on bytearray or something like that) directly from actionscript 3? Or is it best/easiest to use some kind of amf solution for that ? thanks in advance! Hans ___ Flashcoders mailing list Fla

Re: [Flashcoders] mail from as3

2009-05-15 Thread Glen Pike
Hans Wichman wrote: Hi list, is it possible to send an email with attachment (based on bytearray or something like that) directly from actionscript 3? Or is it best/easiest to use some kind of amf solution for that ? thanks in advance! Hans ___ Flashc

[Flashcoders] regex in switch statement

2009-05-15 Thread Mendelsohn, Michael
Hi list... Is it possible to use a regular expression as a case in a switch statement? I've been searching around and haven't found anything specifically for actionscript. Thanks, - MM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com h

Re: [Flashcoders] regex in switch statement

2009-05-15 Thread Sidney de Koning
Hi MM, I think its better practice to define that regex in a variable and switch on that variable. HTH, Sidney de Koning On May 15, 2009, at 2:12 PM, Mendelsohn, Michael wrote: Hi list... Is it possible to use a regular expression as a case in a switch statement? I've been searching a

RE: [Flashcoders] regex in switch statement

2009-05-15 Thread Mendelsohn, Michael
Thanks for responding Sidney. I think if I set a var prior to the switch, it might not work because there are so many strings going into the switch. I'm trying to optimize this that would apply to only some of all the cases: switch(str){ case ("W1") : case ("W2") : case

Re: [Flashcoders] regex in switch statement

2009-05-15 Thread Sidney de Koning
HI MM, Oke, i think you can, since it matches the input given with the case. i didnt test it. But cant you store the regex in a var and put that in the case? like so: var myRegEx:RegExp = /(W|M|K)\d/i; var stringToMatch = ""; switch(stringToMatch) { case myRegEx: b

RE: [Flashcoders] regex in switch statement

2009-05-15 Thread Mendelsohn, Michael
That didn't work for me. :-/ - MM > Oke, i think you can, since it matches the input given with the case. i didnt test it. But cant you store the regex in a var and put that in the case? like so: var myRegEx:RegExp = /(W|M|K)\d/i; var stringToMatch = ""; switch(stringToMatch) {

[Flashcoders] FileReferenceList - no upload function?

2009-05-15 Thread Paul Freedman
I haven't had to build ftp functionality in years. I hope someone is familiar with the problem and can address this simply. The class FileReference allows the user to browse to and select one file, and the class FileReferenceList allows for the selection of multiple files. But only FileReferenc

Re: [Flashcoders] FileReferenceList - no upload function?

2009-05-15 Thread Dave Watts
> I haven't had to build ftp functionality in years. I hope someone is familiar > with the problem and can address this simply. FileReference doesn't do FTP uploads, to the best of my knowledge, only HTTP uploads. > The class FileReference allows the user to browse to and select one file, and >

Re: [Flashcoders] FileReferenceList - no upload function?

2009-05-15 Thread Steven Sacks
http://74.125.155.132/search?q=cache:Z9ZpwotYRtkJ:www.mikestead.co.uk/2009/01/04/upload-multiple-files-with-a-single-request-in-flash/+AS3+Socket+send+progress+broken&cd=3&hl=en&ct=clnk&gl=us&client=firefox-a On May 15, 2009, at 11:19 AM, Paul Freedman wrote: I haven't had to build ftp function

Re: [Flashcoders] FileReferenceList - no upload function?

2009-05-15 Thread Bob Wohl
The file reference has an upload, the list is just an array of fileReference Objects. You would step through your list uploading file by file (better for handling errors vs. success than to just loop them). something like: file = fileList[i] file.upload(url) B. On Fri, May 15, 2009 at 11:19 AM,

Re: [Flashcoders] FileReferenceList - no upload function?

2009-05-15 Thread Paul Freedman
Gentlemen: Hah. So that's it. Thanks very much. - Paul - Original Message - From: "Bob Wohl" To: "Flash Coders List" Sent: Friday, May 15, 2009 2:36 PM Subject: Re: [Flashcoders] FileReferenceList - no upload function? The file reference has an upload, the list is just an array o

[Flashcoders] Rounded Polygons; rounded triangles

2009-05-15 Thread John Giotta
I've searched for polygon draw classes and functions, but I can't find anything that can do rounded corner polygons. Anyone on the list come across or written a decent set of code that can? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com ht

[Flashcoders] Is there an AS3 equivalent of AJAX Suggest (like Facebook autofill searchbox)? is it even possible?

2009-05-15 Thread Carl Welch
Hi all, I need to make an AS3 version this: http://www.w3schools.com/ajax/ajax_example_suggest.asp I'm thinking I'll query the database for all of the users store that in an array or xml and then attach a listener to the textfield that will search the array everytime a character is added to

Re: [Flashcoders] regex in switch statement

2009-05-15 Thread John Giotta
This is very odd request. With switch... case, its only useful if you have the same condition expression. Your regex example is a similar expression, but no where the same. No I think you better off with if...else in this matter. ___ Flashcoders mailing l

Re: [Flashcoders] How to embed assets in pure as3?

2009-05-15 Thread John Giotta
This works for me when I'm doing library unit testing: var child:Shape = addChild(new newImage()) as Shape; // or addChild(new newImage()); ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flash

Re: [Flashcoders] Is there an AS3 equivalent of AJAX Suggest (like Facebook autofill searchbox)? is it even possible?

2009-05-15 Thread Steven Sacks
Like the search on this site? http://www.dermalogica.com/us/#/home It's actually super easy to do this. On May 15, 2009, at 12:48 PM, Carl Welch wrote: Hi all, I need to make an AS3 version this: http://www.w3schools.com/ajax/ajax_example_suggest.asp I'm thinking I'll query the database fo