Newest Articles

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


Popular Articles

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


Random Articles

Disappearing Button
Gilbert
Mp3 Player with XML Playlist
Image Slider with Easing
Bouncing Ball with Smoke Effect
Growing Tree using Recursion


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