| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Dec 2006
Posts: 13
|
I need to send a few variables to a servlet over a server. getURL() works but it opens up a browser window which i don't want. LoadVars doesn't seem to like me or defining vars that are most certainly there.
So if anyone knows how to stop the browser window from opening, do tell or if they can see why my_lv.mbrId.. is coming up undefined, if tracing the other side of the operator it gives the correct value. on(press){ var my_lv:LoadVars = new LoadVars(); my_lv.mbrId = mbrId_txt.text; my_lv.holNo = holNo_txt.text; my_lv.stroke = stroke_txt.text my_lv.send("setscore.cfm", "_blank", "POST"); trace(my_lv.holNo+"&"+my_lv.mbrId) } |
|
|
|
|
|
#2 |
|
Game On
Join Date: Mar 2005
Location: Barrie, ON
Posts: 2,519
|
i always use sendAndLoad to avoid any windows popup... it will also allow you to debug and see if the LoadVars object was sent.
ActionScript Code:
__________________
Marlon Valenzuela Interactive Web Developer http://www.marlonvalenzuela.net Last edited by sophistikat; 04-30-2007 at 05:36 PM.. |
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Flash Communication Server (FCS) - Live Webcam Stream Over the Internet - How? | andrewf | Flash Media Server | 10 | 03-16-2009 07:11 AM |
| Flash remoting connection problem | pepper28 | Flash Remoting | 0 | 09-27-2006 04:03 PM |
| Is it possible to make a FLASH Server? | callMeXman | Server-Side Scripting | 2 | 11-13-2004 06:55 AM |
| Introduce a flash chat room with java server. | topcmm | Flash Media Server | 1 | 11-19-2003 01:26 AM |
| seperate server problem with flash message board | sonic_2k_uk | Server-Side Scripting | 4 | 09-21-2003 03:23 PM |