This is a discussion on error within the Flash Actionscript Programming forums, part of the Web Development category; hi, my cod is var Vars:LoadVars = new LoadVars(); Vars.load("file path "); Vars.onLoad = function(s) { if(...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| hi, my cod is var Vars:LoadVars = new LoadVars(); Vars.load("file path "); Vars.onLoad = function(s) { if(_global.memType ==1) { test1.text = Vars.txtId.split("|"); trace("value is=====>"+s); if (s) { trace("Vars = "+unescape(Vars.toString())); if (_global.txtId.length>0) { Alert(); } } } }; i had to retrive value from php check with it and display alert window,while running iam getting this error, Vars = onLoad=[type Function] |
| Sponsored Links |
| |||
| Hi, Actually you trace the object's value thats why they can show like this. If u want to show the value returned from php try this. var Vars:LoadVars = new LoadVars(); _global.memType=1; Vars.load("http://servername/filepath.php"); Vars.onLoad = function(s) { if(_global.memType ==1){ test1.text = Vars.txtId.split("|"); trace("value is=====>"+s); if (s) { trace("Vars = "+unescape(Vars.txtId.toString())); if (_global.txtId.length>0) { Alert(); } } } }; <aramesh> |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Error: command line error MIDL1001 : cannot open input file wincodec.idl midl | Mramesh | C# Programming | 0 | 02-18-2008 11:07 PM |
| Why do I get Error message "Unable to Start Debugging" Error Message? | a.deeban | ASP and ASP.NET Programming | 5 | 09-25-2007 12:22 AM |
| PHP Error | Jeyaseelansarc | PHP Programming | 7 | 08-08-2007 08:53 AM |
| .Debugging php ..What does this mean " Parse error: parse error, unexpected....... | oxygen | PHP Programming | 1 | 07-26-2007 03:41 AM |
| I get the error "The page cannot be displayed" and an HTTP 502 Proxy Error. Why? | kingmaker | ASP and ASP.NET Programming | 1 | 07-20-2007 04:43 AM |