What basic concept am I missing here?

import Model.troubleLogVO;
....
[Bindable]
public var troubleLogEntry:troubleLogVO = new troubleLogVO;
....
/* CRUD readEvent result Handler */
protected function readEventResult(e:ResultEvent):void
{
    troubleLogEntry = e.result as troubleLogVO;
    Alert.show(e.result.id);
    Alert.show(troubleLogEntry.id);
}


The first Alert works, e.result.id shows the proper value.  The second 
Alert fails saying that one can not access properties on a Null object.

TIA
Ian


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 by AdobeĀ®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:4328
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to