This is an interactive magic trick made in Flash CS3. But it is coded in AS2.
This is the spoiler to the trick and how I accesesed your username via Flash.
The Magic trick itself is very easy. The trick starts with 6 Royal cards.

The cards are Queen of Hearts, King of Clubs, Queen of Spades, Jack of Diamonds, Jack of Clubs and King of Diamonds. I ask you to think of a card and press a button to continue.

Then in the second screen I show you 5 cards and claim that I took your card. Which is true! But I also took all the other cards. None of the cards that were in the first screen are shown in the second screen. I only show cards that look the same but are not the same. So there is a 100% chance of success, unless you forget your card.
Now many people have asked about how I pulled up your Newgrounds Gold Account. I was really impressed with the medal system and was just playing around with the HTML and I noticed that Newgrounds automatically uses Flash Vars to import the currently logged on Newgrounds Username. Newgrounds loads the username as the variable 'ng_username' of course since it isn't local you would have to use it as '_root.ng_username'. Please note that if the user is not logged in it would return 'null'. The actual code I used in the 'Impossible Magic Tric' is:
if(_root.ng_username==null)
usernameBox.text = "Dear Guest,";
else
usernameBox.text = "Dear " + _root.ng_username + ",";
For this to work the SWF must be uploaded and shown via Newgrounds, you must have a dynamic text box to display the Username. If the user is not logged in the text box will simply display "Dear Guest,"
There you go! The spoiler to the trick and some code! If you were wondering about how I did my name in the begining feel free to look at one of my earlier posts explaining the "Cool Flash Trick"
If you have any questions or feedback feel free to contact me!