I have prepared an example to demonstrate how to expose your C# coded function for scripting.
| ExposedFunctions |
|
Read the commented source code of that project for better understanding.
The short anwser to the problem looks like this:
31 [Script(NoDecoration = true)]
32 public static void ExposedFunctions_AddData1(Data1 e)








[...] Filed under: jsc — Tags: javascript — zproxy @ 12:03 pm Today I have extended the ExposedFunctions example. In our scenario we have written a javascript library in c# with jsc and we would like to consume [...]
Pingback by updated example: ExposedFunctions « c# to javascript, actionscript — June 28, 2009 @ 12:05 pm