http://www.flash-creations.com/notes/servercomm_remoting_amfphp.php
I have the above file working well on a local test server. Flash 8,
amfphp, mySQL.
Then I try to make this file work on my hosted sever:
http://www.thelargeglass.com/highscores2/index.html
The file works when I do a Test Movie
sounds like your trying to connect to your localhost amfphp gateway
from the web version.. change your gateway to point to the gateway
on your site. (IE, you should have one amfphp install on local( thats
the one thats working ) then one in www.thelargeglass.com/
flashremoting/ you want
I have an amfphp install on both?
When I play it locally, seems like it connects remotely ok:
ConnectString: http://www.thelargeglass.com/amfphp/gateway.php;
DebugId: 0
EventType: Connect
MovieUrl: file:///C|/Documents and Settings/Dual Core/My
is your endpoint set correctly? :
var _service:Service = new Service(gatewayUrl, null, 'Highscores',
null , null);
if Highscores.php is in a highscores or gamesfolder of some sort in
the services folder in amfphp. you need to reference it like:
var _service:Service = new
Nope. Everything is nice and clean. It's a near virgin install.
Do you get the localhost call in the status bar as well?
It's super simple, it just seems like something about moving the file
online wrecks it. The very same .swf file pulls up the data if I play
it from my computer Test Movie
Make sure you have a crossdomain.xml file in the root of your server,
otherwise the security model in Flash will refuse connections to that
server.
The simplest version (allow all connections from any flash files) would be:
?xml version=1.0?
!DOCTYPE cross-domain-policy
SYSTEM
you should only need that if you are connecting to one domain from
another.. in Counts case everything is on the same domain I believe
so that won't matter...
On Mar 29, 2006, at 3:43 PM, Grant Cox wrote:
Make sure you have a crossdomain.xml file in the root of your
server, otherwise the
I just added a crossdomain.xml to the web root. No change.
The very same .swf file can pull this data when I do Test Movie.
The server is an online remote host, not my local computer and not the
webserver that hosts the flash file, ie, it's on a different domain,
no matter whether I access it
Actually, the db server is a wholly separate server? But the same .swf
gets the remote db data when I do Test Movie.
amfphp is on the remote server, and seems to test positive.
http://www.thelargeglass.com/amfphp/gateway.php
On 3/29/06, Aaron Smith [EMAIL PROTECTED] wrote:
you should only need
in v1.0?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Count
Schemula
Sent: Wednesday, March 29, 2006 3:56 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] lil' help with amfphp... works locally, not
uploaded...
Actually, the db server
Fixed.
I could scream.
The publish settings were publishing to a different folder.
So, I was blinded by jumping between servers and the 3 hour time
difference between me and where my sever is.
So, does, http://www.thelargeglass.com/highscores2/index.html
work for y'all?
I'm excited, I'm a
I think the /browser folder doers this?
example:
http://www.thelargeglass.com/amfphp/browser/
Let's you test the basic service?
On 3/29/06, Ettwein, Josh [EMAIL PROTECTED] wrote:
Can you create a simple page that creates a new instance of your class
and spits what would be sent to flash via
file - although I
think
this was fixed in v1.0?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Count
Schemula
Sent: Wednesday, March 29, 2006 3:56 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] lil' help with amfphp... works locally
Yes, you're right.. It does. My bad. Your stuff works for me now.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Count
Schemula
Sent: Wednesday, March 29, 2006 4:07 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] lil' help with amfphp
sweet, got the monkeyman 666 from somebody.
Awesome. I'm soo happy about this.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by
works
i would still check out that cineqdemi.remoting library i posted..
(just a second ago)
smith
On Mar 29, 2006, at 4:05 PM, Count Schemula wrote:
Fixed.
I could scream.
The publish settings were publishing to a different folder.
So, I was blinded by jumping between servers and the
Got it fixed. I had an error in my Flash Publish settings.
Thanks, it was very helpful to see the steps y'all would take.
On 3/29/06, Aaron Smith [EMAIL PROTECTED] wrote:
no it wouldnt be whitespace.. one thing you could check for is php
errors.. check the logs.. one quick way to check for php
17 matches
Mail list logo