Hello,
How can flash communicate with multiple functions on a aspx page? The only
examples I have been able to find only show one function of a aspx page, is
there a way to reference a particular function on a page? i.e.
folder.class().function() ???
Any help is appreciated
Pete
rhodesbe - 18 Jul 2005 15:22 GMT
I believe your only options are using a code-behind page with another page (with your class) or dll. There is no way to setup functions like you want within an aspx page.
PeteB - 20 Jul 2005 23:30 GMT
Thank you.
I was able to get this working by using assembly like yo suggested.
On a side note: How can you instantiate a C# class by passing in paramaters to
the constructor?
Also once I have this instance how can I get and set its public members or is
it only possible to call public functions?
Any help is appreciated
Thank you
mzadig - 22 Jul 2005 22:16 GMT
You can actually manage multiple functions from a single ASPX page, if you set
up a facade. You will have to create a command packet that the server can
parse and then route to code behind classes. This is preferable to using an
assembly since you will have a lot more flexibility during development. I have
this working with numerous function services in .NET 2.0. Unfortunately, there
are practically NO expamples of how to do this under ASP, other than a simple
hello world, so it took a while to get it all working.
Hope this helps.