Java and flash

hi guys
i have some question i dont understand java
have i write something in html code when i use this tutorial?

http://www.kirupa.com/developer/mx/centered_popup.htm

i have tried without extra html code and it works
is any problem?