Robert Stuttaford wrote: >var x = new [ className ](); > >But obviously the compiler doesn't like that. > >
Classes are stored in the _global scope of the movie, so you can do that by using this code: var x = new _global[ className ](); ... where className is the fully-qualified name (i.e. com.whatever.ClassA). -d Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/