Variables from flash to a URL problem

I think this is a pretty simple problem really only that my knowledge
will not let me complete it.

When testing the code inside flash or the SWFplayer it works but
online inside the html page it dosent complete.

on (release) {


All the varibles load just fine but when the SWF is inside the html page it dosnt work.

Why? is There a better way to do this?