Groups
Groups
Sign in
Groups
Groups
Flex India Community
Conversations
About
Send feedback
Help
HTML Component with Images
0 views
Skip to first unread message
kalai selvi
unread,
Nov 13, 2009, 6:17:30 AM
11/13/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to flex_...@googlegroups.com
<mx:Repeater id="repId" dataProvider="{arr}" height="197" >
<mx:HTML height="100" id="htmlComp" visible="true" includeInLayout="true" backgroundColor="#C0C0C0" width="239" click="getRichTextEditor(event);">
</mx:HTML>
</mx:Repeater>
or;
var htmlComp:HTML;
htmlComp.htmlLoader.placeLoadStringContentInApplicationSandbox = true;
htmlComp.htmlText='<h1>sample</h1><img src="assets/curvebottom.jpg"/>';
for(var i:int = 0; i <10;i++) {
htmlComp=new HTML();
htmlComp.height=100;
htmlComp.htmlText='<h1>sample</h1><img src="assets/curvebottom.jpg"/>';
contentContainer.addChild(htmlComp);
in both way i am getting Errot :TypeError: Error #1010: A term is undefined and has no properties.
or null object.
if i am remove the <repeater> or that for loop it shows the image properly.if add these two i am getting this error.
so plz let me know the solution.
Regards,
KalaiSelvi.R
Reply all
Reply to author
Forward
0 new messages