Attach data to Richtext using flex, mysql and php(newbie)
Posted
by dmschenk
on Stack Overflow
See other posts from Stack Overflow
or by dmschenk
Published on 2010-06-13T22:56:03Z
Indexed on
2010/06/13
23:02 UTC
Read the original article
Hit count: 393
I'm trying to attach data to a richtext field in Flashbuilder. The data is an html string in a mysql database and I'm connecting using php. The php script is just converting to XML.
The connection works because I can easily dump the data to a datagrid and I can see the string. when I try to hook the data to a Richtext field I get "object CallResponder" so I am connected, but I'm not sure how to break it down so that it is just an html string for the text field.
Thanks
protected function creationCompleteHandler(event:FlexEvent):void { getAllAbout_fxResult.token = aboutfxService.getAllAbout_fx();
}
<s:RichText x="10" y="10" text="{getAllAbout_fxResult}" creationComplete="creationCompleteHandler(event)" width="300" height="300"/>
© Stack Overflow or respective owner