-
Notifications
You must be signed in to change notification settings - Fork 16
Toast
patrickkulling edited this page Oct 1, 2011
·
2 revisions
To display a toast message is really, really simple. Just create a new Toast instance and call the showToastMessage() method.
Displays a toast message on your screen. You can also pass an additional boolean parameter to set the Toast length to long.
var toast : Toast = new Toast();
toast.showToastMessage("Hey Toast");
Call this function if you don't need the class anymore to free your memory.