Newest Articles

MegaCombs
Flash Media Player
XML Driven Pie Chart
Base Defender
Hangman Game
8 Ball Pool


Popular Articles

True Fullscreen Flash Mode
Hangman Game
Catapult Game
Mp3 Player with XML Playlist
Base Defender
3d Rotating Image Cube


Random Articles

XML Driven Pie Chart
Page Flipper
Krypto Movie Quotes
Drivable Car
Alert Box
Motion along a Path


Links

Shapes the Game
Reddit
Newgrounds
TWiT
Link to SwfSpot
Swf Spot

Contact me on Google+



rss feed

Alert Box

Alert Box
AddThis Social Bookmark Button
Description: A Function generates an alert box with a message.
Author: John Bezanis
Added: March 26th 2007
Version: Flash 8


This is just a basic alert box. The box is created by calling a function alert on the main level. The alert function takes one parameter and this is the message which is outputted in the alert box. The user can drag the box by clicking and dragging the top of the box. The box can be closed by either clicking the ok button or the x in the corner. THe box stays on top of all other symbols through a line called in onEnterFrame:
this.swapDepths(_level0.getNextHighestDepth());

Download Source File
Comments Currently Disabled