JSFL + Regular Expressions?
Flash News September 30th, 2003Answer - Yeeees!!!!
Thanx to FlashGuru, who point me to Core JavaScript 1.5 Guide, JSFL works with all this stuff too. just try next code
re = /(\w+)\s(\w+)/;
str = "John Smith";
newstr = str.replace(re, "$2, $1");
fl.trace (newstr);
p.s. now its time to test MMExecute(), i hope we can get RegExp inside Flash
Ready to receive fresh news from my site? Subscribe to my RSS.
Хотите быть в курсе последних обновлений сайта? Подпишитесь на мой RSS.
Related Entries:
Ads:
Зимний спорт, новый год в Турции.









September 30th, 2003 at %I:%M %p
It does work inside flash using MMExecute(), buy you have alot of string termination to do. Obviously this will only work inside .swf’s that are playing inside the authoring tool.
September 30th, 2003 at %I:%M %p
thanx for info,
anyway RegExp are cool