SWX not returning data - Maybe cross-domain issue? Help.

1 view
Skip to first unread message

Ben

unread,
Aug 5, 2009, 12:02:05 AM8/5/09
to SWX: The Native Data Format for Adobe Flash
Hi,

I've written a flash app that calls a php script in SWX services which
gets an rss feed, parses it and then return the information I want to
Flash via swx.

It works fine on my MAMP server but when I upload it to my own server
it fails to return the data.
I am using AS2 and the swx beta 1 from the link on the website.

The strange thing is that I am sure I had it working before, but now
nothing is being returned.

I know Flash is loading an XML file fine, which is a config file to
direct to the SWX gateway.

The App stops between calling the gateway and the return handler.
There is no error message because the return never makes it back.

I know it works in the IDE and also on the local server.

The SWX installation is on my own server in a folder next to the Flash
application, so they are on the same domain.

I have played with the crossdomain settings, the security settings and
so on.

I do have a question about

'swx.initializeCrossDomain(stage.loaderInfo.url);'

It fails and returns - 'There is no property with the name 'stage'.

Ben

unread,
Aug 5, 2009, 12:15:12 AM8/5/09
to SWX: The Native Data Format for Adobe Flash
Awesome!
The magical power of freakin out enough to join the google group and
just by simply posting a message detailing your woes, the application
magically starts working.

No idea why.... maybe caching antics?


How is that for quantum level support! LOL.
Reply all
Reply to author
Forward
0 new messages