<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Comments on snippet: 'ImageComponent'</title>
    <description>Snipplr comments feed</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Sat, 13 Jun 2026 15:32:06 +0000</lastBuildDate>
    <item>
      <title>Winkyboy said on 18/May/2011</title>
      <link>https://snipplr.com/view/36508/imagecomponent</link>
      <description>&lt;p&gt;Regarding Flex, using this code: http://stackoverflow.com/questions/261386/how-to-put-an-image-say-png-on-a-graphics-in-flex-3&lt;/p&gt;</description>
      <pubDate>Wed, 18 May 2011 06:12:27 UTC</pubDate>
      <guid>https://snipplr.com/view/36508/imagecomponent</guid>
    </item>
    <item>
      <title>Winkyboy said on 19/May/2011</title>
      <link>https://snipplr.com/view/36508/imagecomponent</link>
      <description>&lt;p&gt;Here we go. Better, more direct and appropriate use of imageComponent in Flex:&#13;
&#13;
var imgComp:ImageComponent = new ImageComponent();&#13;
imgComp.image = "http://www.largeimage.com/users/guest/Hidden%20Hummingbird.thb.jpg";&#13;
var uic:UIComponent = new UIComponent();&#13;
uic.addChild(imgComp);&#13;
YOUR-UI-COMPONENT-GOES-HERE.addChild(uic);&lt;/p&gt;</description>
      <pubDate>Thu, 19 May 2011 01:48:42 UTC</pubDate>
      <guid>https://snipplr.com/view/36508/imagecomponent</guid>
    </item>
    <item>
      <title>Winkyboy said on 19/May/2011</title>
      <link>https://snipplr.com/view/36508/imagecomponent</link>
      <description>&lt;p&gt;SIGH. sorry about the lack of linebreaks... hopefully better here:&#13;
&#13;
`&#13;
var imgComp:ImageComponent = new ImageComponent();  &#13;
imgComp.image = "http://www.largeimage.com/users/guest/Hidden%20Hummingbird.thb.jpg";  &#13;
var uic:UIComponent = new UIComponent();  &#13;
uic.addChild(imgComp);  &#13;
hbxDetailImageContainer.addChild(uic);  &#13;
`&lt;/p&gt;</description>
      <pubDate>Thu, 19 May 2011 01:50:55 UTC</pubDate>
      <guid>https://snipplr.com/view/36508/imagecomponent</guid>
    </item>
  </channel>
</rss>
