Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RegExp class not found in CS3? 1

Status
Not open for further replies.

grande

Programmer
Feb 14, 2005
657
CA
Hi all,

I'm fairly new to Flash, but I'm fairly experienced in ActionScript due to some Flex development. I'm assuming my problem is related to there being a difference between the envirnments, but I can't figure out what it is.

I have a simple RegExp:
var pattern:RegExp = new RegExp("<.*");

When I try to publish, I get this error:
The class or interface 'RegExp' could not be loaded.

Any idea what would be causing this?

Thanks!

-------------------------
Call me barely Impressive Captain.
 
That's an excellent question. How would I do that?

-------------------------
Call me barely Impressive Captain.
 
Hmmm... Putting it to AS3.0 caused all sorts of other problems... And is it accurate that there's no RegEx in AS2.0? I can't find anything on it.

-------------------------
Matt Grande
C# Master.
Ruby on Rails Admirer.
ActionScript Student.
JavaScript Hate-Monger.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top