<?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>Flash Kit Community Forums</title>
		<link>http://board.flashkit.com/board</link>
		<description>This is a discussion forum for all issues related to macromedia flash and shockwave, fireworks, development</description>
		<language>en</language>
		<lastBuildDate>Sat, 21 Nov 2009 01:35:27 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://board.flashkit.com/board/images/misc/rss.jpg</url>
			<title>Flash Kit Community Forums</title>
			<link>http://board.flashkit.com/board</link>
		</image>
		<item>
			<title>SWF Base Referencing</title>
			<link>http://board.flashkit.com/board/showthread.php?t=805934&amp;goto=newpost</link>
			<pubDate>Fri, 20 Nov 2009 23:04:06 GMT</pubDate>
			<description><![CDATA[Hello,

I'm having issues with references. I'll do my best to explain the problem simply.
I have a website I'm currently working on in flash. I've created the base of the site and most of its content. It functions fine.
I went online and found a decent looking gallery that I wanted to incorporate into the site and it works great also. The gallery is in its own directory.
When I try and load the main .SWF of the gallery into another .SWF within the base directory, the references break.
I understand that this is because its being pulled and the gallery's .SWF looks for its assets based on where its located.
Is there anyway possible to make a .SWF keep its paths relative to where it is pulled from instead of changing when it is pulled into another .SWF from different directories?

Here is a simple model:

-- Base Directory --
site.SWF
- -:gallery
- - - -:images
- - - -:thumbs
- - - -gallery.SWF
- - - -gallery.xml

site.SWF pulls gallery.SWF and then all the references break.

When embeding flash onto a site with swfobject, adding Param.base = "."; causes the .SWF embeded to keep its paths relative to where it is pulled from. Is this not possible in Flash?

I hope this makes sense.]]></description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
I'm having issues with references. I'll do my best to explain the problem simply.<br />
I have a website I'm currently working on in flash. I've created the base of the site and most of its content. It functions fine.<br />
I went online and found a decent looking gallery that I wanted to incorporate into the site and it works great also. The gallery is in its own directory.<br />
When I try and load the main .SWF of the gallery into another .SWF within the base directory, the references break.<br />
I understand that this is because its being pulled and the gallery's .SWF looks for its assets based on where its located.<br />
Is there anyway possible to make a .SWF keep its paths relative to where it is pulled from instead of changing when it is pulled into another .SWF from different directories?<br />
<br />
Here is a simple model:<br />
<br />
-- Base Directory --<br />
site.SWF<br />
- -:gallery<br />
- - - -:images<br />
- - - -:thumbs<br />
- - - -gallery.SWF<br />
- - - -gallery.xml<br />
<br />
site.SWF pulls gallery.SWF and then all the references break.<br />
<br />
When embeding flash onto a site with swfobject, adding Param.base = &quot;.&quot;; causes the .SWF embeded to keep its paths relative to where it is pulled from. Is this not possible in Flash?<br />
<br />
I hope this makes sense.</div>

]]></content:encoded>
			<category domain="http://board.flashkit.com/board/forumdisplay.php?f=102">Actionscript 3.0</category>
			<dc:creator>kevingent</dc:creator>
			<guid isPermaLink="true">http://board.flashkit.com/board/showthread.php?t=805934</guid>
		</item>
		<item>
			<title>letter spacing in dynamic textfield</title>
			<link>http://board.flashkit.com/board/showthread.php?t=805933&amp;goto=newpost</link>
			<pubDate>Fri, 20 Nov 2009 23:02:03 GMT</pubDate>
			<description><![CDATA[Hi,
I am trying to apply letter spacing to a dynamic textfield
I set it in the properties panel.
I know that this does not work for newly added text.
I searched the web and nothing I found works.
when I try setNewTextFormat I get the error
Warning Migration issue The method setNewTextFormat is no longer supported.  Use the TextField.defaultTextFormat property instead

how do I use that defaultTextFormat, I tried this

PHP:
---------
import typewriter;
var fmt:TextFormat = outputTextBox.getTextFormat()

var newTypewriter:typewriter = new typewriter;
var firstMessage:String = "Do you speak multicultural?";

newTypewriter.writeIt(firstMessage, outputTextBox, 30);
outputTextBox.setTextFormat(fmt); 
outputTextBox.defaultTextFormat(fmt);

//error was
//1195: Attempted access of inaccessible method defaultTextFormat through a reference with static type flash.text:TextField.
---------
the typewriter refers to this class that I am using to add text to the textfield
http://entrance4.net/labs/?p=55

Just in case this also affects how I apply formatting
hope someone can help
seems to be a lot of confusion about this
Mark]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
I am trying to apply letter spacing to a dynamic textfield<br />
I set it in the properties panel.<br />
I know that this does not work for newly added text.<br />
I searched the web and nothing I found works.<br />
when I try setNewTextFormat I get the error<br />
Warning Migration issue The method setNewTextFormat is no longer supported.  Use the TextField.defaultTextFormat property instead<br />
<br />
how do I use that defaultTextFormat, I tried this<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
	<div class="alt2">
		<hr />
		<code style="white-space:nowrap">
		<div dir="ltr" style="text-align:left;">
			<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB">import typewriter</span><span style="color: #007700">;<br />var </span><span style="color: #0000BB">fmt</span><span style="color: #007700">:</span><span style="color: #0000BB">TextFormat </span><span style="color: #007700">= </span><span style="color: #0000BB">outputTextBox</span><span style="color: #007700">.</span><span style="color: #0000BB">getTextFormat</span><span style="color: #007700">()<br /><br />var </span><span style="color: #0000BB">newTypewriter</span><span style="color: #007700">:</span><span style="color: #0000BB">typewriter </span><span style="color: #007700">= new </span><span style="color: #0000BB">typewriter</span><span style="color: #007700">;<br />var </span><span style="color: #0000BB">firstMessage</span><span style="color: #007700">:</span><span style="color: #0000BB">String </span><span style="color: #007700">= </span><span style="color: #DD0000">"Do you speak multicultural?"</span><span style="color: #007700">;<br /><br /></span><span style="color: #0000BB">newTypewriter</span><span style="color: #007700">.</span><span style="color: #0000BB">writeIt</span><span style="color: #007700">(</span><span style="color: #0000BB">firstMessage</span><span style="color: #007700">, </span><span style="color: #0000BB">outputTextBox</span><span style="color: #007700">, </span><span style="color: #0000BB">30</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">outputTextBox</span><span style="color: #007700">.</span><span style="color: #0000BB">setTextFormat</span><span style="color: #007700">(</span><span style="color: #0000BB">fmt</span><span style="color: #007700">); <br /></span><span style="color: #0000BB">outputTextBox</span><span style="color: #007700">.</span><span style="color: #0000BB">defaultTextFormat</span><span style="color: #007700">(</span><span style="color: #0000BB">fmt</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">//error was<br />//1195: Attempted access of inaccessible method defaultTextFormat through a reference with static type flash.text:TextField. <br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
		</div>
		</code>
		<hr />
	</div>
</div>the typewriter refers to this class that I am using to add text to the textfield<br />
<a rel="nofollow" href="http://entrance4.net/labs/?p=55" target="_blank">http://entrance4.net/labs/?p=55</a><br />
<br />
Just in case this also affects how I apply formatting<br />
hope someone can help<br />
seems to be a lot of confusion about this<br />
Mark</div>

]]></content:encoded>
			<category domain="http://board.flashkit.com/board/forumdisplay.php?f=102">Actionscript 3.0</category>
			<dc:creator>mgason</dc:creator>
			<guid isPermaLink="true">http://board.flashkit.com/board/showthread.php?t=805933</guid>
		</item>
		<item>
			<title>object actions panel does not display</title>
			<link>http://board.flashkit.com/board/showthread.php?t=805932&amp;goto=newpost</link>
			<pubDate>Fri, 20 Nov 2009 22:14:45 GMT</pubDate>
			<description>I cannot seem to get the Object Actions Panel to display or I just cannot see it for some reason. I am trying to add ActionScript for a button. HELP!</description>
			<content:encoded><![CDATA[<div>I cannot seem to get the Object Actions Panel to display or I just cannot see it for some reason. I am trying to add ActionScript for a button. HELP!</div>

]]></content:encoded>
			<category domain="http://board.flashkit.com/board/forumdisplay.php?f=2">Flash General Help</category>
			<dc:creator>rowhiteny</dc:creator>
			<guid isPermaLink="true">http://board.flashkit.com/board/showthread.php?t=805932</guid>
		</item>
		<item>
			<title>Help with AS3:unloading external swf files with mouse click</title>
			<link>http://board.flashkit.com/board/showthread.php?t=805931&amp;goto=newpost</link>
			<pubDate>Fri, 20 Nov 2009 22:14:26 GMT</pubDate>
			<description><![CDATA[I have external swf files which open in main swf with button click.  I want the swf to close on mouse click but having problem with the actionscript.  Any ideas about how to do this?  here's the code so far: 

var img1Request:URLRequest = new URLRequest ("kelly.swf");
var img1Loader:Loader = new Loader();
	kelly_mc.addEventListener(MouseEvent.CLICK, clickF);
	
	function clickF(event:MouseEvent):void{
		img1Loader.load(img1Request);
		img1Loader.contentLoaderInfo.addEventListener(Event.COMPLETE,loadNowF);
		function loadNowF(event:Event):void{
			container_mc.addChild(img1Loader);
		}
	}]]></description>
			<content:encoded><![CDATA[<div>I have external swf files which open in main swf with button click.  I want the swf to close on mouse click but having problem with the actionscript.  Any ideas about how to do this?  here's the code so far: <br />
<br />
var img1Request:URLRequest = new URLRequest (&quot;kelly.swf&quot;);<br />
var img1Loader:Loader = new Loader();<br />
	kelly_mc.addEventListener(MouseEvent.CLICK, clickF);<br />
	<br />
	function clickF(event:MouseEvent):void{<br />
		img1Loader.load(img1Request);<br />
		img1Loader.contentLoaderInfo.addEventListener(Even  t.COMPLETE,loadNowF);<br />
		function loadNowF(event:Event):void{<br />
			container_mc.addChild(img1Loader);<br />
		}<br />
	}</div>

]]></content:encoded>
			<category domain="http://board.flashkit.com/board/forumdisplay.php?f=102">Actionscript 3.0</category>
			<dc:creator>sas9</dc:creator>
			<guid isPermaLink="true">http://board.flashkit.com/board/showthread.php?t=805931</guid>
		</item>
		<item>
			<title>Trying to make a line... textured...</title>
			<link>http://board.flashkit.com/board/showthread.php?t=805930&amp;goto=newpost</link>
			<pubDate>Fri, 20 Nov 2009 22:02:11 GMT</pubDate>
			<description><![CDATA[Hello all, 

I wanted to make something like a spine, (Or like Alien's tail)

and I can curve lines real easy, so wondering if there's a way I could apply some kind of repeating texture, that has spaces (sharp points) missing,

But would still curve where the line did?


(Or ANY alternative, I love the logo I came up with, but don't feel like hand drawing the damn thing : )]]></description>
			<content:encoded><![CDATA[<div>Hello all, <br />
<br />
I wanted to make something like a spine, (Or like Alien's tail)<br />
<br />
and I can curve lines real easy, so wondering if there's a way I could apply some kind of repeating texture, that has spaces (sharp points) missing,<br />
<br />
But would still curve where the line did?<br />
<br />
<br />
(Or ANY alternative, I love the logo I came up with, but don't feel like hand drawing the damn thing : )</div>

]]></content:encoded>
			<category domain="http://board.flashkit.com/board/forumdisplay.php?f=29">Flash Newbies</category>
			<dc:creator>JOhnnyjack777</dc:creator>
			<guid isPermaLink="true">http://board.flashkit.com/board/showthread.php?t=805930</guid>
		</item>
		<item>
			<title>Next step from Flash: AIR or Flex?</title>
			<link>http://board.flashkit.com/board/showthread.php?t=805929&amp;goto=newpost</link>
			<pubDate>Fri, 20 Nov 2009 21:58:52 GMT</pubDate>
			<description><![CDATA[I think I have reached quite an advanced level regarding Flash and Actionscript 2 and 3, and now I'm thinking on taking a further step: either Flex or AIR.

I know they focus on different matters. Flex is still related to the web and browsers, but more programming-oriented than Flash. AIR focuses on desktop applications which require some Internet connection.

Both things look appealing to me, but I'm not sure how much of one of them is recommended to previosuly know before facing the other. In case that before facing AIR it would be highly recommended to familiarize myself with Flex, I would start with Flex, or just the opposite. 

What do you think?]]></description>
			<content:encoded><![CDATA[<div>I think I have reached quite an advanced level regarding Flash and Actionscript 2 and 3, and now I'm thinking on taking a further step: either Flex or AIR.<br />
<br />
I know they focus on different matters. Flex is still related to the web and browsers, but more programming-oriented than Flash. AIR focuses on desktop applications which require some Internet connection.<br />
<br />
Both things look appealing to me, but I'm not sure how much of one of them is recommended to previosuly know before facing the other. In case that before facing AIR it would be highly recommended to familiarize myself with Flex, I would start with Flex, or just the opposite. <br />
<br />
What do you think?</div>

]]></content:encoded>
			<category domain="http://board.flashkit.com/board/forumdisplay.php?f=43">Boardroom</category>
			<dc:creator>Jazztronik</dc:creator>
			<guid isPermaLink="true">http://board.flashkit.com/board/showthread.php?t=805929</guid>
		</item>
		<item>
			<title>PHP cURL and Flash</title>
			<link>http://board.flashkit.com/board/showthread.php?t=805928&amp;goto=newpost</link>
			<pubDate>Fri, 20 Nov 2009 21:21:07 GMT</pubDate>
			<description><![CDATA[is it possible to crawl the following page's custom package quote engine using php's cURL function? i want to build a comparison site and need their pricing info for all their products. i'd write a script to loop through the engine's drop down values sending them and the price back to my server's database.
 
http://www.discmakers.com/products/CD100.asp]]></description>
			<content:encoded><![CDATA[<div>is it possible to crawl the following page's custom package quote engine using php's cURL function? i want to build a comparison site and need their pricing info for all their products. i'd write a script to loop through the engine's drop down values sending them and the price back to my server's database.<br />
 <br />
<a rel="nofollow" href="http://www.discmakers.com/products/CD100.asp" target="_blank">http://www.discmakers.com/products/CD100.asp</a></div>

]]></content:encoded>
			<category domain="http://board.flashkit.com/board/forumdisplay.php?f=2">Flash General Help</category>
			<dc:creator>cronsystmes</dc:creator>
			<guid isPermaLink="true">http://board.flashkit.com/board/showthread.php?t=805928</guid>
		</item>
		<item>
			<title>PHP Email form half way working</title>
			<link>http://board.flashkit.com/board/showthread.php?t=805927&amp;goto=newpost</link>
			<pubDate>Fri, 20 Nov 2009 21:20:34 GMT</pubDate>
			<description><![CDATA[I have a basic email form set up with flash and php and it is sending the email but instead of populating the email with the text from the fields I have set up, it is populating the code for the font, text size etc.

This is my php file code:
<?php
$sendTo = "mishi@amirabella.com";
$subject = "Let's Create Something Beautiful Together";

$headers = "From: " . $_POST["name"];
$headers .= "<" . $_POST["email"] . ">\r\n";
$headers .= "Reply-To: " . $_POST["email"] . "\r\n";
$headers .= "Return-Path: " . $_POST["email"];
$message = $_POST["message"];

mail($sendTo, $subject, $message, $headers);
?>

And this is what I am getting.  The sendTo and subject are correct but 

Subject:   Let's Create Something Beautiful Together 
 
From: </TEXTFORMAT@p3nlh138.shr.prod.phx3.secureserver.net> (Add as Preferred Sender)   
 
Date: Fri, Nov 20, 2009 2:14 pm 
To: mishi@amirabella.com 
 
From  Subject (Thread Messages)   Date  Size  
<TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Georgia\" SIZE=\"18\" COLOR=\"#000000\" LETTERSPACING=\"0\" KERNING=\"0\"></FONT></P></TEXTFORMAT><TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Georgia\" SIZE=\"18\" COLOR=\"#000000\" LETTERSPACING=\"0\" KERNING=\"0\">jljlj</FONT></P></TEXTFORMAT> 

Thanks for any help you may have :crazy:]]></description>
			<content:encoded><![CDATA[<div>I have a basic email form set up with flash and php and it is sending the email but instead of populating the email with the text from the fields I have set up, it is populating the code for the font, text size etc.<br />
<br />
This is my php file code:<br />
&lt;?php<br />
$sendTo = &quot;mishi@amirabella.com&quot;;<br />
$subject = &quot;Let's Create Something Beautiful Together&quot;;<br />
<br />
$headers = &quot;From: &quot; . $_POST[&quot;name&quot;];<br />
$headers .= &quot;&lt;&quot; . $_POST[&quot;email&quot;] . &quot;&gt;\r\n&quot;;<br />
$headers .= &quot;Reply-To: &quot; . $_POST[&quot;email&quot;] . &quot;\r\n&quot;;<br />
$headers .= &quot;Return-Path: &quot; . $_POST[&quot;email&quot;];<br />
$message = $_POST[&quot;message&quot;];<br />
<br />
mail($sendTo, $subject, $message, $headers);<br />
?&gt;<br />
<br />
And this is what I am getting.  The sendTo and subject are correct but <br />
<br />
Subject:   Let's Create Something Beautiful Together <br />
 <br />
From: &lt;/TEXTFORMAT@p3nlh138.shr.prod.phx3.secureserver.net  &gt; (Add as Preferred Sender)   <br />
 <br />
Date: Fri, Nov 20, 2009 2:14 pm <br />
To: <a href="mailto:mishi@amirabella.com">mishi@amirabella.com</a> <br />
 <br />
From  Subject (Thread Messages)   Date  Size  <br />
&lt;TEXTFORMAT LEADING=\&quot;2\&quot;&gt;&lt;P ALIGN=\&quot;LEFT\&quot;&gt;&lt;FONT FACE=\&quot;Georgia\&quot; SIZE=\&quot;18\&quot; COLOR=\&quot;#000000\&quot; LETTERSPACING=\&quot;0\&quot; KERNING=\&quot;0\&quot;&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/TEXTFORMAT&gt;&lt;TEXTFORMAT LEADING=\&quot;2\&quot;&gt;&lt;P ALIGN=\&quot;LEFT\&quot;&gt;&lt;FONT FACE=\&quot;Georgia\&quot; SIZE=\&quot;18\&quot; COLOR=\&quot;#000000\&quot; LETTERSPACING=\&quot;0\&quot; KERNING=\&quot;0\&quot;&gt;jljlj&lt;/FONT&gt;&lt;/P&gt;&lt;/TEXTFORMAT&gt; <br />
<br />
Thanks for any help you may have :crazy:</div>

]]></content:encoded>
			<category domain="http://board.flashkit.com/board/forumdisplay.php?f=4"><![CDATA[Scripting & Backend]]></category>
			<dc:creator>mishiwinks</dc:creator>
			<guid isPermaLink="true">http://board.flashkit.com/board/showthread.php?t=805927</guid>
		</item>
		<item>
			<title><![CDATA[[RESOLVED] [AS2] Argh, just ONE VARIABLE SAVE!?]]></title>
			<link>http://board.flashkit.com/board/showthread.php?t=805926&amp;goto=newpost</link>
			<pubDate>Fri, 20 Nov 2009 21:04:34 GMT</pubDate>
			<description><![CDATA[Seriously, saving is out to kill me.

 Sometimes it works, and then when I do the exact same thing another time it decides not to and I'm extremely frustrated. Let me break down this extremely, extremely simple setup:

 Basically for a simple game I'm making, I just want to store three (I know I said 'one variable', but it won't even work with one...) things about the top highscore player. Name, Score, and Message. SIMPLE. So, I start by loading it:


*Load the Three Existing Variables*

PHP:
---------
myData = new LoadVars();
myData.onLoad = function() {
	champName.text = myData.Name;
	champScore.text = myData.Score;
	champMsg.text = myData.Msg;
	
	topScore = myData.Score;
	
};
myData.load("save.txt?"+Math.ceil(random(9999)));
---------

Great, it works fine when I test it and everything. You play the game, you eventually lose, and then it does a highscore check. If you get the highscore, you are asked for you name and a simple message.

When you click submit, the function saveScore() is called and looks like so:

*Send Everything to PHP*

PHP:
---------
saveScore = function () {
	myData.Name = topName;
	myData.Score = topScore;
	myData.Msg = topMsg;
	
	myData.sendAndLoad("save.php",myData,"POST");
	
	_root.gotoAndStop(1);
};
---------
Any trace done will return the proper value, including trace(myData) will return all three updated variables (Name, Score, Msg). Then it sends it to the PHP for saving.

The PHP is like so:

*Write to Text File*

PHP:
---------
<?php 
$saveName = $_POST['Name']; 
$saveScore = $_POST['Score'];
$saveMsg = $_POST['Msg'];


$toSave = "Name=".$saveName."&Score=".$saveScore."&Msg=".$saveMsg

$myfile = fopen("save.txt","w"); 
fwrite($myfile,$toSave); 
fclose($myfile); 
?>
---------

Grab each, store it all in one variable and write it to the text file.


SIMPLE!?

I don't know, it *just won't write to the text file!* Someone, please save me from my misery so I can continue on with my project.]]></description>
			<content:encoded><![CDATA[<div>Seriously, saving is out to kill me.<br />
<br />
 Sometimes it works, and then when I do the exact same thing another time it decides not to and I'm extremely frustrated. Let me break down this extremely, extremely simple setup:<br />
<br />
 Basically for a simple game I'm making, I just want to store three (I know I said 'one variable', but it won't even work with one...) things about the top highscore player. Name, Score, and Message. SIMPLE. So, I start by loading it:<br />
<br />
<br />
<b>Load the Three Existing Variables</b><br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
	<div class="alt2">
		<hr />
		<code style="white-space:nowrap">
		<div dir="ltr" style="text-align:left;">
			<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB">myData </span><span style="color: #007700">= new </span><span style="color: #0000BB">LoadVars</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">myData</span><span style="color: #007700">.</span><span style="color: #0000BB">onLoad </span><span style="color: #007700">= function() {<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">champName</span><span style="color: #007700">.</span><span style="color: #0000BB">text </span><span style="color: #007700">= </span><span style="color: #0000BB">myData</span><span style="color: #007700">.</span><span style="color: #0000BB">Name</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">champScore</span><span style="color: #007700">.</span><span style="color: #0000BB">text </span><span style="color: #007700">= </span><span style="color: #0000BB">myData</span><span style="color: #007700">.</span><span style="color: #0000BB">Score</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">champMsg</span><span style="color: #007700">.</span><span style="color: #0000BB">text </span><span style="color: #007700">= </span><span style="color: #0000BB">myData</span><span style="color: #007700">.</span><span style="color: #0000BB">Msg</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">topScore </span><span style="color: #007700">= </span><span style="color: #0000BB">myData</span><span style="color: #007700">.</span><span style="color: #0000BB">Score</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />};<br /></span><span style="color: #0000BB">myData</span><span style="color: #007700">.</span><span style="color: #0000BB">load</span><span style="color: #007700">(</span><span style="color: #DD0000">"save.txt?"</span><span style="color: #007700">+</span><span style="color: #0000BB">Math</span><span style="color: #007700">.</span><span style="color: #0000BB">ceil</span><span style="color: #007700">(</span><span style="color: #0000BB">random</span><span style="color: #007700">(</span><span style="color: #0000BB">9999</span><span style="color: #007700">))); <br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
		</div>
		</code>
		<hr />
	</div>
</div><br />
Great, it works fine when I test it and everything. You play the game, you eventually lose, and then it does a highscore check. If you get the highscore, you are asked for you name and a simple message.<br />
<br />
When you click submit, the function <i>saveScore()</i> is called and looks like so:<br />
<br />
<b>Send Everything to PHP</b><br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
	<div class="alt2">
		<hr />
		<code style="white-space:nowrap">
		<div dir="ltr" style="text-align:left;">
			<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB">saveScore </span><span style="color: #007700">= function () {<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">myData</span><span style="color: #007700">.</span><span style="color: #0000BB">Name </span><span style="color: #007700">= </span><span style="color: #0000BB">topName</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">myData</span><span style="color: #007700">.</span><span style="color: #0000BB">Score </span><span style="color: #007700">= </span><span style="color: #0000BB">topScore</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">myData</span><span style="color: #007700">.</span><span style="color: #0000BB">Msg </span><span style="color: #007700">= </span><span style="color: #0000BB">topMsg</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">myData</span><span style="color: #007700">.</span><span style="color: #0000BB">sendAndLoad</span><span style="color: #007700">(</span><span style="color: #DD0000">"save.php"</span><span style="color: #007700">,</span><span style="color: #0000BB">myData</span><span style="color: #007700">,</span><span style="color: #DD0000">"POST"</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">_root</span><span style="color: #007700">.</span><span style="color: #0000BB">gotoAndStop</span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">);<br />}; <br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
		</div>
		</code>
		<hr />
	</div>
</div>Any trace done will return the proper value, including <i>trace(myData)</i> will return all three updated variables (Name, Score, Msg). Then it sends it to the PHP for saving.<br />
<br />
The PHP is like so:<br />
<br />
<b>Write to Text File</b><br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
	<div class="alt2">
		<hr />
		<code style="white-space:nowrap">
		<div dir="ltr" style="text-align:left;">
			<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php <br />$saveName </span><span style="color: #007700">= </span><span style="color: #0000BB">$_POST</span><span style="color: #007700">&#91;</span><span style="color: #DD0000">'Name'</span><span style="color: #007700">&#93;; <br /></span><span style="color: #0000BB">$saveScore </span><span style="color: #007700">= </span><span style="color: #0000BB">$_POST</span><span style="color: #007700">&#91;</span><span style="color: #DD0000">'Score'</span><span style="color: #007700">&#93;;<br /></span><span style="color: #0000BB">$saveMsg </span><span style="color: #007700">= </span><span style="color: #0000BB">$_POST</span><span style="color: #007700">&#91;</span><span style="color: #DD0000">'Msg'</span><span style="color: #007700">&#93;;<br /><br /><br /></span><span style="color: #0000BB">$toSave </span><span style="color: #007700">= </span><span style="color: #DD0000">"Name="</span><span style="color: #007700">.</span><span style="color: #0000BB">$saveName</span><span style="color: #007700">.</span><span style="color: #DD0000">"&amp;Score="</span><span style="color: #007700">.</span><span style="color: #0000BB">$saveScore</span><span style="color: #007700">.</span><span style="color: #DD0000">"&amp;Msg="</span><span style="color: #007700">.</span><span style="color: #0000BB">$saveMsg<br /><br />$myfile </span><span style="color: #007700">= </span><span style="color: #0000BB">fopen</span><span style="color: #007700">(</span><span style="color: #DD0000">"save.txt"</span><span style="color: #007700">,</span><span style="color: #DD0000">"w"</span><span style="color: #007700">); <br /></span><span style="color: #0000BB">fwrite</span><span style="color: #007700">(</span><span style="color: #0000BB">$myfile</span><span style="color: #007700">,</span><span style="color: #0000BB">$toSave</span><span style="color: #007700">); <br /></span><span style="color: #0000BB">fclose</span><span style="color: #007700">(</span><span style="color: #0000BB">$myfile</span><span style="color: #007700">); <br /></span><span style="color: #0000BB">?&gt;</span>
</span>
</code><!-- php buffer end -->
		</div>
		</code>
		<hr />
	</div>
</div><br />
Grab each, store it all in one variable and write it to the text file.<br />
<br />
<br />
SIMPLE!?<br />
<br />
I don't know, it <b>just won't write to the text file!</b> Someone, please save me from my misery so I can continue on with my project.</div>

]]></content:encoded>
			<category domain="http://board.flashkit.com/board/forumdisplay.php?f=5">Games</category>
			<dc:creator>Osteel</dc:creator>
			<guid isPermaLink="true">http://board.flashkit.com/board/showthread.php?t=805926</guid>
		</item>
		<item>
			<title>Adjusting MovieClip height with ActionScript- What am I missing here?</title>
			<link>http://board.flashkit.com/board/showthread.php?t=805925&amp;goto=newpost</link>
			<pubDate>Fri, 20 Nov 2009 20:59:15 GMT</pubDate>
			<description><![CDATA[I have a vertical line in a Movie Clip. On my stage the height is 55, but when I compile and trace its _height, it returns 57. 

I found that the line's thickness has something to do with this. When the thickness is 2, the height of the line on the stage increases by 2 when I compile the movie, and when the thickness is 5 the height increases by 5, etc. It's as though the line's height is determined using: (Line Height When Compiled) = (Line height on the stage)+(thickness of line).

Am I missing something here? Please let me know what I'm doing wrong. This is bizarre. If I need to explain better let me know. Thanks!]]></description>
			<content:encoded><![CDATA[<div>I have a vertical line in a Movie Clip. On my stage the height is 55, but when I compile and trace its _height, it returns 57. <br />
<br />
I found that the line's thickness has something to do with this. When the thickness is 2, the height of the line on the stage increases by 2 when I compile the movie, and when the thickness is 5 the height increases by 5, etc. It's as though the line's height is determined using: (Line Height When Compiled) = (Line height on the stage)+(thickness of line).<br />
<br />
Am I missing something here? Please let me know what I'm doing wrong. This is bizarre. If I need to explain better let me know. Thanks!</div>

]]></content:encoded>
			<category domain="http://board.flashkit.com/board/forumdisplay.php?f=30">Flash ActionScript</category>
			<dc:creator>dtone314</dc:creator>
			<guid isPermaLink="true">http://board.flashkit.com/board/showthread.php?t=805925</guid>
		</item>
		<item>
			<title>Im sure this is an easy AS3 101 Output error, but how to fix it?</title>
			<link>http://board.flashkit.com/board/showthread.php?t=805924&amp;goto=newpost</link>
			<pubDate>Fri, 20 Nov 2009 20:41:45 GMT</pubDate>
			<description><![CDATA[I'm trying to learn AS3 and have a test AS3 file to try and learn how to load/unload external swf files into a container on CLICK of 3 different buttons I have. What does this Output error mean and how would I fix it? I don't understand what it means that it has to be a "child of the caller."

ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
	at flash.display::DisplayObjectContainer/removeChild()
	at test01_loadEXT_swf_fla::MainTimeline/goToHome()

Here's the AS3 that I have:


Code:
---------
var page_loader:Loader = new Loader();

contact_mc.addEventListener(MouseEvent.CLICK, Contact);
function Contact(Event:MouseEvent):void {
	var request:URLRequest = new URLRequest("contact.swf");
	page_loader.load(request);
	addChild(page_loader);
	removeChild(container_mc);
}

bio_mc.addEventListener(MouseEvent.CLICK, Bio);
function Bio(Event:MouseEvent):void {
	var request:URLRequest = new URLRequest("bio.swf");
	page_loader.load(request);
	addChild(page_loader);
	removeChild(container_mc);
}

home_mc.addEventListener(MouseEvent.CLICK, Home);
function Home(Event:MouseEvent):void {
	var request:URLRequest = new URLRequest("home.swf");
	page_loader.load(request);
	addChild(page_loader);
	removeChild(container_mc);
}
---------
]]></description>
			<content:encoded><![CDATA[<div>I'm trying to learn AS3 and have a test AS3 file to try and learn how to load/unload external swf files into a container on CLICK of 3 different buttons I have. What does this Output error mean and how would I fix it? I don't understand what it means that it has to be a &quot;child of the caller.&quot;<br />
<br />
ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.<br />
	at flash.display::DisplayObjectContainer/removeChild()<br />
	at test01_loadEXT_swf_fla::MainTimeline/goToHome()<br />
<br />
Here's the AS3 that 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">var page_loader:Loader = new Loader();<br />
<br />
contact_mc.addEventListener(MouseEvent.CLICK, Contact);<br />
function Contact(Event:MouseEvent):void {<br />
&nbsp; &nbsp; &nbsp; &nbsp; var request:URLRequest = new URLRequest(&quot;contact.swf&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; page_loader.load(request);<br />
&nbsp; &nbsp; &nbsp; &nbsp; addChild(page_loader);<br />
&nbsp; &nbsp; &nbsp; &nbsp; removeChild(container_mc);<br />
}<br />
<br />
bio_mc.addEventListener(MouseEvent.CLICK, Bio);<br />
function Bio(Event:MouseEvent):void {<br />
&nbsp; &nbsp; &nbsp; &nbsp; var request:URLRequest = new URLRequest(&quot;bio.swf&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; page_loader.load(request);<br />
&nbsp; &nbsp; &nbsp; &nbsp; addChild(page_loader);<br />
&nbsp; &nbsp; &nbsp; &nbsp; removeChild(container_mc);<br />
}<br />
<br />
home_mc.addEventListener(MouseEvent.CLICK, Home);<br />
function Home(Event:MouseEvent):void {<br />
&nbsp; &nbsp; &nbsp; &nbsp; var request:URLRequest = new URLRequest(&quot;home.swf&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; page_loader.load(request);<br />
&nbsp; &nbsp; &nbsp; &nbsp; addChild(page_loader);<br />
&nbsp; &nbsp; &nbsp; &nbsp; removeChild(container_mc);<br />
}</code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://board.flashkit.com/board/forumdisplay.php?f=102">Actionscript 3.0</category>
			<dc:creator>popflier</dc:creator>
			<guid isPermaLink="true">http://board.flashkit.com/board/showthread.php?t=805924</guid>
		</item>
		<item>
			<title>CS3 preload css text file</title>
			<link>http://board.flashkit.com/board/showthread.php?t=805923&amp;goto=newpost</link>
			<pubDate>Fri, 20 Nov 2009 20:34:56 GMT</pubDate>
			<description><![CDATA[I know how to preload an external file using LoadVars. Now I want to combine it with loading a text file containing html tags. For example: I'm loading a text file which contains:

<img src="mybigimage.jpg" />

And let's suppose this jpg file is large, like 3 mb. Now when I would load it directly through LoadVars I could use getBytesLoaded/getBytesTotal and I would see the percentage in a textfile go from 0 to 100%.

But when using it on a textfile containing just the img tag (I'm using css in flash), the text file would load almost instantly. It wouldn't preload the jpg but the txt file instead.

Is there a way to show the loading of the file mentioned in the img tag?]]></description>
			<content:encoded><![CDATA[<div>I know how to preload an external file using LoadVars. Now I want to combine it with loading a text file containing html tags. For example: I'm loading a text file which contains:<br />
<br />
&lt;img src=&quot;mybigimage.jpg&quot; /&gt;<br />
<br />
And let's suppose this jpg file is large, like 3 mb. Now when I would load it directly through LoadVars I could use getBytesLoaded/getBytesTotal and I would see the percentage in a textfile go from 0 to 100%.<br />
<br />
But when using it on a textfile containing just the img tag (I'm using css in flash), the text file would load almost instantly. It wouldn't preload the jpg but the txt file instead.<br />
<br />
Is there a way to show the loading of the file mentioned in the img tag?</div>

]]></content:encoded>
			<category domain="http://board.flashkit.com/board/forumdisplay.php?f=30">Flash ActionScript</category>
			<dc:creator>digitalecartoon</dc:creator>
			<guid isPermaLink="true">http://board.flashkit.com/board/showthread.php?t=805923</guid>
		</item>
		<item>
			<title>Need help tweaking actionscript</title>
			<link>http://board.flashkit.com/board/showthread.php?t=805922&amp;goto=newpost</link>
			<pubDate>Fri, 20 Nov 2009 20:25:11 GMT</pubDate>
			<description><![CDATA[I'm trying to create a flash movie that will act as a "player" for a series of external SWF files that are listed by an external XML file.

Someone was able to pass on the following XML:


---Quote---
<?xml version="1.0" encoding="iso-8859-1"?>
    <root>
<node swf='1.swf' />
<node swf='2.swf' />
<node swf='3.swf' />
<node swf='4.swf' />
<node swf='5.swf' />
    </root>
---End Quote---
and the following actionscript (to be dropped into the first frame of the "player" SWF:


---Quote---
swfArray = new Array();

/* load the xml file into your shell */
var _xml = new XML();
_xml.ignoreWhite = true;
_xml.load("test.xml");

/* parse and add the contents to an array */
_xml.onLoad = function(){
var cNodes = this.firstChild.childNodes;
var len = cNodes.length
for (var i=0; i!=len; i++) {
swfArray[i] = cNodes[i].attributes.swf;
}
/* loading a random file? shuffle the array */
trace("Before shuffling - "+swfArray);
swfArray.sort(function(){return Math.floor(Math.random()*3)-1});
trace("After shuffling - "+swfArray);
/* remove the last element from the array  */
swfToPlay = swfArray.pop();
/* use the MovieClipLoader class to load the file */
mcLoader.loadClip(swfToPlay, container);
};

var container:MovieClip = createEmptyMovieClip("container", getNextHighestDepth());
var mcLoader:MovieClipLoader = new MovieClipLoader();
mcLoader.addListener(this);

/* alter any of the properties of the loaded file here */
function onLoadInit(mc:MovieClip) {
trace(swfToPlay+" loaded to "+ mc);
};
---End Quote---
However, the above plays the SWFs in a random sequence, rather than sequentially.

Any assistance in changing this to sequential play would be greatly appreciated.

-thanks!]]></description>
			<content:encoded><![CDATA[<div>I'm trying to create a flash movie that will act as a &quot;player&quot; for a series of external SWF files that are listed by an external XML file.<br />
<br />
Someone was able to pass on the following XML:<br />
<br />
<div style="margin:20px; margin-top:5px; width: 100%;">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				&lt;?xml version=&quot;1.0&quot; encoding=&quot;iso-8859-1&quot;?&gt;<br />
    &lt;root&gt;<br />
&lt;node swf='1.swf' /&gt;<br />
&lt;node swf='2.swf' /&gt;<br />
&lt;node swf='3.swf' /&gt;<br />
&lt;node swf='4.swf' /&gt;<br />
&lt;node swf='5.swf' /&gt;<br />
    &lt;/root&gt;
			
			<hr />
		</td>
	</tr>
	</table>
</div>and the following actionscript (to be dropped into the first frame of the &quot;player&quot; SWF:<br />
<br />
<div style="margin:20px; margin-top:5px; width: 100%;">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				swfArray = new Array();<br />
<br />
/* load the xml file into your shell */<br />
var _xml = new XML();<br />
_xml.ignoreWhite = true;<br />
_xml.load(&quot;test.xml&quot;);<br />
<br />
/* parse and add the contents to an array */<br />
_xml.onLoad = function(){<br />
var cNodes = this.firstChild.childNodes;<br />
var len = cNodes.length<br />
for (var i=0; i!=len; i++) {<br />
swfArray[i] = cNodes[i].attributes.swf;<br />
}<br />
/* loading a random file? shuffle the array */<br />
trace(&quot;Before shuffling - &quot;+swfArray);<br />
swfArray.sort(function(){return Math.floor(Math.random()*3)-1});<br />
trace(&quot;After shuffling - &quot;+swfArray);<br />
/* remove the last element from the array  */<br />
swfToPlay = swfArray.pop();<br />
/* use the MovieClipLoader class to load the file */<br />
mcLoader.loadClip(swfToPlay, container);<br />
};<br />
<br />
var container:MovieClip = createEmptyMovieClip(&quot;container&quot;, getNextHighestDepth());<br />
var mcLoader:MovieClipLoader = new MovieClipLoader();<br />
mcLoader.addListener(this);<br />
<br />
/* alter any of the properties of the loaded file here */<br />
function onLoadInit(mc:MovieClip) {<br />
trace(swfToPlay+&quot; loaded to &quot;+ mc);<br />
};
			
			<hr />
		</td>
	</tr>
	</table>
</div>However, the above plays the SWFs in a random sequence, rather than sequentially.<br />
<br />
Any assistance in changing this to sequential play would be greatly appreciated.<br />
<br />
-thanks!</div>

]]></content:encoded>
			<category domain="http://board.flashkit.com/board/forumdisplay.php?f=29">Flash Newbies</category>
			<dc:creator>lotedifi</dc:creator>
			<guid isPermaLink="true">http://board.flashkit.com/board/showthread.php?t=805922</guid>
		</item>
		<item>
			<title>Froogle Work</title>
			<link>http://board.flashkit.com/board/showthread.php?t=805921&amp;goto=newpost</link>
			<pubDate>Fri, 20 Nov 2009 20:24:53 GMT</pubDate>
			<description>Anyone have any experience with uploading products to Froogle? 

If so, any successes? or is it a waste of time?</description>
			<content:encoded><![CDATA[<div>Anyone have any experience with uploading products to Froogle? <br />
<br />
If so, any successes? or is it a waste of time?</div>

]]></content:encoded>
			<category domain="http://board.flashkit.com/board/forumdisplay.php?f=11">Coffee Lounge</category>
			<dc:creator>lefteyewilly</dc:creator>
			<guid isPermaLink="true">http://board.flashkit.com/board/showthread.php?t=805921</guid>
		</item>
		<item>
			<title><![CDATA[[AS3] Super Simple Custom Component in CS4]]></title>
			<link>http://board.flashkit.com/board/showthread.php?t=805920&amp;goto=newpost</link>
			<pubDate>Fri, 20 Nov 2009 20:12:26 GMT</pubDate>
			<description><![CDATA[In AS2, you could simply add a component definition to a clip in the library, then add a variable, and it would be instantly accessible from within that clip. In AS3, this doesn't work.

I have a variable myNum in the component definition, but my class file can't get to it. I added an ADDED_TO_STAGE listener thinking that maybe it couldn't get to the variable because it wasn't declared yet, but still no dice. And if I don't put var myNum:Number; I get an error. So I'm likely just overwriting the myNum in the component inspector with the myNum in the class definition. 

I looked at the Adobe Tutorial on Creating ActionScript 3.0 Components, but if there is a simple solution in the many pages there I can't seem to find it.

Any ideas? All I need to do is access a single variable that is defined via the component inspector.


Code:
---------
package {

	import flash.display.MovieClip;
	import flash.events.Event;

	public class Component extends MovieClip {

		public var myNum:Number;

		public function Component() {
			trace(this.myNum);
			addEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
		}
		
		private function onAddedToStage(event:Event):void{
			trace(this.myNum);
			removeEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
		}

	}
	
}
---------
]]></description>
			<content:encoded><![CDATA[<div>In AS2, you could simply add a component definition to a clip in the library, then add a variable, and it would be instantly accessible from within that clip. In AS3, this doesn't work.<br />
<br />
I have a variable myNum in the component definition, but my class file can't get to it. I added an ADDED_TO_STAGE listener thinking that maybe it couldn't get to the variable because it wasn't declared yet, but still no dice. And if I don't put var myNum:Number; I get an error. So I'm likely just overwriting the myNum in the component inspector with the myNum in the class definition. <br />
<br />
I looked at the Adobe Tutorial on Creating ActionScript 3.0 Components, but if there is a simple solution in the many pages there I can't seem to find it.<br />
<br />
Any ideas? All I need to do is access a single variable that is defined via the component inspector.<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">package {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; import flash.display.MovieClip;<br />
&nbsp; &nbsp; &nbsp; &nbsp; import flash.events.Event;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; public class Component extends MovieClip {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; public var myNum:Number;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; public function Component() {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; trace(this.myNum);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; addEventListener(Event.ADDED_TO_STAGE, onAddedToStage);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; private function onAddedToStage(event:Event):void{<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; trace(this.myNum);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; removeEventListener(Event.ADDED_TO_STAGE, onAddedToStage);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
}</code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://board.flashkit.com/board/forumdisplay.php?f=102">Actionscript 3.0</category>
			<dc:creator>sirzooass</dc:creator>
			<guid isPermaLink="true">http://board.flashkit.com/board/showthread.php?t=805920</guid>
		</item>
	</channel>
</rss>
