Nutty question 2004-02-25 - By Bill Sanders
Back Simon,
Let me enlist you in an effort to bring Regular Expressions to Flash. Rather than having to fish through a loop to find a match, using string.match(RegExp), you could do it with a single simple function that is ECMA-262 (See http://CMA-262.ora-code.com) ECMAScript v. 4 compatible.
MM does not want to add RegExp at this time for a very good reason--it would add 20k to the player size thereby discouraging the current high number of player downloads -- especially from the huge 56k phone modem users. However, as we more inexorably toward broadband, the 20k becomes less and less of an issue.
Anyway, I along with other programmers are hoping to get this issue on the MM radar. As FCS handles more clients and more sophisticated functions, the incredibly powerful Regular Expressions would add a lot to very kind of search you're talking about.
Perl programmers cannot imagine working without RegExps. (BTW, I'm not a Perl programmer, much preferring PHP, which does include regular expressions with preg_match() )
Cheers, Bill
On Wednesday, February 25, 2004, at 01:40 AM, Simon Lord wrote:
> I hope this doesn't sound silly but... > > Rather than cycle through all the names in the list of people in a > room, if I know the username, can I just do something direct like the > following (where support *is* the name of the user): > > support.call() > > ... rather than loop through them all and do: > > application.clients[i].call() > > ... I haven't tried it yet, really late and I don't like to poke at the > server when the eyeballs are watery with sleepiness. :) > > Sincerely, > Simon > > __ ____ ____ ____ ____ ____ ____ _____ bill sanders | sandLight productions | http://www.sandlight.com | bloomfield, ct | 860.242.2260
|
|