<?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>ActionScript.org Forums</title>
		<link>http://www.actionscript.org/forums/</link>
		<description>ActionScript.org is a large online community for Macromedia Flash developers at all skill levels. We offer tutorials, open source, scripting assistance, book reviews, scene news and a means of contact between developers.</description>
		<language>en</language>
		<lastBuildDate>Sat, 21 Nov 2009 14:08:32 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.actionscript.org/forums/images/misc/rss.jpg</url>
			<title>ActionScript.org Forums</title>
			<link>http://www.actionscript.org/forums/</link>
		</image>
		<item>
			<title>advanced loader question</title>
			<link>http://www.actionscript.org/forums/showthread.php3?t=223377&amp;goto=newpost</link>
			<pubDate>Sat, 21 Nov 2009 14:04:10 GMT</pubDate>
			<description>So the a typical loader displays a percent loaded (getBytesTotal/getBytesLoaded).. my questions is this: 
 
is there a way to get my swf to spit back...</description>
			<content:encoded><![CDATA[<div>So the a typical loader displays a percent loaded (getBytesTotal/getBytesLoaded).. my questions is this:<br />
<br />
is there a way to get my swf to spit back the actual asset currently loading with in the my flash movie at the user?<br />
<br />
any ideas would be appreciated..</div>

]]></content:encoded>
			<category domain="http://www.actionscript.org/forums/forumdisplay.php3?f=35">ActionScript 2.0</category>
			<dc:creator>eliddell</dc:creator>
			<guid isPermaLink="true">http://www.actionscript.org/forums/showthread.php3?t=223377</guid>
		</item>
		<item>
			<title>big project</title>
			<link>http://www.actionscript.org/forums/showthread.php3?t=223376&amp;goto=newpost</link>
			<pubDate>Sat, 21 Nov 2009 14:00:00 GMT</pubDate>
			<description><![CDATA[a2 is a circle movieclip in library  
 
ok i want to do something when user click on then cricle movieClip for example show obj.str but i can't. this...]]></description>
			<content:encoded><![CDATA[<div>a2 is a circle movieclip in library <br />
<br />
ok i want to do something when user click on then cricle movieClip for example show obj.str but i can't. this is a small problem of big project<br />
in big project i loaded data from xml file and put different nodes in array then i put text and photo in scrollPane and now i want to when user click in the photo the video play on the other side but how can i find video ? which video i have to open ? so i supposed if i have an object i could solve this problem but i can't. i can't like bellow codes.i suppose if i can send arguments to onClick function for example obj.mc.addEventListener(MouseEvent.CLICK,onClick(o  bj.str));<br />
maybe i can solve problem but i can't. <br />
how can i solve problem?<br />
<br />
notice: in this sample i can use obj without any problem because obj is global but in my project obj is not a global variable<br />
/*---------------------------------------------------------------------*/<br />
<br />
<br />
var obj:Object=new Object();<br />
var mc:MovieClip;<br />
var n:Number=10;<br />
var str:String=new String();<br />
obj.str=&quot;amir rafighi&quot;;<br />
obj.mc=new a2();<br />
obj.mc.x=100;<br />
obj.mc.y=100;<br />
obj.mc.buttonMode=true;<br />
obj.mc.addEventListener(MouseEvent.CLICK,onClick);<br />
addChild(obj.mc);<br />
<br />
function onClick(evt:Event){<br />
	var obj1:Object=evt.target;<br />
	trace(&quot;click&quot;);<br />
	obj1.x+=20;<br />
	obj1.y+=20;<br />
}<br />
<br />
/*---------------------------------------------------------------------*/</div>

]]></content:encoded>
			<category domain="http://www.actionscript.org/forums/forumdisplay.php3?f=75">ActionScript 3.0</category>
			<dc:creator>rafighi</dc:creator>
			<guid isPermaLink="true">http://www.actionscript.org/forums/showthread.php3?t=223376</guid>
		</item>
		<item>
			<title>how do i get 5 random images from a mysql database?</title>
			<link>http://www.actionscript.org/forums/showthread.php3?t=223375&amp;goto=newpost</link>
			<pubDate>Sat, 21 Nov 2009 13:11:40 GMT</pubDate>
			<description>i have done some of the basic part of it, but i dont know how to (using flash) get 5 random images from my database, 
 
also, i want to get the name...</description>
			<content:encoded><![CDATA[<div>i have done some of the basic part of it, but i dont know how to (using flash) get 5 random images from my database,<br />
<br />
also, i want to get the name of the file from my database and display it under the picture.<br />
<br />
here is what i have so far:</div>


	<br />
	<div style="padding:6px">

	

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Files</legend>
			<table cellpadding="0" cellspacing="3" border="0">
			<tr>
	<td><img class="inlineimg" src="http://www.actionscript.org/forums/images/attach/zip.gif" alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://www.actionscript.org/forums/attachment.php3?attachmentid=32964&amp;d=1258809092">polaroids.zip</a> (96.3 KB)</td>
</tr>
			</table>
		</fieldset>
	

	</div>
]]></content:encoded>
			<category domain="http://www.actionscript.org/forums/forumdisplay.php3?f=35">ActionScript 2.0</category>
			<dc:creator>Adam_C</dc:creator>
			<guid isPermaLink="true">http://www.actionscript.org/forums/showthread.php3?t=223375</guid>
		</item>
		<item>
			<title>problem when loading .asp</title>
			<link>http://www.actionscript.org/forums/showthread.php3?t=223374&amp;goto=newpost</link>
			<pubDate>Sat, 21 Nov 2009 12:51:09 GMT</pubDate>
			<description>AS2.0 
code in .as as follows: 
 
class FrontofEntry { 
 
// Properties 
 
private var entryLoaderoadVars; 
 
// Constructor</description>
			<content:encoded><![CDATA[<div>AS2.0<br />
code in .as as follows:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">ActionScript Code:</div>
	<pre class="alt2" style="margin:0px; padding:6px; border:1px inset; width:100%; height:516px; overflow:auto"><div dir="ltr" style="text-align:left;"><div class="actionscript"><span style="color: #993300;">class</span> FrontofEntry <span style="color: #000000;">&#123;</span>

<span style="color: #F000F0; font-style: italic;">// Properties</span>

<span style="color: #993300;">private</span> <span style="color: #993300;">var</span> entryLoaderoadVars;

<span style="color: #F000F0; font-style: italic;">// Constructor</span>

<span style="color: #993300;">public</span> <span style="color: #993300;">function</span> FrontofEntry<span style="color: #000000;">&#40;</span>id:<span style="color: #993300;">Number</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>

&nbsp; entryLoader = <span style="color: #993300;">new</span> <span style="color: #993300;">LoadVars</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;

&nbsp; entryLoader.<span style="color: #993300;">onLoad</span> = <span style="color: #993300;">function</span><span style="color: #000000;">&#40;</span>success:<span style="color: #993300;">Boolean</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>

&nbsp; &nbsp;<span style="color: #993300;">if</span> <span style="color: #000000;">&#40;</span>success<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>

&nbsp; &nbsp; _level0.<span style="color: #000000;">entryID</span> = <span style="color: #0000FF;">"ID of Entry: "</span>+<span style="color: #993300;">this</span>.<span style="color: #000000;">ID</span>;

&nbsp; &nbsp; _level0.<span style="color: #000000;">vocSpeech</span> = <span style="color: #0000FF;">"art of Speech: "</span>+<span style="color: #993300;">this</span>.<span style="color: #000000;">Speech</span>;

&nbsp; &nbsp; _level0.<span style="color: #000000;">vocWord</span> = <span style="color: #0000FF;">"Word to Learn: "</span>+<span style="color: #993300;">this</span>.<span style="color: #000000;">Word</span>;

&nbsp; &nbsp; _level0.<span style="color: #000000;">vocContext</span> = <span style="color: #0000FF;">"Context: <span style="color: #000099; font-weight: bold;">\n</span>"</span>+<span style="color: #993300;">this</span>.<span style="color: #000000;">Context</span>;

&nbsp; &nbsp; _level0.<span style="color: #000000;">vocSource</span> = <span style="color: #0000FF;">"Source: "</span>+<span style="color: #993300;">this</span>.<span style="color: #000000;">Source</span>;

&nbsp; &nbsp; _level0.<span style="color: #000000;">vocDate</span> = <span style="color: #0000FF;">"Date of Entry: "</span>+<span style="color: #993300;">this</span>.<span style="color: #993300;">Date</span>;

&nbsp; &nbsp;<span style="color: #000000;">&#125;</span> <span style="color: #993300;">else</span> <span style="color: #000000;">&#123;</span>

&nbsp; &nbsp; _level0.<span style="color: #000000;">entryID</span> = <span style="color: #0000FF;">"Error - Loading Failed!"</span>;

&nbsp; &nbsp;<span style="color: #000000;">&#125;</span>

&nbsp; <span style="color: #000000;">&#125;</span>;

&nbsp; entryLoader.<span style="color: #993300;">load</span><span style="color: #000000;">&#40;</span><span style="color: #0000FF;">"GetDetails.asp?Entry="</span>+id<span style="color: #000000;">&#41;</span>;

<span style="color: #000000;">&#125;</span>

<span style="color: #000000;">&#125;</span></div></div></pre>
</div>code in .fla as follows:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">ActionScript Code:</div>
	<pre class="alt2" style="margin:0px; padding:6px; border:1px inset; width:100%; height:52px; overflow:auto"><div dir="ltr" style="text-align:left;"><div class="actionscript"><span style="color: #993300;">var</span> firstEntry:FrontofEntry = <span style="color: #993300;">new</span> FrontofEntry<span style="color: #000000;">&#40;</span><span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span>;</div></div></pre>
</div>System: win xp pro sp3 with iis 5.1<br />
Why is the output window Flash is always prompting:<br />
Error opening URL 'file:///D|/Websites/VocabularyPool/GetDetails.asp?Entry=0'<br />
While the test by localhost is relatively normal.<br />
Reason for &quot;relatively&quot;&#65306;<br />
After each modification made to .fla or .as, I refreshed the webpage with nothing changed accordingly. Rather, changes occured only after i restarted my browser? (be it maxthon 2 or ie 8) <br />
And why so?<br />
<br />
Note, this is my first time to use the skill of &quot;asp+flash&quot;, and i know little about the connection.</div>

]]></content:encoded>
			<category domain="http://www.actionscript.org/forums/forumdisplay.php3?f=35">ActionScript 2.0</category>
			<dc:creator>Deackie</dc:creator>
			<guid isPermaLink="true">http://www.actionscript.org/forums/showthread.php3?t=223374</guid>
		</item>
		<item>
			<title>Christmas postcard . sending dynamic image by mail</title>
			<link>http://www.actionscript.org/forums/showthread.php3?t=223373&amp;goto=newpost</link>
			<pubDate>Sat, 21 Nov 2009 12:20:59 GMT</pubDate>
			<description>Hi, 
 
I´m doing one christmas postcard in flash that works this way: 
 
We drag some elements to a scenario and when we finish we send the image...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I´m doing one christmas postcard in flash that works this way:<br />
<br />
We drag some elements to a scenario and when we finish we send the image that we made to our friends and invite them to make one.<br />
<br />
This as been done hundred times but I can't find this tutorial online, I guess I´m not making the right search.<br />
<br />
My problem is the part when you send the message with the dynamic image the user has done.<br />
<br />
I'm posting this on AS2 and AS3 forums, if anyone could help me finding this tutorial or explain me how can I do this I do be appreciated.<br />
<br />
Thanks,<br />
<br />
Susana</div>

]]></content:encoded>
			<category domain="http://www.actionscript.org/forums/forumdisplay.php3?f=35">ActionScript 2.0</category>
			<dc:creator>susanadrt</dc:creator>
			<guid isPermaLink="true">http://www.actionscript.org/forums/showthread.php3?t=223373</guid>
		</item>
		<item>
			<title>Making Business Intelligence Applications Smart with Oracle OLAP</title>
			<link>http://www.actionscript.org/forums/showthread.php3?t=223372&amp;goto=newpost</link>
			<pubDate>Sat, 21 Nov 2009 12:20:46 GMT</pubDate>
			<description>Hi there, ;) 
 
