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 / February 2005



Tip: Looking for answers? Try searching our database.

retrieving data into flash from cfc

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sixlead - 24 Feb 2005 19:36 GMT
This is turning into a real challenge and I'm not sure why.  the following
snipit is  from a flash document that calls a cfc document  to reterieve  a
listing  of subjectareas for students.  The cfc works a proven by a cfm page  
that displays all returned records and fields.  While the flash listBox only
displays the first field  correctly the second field is UNDEFINED and the third
is bland.  Any help would be appreciated.   // :::: Remote Calls function
getSubAreasByGrp() {     trace('function getSubAreasByGrp called');     // invoke the
'getParksList' method in the parkService service, send current selection
    conn_SubjectAreas.get_subjectAreasByGroup('HS'); } // :::: DEFAULT RESPONDERS
::::    function get_subjectAreasByGroup_Result(getSelectedSubjectAreas) {
    trace('server responded: Records: '+getSelectedSubjectAreas.getLength());
    trace('setting the ListBox');     // Use DataGlue Binding to create a differnent
label and Value pair     // The Value is what will be sent to the function, and is
what the DB will match     DataGlue.bindFormatStrings(lb_SubjectAreas,
getSelectedSubjectAreas, '#areaId#', '#groupId#', '#subjectArea#'); }  
sixlead - 24 Feb 2005 20:18 GMT
The problem is a misunderstanding of the DataGlue function.  by removing the
internal ' marks and comas the function works perfectly.  
DataGlue.bindFormatStrings(lb_SubjectAreas, getSelectedSubjectAreas, '#areaId#
#groupId# #subjectArea#');
 
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.