Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Remoting / July 2005



Tip: Looking for answers? Try searching our database.

Multiple functions on a aspx page ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
PeteB - 07 Jul 2005 20:24 GMT
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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.