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
Software development tool Software development Software development services
Home design software Software development company

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

__,_._,___
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.

Reply via email to