PDA

View Full Version : Loading from diferent server


bocasz
01-08-2009, 09:32 PM
My problem is the following:

I have a main swf placed in a server and a secondary swf that is going to be loaded in the main one but the main swf will be moved to another server and by doing that the secondary swf becomes inaccessable.

The solution to that could be as simple as moving everything but i cant do that

So... is there a way to "remove" flashplayer security or make the conection accessable?

runawayprisoner
01-08-2009, 09:40 PM
My problem is the following:

I have a main swf placed in a server and a secondary swf that is going to be loaded in the main one but the main swf will be moved to another server and by doing that the secondary swf becomes inaccessable.

The solution to that could be as simple as moving everything but i cant do that

So... is there a way to "remove" flashplayer security or make the conection accessable?

Well, Security.allowDomain or Security.allowInsecureDomain or a cross-domain policy file is in order here. I wouldn't even go as far as saying "look them up" now because Security.allowDomain is quite straight-forward. Just put it in the secondary swf and specify the domain of the main swf.

bocasz
01-08-2009, 10:33 PM
The reason why i'm moving the main swf is that it will link multiple comunities, there are currently 3 servers that i'll have to send the main swf, isnt there a way to do that dynamicaly?