|
Hi, class CheckCellRenderer extends UIComponent { var
check : MovieClip; var
listOwner : MovieClip; // the reference we receive to the list var
getCellIndex : Function; // the function we receive from the list var
getDataLabel : Function; // the function we receive from the list function
CheckCellRenderer() { } override
protected function createChildren():void { check
= createClassObject(CheckBox, "check", 1, {styleName:this,
owner:this}); check.addEventListener("click",
this); size(); } . . . . . } The above snippet produces a compilation error which says “Call to a possibly undefined method
createClassObject” Infact in the Adobe® Flex™ 2 Language Reference
there is no class called UIObject. What am I missing? Sanjucta -- 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
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
|
- [flexcoders] Compilation Error with createClassObject Ghose, Sanjucta

