AS3 Crossdomain issues?!

Hey,

I am running into issues with getting my game to work. I have a socket server running on serv.mydomain.com on port 4000

I uploaded a crossdomain.xml file, containing
<allow-access-from domain="*.mydomain.com"/>

This is located at serv.mydomain.com/crossdomain.xml

My game tries to connect to serv.mydomain.com on port 4000, and is located at serv.mydomain.com/game/mygame.swf

When i compile my game within flash, it connects to my server fine. When uploaded, it doesnt connect. I am out of ideas… please help!