|
Home > Archive > Macromedia Flash Server > March 2006 > Server-side LoadVars()
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Server-side LoadVars()
|
|
| Bill Sanders 2006-03-25, 9:46 am |
| Hello all,
I had great initial success with server-side LoadVars() and now I've
run into a problem. In my initial app, I had the ser-side AS line:
loadBW.load("http://localhost/bw/bw.txt");
and the folder path/
http > bw > bw.txt
It worked great. Then I placed it on my server with the line,
loadBW.load("http://lmy.domain.com/bw/bw.txt");
With the same folder path, and it quit working. My trace on the
server shows that the function is firing, but it's not getting the
data out of the text file.
Anyone know what's wrong here?
TIA,
Bill
bill sanders | www.sandlight.com | bloomfield, ct | 860-242-2260
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
| |
| Stefan Richter 2006-03-25, 9:46 am |
| Shot in the dark: maybe some crossdomain issues like in 'real' Flash?
Just to eliminate this as a source for your problem you could deploy a
crossdomain.xml file on your webserver and allow the FMS domain (or all
domains even while testing).
Stefan
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
> Bill Sanders
> Sent: 24 March 2006 13:47
> To: FlashComm Mailing List
> Subject: [FlashComm] Server-side LoadVars()
>
> Hello all,
>
> I had great initial success with server-side LoadVars() and
> now I've run into a problem. In my initial app, I had the
> ser-side AS line:
>
> loadBW.load("http://localhost/bw/bw.txt");
>
> and the folder path/
>
> http > bw > bw.txt
>
> It worked great. Then I placed it on my server with the line,
>
> loadBW.load("http://lmy.domain.com/bw/bw.txt");
>
> With the same folder path, and it quit working. My trace on
> the server shows that the function is firing, but it's not
> getting the data out of the text file.
>
> Anyone know what's wrong here?
>
> TIA,
> Bill
>
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
| |
| Bill Sanders 2006-03-25, 9:46 am |
| Thanks Stefan,
That could be it, but everything from the SWF file to the txt file
are all on the same server. My development setup uses two computers
(a PC and Mac) and using the local host on the PC for the server and
running the app from the Mac emulates a similar setup as I have on my
"real" server.
However, I like your idea, and on my other (Linux) server I'm going
to give it a try.
Bill
On Mar 24, 2006, at 8:52 AM, Stefan Richter wrote:
> Shot in the dark: maybe some crossdomain issues like in 'real' Flash?
>
> Just to eliminate this as a source for your problem you could deploy a
> crossdomain.xml file on your webserver and allow the FMS domain (or
> all
> domains even while testing).
>
> Stefan
>
>
>
>
> ________________________________________
_______
> FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
bill sanders | www.sandlight.com | bloomfield, ct | 860-242-2260
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
|
|
|
|
|