all groups > flash actionscript > december 2005 >
You're in the

flash actionscript

group:

please help


please help Stevenandai
12/25/2005 4:49:35 AM
flash actionscript:
When I run my Flash MX movies in Flash MX 2004 , I get this error
NetServices warning 4: createGatewayConnection - gateway url is undefined

Pleae help!

Re: please help Rothrock
12/25/2005 4:19:12 PM
Strange this has been asked in the last day as well. But just like that poster
you don't give any real description of what you are trying to do.

What do you mean by "run my Flash MX movies in Flash MX2004"?

Published for 6 under MX and now playing in the 7 player? (Why not 8?)

Re-opened and republished?

Something else?

What code is causing the problem? Is there even any code?
Re: please help Stevenandai
12/26/2005 10:45:05 AM
I have a working FlashMX fla.
But when I open it in flashMX 2004 and use the test movie feature I get this
error.
NetServices warning 4: createGatewayConnection - gateway url is undefined.
I am not even making any changes to the file.
Thats why I was thinking there was a problem using flashMX files in FlashMX
2004
Its basicly a file that connects to a server and checks username and password.
Heres part of the code...
function configLoaded(success)
{
if (success)
{
hostName = config.hostName.split("/")[0];
NetServices.setDefaultGatewayUrl("http://" + hostName +
"/flashservices/gateway");
_global.app_server = NetServices.createGatewayConnection();
play();
}

If it will help you can email me.
Worldclassvideo@aol.com
same on MSN messenger
Re: please help Rothrock
12/26/2005 3:07:22 PM
Okay I'm guessing the problem is with the NetServices line. I've never used
that, but reposting your question and indicating that you have a problem with
NetServices will probably find you somebody who can help.

Is the gateway you are (trying) connecting to within the same domain as the
file is playing from? In any event I think there might be some security changes
between the way the two handle things like this. First check the help files to
make sure.

Also, unless you are updating the code to use newer features and codes, you
can just change the publish version back to four. You could also try by
increments and republish under version 5, then 6, and finally 7. That could be
helpful for where it breaks.

Good luck!
AddThis Social Bookmark Button