Where does that data from {days} get populated?

 From the server? Do you create drawDay classes from the data on the  
server? or just use what the server sends? If the latter, then they  
are Objects, and cant be cast. You will need to deserialize them into  
you custom class when the data loads.

mike chambers

[EMAIL PROTECTED]

I am not sure.  This is very much my "figure out flex" project.  I just used 
Ben Forta's phone example as my base.  So I have a cfc that is called with a 
remoteObject.  It contains these lines.

//create a dayObj for the current date
dayObj = createObject("component", 
"flex.MObileCalendar.CF.drawDay").initDay(loopDate, this.currentDate); 
arrayAppend(this.calendar, dayObj); // add dayObj to the calendar array

I then have a drawDay.as "custom object?" that correlates to the drawDay.cfc 
referenced above.

I defiantly do not completely understand of this CF/Flex object relationship.

--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

---------
| 1 |   |
---------  Binary Soduko
|   |   |
---------
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:37:2900
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/37
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:37
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to