This content has been marked as final. Show 14 replies
If you look at Help for the LoadVars class' send method you'll find this:
A successful send() method call will always open a new browser window or
replace content in an existing window or frame. If you would rather send
information to a server and continue playing your SWF file without opening a
new window or replacing content in a window or frame, then you should use
Adobe Community Expert
Sweet I must have missed that, thanks
Arg, that causes the browser to lock up now.
Using the code below I get my results posted no problem. save the one where it opens a new window and the pop-up blocker tries to kill it thus defeating the purpose.
I tried to use LoadVars.sendAndLoad but it makes the browser chug to a halt and then the entire computer needs to be rebooted.
Am I using this wrong maybe I read the help file, searched the forums but nothing quite what I am looking for.
"A successful send() method call will always open a new browser window or
replace content in an existing window or frame."
The latter is what I want to do. I dont want the swf to continue playing and I dont want a new window to open.
did you use 3 parameters in your sendAndLoad() method? if so, post all the code relevant to your sending and receiving lv.
I think that may be where i am missing something
I am not entirely sure what the targetObject parameter should be. when I looked it up in the Help file it said it should be _root or _parent but that still doesnt get the data through.
that's a problem. try:
Ok I changed that last line, but now it is not posting. it just ends and sits there on the last frame.
any ideas on what could cause this?
what do you mean by it's not posting? and why would your swf do anything after sendAndLoad() is executed?
Never mind , the error was on the asp page. It was sending the data, the page was just not getting it.
Thanks to everyone it is working now yay
I want to do same sort of thing, only open in new window and show answers in new window with 3 dynamic text boxes.
How would I do that?
use the localconnection class if you're opening the new window from flash.
Thank you so much. where do I find info on localconnection class. Don't know that.