Connect function only working from Test Movie
Posted: 08 Aug 2010, 18:17
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"?
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"?