Written in a *tutorial style*, this book gives a step-by-step development of the defining principles of *OLAP analysis* through the...</description>
			<content:encoded><![CDATA[<div>Hi there, ;)<br />
<br />
Written in a <b>tutorial style</b>, this book gives a step-by-step development of the defining principles of <b>OLAP analysis</b> through the lens of the programming language at the heart<b> of Oracle's OLAP option</b>. This book will show you ways to leverage the value of your data warehouse through refining the information it contains to create cogent, actionable measures of business performance. The content is <b>informative and practical</b>, reflecting over 15 years of hands-on experience developing multidimensional analytic applications for over a dozen companies.  Whether you are new to business intelligence or a seasoned practitioner, whether you are using Oracle OLAP now or another toolset, <b>The Multi-dimensional Data ModelingToolkit </b>will have something significant to offer you.<br />
<br />
<br />
The content of the book is based on the<b> Oracle 10g database</b>, however, most of the programming statements shown will work with other editions of the database, <b>such as Oracle 9i and 11g</b>, and even earlier editions of the technology found in stand-alone products such as the <b>Express database, Oracle Financial Analyzer, and Oracle Sales Analyzer</b>. So if you are developing business intelligence systems in Oracle or porting from one of these platforms this book gives you helpful information you will use to get the job done.<br />
<br />
The reader will gain a detailed knowledge of the <b>Oracle OLAP DML programming language</b>, they will see a plethora of analytical devices specific to the OLAP approach, they will learn the relationship between the tables in a relational data warehouse and the storage devices employed by <b>OLAP cubes; the Oracle OLAP metadata</b> will be examined.<br />
<br />
<b>Business intelligence developers</b> who want in-depth understanding and expert skill levels with OLAP will find that the book takes them significantly beyond product documentation and a wizard-based exposure to the technology.<br />
<br />
<br />
The book can be easily downloaded by visiting<b> “<a href="http://www.amazon.com/Multidimensional-Data-Modeling-Toolkit-Intelligence/dp/0981775306" target="_blank">THE MULTIDIMENSIONAL DATA MODELING TOOLKIT “</a><br />
</b><br />
<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">http://www.amazon.com/Multidimensional-Data-Modeling-Toolkit-Intelligence/dp/0981775306</code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://www.actionscript.org/forums/forumdisplay.php3?f=92">Best Practices</category>
			<dc:creator>hamlin</dc:creator>
			<guid isPermaLink="true">http://www.actionscript.org/forums/showthread.php3?t=223372</guid>
		</item>
		<item>
			<title>Christmas postcard . sending dynamic image by mail</title>
			<link>http://www.actionscript.org/forums/showthread.php3?t=223371&amp;goto=newpost</link>
			<pubDate>Sat, 21 Nov 2009 12:19:37 GMT</pubDate>
			<description>Hi, 
 
I´m doing one christmas postcard in flash that works this way: 
 
We drag some elements to a scenario and when we finish we send the image...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I´m doing one christmas postcard in flash that works this way:<br />
<br />
We drag some elements to a scenario and when we finish we send the image that we made to our friends and invite them to make one.<br />
<br />
This as been done hundred times but I can't find this tutorial online, I guess I´m not making the right search.<br />
<br />
My problem is the part when you send the message with the dynamic image the user has done.<br />
<br />
I'm posting this on AS2 and AS3 forums, if anyone could help me finding this tutorial or explain me how can I do this I do be appreciated.<br />
<br />
Thanks,<br />
<br />
Susana</div>

]]></content:encoded>
			<category domain="http://www.actionscript.org/forums/forumdisplay.php3?f=75">ActionScript 3.0</category>
			<dc:creator>susanadrt</dc:creator>
			<guid isPermaLink="true">http://www.actionscript.org/forums/showthread.php3?t=223371</guid>
		</item>
		<item>
			<title>PHP MYSql and FLash</title>
			<link>http://www.actionscript.org/forums/showthread.php3?t=223370&amp;goto=newpost</link>
			<pubDate>Sat, 21 Nov 2009 11:52:31 GMT</pubDate>
			<description>Hi.. Please help me. I want to know mysql database and Flash with usinng php 
