Question
swf authentication
i use the following flash 8 file:
var nc:NetConnection=new NetConnection();
nc.onStatus=function(cStatus){
if(cStatus.code=="NetConnection.Connect.Success"){
infobox.text="success";
}else{
infobox.text="failure";
}
}
nc.connect("rtmp://myIP/auth");
where auth is a folder inside my applications folder.
The Application.xml file (inside the auth folder) has this tag:
<SWFVerification enabled="false">
i test the movie and "success" shows up in the textfield.
i copy the swf file to a "SWFs" folder inside the auth folder, change the Application.xml file so that
<SWFVerification enabled="true">, and restart the server (FMS3).
when i test the movie "failure" appears in the textfield.
What am i doing wrong?
var nc:NetConnection=new NetConnection();
nc.onStatus=function(cStatus){
if(cStatus.code=="NetConnection.Connect.Success"){
infobox.text="success";
}else{
infobox.text="failure";
}
}
nc.connect("rtmp://myIP/auth");
where auth is a folder inside my applications folder.
The Application.xml file (inside the auth folder) has this tag:
<SWFVerification enabled="false">
i test the movie and "success" shows up in the textfield.
i copy the swf file to a "SWFs" folder inside the auth folder, change the Application.xml file so that
<SWFVerification enabled="true">, and restart the server (FMS3).
when i test the movie "failure" appears in the textfield.
What am i doing wrong?