I'm having a strange problem compiling a SmartFoxServer program in Adobe CS3, and I suspect it's something silly in my settings. I can successfully load my custom config.xml file and save the server preferences to variables within the program (ip 127.0.0.1 for now, port 9339). Then, when I get to:
lb_connStatus.text = "Running connection function."
sfs.connect(ip, port)
lb_connStatus.text = "Trying to connect."
If I use "test movie" within Adobe CS3, it successfully connects and goes to the rest of my program.
If I "publish" the program, it changes lb_connStatus's text to "Running connection function." and then hangs up without connecting or running the second text command.
What could I have screwed up that would allow it to work from "Test movie" but not from "Publish"?
Connect function only working from Test Movie
Flash Security may be the reason here. Try going to http://www.macromedia.com/support/docum ... nager.html and add the path to your project folder inside Global Security to "Always trust files in these locations" list.
Smartfox's forum is my daily newspaper.