<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: ImageToolTip</title>
	<atom:link href="http://blog.everythingflex.com/2006/09/29/imagetooltip/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.everythingflex.com/2006/09/29/imagetooltip/</link>
	<description>News and Information about Adobe Flex &#38; Adobe AIR by Rich Tretola</description>
	<lastBuildDate>Wed, 28 Dec 2011 05:30:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Venkatesan M</title>
		<link>http://blog.everythingflex.com/2006/09/29/imagetooltip/comment-page-1/#comment-52276</link>
		<dc:creator>Venkatesan M</dc:creator>
		<pubDate>Mon, 06 Jul 2009 06:07:14 +0000</pubDate>
		<guid isPermaLink="false">http://control-access8.com/~eflex/wordpress/?p=91#comment-52276</guid>
		<description>Hi all..

I am currently working on adobe flex 3.0. I have a requirement to make an image tooltip component. The requirements are as follows:

1)I have an image in my application(low resoultion one), say URL1.
2) when i mouse over it it should blow the same image in high resoultion, say URL2(i have both URL1 and URL2 with me) as a tooltip in a clear visible size,(say 300 X 300).
3) when i move my mouse out of it., i need the blow up to be closed


can any1 help me in doing this..

Thanks in advance.


Venkatesan M</description>
		<content:encoded><![CDATA[<p>Hi all..</p>
<p>I am currently working on adobe flex 3.0. I have a requirement to make an image tooltip component. The requirements are as follows:</p>
<p>1)I have an image in my application(low resoultion one), say URL1.<br />
2) when i mouse over it it should blow the same image in high resoultion, say URL2(i have both URL1 and URL2 with me) as a tooltip in a clear visible size,(say 300 X 300).<br />
3) when i move my mouse out of it., i need the blow up to be closed</p>
<p>can any1 help me in doing this..</p>
<p>Thanks in advance.</p>
<p>Venkatesan M</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://blog.everythingflex.com/2006/09/29/imagetooltip/comment-page-1/#comment-18062</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Wed, 27 Aug 2008 04:04:15 +0000</pubDate>
		<guid isPermaLink="false">http://control-access8.com/~eflex/wordpress/?p=91#comment-18062</guid>
		<description>I was on a tight timeframe and wasn&#039;t able to solve it unfortunately.

In the end I created a bit of a Frankenstein&#039;s monster by triggered an image popUp function using &#039;toolTipCreate&#039;. It wasn&#039;t exactly what I had in mind, but it gave the rollover/image popup feel.

My images paths are being loaded via XML (as the images themselves are always changing), so I used &#039;event.target.source&#039; to load the correct images from the thumbnails.

If you get it to work please email me!

Thanks for your help,

Mike



-------------------------
Code Below:





private function imagePopUp(event:Event):void {
        var img:Image = new Image();
        var imageString:String = event.target.source;               
        img.addEventListener(MouseEvent.CLICK, img_click);
        img.addEventListener(Event.COMPLETE, img_complete);                
        img.load(imageString);               
        PopUpManager.addPopUp(img, this, true);
    }

    private function img_complete(event:Event):void {
        var img:Image = event.currentTarget as Image;
        img.width = img.contentWidth;
        img.height = img.contentHeight;
        img.buttonMode = true;
        img.useHandCursor = true;
        img.toolTip = &quot;Click image to close&quot;
        PopUpManager.centerPopUp(img);
    }

    private function img_click(event:MouseEvent):void {
        var img:Image = event.currentTarget as Image;
        PopUpManager.removePopUp(img);
    }</description>
		<content:encoded><![CDATA[<p>I was on a tight timeframe and wasn&#8217;t able to solve it unfortunately.</p>
<p>In the end I created a bit of a Frankenstein&#8217;s monster by triggered an image popUp function using &#8216;toolTipCreate&#8217;. It wasn&#8217;t exactly what I had in mind, but it gave the rollover/image popup feel.</p>
<p>My images paths are being loaded via XML (as the images themselves are always changing), so I used &#8216;event.target.source&#8217; to load the correct images from the thumbnails.</p>
<p>If you get it to work please email me!</p>
<p>Thanks for your help,</p>
<p>Mike</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Code Below:</p>
<p>private function imagePopUp(event:Event):void {<br />
        var img:Image = new Image();<br />
        var imageString:String = event.target.source;<br />
        img.addEventListener(MouseEvent.CLICK, img_click);<br />
        img.addEventListener(Event.COMPLETE, img_complete);<br />
        img.load(imageString);<br />
        PopUpManager.addPopUp(img, this, true);<br />
    }</p>
<p>    private function img_complete(event:Event):void {<br />
        var img:Image = event.currentTarget as Image;<br />
        img.width = img.contentWidth;<br />
        img.height = img.contentHeight;<br />
        img.buttonMode = true;<br />
        img.useHandCursor = true;<br />
        img.toolTip = &#8220;Click image to close&#8221;<br />
        PopUpManager.centerPopUp(img);<br />
    }</p>
<p>    private function img_click(event:MouseEvent):void {<br />
        var img:Image = event.currentTarget as Image;<br />
        PopUpManager.removePopUp(img);<br />
    }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich Tretola</title>
		<link>http://blog.everythingflex.com/2006/09/29/imagetooltip/comment-page-1/#comment-18032</link>
		<dc:creator>Rich Tretola</dc:creator>
		<pubDate>Wed, 27 Aug 2008 00:46:26 +0000</pubDate>
		<guid isPermaLink="false">http://control-access8.com/~eflex/wordpress/?p=91#comment-18032</guid>
		<description>Feel free to hack my sample. Please let me know if you get it working and post a link to the new source if you can.</description>
		<content:encoded><![CDATA[<p>Feel free to hack my sample. Please let me know if you get it working and post a link to the new source if you can.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://blog.everythingflex.com/2006/09/29/imagetooltip/comment-page-1/#comment-18021</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 26 Aug 2008 23:38:14 +0000</pubDate>
		<guid isPermaLink="false">http://control-access8.com/~eflex/wordpress/?p=91#comment-18021</guid>
		<description>Thanks for getting back!

I have actually taken a lok at that one too, and yeah I se how the component doesn&#039;t take into account the ToolTipManager properties.

I&#039;ll keep working on it,

Thanks</description>
		<content:encoded><![CDATA[<p>Thanks for getting back!</p>
<p>I have actually taken a lok at that one too, and yeah I se how the component doesn&#8217;t take into account the ToolTipManager properties.</p>
<p>I&#8217;ll keep working on it,</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich Tretola</title>
		<link>http://blog.everythingflex.com/2006/09/29/imagetooltip/comment-page-1/#comment-17904</link>
		<dc:creator>Rich Tretola</dc:creator>
		<pubDate>Tue, 26 Aug 2008 13:03:54 +0000</pubDate>
		<guid isPermaLink="false">http://control-access8.com/~eflex/wordpress/?p=91#comment-17904</guid>
		<description>Wow, it has been a while since I looked at this. Here is a link that might help:
http://blogs.adobe.com/flexdoc/2007/05/positioning_tooltips_1.html

However, the component that I created does not account for these properties. It relies on the framework for the positioning.</description>
		<content:encoded><![CDATA[<p>Wow, it has been a while since I looked at this. Here is a link that might help:<br />
<a href="http://blogs.adobe.com/flexdoc/2007/05/positioning_tooltips_1.html" rel="nofollow">http://blogs.adobe.com/flexdoc/2007/05/positioning_tooltips_1.html</a></p>
<p>However, the component that I created does not account for these properties. It relies on the framework for the positioning.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

