| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
done
Join Date: Jun 2001
Location: portland, or
Posts: 8,048
|
so i have a flex form that connects to a cfc on the server to load, update, insert and delete records from a db.
in the flex form i use Code:
<mx:WebService
id="projectObject"
useProxy="false"
wsdl="http://myserver/perfrep/cfcs/project.cfc?wsdl">
<mx:operation name="getAllProjects" result="handleProjLoad_Result(event)" fault="handleProj_Fault(event)"/>
<mx:operation name="addProject" result="handleProjAdd_Result(event)" fault="handleProj_Fault(event)"/>
</mx:WebService>
my question is this. i have a project class that holds all teh data for a particular project. the project can be changed etc., from the project how would i connect back to flex to and use the method in the 'projectObject' (listed above) to pass teh info back to the cfc. optimally, i would use remoting from as3 (inside the class), and let the class make the connection and update itself.... if im going about this all wrong, or you have suggestions on how to get teh data from the class to the <mx:webservice> object, or you can lead me in the right direction to do it with as3 remoting.... that would be great. thanks.
__________________
tg --- what the hell was i thinking? |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using the mx.util.Delegate class within your classes! | madgett | ActionScript 2.0 | 3 | 09-03-2007 12:11 AM |
| Extendings class... | simonboris | ActionScript 2.0 | 0 | 02-25-2006 05:53 PM |
| Database simulated with arrays on a cd-rom | lecasn5 | Components | 61 | 09-07-2004 12:40 PM |
| card game: designing Deck class and good OOP? | pigpen | Gaming and Game Development | 1 | 11-26-2002 12:41 PM |