If you have tutorial website or E book , Pleas help me.</description>
			<content:encoded><![CDATA[<div>Hi.. Please help me. I want to know mysql database and Flash with usinng php<br />
If you have tutorial website or E book , Pleas help me.</div>

]]></content:encoded>
			<category domain="http://www.actionscript.org/forums/forumdisplay.php3?f=86">Flash 9 General Questions</category>
			<dc:creator>soesan</dc:creator>
			<guid isPermaLink="true">http://www.actionscript.org/forums/showthread.php3?t=223370</guid>
		</item>
		<item>
			<title>FLVPlayback not showing up at all</title>
			<link>http://www.actionscript.org/forums/showthread.php3?t=223369&amp;goto=newpost</link>
			<pubDate>Sat, 21 Nov 2009 11:03:04 GMT</pubDate>
			<description><![CDATA[Hi all, 
I'm attempting to customize a flash template from template monster for a friend and, as it turns out, am only slightly less retarded with it...]]></description>
			<content:encoded><![CDATA[<div>Hi all,<br />
I'm attempting to customize a flash template from template monster for a friend and, as it turns out, am only slightly less retarded with it than they are.<br />
<br />
I got all the content entered fine, but when I place the flvplayback component on the video page and export the movie, there's no video. The website is <a href="http://www.pboldenministries.org" target="_blank">http://www.pboldenministries.org</a><br />
<br />
Just to make sure that it wasn't a function of my own idiocy, I tried to import the video in a new as2.0 file and export it and it played fine.<br />
<br />
I know there's something in the template script that I'm not equipped to fix, and I would appreciate a second set of eyes as I've been at this for the last 7 hours.  I've scoured this forum and google, I've deleted stuff, I've read tutorials and I just don't get it.<br />
<br />
Here's a link to the source file:<br />
<a href="http://www.pboldenministries.org/source.zip" target="_blank">http://www.pboldenministries.org/source.zip</a><br />
<br />
If you look in the movie clip pages, the Video page is the 3rd frame.<br />
Huge thanks in advance for your time.</div>

]]></content:encoded>
			<category domain="http://www.actionscript.org/forums/forumdisplay.php3?f=35">ActionScript 2.0</category>
			<dc:creator>chrismarie</dc:creator>
			<guid isPermaLink="true">http://www.actionscript.org/forums/showthread.php3?t=223369</guid>
		</item>
		<item>
			<title>Help Needed regarding flash</title>
			<link>http://www.actionscript.org/forums/showthread.php3?t=223368&amp;goto=newpost</link>
			<pubDate>Sat, 21 Nov 2009 10:01:15 GMT</pubDate>
			<description>Hello friends.. well i m new on this forum and not much aware about it.. So posting this thread here.. 
 
Well i have made one site... in flash.....</description>
			<content:encoded><![CDATA[<div>Hello friends.. well i m new on this forum and not much aware about it.. So posting this thread here..<br />
<br />
Well i have made one site... in flash.. Basically i have taken one template from net and edited in.. now i m confused at one place.. and need some help. And i m not a flash expert.. just know little abt it.. and can edit one template..<br />
<br />
One one page i need to open one popup to add more details about it.. and i don't know how to do that...<br />
<br />
If anyone can help me out then plz.. i will mail him the fla and details... and i have asked for help at many forums but no solution yet..<br />
<br />
So can anyone help me out..?? :confused:</div>

]]></content:encoded>
			<category domain="http://www.actionscript.org/forums/forumdisplay.php3?f=49">General Chat</category>
			<dc:creator>ash_only_ash</dc:creator>
			<guid isPermaLink="true">http://www.actionscript.org/forums/showthread.php3?t=223368</guid>
		</item>
		<item>
			<title>wait till the end of animation!</title>
			<link>http://www.actionscript.org/forums/showthread.php3?t=223367&amp;goto=newpost</link>
			<pubDate>Sat, 21 Nov 2009 09:56:26 GMT</pubDate>
			<description>i have to stop the code execution until the animation is finished.. how to do that? 
 
code is something like.. 
 
gotoandPlay(x); 
//something to...</description>
			<content:encoded><![CDATA[<div>i have to stop the code execution until the animation is finished.. how to do that?<br />
<br />
code is something like..<br />
<br />
gotoandPlay(x);<br />
//something to make it wait but don't stop the animation<br />
nextAction();<br />
<br />
thanks :)</div>

]]></content:encoded>
			<category domain="http://www.actionscript.org/forums/forumdisplay.php3?f=53">Simple Stuff (Newbies)</category>
			<dc:creator>Lotti</dc:creator>
			<guid isPermaLink="true">http://www.actionscript.org/forums/showthread.php3?t=223367</guid>
		</item>
		<item>
			<title>Error #2044: and other problems :(</title>
			<link>http://www.actionscript.org/forums/showthread.php3?t=223366&amp;goto=newpost</link>
			<pubDate>Sat, 21 Nov 2009 09:53:24 GMT</pubDate>
			<description>Hey guys im new to actionscript but i have created myself a new website and i get the following error 
 
Error #2044: Unhandled IOErrorEvent:....</description>
			<content:encoded><![CDATA[<div>Hey guys im new to actionscript but i have created myself a new website and i get the following error<br />
<br />
Error #2044: Unhandled IOErrorEvent:. text=Error #2032: Stream Error.<br />
	at flash_fla::MainTimeline/frame1()<br />
<br />
The website loads ok but if i navigate around and click home again i get:<br />
<br />
Error #2044: Unhandled IOErrorEvent:. text=Error #2032: Stream Error.<br />
	at flash_fla::MainTimeline/frame1()<br />
	at flash.display::MovieClip/gotoAndStop()<br />
	at flash_fla::MainTimeline/clickSection()<br />
<br />
<br />
It will be Christmas for me if anyone could help me, im trying to get my head around all this actionscript !!<br />
<br />
Here is the code im using, i have set up a few segments of code on different frames in the flash time line but this is the code from the first section, i had more errors but they were relating to my pre-loader which i deleted and il give that another go later :(<br />
<br />
I have failed at a few things in my code. Getting multiple images to load into a ui loader, creating a pre loader and making a &quot;fluid&quot; or &quot;liquid&quot; page.<br />
<br />
Heres the code, i have no idea where the error is so il post all of the code. I hope this ok me posting here :s<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">ActionScript Code:</div>
	<pre class="alt2" style="margin:0px; padding:6px; border:1px inset; width:100%; height:516px; overflow:auto"><div dir="ltr" style="text-align:left;"><div class="actionscript"><span style="color: #993300;">stop</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
<span style="color: #F000F0; font-style: italic;">//stageResize</span>
<span style="color: #993300;">stage</span>.<span style="color: #993300;">scaleMode</span> = StageScaleMode.<span style="color: #000000;">NO_SCALE</span>;
<span style="color: #F000F0; font-style: italic;">//stage.align = StageAlign.LEFT;&nbsp; &nbsp; &nbsp; &nbsp; REMOVED THIS SO STAGE DOESNT CHANGE</span>
<span style="color: #993300;">stage</span>.<span style="color: #000000;">addEventListener</span><span style="color: #000000;">&#40;</span>Event.<span style="color: #000000;">RESIZE</span>, resizeListener<span style="color: #000000;">&#41;</span>;

<span style="color: #993300;">function</span> resizeListener <span style="color: #000000;">&#40;</span><span style="color: #993300;">e</span>:Event<span style="color: #000000;">&#41;</span>:<span style="color: #993300;">void</span> <span style="color: #000000;">&#123;</span>
&nbsp; &nbsp; 
&nbsp; &nbsp; <span style="color: #F000F0; font-style: italic;">//set logo&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;REMOVED SO LOGO WONT MOVE</span>
<span style="color: #F000F0; font-style: italic;">//logo_mc.x = stage.stageWidth / 4;</span>
<span style="color: #F000F0; font-style: italic;">//set logo end</span>
&nbsp; &nbsp; 
&nbsp; &nbsp; <span style="color: #F000F0; font-style: italic;">//trace size</span>
<span style="color: #993300;">trace</span><span style="color: #000000;">&#40;</span><span style="color: #0000FF;">"stageWidth: "</span> + <span style="color: #993300;">stage</span>.<span style="color: #000000;">stageWidth</span> + <span style="color: #0000FF;">" stageHeight: "</span> + <span style="color: #993300;">stage</span>.<span style="color: #000000;">stageHeight</span><span style="color: #000000;">&#41;</span>;
<span style="color: #000000;">&#125;</span>

<span style="color: #F000F0; font-style: italic;">//handle events for buttons...</span>
home_btn.<span style="color: #000000;">addEventListener</span><span style="color: #000000;">&#40;</span>MouseEvent.<span style="color: #000000;">CLICK</span>, clickSection<span style="color: #000000;">&#41;</span>;
contact_btn.<span style="color: #000000;">addEventListener</span><span style="color: #000000;">&#40;</span>MouseEvent.<span style="color: #000000;">CLICK</span>, clickSection<span style="color: #000000;">&#41;</span>;
wedding_btn.<span style="color: #000000;">addEventListener</span><span style="color: #000000;">&#40;</span>MouseEvent.<span style="color: #000000;">CLICK</span>, clickSection<span style="color: #000000;">&#41;</span>;
portraiture_btn.<span style="color: #000000;">addEventListener</span><span style="color: #000000;">&#40;</span>MouseEvent.<span style="color: #000000;">CLICK</span>, clickSection<span style="color: #000000;">&#41;</span>;
testimonials_btn.<span style="color: #000000;">addEventListener</span><span style="color: #000000;">&#40;</span>MouseEvent.<span style="color: #000000;">CLICK</span>, clickSection<span style="color: #000000;">&#41;</span>;
packages_btn.<span style="color: #000000;">addEventListener</span><span style="color: #000000;">&#40;</span>MouseEvent.<span style="color: #000000;">CLICK</span>, clickSection<span style="color: #000000;">&#41;</span>;
album1_btn.<span style="color: #000000;">addEventListener</span><span style="color: #000000;">&#40;</span>MouseEvent.<span style="color: #000000;">CLICK</span>, clickSection<span style="color: #000000;">&#41;</span>;
album2_btn.<span style="color: #000000;">addEventListener</span><span style="color: #000000;">&#40;</span>MouseEvent.<span style="color: #000000;">CLICK</span>, clickSection<span style="color: #000000;">&#41;</span>;
how_btn.<span style="color: #000000;">addEventListener</span><span style="color: #000000;">&#40;</span>MouseEvent.<span style="color: #000000;">CLICK</span>, clickSection<span style="color: #000000;">&#41;</span>;
<span style="color: #993300;">function</span> clickSection<span style="color: #000000;">&#40;</span>evtObj:MouseEvent<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>
<span style="color: #F000F0; font-style: italic;">//trace shows whats happening...</span>
<span style="color: #993300;">trace</span> <span style="color: #000000;">&#40;</span><span style="color: #0000FF;">"the "</span>+evtObj.<span style="color: #993300;">target</span>.<span style="color: #993300;">name</span>+<span style="color: #0000FF;">" button was clicked"</span><span style="color: #000000;">&#41;</span>
<span style="color: #F000F0; font-style: italic;">//go to the section clciked on</span>
<span style="color: #993300;">gotoAndStop</span><span style="color: #000000;">&#40;</span>evtObj.<span style="color: #993300;">target</span>.<span style="color: #993300;">name</span><span style="color: #000000;">&#41;</span>;

<span style="color: #000000;">&#125;</span>
<span style="color: #F000F0; font-style: italic;">//try to make blog button link to my blog :D..</span>
blog_btn.<span style="color: #000000;">addEventListener</span><span style="color: #000000;">&#40;</span>MouseEvent.<span style="color: #000000;">MOUSE_DOWN</span>, mouseDownHandler<span style="color: #000000;">&#41;</span>;
<span style="color: #993300;">function</span> mouseDownHandler<span style="color: #000000;">&#40;</span>event:MouseEvent<span style="color: #000000;">&#41;</span>:<span style="color: #993300;">void</span> <span style="color: #000000;">&#123;</span>
&nbsp; &nbsp; navigateToURL<span style="color: #000000;">&#40;</span><span style="color: #993300;">new</span> URLRequest<span style="color: #000000;">&#40;</span><span style="color: #0000FF;">"http://www.shaneephraimsphotography.com/blog"</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;
<span style="color: #000000;">&#125;</span></div></div></pre>
</div><br />
:confused:<br />
<br />
<b>The website is</b> here: <a href="http://shaneephraimsphotography.com/flash.html" target="_blank">http://shaneephraimsphotography.com/flash.html</a><br />
<br />
I only get the error in IE oh and my mp3 doesnt load when i click &quot;on&quot;. :(</div>

]]></content:encoded>
			<category domain="http://www.actionscript.org/forums/forumdisplay.php3?f=75">ActionScript 3.0</category>
			<dc:creator>Shane Ephraims</dc:creator>
			<guid isPermaLink="true">http://www.actionscript.org/forums/showthread.php3?t=223366</guid>
		</item>
		<item>
			<title>how to put photo gallery on flash cs4</title>
			<link>http://www.actionscript.org/forums/showthread.php3?t=223365&amp;goto=newpost</link>
			<pubDate>Sat, 21 Nov 2009 08:13:26 GMT</pubDate>
			<description><![CDATA[hi there any actionscript codes for it? i'm kinda new to flash.. but I already learned a lot thanks to lynda.com]]></description>
			<content:encoded><![CDATA[<div>hi there any actionscript codes for it? i'm kinda new to flash.. but I already learned a lot thanks to lynda.com</div>

]]></content:encoded>
			<category domain="http://www.actionscript.org/forums/forumdisplay.php3?f=53">Simple Stuff (Newbies)</category>
			<dc:creator>johnclancy</dc:creator>
			<guid isPermaLink="true">http://www.actionscript.org/forums/showthread.php3?t=223365</guid>
		</item>
		<item>
			<title>Aid desired for ProgressBars added at runtime</title>
			<link>http://www.actionscript.org/forums/showthread.php3?t=223364&amp;goto=newpost</link>
			<pubDate>Sat, 21 Nov 2009 08:06:55 GMT</pubDate>
			<description>Hello, I am trying to figure out ProgressBars. 
 
I wish to add a manual ProgressBar to the application at runtime, have it progress for a set number...</description>
			<content:encoded><![CDATA[<div>Hello, I am trying to figure out ProgressBars.<br />
<br />
I wish to add a manual ProgressBar to the application at runtime, have it progress for a set number of seconds (changes based on different factors), then call another function when it finishes, as well as remove itself from the application.<br />
<br />
The approach that I have been taking so far is to have a Panel created in MXML in a Flex project. When I click a button, a new ProgressBar is created in ActionScript, then added as a child to the Panel. With the button press, I am also starting a timer that I hope to change the progress of the manual ProgressBar with each timer tick.<br />
<br />
The issue I am running into is that I do not have access to any properties of the ProgressBar that hasn't been created yet, because the progress bar will be added at runtime.<br />
<br />
<br />
Am I pursuing the correct course of action... Is there an easier way to have a progress bar to run for a set number of seconds that I can tell it, or should I attempt to just have a progress bar created at compile time and find a way to hide it while it is dormant?</div>

]]></content:encoded>
			<category domain="http://www.actionscript.org/forums/forumdisplay.php3?f=74"><![CDATA[Flex 2 & 3]]></category>
			<dc:creator>moviegameguy</dc:creator>
			<guid isPermaLink="true">http://www.actionscript.org/forums/showthread.php3?t=223364</guid>
		</item>
		<item>
			<title><![CDATA[&& and ||]]></title>
			<link>http://www.actionscript.org/forums/showthread.php3?t=223363&amp;goto=newpost</link>
			<pubDate>Sat, 21 Nov 2009 07:48:42 GMT</pubDate>
			<description><![CDATA[Hi! 
 
Simple question: Can I use "and" and "or" instead of && and || in actionscript 3? 
 
Like this: 
if (wind < windDir and p % 3 == 0)instead of...]]></description>
			<content:encoded><![CDATA[<div>Hi!<br />
<br />
Simple question: Can I use &quot;and&quot; and &quot;or&quot; instead of &amp;&amp; and || in actionscript 3?<br />
<br />
Like this:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">ActionScript Code:</div>
	<pre class="alt2" style="margin:0px; padding:6px; border:1px inset; width:100%; height:52px; overflow:auto"><div dir="ltr" style="text-align:left;"><div class="actionscript"><span style="color: #993300;">if</span> <span style="color: #000000;">&#40;</span>wind &lt; windDir <span style="color: #993300;">and</span> p % <span style="color: #000000;">3</span> == <span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span></div></div></pre>
</div>instead of<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">ActionScript Code:</div>
	<pre class="alt2" style="margin:0px; padding:6px; border:1px inset; width:100%; height:52px; overflow:auto"><div dir="ltr" style="text-align:left;"><div class="actionscript"><span style="color: #993300;">if</span> <span style="color: #000000;">&#40;</span>wind &lt; windDir &amp;&amp; p % <span style="color: #000000;">3</span> == <span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span></div></div></pre>
</div>I know it's not a big thing but I'm just used to do it this way. I'm getting error that says &quot;1084: Syntax error: expecting rightparen before and.</div>

]]></content:encoded>
			<category domain="http://www.actionscript.org/forums/forumdisplay.php3?f=75">ActionScript 3.0</category>
			<dc:creator>tsu</dc:creator>
			<guid isPermaLink="true">http://www.actionscript.org/forums/showthread.php3?t=223363</guid>
		</item>
	</channel>
</rss>
