actually, scratch that error. it's something else that's wrong:
public var NewPopUpParent:DisplayObject; NewPopUpParent = Application.application.mainCanvas; generates the compile time error "Access of undefined property NewPopUpParent" but changing it to public var NewPopUpParent:DisplayObject = Application.application.mainCanvas; doesn't. (but it does generate a runtime error: "Property mainCanvas not found on main and there is no default value") I obviously haven't got the hang of this yet.... -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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/