|
Hmm, I just compiled a Tree subclass that
refers to selectedIndex and it worked fine so I’m not sure why you’d
get the error. I also compiled the segment that you gave (while
commenting out the pieces you didn’t give) and it compiled OK too, so you
must have something else going on. Matt From: Hi everybody! I need your help to cuztomize the Tree component... I aim at expanding all nodes of my cuztomized tree when
initializing it. I created a CuztomizedTree class as following : ------------------------------------------------------------------------------------------------------------------------ import mx.controls.Tree; class com.as.components.CustomizedTree extends Tree function CustomizedTree() // actions dedicated to the SetIsOpen
method } public function expandTree()
// this message generates the following
message // // Error /WEB-INF/flex/user_classes/com/as/components/CustomizedTree.as:100
// There is no property with the name
'selectedIndex'. // Error // Unable to create ActionScript
Component for com.as.components.CustomizedTree: Could not compile
'synthetic: Object.registerClass() for com.as.components.CustomizedTree'
--------------------------------------------------------------------------------------------------------------------------------- In my Tree.mxml file, I call this method in an initAppli
method ------------------------------------------------------------------------------------------------------------------------------------ Any suggestions? Thank a lot! PS: Thanksfull thoughts to **********************************************************************
Coface facilite les echanges entre
les entreprises partout dans le monde. Pour cela, elle offre a toutes les
entreprises des solutions pour gerer, financer et proteger leur poste client,
en leur permettant d'externaliser tout ou partie de la gestion et des risques
lies a leurs relations commerciales. Coface est notee AA par Fitch Ratings et
Aa3 par Moody's. Pour en savoir plus,
http://www.coface.fr Coface facilitates
business-to-business commerce worldwide. It offers all size companies an array
of solutions to manage, finance, and protect their accounts receivables
affording them the option of fully or partly outsourcing trade relationship
management and attendant risks. Coface is rated AA by Fitch ratings and Aa3 by
Moody's. More about Coface,
http://www.coface.com WARNING : - Soyez conscient que notre systeme
Anti-Spam peut parfois rejeter des messages, soit parce que certains mots et
types de fichiers ne sont pas acceptes, ou bien parce que le mail n'a pas ete
identifie correctement. - Be aware that from time to time our
Anti-Spam system may reject mails either because some words and types of files
are not allowed or because mails are misidentified. **********************************************************************
-- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
|
- RE: [flexcoders] TREE : extending the tree component Matt Chotin
- RE: [flexcoders] TREE : extending the tree componen... david_gal-reyniez

