Runtime Alert component

Is there a way to specify the message of an Alert object at runtime ?
Tried createClassObject( Alert, “alert1”, 0, {message:“goodbye world”} ); -but no go.