RE: [Flashcoders] Local SWF loadVars from remote php file

2006-12-11 Thread Andy Stone
You've probably thought of this...

My firewall will block a remoting call when testing locally. When I disable
it the calls work fine. 

-A

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of slangeberg
Sent: Monday, December 11, 2006 10:24 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Local SWF loadVars from remote php file

Could you post the contents of your crossdomain.xml file?

-Scott

On 12/11/06, Mike Dunlop <[EMAIL PROTECTED]> wrote:
>
> Hi, I am pulling my hair out on this. I am trying to develop flash
> locally and want to talk to remote php scripts. I have added a
> crossdomain.xml file to the remote server in question as well as the
> following to my local flash file in frame 1
>
> System.security.allowDomain("*");
>
>
> Whenever using loadVars i get "Error opening URL"... I understand
> generally how sandbox/security works but i can't get this to work
>
> Here's my loadVars code:
>
>
> var exhibit_vars:LoadVars = new LoadVars();
> exhibit_vars.onLoad = function (success) {
>  if(success)
>  trace(this.toString());
>  else
>  trace("vars failed to load!");
> }
> exhibit_vars.load("http://mydomain.com/v2/flashapi/api.php?
> atype=cExhibit");
>
>
>
>
> Can anyone help me, please??
>
> Thank You.
>
>
> .
> Mike Dunlop
> // Droplab
> [ e ] [EMAIL PROTECTED]
>
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



-- 

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Local SWF loadVars from remote php file

2006-12-11 Thread slangeberg

Could you post the contents of your crossdomain.xml file?

-Scott

On 12/11/06, Mike Dunlop <[EMAIL PROTECTED]> wrote:


Hi, I am pulling my hair out on this. I am trying to develop flash
locally and want to talk to remote php scripts. I have added a
crossdomain.xml file to the remote server in question as well as the
following to my local flash file in frame 1

System.security.allowDomain("*");


Whenever using loadVars i get "Error opening URL"... I understand
generally how sandbox/security works but i can't get this to work

Here's my loadVars code:


var exhibit_vars:LoadVars = new LoadVars();
exhibit_vars.onLoad = function (success) {
 if(success)
 trace(this.toString());
 else
 trace("vars failed to load!");
}
exhibit_vars.load("http://mydomain.com/v2/flashapi/api.php?
atype=cExhibit");




Can anyone help me, please??

Thank You.


.
Mike Dunlop
// Droplab
[ e ] [EMAIL PROTECTED]


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com