Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Supporting Technologies > Flash Remoting

Reply
 
Thread Tools Rate Thread Display Modes
Old 08-06-2003, 04:03 PM   #1
PabloS
Registered User
 
Join Date: Aug 2003
Posts: 1
Default Server Side Actionscript (SSAS) function arguments

I have a server-side actionscript function with one argument. The data type I'm sending it is a simple actionscript object:

// in flash
foo = {x: 1};
netService.test(foo);
// should return 1
// returns undefined

// on remoting server
function test(arg) {
return arg.x;
}

Theoretically this should work; flash passes whole actionscript objects to the remoting server. However, in practice, test returns undefined!

Has anyone else had this problem?
PabloS is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:42 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.