Are you trying to reference an image/id that's already displayed somewhere else in the flex movie? Can you give an example of the htmlText that you are trying to set?
- Dan Freiman On 10/20/07, arpan srivastava <[EMAIL PROTECTED]> wrote: > > Hi All, > > I am pasting a mail below. I am facing the same problem while > displaying html in textarea. I didn't find any answers to this. Can anyone > help with problem? > > --------------------------Message----------------------------- > > I'm working on a quick little RSS Reader and having some trouble. > > I've got a DG on one side, which then populates a textArea on the other > side. > > Here's the feed (mine) http://www.red-omega.com/blog/rss.cfm?mode=full > > When I hit the entry "Blogito Ergo Sum" when I click to entry in the DG I > get the below. > > It seems to happen when entries have images linked from other sites. > > [SWF] Users:johnwilker:Documents:Flex Builder 2:360FlexRSS:bin: > main-debug.swf - 972,300 bytes after decompression > getting the feed: http://www.red-omega.com/blog/rss.cfm?mode=full > You Selected index: 7 > You Selected index: 8 > ArgumentError: Error #2025: The supplied DisplayObject must be a child of > the caller. > at flash.text::TextField/set htmlText() > at > mx.core::UITextField/sethtmlText()[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\UITextFi > eld.as:319] > at mx.controls::TextArea/mx.controls:TextArea::commitProperties > ()[C:\dev\flex_201_gmc\sdk\frameworks\mx\controls\TextArea.as:1841] > at mx.core::UIComponent/validateProperties > ()[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\UIComponent.as:5300] > at > mx.managers::LayoutManager/mx.managers:LayoutManager::validateProperties()[C:\dev\flex_201_gmc\sdk\frameworks\mx\managers\LayoutManager.as:517] > > at > mx.managers::LayoutManager/mx.managers:LayoutManager::doPhasedInstantiation > ()[C:\dev\flex_201_gmc\sdk\frameworks\mx\managers\LayoutManager.as:667] > at Function/http://adobe.com/AS3/2006/builtin::apply() > at mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher2 > ()[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\UIComponent.as:7909] > at mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher > ()[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\UIComponent.as:7852] > at flash.utils::Timer/flash.utils:Timer::_timerDispatch() > at flash.utils::Timer/flash.utils:Timer::tick() > > Any thoughts? > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > >