Server-side LoadVars()
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Macromedia Flash Server > Server-side LoadVars()




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Server-side LoadVars()  
Bill Sanders


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-25-06 02:46 PM

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






[ Post a follow-up to this message ]



    RE: Server-side LoadVars()  
Stefan Richter


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-25-06 02:46 PM

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.gman
e.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






[ Post a follow-up to this message ]



    Re: Server-side LoadVars()  
Bill Sanders


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-25-06 02:46 PM

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






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:37 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register