I am experiencing something rather strange with the Text control and its
htmlText property.

  <mx:Text id="li0" htmlText="Starting Text" doubleClickEnabled="true"
doubleClick="Alert.show(li0.htmlText)"  click="showEditor(event)"/>

I am using the RTF Edit control to edit and update the content. That
works nicely and the edit results are displayed back in the Text
control. Now, when I doubleclick the Text control the Alert will show
the original value of the htmlText property (i.e. "Starting Text").

I then made another event to show the content,

  click="showCell(event)"

and sure enough that one shows the updated content of the htmlText
property for that cell. The showCell function takes the event.target and
reads the htmlText property.

Am I missing something about MXML programming ? Did I do too much JS and
DHTML ;-) ?









--
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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to