Re: [Flashcoders] LoadVars.send vs. LoadVars.sendAndLoad

2006-11-30 Thread GregoryN
Hello,

How about this hack:
use .send and "open" new windows into hidden IFRAME?
You can do it using 2nd "target" parameter of LoadVars.send().

-- 
Best regards,
 GregoryN

http://GOusable.com
Flash components development.
Usability services.


> === "Glenn Grant" wrote:
> I use .sendAndLoad to load a shopping cart so it will not pop a new browser
> window each time the user adds an item. this works fine locally, but online
> the items are not being added to the cart. if i use .send instead of
> .sendAndLoad everything works fine except for the aforementioned launching
> of browser every time. i read in flash's documentation that .sendAndLoad has
> a different security protocol than .send, so i have tried
> System.security.allowDomain("thedomain.com"); in the first line, which
> doesn't seem to be making a difference. any suggestions?


___
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] LoadVars.send vs. LoadVars.sendAndLoad

2006-11-30 Thread R�kos Attila

You already posted this question few days ago and I answered it for
you. If you did not understand something in the answer or had problems
during putting it to practice, let it know and I'm sure you will get
further explanation (from me or from somobody else).

 Attila

___
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] LoadVars.send vs. LoadVars.sendAndLoad

2006-11-29 Thread Telmo Dias

Hi,

When using sendAndLoad you have to use 2 different loadVars objects.

You should first create two loadVars objects. One to store the vars you 
want to send, and the other one to load the vars you get from the process.


Ex:

var orderLVIn = new LoadVars();
var orderLVOut = new LoadVars();
(...)
orderLVOut.sendAndLoad("processorder.php", orderLVIn, "POST");


Hope this helps...

Cheers
Telmo

Glenn Grant wrote:

I use .sendAndLoad to load a shopping cart so it will not pop a new browser
window each time the user adds an item. this works fine locally, but online
the items are not being added to the cart. if i use .send instead of
.sendAndLoad everything works fine except for the aforementioned launching
of browser every time. i read in flash's documentation that .sendAndLoad has
a different security protocol than .send, so i have tried
System.security.allowDomain("thedomain.com"); in the first line, which
doesn't seem to be making a difference. any suggestions?

___
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


[Flashcoders] LoadVars.send vs. LoadVars.sendAndLoad

2006-11-29 Thread Glenn Grant
I use .sendAndLoad to load a shopping cart so it will not pop a new browser
window each time the user adds an item. this works fine locally, but online
the items are not being added to the cart. if i use .send instead of
.sendAndLoad everything works fine except for the aforementioned launching
of browser every time. i read in flash's documentation that .sendAndLoad has
a different security protocol than .send, so i have tried
System.security.allowDomain("thedomain.com"); in the first line, which
doesn't seem to be making a difference. any suggestions?

___
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