<?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: Free AS3 Panning Fullscreen Image Class</title>
	<atom:link href="http://gfxcomplex.com/uncategorized/free-as3-panning-fullscreen-image-class/feed/" rel="self" type="application/rss+xml" />
	<link>http://gfxcomplex.com/uncategorized/free-as3-panning-fullscreen-image-class/</link>
	<description>looking for the beauty of complexity</description>
	<lastBuildDate>Fri, 27 Aug 2010 07:46:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Josh</title>
		<link>http://gfxcomplex.com/uncategorized/free-as3-panning-fullscreen-image-class/comment-page-1/#comment-1178</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Sun, 11 Jul 2010 16:55:30 +0000</pubDate>
		<guid isPermaLink="false">http://gfxcomplex.com/?p=259#comment-1178</guid>
		<description>The class extends the loader class so it disparages all the same events as events and you can listen to the PreloaderEvent</description>
		<content:encoded><![CDATA[<p>The class extends the loader class so it disparages all the same events as events and you can listen to the PreloaderEvent</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ben</title>
		<link>http://gfxcomplex.com/uncategorized/free-as3-panning-fullscreen-image-class/comment-page-1/#comment-1165</link>
		<dc:creator>ben</dc:creator>
		<pubDate>Wed, 30 Jun 2010 07:44:21 +0000</pubDate>
		<guid isPermaLink="false">http://gfxcomplex.com/?p=259#comment-1165</guid>
		<description>Where did my question go?</description>
		<content:encoded><![CDATA[<p>Where did my question go?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ben</title>
		<link>http://gfxcomplex.com/uncategorized/free-as3-panning-fullscreen-image-class/comment-page-1/#comment-1164</link>
		<dc:creator>ben</dc:creator>
		<pubDate>Tue, 29 Jun 2010 07:56:19 +0000</pubDate>
		<guid isPermaLink="false">http://gfxcomplex.com/?p=259#comment-1164</guid>
		<description>Hi there,

Love the class!
Just one small thing...
I&#039;m importing the class into my main.fla and i&#039;m trying to track the progress of the loading image from within this fla. (so that I can build a loading bar). 
Any tips?

Thanks

Ben</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>Love the class!<br />
Just one small thing&#8230;<br />
I&#8217;m importing the class into my main.fla and i&#8217;m trying to track the progress of the loading image from within this fla. (so that I can build a loading bar).<br />
Any tips?</p>
<p>Thanks</p>
<p>Ben</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Young</title>
		<link>http://gfxcomplex.com/uncategorized/free-as3-panning-fullscreen-image-class/comment-page-1/#comment-1142</link>
		<dc:creator>Nick Young</dc:creator>
		<pubDate>Sat, 22 May 2010 18:43:40 +0000</pubDate>
		<guid isPermaLink="false">http://gfxcomplex.com/?p=259#comment-1142</guid>
		<description>@ceexco

Thanks that worked!</description>
		<content:encoded><![CDATA[<p>@ceexco</p>
<p>Thanks that worked!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ceexco</title>
		<link>http://gfxcomplex.com/uncategorized/free-as3-panning-fullscreen-image-class/comment-page-1/#comment-993</link>
		<dc:creator>ceexco</dc:creator>
		<pubDate>Tue, 12 Jan 2010 15:37:39 +0000</pubDate>
		<guid isPermaLink="false">http://gfxcomplex.com/?p=259#comment-993</guid>
		<description>@Gerhard Barst

you got that error becuase probably you put the line “import flash.text.TextField” in the timeline of the main document.
instead you have to out the cose in the main.as</description>
		<content:encoded><![CDATA[<p>@Gerhard Barst</p>
<p>you got that error becuase probably you put the line “import flash.text.TextField” in the timeline of the main document.<br />
instead you have to out the cose in the main.as</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Benjamin</title>
		<link>http://gfxcomplex.com/uncategorized/free-as3-panning-fullscreen-image-class/comment-page-1/#comment-894</link>
		<dc:creator>Benjamin</dc:creator>
		<pubDate>Wed, 02 Sep 2009 08:01:32 +0000</pubDate>
		<guid isPermaLink="false">http://gfxcomplex.com/?p=259#comment-894</guid>
		<description>Is there a simple way of making this pan effect not full screen - i.e - in a small box within the flash page? 
A bit like this:

http://www.dangleberries.com/

(Click on a thumbnail once inside the site to see what I mean).

Thanks!

Bye.</description>
		<content:encoded><![CDATA[<p>Is there a simple way of making this pan effect not full screen &#8211; i.e &#8211; in a small box within the flash page?<br />
A bit like this:</p>
<p><a href="http://www.dangleberries.com/" rel="nofollow">http://www.dangleberries.com/</a></p>
<p>(Click on a thumbnail once inside the site to see what I mean).</p>
<p>Thanks!</p>
<p>Bye.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://gfxcomplex.com/uncategorized/free-as3-panning-fullscreen-image-class/comment-page-1/#comment-884</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Fri, 21 Aug 2009 18:48:55 +0000</pubDate>
		<guid isPermaLink="false">http://gfxcomplex.com/?p=259#comment-884</guid>
		<description>Hey Donna, I don&#039;t know if you&#039;ve figured out the problem with the image disappearing, I ran across your post looking for an answer to the same question.  I think I found the solution on another blog.  Here&#039;s the post:

What I found out (for a different project) was that MOUSE_MOVE seems to active when you MOUSE_DOWN as well, so for instance I was creating a video player who’s controls faded out when the mouse left the stage but I found that when the user was clicking, or selecting text, etc on other parts of the site the controls would appear. This got to me to using a hitTestPoint() with the mouse and stage to make sure that the user’s mouse was actually interacting with the Flash movie, and to cut a long story short it worked like dream.

So I thought I’d try the same method with the parallax box and it also worked rather nicely. I added this method to the class:

private function isOverStage():Boolean
{
var mouseX:Number = stage.mouseX;
var mouseY:Number = stage.mouseY;
return stage.hitTestPoint(mouseX, mouseY, false);
}

then I wrapped the contents of the onFrame() method already in the class with a simple if statement:

private function onFrame(e:Event):void {
if (isOverStage())
{
[rest of existing code]
}
}

This means that the parallax box will still finish off the movement it started before the mouse left the stage, which I found looked a bit smoother than pausing.</description>
		<content:encoded><![CDATA[<p>Hey Donna, I don&#8217;t know if you&#8217;ve figured out the problem with the image disappearing, I ran across your post looking for an answer to the same question.  I think I found the solution on another blog.  Here&#8217;s the post:</p>
<p>What I found out (for a different project) was that MOUSE_MOVE seems to active when you MOUSE_DOWN as well, so for instance I was creating a video player who’s controls faded out when the mouse left the stage but I found that when the user was clicking, or selecting text, etc on other parts of the site the controls would appear. This got to me to using a hitTestPoint() with the mouse and stage to make sure that the user’s mouse was actually interacting with the Flash movie, and to cut a long story short it worked like dream.</p>
<p>So I thought I’d try the same method with the parallax box and it also worked rather nicely. I added this method to the class:</p>
<p>private function isOverStage():Boolean<br />
{<br />
var mouseX:Number = stage.mouseX;<br />
var mouseY:Number = stage.mouseY;<br />
return stage.hitTestPoint(mouseX, mouseY, false);<br />
}</p>
<p>then I wrapped the contents of the onFrame() method already in the class with a simple if statement:</p>
<p>private function onFrame(e:Event):void {<br />
if (isOverStage())<br />
{<br />
[rest of existing code]<br />
}<br />
}</p>
<p>This means that the parallax box will still finish off the movement it started before the mouse left the stage, which I found looked a bit smoother than pausing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://gfxcomplex.com/uncategorized/free-as3-panning-fullscreen-image-class/comment-page-1/#comment-604</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 09 Jun 2009 19:16:34 +0000</pubDate>
		<guid isPermaLink="false">http://gfxcomplex.com/?p=259#comment-604</guid>
		<description>Sorry about any problems you are having I will see what I can do when I get a little time.

Though I don&#039;t have a mac so it would be great if I could get you to test for me. </description>
		<content:encoded><![CDATA[<p>Sorry about any problems you are having I will see what I can do when I get a little time.</p>
<p>Though I don&#8217;t have a mac so it would be great if I could get you to test for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Donna</title>
		<link>http://gfxcomplex.com/uncategorized/free-as3-panning-fullscreen-image-class/comment-page-1/#comment-588</link>
		<dc:creator>Donna</dc:creator>
		<pubDate>Fri, 05 Jun 2009 16:39:01 +0000</pubDate>
		<guid isPermaLink="false">http://gfxcomplex.com/?p=259#comment-588</guid>
		<description>This class works great on a PC, but on a Mac the loaded image disappears when you click off the browser (for example if the browser isn&#039;t full size and you click elsewhere on the screen to open a second browser or do anything else). Thought it might have to do with the Full Screen option so I took that function out in a test version, but the loaded image still disappears. Even modified the  PanningFullScreenImage class, took out the event listener for Event.REMOVED_FROM_STAGE, onRemoveFromStage but still the image disappears on the Mac... No change on a PC though. 

I actually think the image is reloading on the Mac. I see the loader again immediately after clicking off the browser, but the image won&#039;t appear again until I click back on the browser, as if the stage click reloads the image. 

Anyone have an idea how to fix this? My boss is on a Mac, so not having it work on a Mac isn&#039;t an option! For an example of what happens, I&#039;ve uploaded the example provided here, exactly as downloaded, no mods. Here&#039;s a link: www.jupiterxo.com/fullScreen/bin/PanningMain.html</description>
		<content:encoded><![CDATA[<p>This class works great on a PC, but on a Mac the loaded image disappears when you click off the browser (for example if the browser isn&#8217;t full size and you click elsewhere on the screen to open a second browser or do anything else). Thought it might have to do with the Full Screen option so I took that function out in a test version, but the loaded image still disappears. Even modified the  PanningFullScreenImage class, took out the event listener for Event.REMOVED_FROM_STAGE, onRemoveFromStage but still the image disappears on the Mac&#8230; No change on a PC though. </p>
<p>I actually think the image is reloading on the Mac. I see the loader again immediately after clicking off the browser, but the image won&#8217;t appear again until I click back on the browser, as if the stage click reloads the image. </p>
<p>Anyone have an idea how to fix this? My boss is on a Mac, so not having it work on a Mac isn&#8217;t an option! For an example of what happens, I&#8217;ve uploaded the example provided here, exactly as downloaded, no mods. Here&#8217;s a link: <a href="http://www.jupiterxo.com/fullScreen/bin/PanningMain.html" rel="nofollow">http://www.jupiterxo.com/fullScreen/bin/PanningMain.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michelle</title>
		<link>http://gfxcomplex.com/uncategorized/free-as3-panning-fullscreen-image-class/comment-page-1/#comment-450</link>
		<dc:creator>Michelle</dc:creator>
		<pubDate>Wed, 22 Apr 2009 02:24:28 +0000</pubDate>
		<guid isPermaLink="false">http://gfxcomplex.com/?p=259#comment-450</guid>
		<description>Ooops...comment in the wrong forum...</description>
		<content:encoded><![CDATA[<p>Ooops&#8230;comment in the wrong forum&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
