all groups > macromedia flash flash remoting > july 2005 >
You're in the

macromedia flash flash remoting

group:

Multiple functions on a aspx page ?


Multiple functions on a aspx page ? PeteB
7/7/2005 7:24:03 PM
macromedia flash flash remoting: 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
Re: Multiple functions on a aspx page ? rhodesbe
7/18/2005 12:00:00 AM
Re: Multiple functions on a aspx page ? PeteB
7/20/2005 10:30:57 PM
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
Re: Multiple functions on a aspx page ? mzadig
7/22/2005 9:16:08 PM
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.


AddThis Social Bookmark Button