<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title><![CDATA[Hot Scripts Forums - Flash & ActionScript]]></title>
		<link>http://www.hotscripts.com/forums/</link>
		<description>Everything regarding Flash and ActionScript is discussed here!</description>
		<language>en</language>
		<lastBuildDate>Sun, 22 Nov 2009 17:35:05 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://cdn.hotscripts.com/forums/hsforum/misc/rss.jpg</url>
			<title><![CDATA[Hot Scripts Forums - Flash & ActionScript]]></title>
			<link>http://www.hotscripts.com/forums/</link>
		</image>
		<item>
			<title>AS3 Event Listener for a seperate class</title>
			<link>http://www.hotscripts.com/forums/showthread.php?t=55867&amp;goto=newpost</link>
			<pubDate>Fri, 13 Nov 2009 16:04:29 GMT</pubDate>
			<description><![CDATA[Hi all. I want to put an event listener onto an item on the stage through a custom class, although I just can't get the linkage right! 
 
Let's say I have a button, "redbutton" on the stage, and a custom class, blah.as, which includes... 
 
 
Code: 
---------...]]></description>
			<content:encoded><![CDATA[<div>Hi all. I want to put an event listener onto an item on the stage through a custom class, although I just can't get the linkage right!<br />
<br />
Let's say I have a button, &quot;redbutton&quot; on the stage, and a custom class, blah.as, which includes...<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">stage.redbutton.addEventListener(MouseEvent.CLICK, redfunction);<br />
function redfunction(event:MouseEvent):void{<br />
trace(&quot;wow&quot;);<br />
}</code><hr />
</div>This doesn't link up. I am aware that I shouldn't be using the stage at all, I'm just trying to experiment to find out how linkage correctly works. Equally so, I'd like to work out how to set an EventListener onto a different custom class, let's say at redbutton.as.<br />
<br />
Thanks in advance.</div>

]]></content:encoded>
			<category domain="http://www.hotscripts.com/forums/forumdisplay.php?f=50"><![CDATA[Flash & ActionScript]]></category>
			<dc:creator>mjjwatson</dc:creator>
			<guid isPermaLink="true">http://www.hotscripts.com/forums/showthread.php?t=55867</guid>
		</item>
		<item>
			<title>Help! how to use transitions effects!</title>
			<link>http://www.hotscripts.com/forums/showthread.php?t=55759&amp;goto=newpost</link>
			<pubDate>Wed, 04 Nov 2009 04:27:56 GMT</pubDate>
			<description><![CDATA[I'm wondering if someone here can help. 
 
What i have right now.. 
 
 is an image gallery, with controls that when clicked go to the next image, nothing fancy at all. The images are in a movie that i called 'images_mov' that movie is on a layer on my main movie. The main movie has three layers,...]]></description>
			<content:encoded><![CDATA[<div>I'm wondering if someone here can help.<br />
<br />
What i have right now..<br />
<br />
 is an image gallery, with controls that when clicked go to the next image, nothing fancy at all. The images are in a movie that i called 'images_mov' that movie is on a layer on my main movie. The main movie has three layers, (from the bottom up) the first contains the movie with all the images. The second has the controls, next and previous. The final top layer contains the action script. <br />
<br />
What i want to know ...<br />
<br />
is how can i add an effect on each image when the user clicks the next and or back button with out using tween effects, just pure action script. <br />
<br />
Also how can i make it so the movie plays automatically, but the user can still have some interactivity like going back an image or forward.<br />
<br />
Anyway here is my ac code i have<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">stop();<br />
<br />
function goPrev(event:MouseEvent):void {<br />
&nbsp; &nbsp; &nbsp; &nbsp; if (images_mov.currentFrame == 1) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; images_mov.gotoAndStop(totalFrames);<br />
&nbsp; &nbsp; &nbsp; &nbsp; } else {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; images_mov.prevFrame();<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
}<br />
<br />
function goNext(event:MouseEvent):void {<br />
&nbsp; &nbsp; &nbsp; &nbsp; if (images_mov.currentFrame == totalFrames) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; images_mov.gotoAndStop(1);<br />
&nbsp; &nbsp; &nbsp; &nbsp; } else {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; images_mov.nextFrame();<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
}<br />
<br />
prev_btn.addEventListener(MouseEvent.CLICK,goPrev);<br />
next_btn.addEventListener(MouseEvent.CLICK,goNext);</code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://www.hotscripts.com/forums/forumdisplay.php?f=50"><![CDATA[Flash & ActionScript]]></category>
			<dc:creator>dyablo687</dc:creator>
			<guid isPermaLink="true">http://www.hotscripts.com/forums/showthread.php?t=55759</guid>
		</item>
		<item>
			<title>Play SWF without flash player installed</title>
			<link>http://www.hotscripts.com/forums/showthread.php?t=55740&amp;goto=newpost</link>
			<pubDate>Mon, 02 Nov 2009 14:08:47 GMT</pubDate>
			<description>Is it possible to play flash without flash-player installed? I heard that SWF file and flash player itself may be included into one EXE file.</description>
			<content:encoded><![CDATA[<div>Is it possible to play flash without flash-player installed? I heard that SWF file and flash player itself may be included into one EXE file.</div>

]]></content:encoded>
			<category domain="http://www.hotscripts.com/forums/forumdisplay.php?f=50"><![CDATA[Flash & ActionScript]]></category>
			<dc:creator>Petrosyan</dc:creator>
			<guid isPermaLink="true">http://www.hotscripts.com/forums/showthread.php?t=55740</guid>
		</item>
		<item>
			<title>how to use flash</title>
			<link>http://www.hotscripts.com/forums/showthread.php?t=55623&amp;goto=newpost</link>
			<pubDate>Sat, 24 Oct 2009 07:01:01 GMT</pubDate>
			<description>Hi all, 
 
I want to use flash in my website development, but i do not know how to use it. Please  
suggest me some websites, where i can get good and easy tutorials also. 
 
Regards, 
sunanurag</description>
			<content:encoded><![CDATA[<div>Hi all,<br />
<br />
I want to use flash in my website development, but i do not know how to use it. Please <br />
suggest me some websites, where i can get good and easy tutorials also.<br />
<br />
Regards,<br />
sunanurag</div>

]]></content:encoded>
			<category domain="http://www.hotscripts.com/forums/forumdisplay.php?f=50"><![CDATA[Flash & ActionScript]]></category>
			<dc:creator>sunanurag</dc:creator>
			<guid isPermaLink="true">http://www.hotscripts.com/forums/showthread.php?t=55623</guid>
		</item>
	</channel>
</rss>
