loadVariable, getURL work only in local movie

Hi !

I wanted to achieve some basic functionality

loadVariablesNum("http://www.mydomain.com/cgi-bin/myscript.pl?act=NewArticle",“0”,'POST")

My script myscript.pl is designed to return an appropriate varibale value to load into this flash movie so te remaining logic will work.

Now my problem is this WORKS in standalone flash movie but when I upload the movie to http://www.mydomain.com/test/ for example this does not work. I tried to put a relative path to my script, even that does not work. I want to make the movie Flash 5 compatible.

Could anyone help me with solution or a URL to info about this behaviour?

Thanks to all “AS gurus” in advance

Declare your variable act=NewArticle on the main timeline (or at least on the timeline from where you call the loadVariable script)

The post action will then load the variable (and every other variable declared on the timeline).