IT Community - Software Programming, Web Development and Technical Support

error

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(...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > Flash Actionscript Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-20-2007, 01:19 AM
nssukumar nssukumar is offline
D-Web Sr.Programmer
 
Join Date: Feb 2007
Posts: 155
nssukumar is on a distinguished road
Default error

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]
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-25-2007, 04:51 AM
aramesh aramesh is offline
D-Web Programmer
 
Join Date: Mar 2007
Posts: 72
aramesh is on a distinguished road
Default Re: error

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>
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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


All times are GMT -7. The time now is 09:25 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0