Well after fiddling around with this example forever:

http://cflex.net/showfiledetails.cfm?ChannelID=1&Object=CodeLibrary&objectID=286

 

I finally found something of use in Flex2 that worked for me:

http://livedocs.macromedia.com/labs/1/flex/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000851.html

Thought I’d just post this for the record, so anyone attempting an image in a Datagrid has just a working example. Still have no idea how to debug a customClass.as though.

 

 

_________________________________________

Jonathan Miranda

Flexible Master of the Web

"In the game of chess, it's important to never let your opponent see your pieces."


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Monday, January 23, 2006 10:17 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2 Debugging

 

Hi All,

Complete side note: Does the [EMAIL PROTECTED] group not send out your own emails? I posted something earlier and didn’t see it so I’m assuming yahoo doesn’t send you your own messages.

I’ve got an issue with a current Flex2 project I’m working on right now, but I’m getting no errors nor am I able to find out any debugging on my custom ImageRenderer class. I’m currently using the Eclipse IDE for Flex2 and the project says it builds complete yet something is wrong in a custom class and I can’t figure out how I’d go about finding out the problem. Like all the examples from the macromedia page, CFlex and the flexcoders archive, I have an ImageRenderer.as file to custom renderer a Datagrid cell, and using the following line in my code:

<mx:DataGridColumn cellRenderer="{ImageRenderer}" headerText="Availability" columnName="availability" />

 

Yet, taking the cellRenderer= out does nothing different than putting it in. I’m assuming it is breaking somewhere in ImageRenderer.as, but how would I go about debugging this? How do you debug custom classes?

Also didn’t have any luck looking for solutions in the archive, so any help would be much appreciated.

_________________________________________

Jonathan Miranda

Flexible Master of the Web

"In the game of chess, it's important to never let your opponent see your pieces."




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to