<?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>kirupaForum</title>
		<link>http://www.kirupa.com/forum/</link>
		<description>The shocking forums to the kirupa.com Web Resource site featuring categories on Flash, ActionScript, Design, PHP, and more!</description>
		<language>en</language>
		<lastBuildDate>Wed, 16 May 2012 16:06:33 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>5</ttl>
		<image>
			<url>http://www.kirupa.com/forum/images/misc/rss.png</url>
			<title>kirupaForum</title>
			<link>http://www.kirupa.com/forum/</link>
		</image>
		<item>
			<title>Problem with nav in IE 7</title>
			<link>http://www.kirupa.com/forum/showthread.php?372822-Problem-with-nav-in-IE-7&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 15:58:11 GMT</pubDate>
			<description><![CDATA[Hi,

I have a menu on a website that is not working very well in Internet  Explorer 7. See below information. Any suggestions would be much  appreciated.

Thanks 

Website: www.nicjonesdesign-wip.com/aquaclear/index.php (http://www.nicjonesdesign-wip.com/aquaclear/index.php)

Link to screen shot of how it looks in IE7:

http://www.nicjonesdesign-wip.com/screenshot.png


<div id="menu_container">      
<div id="menu">                      
<ul>                  
<li id="nav_home"><a href="index.php">Home</a></li>             
<li id="nav_contracting"><a href="contracting.php">Contracting</a></li>             <li id="nav_sales"><a href="sales.php">Truxor Sales</a></li>
             <li id="nav_clients"><a href="clients.php">Clients</a></li>
              <li id="nav_latest_news"><a href="latest_news.php">Latest News</a></li>
             <li id="nav_contact"><a href="contact.php">Contact Us</a></li> 
        </ul>          
</div> 
 </div>


#menu_container {     background-image: url("../images/bg_menu.gif");     height: 38px;     width: 100%; } 

#menu {     border-left: 1px solid #004177;     height: 32px;     margin: 0 auto;     width: 984px; } 

#menu ul {     list-style: none outside none;     margin: 0;     padding: 0; } 

#menu ul li a {     border-right: 1px solid #004177;     color: #FFFFFF;     float: left;     height: 22px;     padding: 10px 0 0;     text-align: center;     text-decoration: none;     width: 120px; } 

#menu ul li a:hover {     background-color: #004177;     background-image: url("../images/bg_menu_arrow.png");     background-position: center 0;     background-repeat: no-repeat; }]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I have a menu on a website that is not working very well in Internet  Explorer 7. See below information. Any suggestions would be much  appreciated.<br />
<br />
Thanks <br />
<br />
Website: <a href="http://www.nicjonesdesign-wip.com/aquaclear/index.php" target="_blank">www.nicjonesdesign-wip.com/aquaclear/index.php</a><br />
<br />
Link to screen shot of how it looks in IE7:<br />
<br />
<a href="http://www.nicjonesdesign-wip.com/screenshot.png" target="_blank">http://www.nicjonesdesign-wip.com/screenshot.png</a><br />
<br />
<br />
<font color="#000080">&lt;div id=<font color="#0000FF">&quot;menu_container&quot;</font>&gt;</font>      <font color="#000080"><br />
&lt;div id=<font color="#0000FF">&quot;menu&quot;</font>&gt;</font>                      <font color="#000080"><br />
&lt;ul&gt;</font>                  <font color="#000080"><br />
&lt;li id=<font color="#0000FF">&quot;nav_home&quot;</font>&gt;</font><font color="#008000">&lt;a href=<font color="#0000FF">&quot;index.php&quot;</font>&gt;</font>Home<font color="#008000">&lt;/a&gt;</font><font color="#000080">&lt;/li&gt;</font>             <font color="#000080"><br />
&lt;li id=<font color="#0000FF">&quot;nav_contracting&quot;</font>&gt;</font><font color="#008000">&lt;a href=<font color="#0000FF">&quot;contracting.php&quot;</font>&gt;</font>Contracting<font color="#008000">&lt;/a&gt;</font><font color="#000080">&lt;/li&gt;</font>             <font color="#000080">&lt;li id=<font color="#0000FF">&quot;nav_sales&quot;</font>&gt;</font><font color="#008000">&lt;a href=<font color="#0000FF">&quot;sales.php&quot;</font>&gt;</font>Truxor Sales<font color="#008000">&lt;/a&gt;</font><font color="#000080">&lt;/li&gt;</font><br />
             <font color="#000080">&lt;li id=<font color="#0000FF">&quot;nav_clients&quot;</font>&gt;</font><font color="#008000">&lt;a href=<font color="#0000FF">&quot;clients.php&quot;</font>&gt;</font>Clients<font color="#008000">&lt;/a&gt;</font><font color="#000080">&lt;/li&gt;</font><br />
              <font color="#000080">&lt;li id=<font color="#0000FF">&quot;nav_latest_news&quot;</font>&gt;</font><font color="#008000">&lt;a href=<font color="#0000FF">&quot;latest_news.php&quot;</font>&gt;</font>Latest News<font color="#008000">&lt;/a&gt;</font><font color="#000080">&lt;/li&gt;</font><br />
             <font color="#000080">&lt;li id=<font color="#0000FF">&quot;nav_contact&quot;</font>&gt;</font><font color="#008000">&lt;a href=<font color="#0000FF">&quot;contact.php&quot;</font>&gt;</font>Contact Us<font color="#008000">&lt;/a&gt;</font><font color="#000080">&lt;/li&gt;</font> <br />
        <font color="#000080">&lt;/ul&gt;</font>          <font color="#000080"><br />
&lt;/div&gt;</font> <br />
 <font color="#000080">&lt;/div&gt;</font><br />
<br />
<br />
#menu_container {     background-image: url(&quot;../images/bg_menu.gif&quot;);     height: 38px;     width: 100%; } <br />
<br />
#menu {     border-left: 1px solid #004177;     height: 32px;     margin: 0 auto;     width: 984px; } <br />
<br />
#menu ul {     list-style: none outside none;     margin: 0;     padding: 0; } <br />
<br />
#menu ul li a {     border-right: 1px solid #004177;     color: #FFFFFF;     float: left;     height: 22px;     padding: 10px 0 0;     text-align: center;     text-decoration: none;     width: 120px; } <br />
<br />
#menu ul li a:hover {     background-color: #004177;     background-image: url(&quot;../images/bg_menu_arrow.png&quot;);     background-position: center 0;     background-repeat: no-repeat; }</div>

]]></content:encoded>
			<category domain="http://www.kirupa.com/forum/forumdisplay.php?19-Web-(HTML5-CSS-JavaScript)">Web (HTML5, CSS, JavaScript)</category>
			<dc:creator>nnnniiiicccc</dc:creator>
			<guid isPermaLink="true">http://www.kirupa.com/forum/showthread.php?372822-Problem-with-nav-in-IE-7</guid>
		</item>
		<item>
			<title>SharedObject, close() and the storage settings dialog</title>
			<link>http://www.kirupa.com/forum/showthread.php?372821-SharedObject-close()-and-the-storage-settings-dialog&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 14:05:46 GMT</pubDate>
			<description><![CDATA[I'm confused about the proper way to save a Local Shared Object.  There are those who say the data is automatically saved.  There are those who say you should not count on that but use the SharedObject.flush() method.  And I've heard that when you're done you should call the close() method or you will not be able to use a SharedObject again later.

The problem is, if I have my local storage settings to "ask," the flush() call will invoke the settings dialog, and the close() call invokes it again, so I have to click Allow (or Deny) twice.

Any enlightenment on this?


Code:
---------
public function save(solName:String, propName:String, propValue:*):void{
    so = SharedObject.getLocal(solName);
    so.data[propName] = propValue;
    try{var flushResult:String = so.flush();
        if (flushResult == SharedObjectFlushStatus.FLUSHED){
            dispatchEvent(new Event(SAVE_SUCCESSFUL));
            //so.close(); <--- WOULD OPEN SETTINGS DIALOG A SECOND TIME
        }else if (flushResult == SharedObjectFlushStatus.PENDING){
            so.addEventListener(NetStatusEvent.NET_STATUS, onNetStatus);
        }
    }catch(e:Error){
        // user has local storage settings to "Never"
        dispatchEvent(new Event(LOCAL_STORAGE_NEVER));
        //so.close();
    }
        
private function onNetStatus(e:NetStatusEvent):void{
    if (e.info.code == "SharedObject.Flush.Success"){
        dispatchEvent(new Event(SAVE_SUCCESSFUL));
    }else if (e.info.code == "SharedObject.Flush.Failed"){
        dispatchEvent(new Event(LOCAL_STORAGE_DENIED));
    }
    //so.close();
    //so.removeEventListener(NetStatusEvent.NET_STATUS, onNetStatus);
    //and can't remove that event listener if I'm calling close()
    //because I'll get an unhandled NetStatusEvent error
}
---------
]]></description>
			<content:encoded><![CDATA[<div>I'm confused about the proper way to save a Local Shared Object.  There are those who say the data is automatically saved.  There are those who say you should not count on that but use the SharedObject.flush() method.  And I've heard that when you're done you should call the close() method or you will not be able to use a SharedObject again later.<br />
<br />
The problem is, if I have my local storage settings to &quot;ask,&quot; the flush() call will invoke the settings dialog, and the close() call invokes it <i>again,</i> so I have to click Allow (or Deny) twice.<br />
<br />
Any enlightenment on this?<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">public function save(solName:String, propName:String, propValue:*):void{<br />
&nbsp; &nbsp; so = SharedObject.getLocal(solName);<br />
&nbsp; &nbsp; so.data[propName] = propValue;<br />
&nbsp; &nbsp; try{var flushResult:String = so.flush();<br />
&nbsp; &nbsp; &nbsp; &nbsp; if (flushResult == SharedObjectFlushStatus.FLUSHED){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dispatchEvent(new Event(SAVE_SUCCESSFUL));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //so.close(); &lt;--- WOULD OPEN SETTINGS DIALOG A SECOND TIME<br />
&nbsp; &nbsp; &nbsp; &nbsp; }else if (flushResult == SharedObjectFlushStatus.PENDING){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; so.addEventListener(NetStatusEvent.NET_STATUS, onNetStatus);<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }catch(e:Error){<br />
&nbsp; &nbsp; &nbsp; &nbsp; // user has local storage settings to &quot;Never&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; dispatchEvent(new Event(LOCAL_STORAGE_NEVER));<br />
&nbsp; &nbsp; &nbsp; &nbsp; //so.close();<br />
&nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
private function onNetStatus(e:NetStatusEvent):void{<br />
&nbsp; &nbsp; if (e.info.code == &quot;SharedObject.Flush.Success&quot;){<br />
&nbsp; &nbsp; &nbsp; &nbsp; dispatchEvent(new Event(SAVE_SUCCESSFUL));<br />
&nbsp; &nbsp; }else if (e.info.code == &quot;SharedObject.Flush.Failed&quot;){<br />
&nbsp; &nbsp; &nbsp; &nbsp; dispatchEvent(new Event(LOCAL_STORAGE_DENIED));<br />
&nbsp; &nbsp; }<br />
&nbsp; &nbsp; //so.close();<br />
&nbsp; &nbsp; //so.removeEventListener(NetStatusEvent.NET_STATUS, onNetStatus);<br />
&nbsp; &nbsp; //and can't remove that event listener if I'm calling close()<br />
&nbsp; &nbsp; //because I'll get an unhandled NetStatusEvent error<br />
}</code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://www.kirupa.com/forum/forumdisplay.php?141-ActionScript-3">ActionScript 3</category>
			<dc:creator>e_v</dc:creator>
			<guid isPermaLink="true">http://www.kirupa.com/forum/showthread.php?372821-SharedObject-close()-and-the-storage-settings-dialog</guid>
		</item>
		<item>
			<title>*34$Leonardo Roth, FL $ Helps Companies to Increase Their Competency*34$</title>
			<link>http://www.kirupa.com/forum/showthread.php?372820-*34-Leonardo-Roth-FL-Helps-Companies-to-Increase-Their-Competency*34&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 12:46:37 GMT</pubDate>
			<description>*34$Leonardo Roth, FL $ Helps Companies to Increase Their Competency*34$

Leonardo Roth, FL is an experienced business consultant who helps businesses to streamline their operations for better efficiency and bigger profits.

Leonardo Roth, FL (http://www.edocr.com/doc/23711/leonardo-roth)

Leonardo Roth, FL (http://www.slideboom.com/presentations/486328)

Leonardo Roth, FL (http://pastebin.com/R7PbcPpK)

Leonardo  Roth, FL (http://www.authorstream.com/Presentation/leonardorotharoth-1323179-presentation-business-breakfast-jul-14-10/)</description>
			<content:encoded><![CDATA[<div>*34$Leonardo Roth, FL $ Helps Companies to Increase Their Competency*34$<br />
<br />
Leonardo Roth, FL is an experienced business consultant who helps businesses to streamline their operations for better efficiency and bigger profits.<br />
<br />
<a href="http://www.edocr.com/doc/23711/leonardo-roth" target="_blank">Leonardo Roth, FL</a><br />
<br />
<a href="http://www.slideboom.com/presentations/486328" target="_blank">Leonardo Roth, FL</a><br />
<br />
<a href="http://pastebin.com/R7PbcPpK" target="_blank">Leonardo Roth, FL</a><br />
<br />
<a href="http://www.authorstream.com/Presentation/leonardorotharoth-1323179-presentation-business-breakfast-jul-14-10/" target="_blank">Leonardo  Roth, FL</a></div>

]]></content:encoded>
			<category domain="http://www.kirupa.com/forum/forumdisplay.php?4-Random">Random</category>
			<dc:creator>tani123</dc:creator>
			<guid isPermaLink="true">http://www.kirupa.com/forum/showthread.php?372820-*34-Leonardo-Roth-FL-Helps-Companies-to-Increase-Their-Competency*34</guid>
		</item>
		<item>
			<title>*34$Leonardo Adrian Roth $ Worked In the Profession of Business Consultancy*34$  Wit</title>
			<link>http://www.kirupa.com/forum/showthread.php?372819-*34-Leonardo-Adrian-Roth-Worked-In-the-Profession-of-Business-Consultancy*34-Wit&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 12:45:56 GMT</pubDate>
			<description><![CDATA[*34$Leonardo Adrian Roth $ Worked In the Profession of Business Consultancy*34$

With a strong academic background is Leonardo Adrian Roth provides pertinent and valuable business consultancy services to his clients.

Leonardo Adrian Roth (http://www.edocr.com/doc/23711/leonardo-adrian-roth)

Leonardo Adrian Roth (http://www.slideshare.net/leonardorotharoth/leonardo-roth-12255522)

Leonardo  Adrian Roth (http://www.articlesnatch.com/Article/Leonardo-Roth--Fl-Is-An-Experienced-And-Accomplished-Lawyer/3623781)

Leonardo Adrian Roth (http://www.ideamarketers.com/?Leonardo_Adrian_Roth&articleid=3076034)

Leonardo Adrian Roth (http://www.slideshare.net/leonardorotharoth)]]></description>
			<content:encoded><![CDATA[<div>*34$Leonardo Adrian Roth $ Worked In the Profession of Business Consultancy*34$<br />
<br />
With a strong academic background is Leonardo Adrian Roth provides pertinent and valuable business consultancy services to his clients.<br />
<br />
<a href="http://www.edocr.com/doc/23711/leonardo-adrian-roth" target="_blank">Leonardo Adrian Roth</a><br />
<br />
<a href="http://www.slideshare.net/leonardorotharoth/leonardo-roth-12255522" target="_blank">Leonardo Adrian Roth</a><br />
<br />
<a href="http://www.articlesnatch.com/Article/Leonardo-Roth--Fl-Is-An-Experienced-And-Accomplished-Lawyer/3623781" target="_blank">Leonardo  Adrian Roth</a><br />
<br />
<a href="http://www.ideamarketers.com/?Leonardo_Adrian_Roth&amp;articleid=3076034" target="_blank">Leonardo Adrian Roth</a><br />
<br />
<a href="http://www.slideshare.net/leonardorotharoth" target="_blank">Leonardo Adrian Roth</a></div>

]]></content:encoded>
			<category domain="http://www.kirupa.com/forum/forumdisplay.php?4-Random">Random</category>
			<dc:creator>tani123</dc:creator>
			<guid isPermaLink="true">http://www.kirupa.com/forum/showthread.php?372819-*34-Leonardo-Adrian-Roth-Worked-In-the-Profession-of-Business-Consultancy*34-Wit</guid>
		</item>
		<item>
			<title><![CDATA[CSS how to place <div class"upperbuttons">  250 pixels to the right ?]]></title>
			<link>http://www.kirupa.com/forum/showthread.php?372817-how-to-place-lt-div-class-quot-upperbuttons-quot-gt-250-pixels-to-the-right&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 12:44:23 GMT</pubDate>
			<description><![CDATA[How to place the buttons of upperbuttons class some pixels to the right , so that to avoid be 
overlapped by the logo image ?
What do I have to add to the class .upperbuttons {right:332px; .... in order to place the div on which the buttons are
200 pixels to the right ?
Thanks 
.................
<body>
<div class="main">
<!--===========H E A D E R=================================-->
<header>
<div>
<h1><a href="index.html">

<!-- L O G O -->
<img src="images/logo.jpg" alt=""></a></h1>
<!-- / L O G O --> 
<div class"upperbuttons"> 
<a href="#" class="button">Instituto</a>
<a href="#" class="button">Instituto</a>
</div> 
<div class="social-icons">
<span>social networks</span>
<a href="#" class="icon-3"></a>
<a href="#" class="icon-2"></a>
<a href="#" class="icon-1"></a> 
</div>......]]></description>
			<content:encoded><![CDATA[<div>How to place the buttons of upperbuttons class some pixels to the right , so that to avoid be <br />
overlapped by the logo image ?<br />
What do I have to add to the class .upperbuttons {right:332px; .... in order to place the div on which the buttons are<br />
200 pixels to the right ?<br />
Thanks <br />
.................<br />
&lt;body&gt;<br />
&lt;div class=&quot;main&quot;&gt;<br />
&lt;!--===========H E A D E R=================================--&gt;<br />
&lt;header&gt;<br />
&lt;div&gt;<br />
&lt;h1&gt;&lt;a href=&quot;index.html&quot;&gt;<br />
<br />
&lt;!-- L O G O --&gt;<br />
&lt;img src=&quot;images/logo.jpg&quot; alt=&quot;&quot;&gt;&lt;/a&gt;&lt;/h1&gt;<br />
&lt;!-- / L O G O --&gt; <br />
&lt;div class&quot;upperbuttons&quot;&gt; <br />
&lt;a href=&quot;#&quot; class=&quot;button&quot;&gt;Instituto&lt;/a&gt;<br />
&lt;a href=&quot;#&quot; class=&quot;button&quot;&gt;Instituto&lt;/a&gt;<br />
&lt;/div&gt; <br />
&lt;div class=&quot;social-icons&quot;&gt;<br />
&lt;span&gt;social networks&lt;/span&gt;<br />
&lt;a href=&quot;#&quot; class=&quot;icon-3&quot;&gt;&lt;/a&gt;<br />
&lt;a href=&quot;#&quot; class=&quot;icon-2&quot;&gt;&lt;/a&gt;<br />
&lt;a href=&quot;#&quot; class=&quot;icon-1&quot;&gt;&lt;/a&gt; <br />
&lt;/div&gt;......</div>

]]></content:encoded>
			<category domain="http://www.kirupa.com/forum/forumdisplay.php?19-Web-(HTML5-CSS-JavaScript)">Web (HTML5, CSS, JavaScript)</category>
			<dc:creator>multimediamkt</dc:creator>
			<guid isPermaLink="true">http://www.kirupa.com/forum/showthread.php?372817-how-to-place-lt-div-class-quot-upperbuttons-quot-gt-250-pixels-to-the-right</guid>
		</item>
		<item>
			<title>Problem clearing phones memory for Flashlite</title>
			<link>http://www.kirupa.com/forum/showthread.php?372816-Problem-clearing-phones-memory-for-Flashlite&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 11:51:56 GMT</pubDate>
			<description><![CDATA[Hi everyone,

I've been trying to make a program that randomly plays interactive SWFs for my mobile phone (Flashlite).

You can click on one of the random SWFs and it plays then goes back to another SWF that loads a second one. This works fine for about 4 or 5 times, afterwhich it stops working.

I am guessing that the memory is getting clogged up. Could someone explain how to clear the phones memory after the SWF has finished?

Here is the script I'm using for the main file that randomly loads SWF files:


stop ();
var movieArray:Array = ['template','words ~002','words ~003'];
var loader:Loader = new Loader(); 
var index:int = movieArray.length * Math.random();
var url:String = movieArray[index] + '.swf';
movieArray.splice(index, 1); // this will remove that item from the array
trace("Attempting to load", url);  loader.load(new URLRequest(url));  
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loaderComplete);
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loaderIOError);
addChild(loader);
function loaderComplete(e:Event):void {  
            trace("Successfully loaded", url);

}
function loaderIOError(e:IOErrorEvent):void {  
             trace("Failed to load", url);
}


Here is the script I'm using at the end of the random SWF files (to send it back to the main SWF):


var fl_ToLoad_3:Boolean = true;

function fl_ClickToLoadUnloadSWF_3(event:MouseEvent):void
{
    if(fl_ToLoad_3)
    {
        fl_Loader_3 = new Loader();
        fl_Loader_3.load(new URLRequest("greetings.swf"));
        addChild(fl_Loader_3);
    }
    else
    {
        fl_Loader_3.unload();
        removeChild(fl_Loader_3);
        fl_Loader_3 = null;
    }
    // Toggle whether you want to load or unload the SWF
    fl_ToLoad_3 = !fl_ToLoad_3;
}



Any help would be really appreciated!!!]]></description>
			<content:encoded><![CDATA[<div>Hi everyone,<br />
<br />
I've been trying to make a program that randomly plays interactive SWFs for my mobile phone (Flashlite).<br />
<br />
You can click on one of the random SWFs and it plays then goes back to another SWF that loads a second one. This works fine for about 4 or 5 times, afterwhich it stops working.<br />
<br />
I am guessing that the memory is getting clogged up. Could someone explain how to clear the phones memory after the SWF has finished?<br />
<br />
Here is the script I'm using for the main file that randomly loads SWF files:<br />
<br />
<br />
stop ();<br />
var movieArray:Array = ['template','words ~002','words ~003'];<br />
var loader:Loader = new Loader(); <br />
var index:int = movieArray.length * Math.random();<br />
var url:String = movieArray[index] + '.swf';<br />
movieArray.splice(index, 1); // this will remove that item from the array<br />
trace(&quot;Attempting to load&quot;, url);  loader.load(new URLRequest(url));  <br />
loader.contentLoaderInfo.addEventListener(Event.CO  MPLETE, loaderComplete);<br />
loader.contentLoaderInfo.addEventListener(IOErrorE  vent.IO_ERROR, loaderIOError);<br />
addChild(loader);<br />
function loaderComplete(e:Event):void {  <br />
            trace(&quot;Successfully loaded&quot;, url);<br />
<br />
}<br />
function loaderIOError(e:IOErrorEvent):void {  <br />
             trace(&quot;Failed to load&quot;, url);<br />
}<br />
<br />
<br />
Here is the script I'm using at the end of the random SWF files (to send it back to the main SWF):<br />
<br />
<br />
var fl_ToLoad_3:Boolean = true;<br />
<br />
function fl_ClickToLoadUnloadSWF_3(event:MouseEvent):void<br />
{<br />
    if(fl_ToLoad_3)<br />
    {<br />
        fl_Loader_3 = new Loader();<br />
        fl_Loader_3.load(new URLRequest(&quot;greetings.swf&quot;));<br />
        addChild(fl_Loader_3);<br />
    }<br />
    else<br />
    {<br />
        fl_Loader_3.unload();<br />
        removeChild(fl_Loader_3);<br />
        fl_Loader_3 = null;<br />
    }<br />
    // Toggle whether you want to load or unload the SWF<br />
    fl_ToLoad_3 = !fl_ToLoad_3;<br />
}<br />
<br />
<br />
<br />
Any help would be really appreciated!!!</div>

]]></content:encoded>
			<category domain="http://www.kirupa.com/forum/forumdisplay.php?141-ActionScript-3">ActionScript 3</category>
			<dc:creator>nova929</dc:creator>
			<guid isPermaLink="true">http://www.kirupa.com/forum/showthread.php?372816-Problem-clearing-phones-memory-for-Flashlite</guid>
		</item>
		<item>
			<title>Flash External interface call on complete</title>
			<link>http://www.kirupa.com/forum/showthread.php?372815-External-interface-call-on-complete&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 10:23:42 GMT</pubDate>
			<description><![CDATA[Is there any way to register a callback to be automatically invoked at the end of the execution of a ExternalInterface.call? I am calling a custom Javascript function from Flash and I would like to be notified when it's over.

Code:
---------
ExternalInterface.call("MyJSFunc", myparam);
---------
I've read about the addCallback function, but I'm quite scared about setting this parameter:

Code:
---------
allowScriptAccess="always"
---------

Could it lead to security dangers?

Thanks in advance.]]></description>
			<content:encoded><![CDATA[<div>Is there any way to register a callback to be automatically invoked at the end of the execution of a ExternalInterface.call? I am calling a custom Javascript function from Flash and I would like to be notified when it's over.<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">ExternalInterface.call(&quot;MyJSFunc&quot;, myparam);</code><hr />
</div>I've read about the addCallback function, but I'm quite scared about setting this parameter:<br />
<font color="#000000"><span style="font-family: Courier New"><div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">allowScriptAccess=&quot;always&quot;</code><hr />
</div></span></font><br />
Could it lead to security dangers?<br />
<br />
Thanks in advance.</div>

]]></content:encoded>
			<category domain="http://www.kirupa.com/forum/forumdisplay.php?141-ActionScript-3">ActionScript 3</category>
			<dc:creator>giobongio</dc:creator>
			<guid isPermaLink="true">http://www.kirupa.com/forum/showthread.php?372815-External-interface-call-on-complete</guid>
		</item>
		<item>
			<title>Flash AS3 Color Tweening</title>
			<link>http://www.kirupa.com/forum/showthread.php?372814-AS3-Color-Tweening&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 09:55:06 GMT</pubDate>
			<description><![CDATA[Hello,
Have Adobe simple Color Tweening code, like this caurina code : 
Tweener.addTween(myClip, {_color: 0x000000, time:1, transition:"easeOut"}); 
?

]]></description>
			<content:encoded><![CDATA[<div>Hello,<br />
<div style="text-align: left;"><font color="#333333"><span style="font-family: AdobeCleanRegular">Have Adobe simple Color Tweening code, like this caurina code : <br />
Tweener.addTween(myClip, {_color: 0x000000, time:1, transition:&quot;easeOut&quot;}); <br />
?<br />
</span></font></div></div>

]]></content:encoded>
			<category domain="http://www.kirupa.com/forum/forumdisplay.php?141-ActionScript-3">ActionScript 3</category>
			<dc:creator>Mikheil</dc:creator>
			<guid isPermaLink="true">http://www.kirupa.com/forum/showthread.php?372814-AS3-Color-Tweening</guid>
		</item>
		<item>
			<title>Flash help with tilelist or scrollbars</title>
			<link>http://www.kirupa.com/forum/showthread.php?372813-help-with-tilelist-or-scrollbars&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 09:53:27 GMT</pubDate>
			<description><![CDATA[Hello!  
   
I'm a begginer using Adobe Flash. I'm developping a website and in my page i want diferent "windows". In one of them i wanted do to something like a tilelist where I show the products of the my company. But what I see here is that the tile list just accept sources from internet links and I want to apply a tilelist or something else (I need a scrollbar) to my movieclip witch containes a lot of buttons (that are the products images).   
   
Can you help me? I don't know if I was clear enouth explaining me problem.  
   
Regards  
Sofia
(I know that this is more for AS devellopers but if anyone could help me with something more easy, using the flash components for example, it would be perfect)]]></description>
			<content:encoded><![CDATA[<div>Hello!  <br />
   <br />
I'm a begginer using Adobe Flash. I'm developping a website and in my page i want diferent &quot;windows&quot;. In one of them i wanted do to something like a tilelist where I show the products of the my company. But what I see here is that the tile list just accept sources from internet links and I want to apply a tilelist or something else (I need a scrollbar) to my movieclip witch containes a lot of buttons (that are the products images).   <br />
   <br />
Can you help me? I don't know if I was clear enouth explaining me problem.  <br />
   <br />
Regards  <br />
Sofia<br />
(I know that this is more for AS devellopers but if anyone could help me with something more easy, using the flash components for example, it would be perfect)</div>

]]></content:encoded>
			<category domain="http://www.kirupa.com/forum/forumdisplay.php?141-ActionScript-3">ActionScript 3</category>
			<dc:creator>SofiaSampaio</dc:creator>
			<guid isPermaLink="true">http://www.kirupa.com/forum/showthread.php?372813-help-with-tilelist-or-scrollbars</guid>
		</item>
		<item>
			<title>Flash Help with Variable, from my scene to a movieClip</title>
			<link>http://www.kirupa.com/forum/showthread.php?372812-Help-with-Variable-from-my-scene-to-a-movieClip&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 09:16:20 GMT</pubDate>
			<description><![CDATA[okay, so im new too programming and have just started out with AS3, im working on a school project to make a educational game. However im strugling with variables. i declared a int variable in my scene(frame 11) and then used this variable in a movieClip. Here is my code:

Scene 1, Frame 11:

Code:
---------
import flash.events.MouseEvent;

//Variables
var speed:int = 1


var score:Number = 0
var highscore:int = 0


var rndLow:int = 1
var rndHigh:int = 24
var rndLetter:Number = Math.floor(Math.random()*(1+rndHigh-rndLow))+rndLow;
var myString:String= String(rndLetter);


var currentState:int = 1


var btnResumes:MovieClip = new btnResume();
var btnPauses:MovieClip = new btnPause();
var btnPlays:MovieClip = new btnPlay();


btnPlays.x = 115
btnPlays.y = 180
btnResumes.x = 115
btnResumes.y = 180
btnPauses.x = 115
btnPauses.y = 180


addChild(btnPlays)


function plays(event:MouseEvent):void
{
   removeChild(btnPlays)
   addChild(btnPauses)
   currentState = 3
}


btnPlays.addEventListener(MouseEvent.CLICK, plays);


function resumes(event:MouseEvent):void
{
   removeChild(btnResumes)
   addChild(btnPauses)
   currentState = 3
}


btnResumes.addEventListener(MouseEvent.CLICK, resumes);


function pauses(event:MouseEvent):void
{
   removeChild(btnPauses)
   addChild(btnResumes)
   currentState = 2
}


btnPauses.addEventListener(MouseEvent.CLICK, pauses);


function mainMenu1(event:MouseEvent):void
{
   if (currentState == 1)
   {
       removeChild(btnPlays)
   } else if (currentState == 2)
   {
       removeChild(btnResumes)
   }else
   {
       removeChild(btnPauses)
   }
              
   gotoAndStop("Menu")
}


btnToMenu1.addEventListener(MouseEvent.CLICK, mainMenu1);


lblLol.text = myString


gotoAndStop("Game")
---------
and here is my movieClip:

Code:
---------
if (speed == 1){
    this.x + 1
}else if (speed == 2)
{
    this.x + 2
}else if (speed == 4)
{
    this.x + 4
}else
{
    this.x + 8
}
---------
it comes up with error 1120, the highlighted text is the variable i am struggeling with.
Ive been looking for an answer for hours now, any help is appreciated. Bimzy :toad: ps. Toad is awsome.]]></description>
			<content:encoded><![CDATA[<div>okay, so im new too programming and have just started out with AS3, im working on a school project to make a educational game. However im strugling with variables. i declared a int variable in my scene(frame 11) and then used this variable in a movieClip. Here is my code:<br />
<br />
Scene 1, Frame 11:<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">import flash.events.MouseEvent;<br />
<br />
//Variables<br />
<font color="#ff0000">var speed:int = 1</font><br />
<br />
<br />
var score:Number = 0<br />
var highscore:int = 0<br />
<br />
<br />
var rndLow:int = 1<br />
var rndHigh:int = 24<br />
var rndLetter:Number = Math.floor(Math.random()*(1+rndHigh-rndLow))+rndLow;<br />
var myString:String= String(rndLetter);<br />
<br />
<br />
var currentState:int = 1<br />
<br />
<br />
var btnResumes:MovieClip = new btnResume();<br />
var btnPauses:MovieClip = new btnPause();<br />
var btnPlays:MovieClip = new btnPlay();<br />
<br />
<br />
btnPlays.x = 115<br />
btnPlays.y = 180<br />
btnResumes.x = 115<br />
btnResumes.y = 180<br />
btnPauses.x = 115<br />
btnPauses.y = 180<br />
<br />
<br />
addChild(btnPlays)<br />
<br />
<br />
function plays(event:MouseEvent):void<br />
{<br />
&nbsp;  removeChild(btnPlays)<br />
&nbsp;  addChild(btnPauses)<br />
&nbsp;  currentState = 3<br />
}<br />
<br />
<br />
btnPlays.addEventListener(MouseEvent.CLICK, plays);<br />
<br />
<br />
function resumes(event:MouseEvent):void<br />
{<br />
&nbsp;  removeChild(btnResumes)<br />
&nbsp;  addChild(btnPauses)<br />
&nbsp;  currentState = 3<br />
}<br />
<br />
<br />
btnResumes.addEventListener(MouseEvent.CLICK, resumes);<br />
<br />
<br />
function pauses(event:MouseEvent):void<br />
{<br />
&nbsp;  removeChild(btnPauses)<br />
&nbsp;  addChild(btnResumes)<br />
&nbsp;  currentState = 2<br />
}<br />
<br />
<br />
btnPauses.addEventListener(MouseEvent.CLICK, pauses);<br />
<br />
<br />
function mainMenu1(event:MouseEvent):void<br />
{<br />
&nbsp;  if (currentState == 1)<br />
&nbsp;  {<br />
&nbsp; &nbsp; &nbsp;  removeChild(btnPlays)<br />
&nbsp;  } else if (currentState == 2)<br />
&nbsp;  {<br />
&nbsp; &nbsp; &nbsp;  removeChild(btnResumes)<br />
&nbsp;  }else<br />
&nbsp;  {<br />
&nbsp; &nbsp; &nbsp;  removeChild(btnPauses)<br />
&nbsp;  }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp;  gotoAndStop(&quot;Menu&quot;)<br />
}<br />
<br />
<br />
btnToMenu1.addEventListener(MouseEvent.CLICK, mainMenu1);<br />
<br />
<br />
lblLol.text = myString<br />
<br />
<br />
gotoAndStop(&quot;Game&quot;)</code><hr />
</div>and here is my movieClip:<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">if (<font color="#ff0000">speed</font> == 1){<br />
&nbsp; &nbsp; this.x + 1<br />
}else if (<font color="#ff0000">speed</font> == 2)<br />
{<br />
&nbsp; &nbsp; this.x + 2<br />
}else if (<font color="#ff0000">speed</font> == 4)<br />
{<br />
&nbsp; &nbsp; this.x + 4<br />
}else<br />
{<br />
&nbsp; &nbsp; this.x + 8<br />
}</code><hr />
</div>it comes up with error 1120, the highlighted text is the variable i am struggeling with.<br />
Ive been looking for an answer for hours now, any help is appreciated. Bimzy :toad: ps. Toad is awsome.</div>

]]></content:encoded>
			<category domain="http://www.kirupa.com/forum/forumdisplay.php?141-ActionScript-3">ActionScript 3</category>
			<dc:creator>Bimzy</dc:creator>
			<guid isPermaLink="true">http://www.kirupa.com/forum/showthread.php?372812-Help-with-Variable-from-my-scene-to-a-movieClip</guid>
		</item>
		<item>
			<title>get index of 2d array?</title>
			<link>http://www.kirupa.com/forum/showthread.php?372809-get-index-of-2d-array&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 06:01:49 GMT</pubDate>
			<description><![CDATA[How can i obtain the index of a multidimensional array, preferably the first out of the two? (the 1,2,3. not 0):


Code:
---------
arrayThing[0][0].addEventListener(MouseEvent.CLICK, traceArray);
arrayThing[1][0].addEventListener(MouseEvent.CLICK, traceArray);
arrayThing[2][0].addEventListener(MouseEvent.CLICK, traceArray);

function traceArray(e:MouseEvent)
{
     trace(How do i obtain either 0,1, or 2, depending on which was clicked?);
}
---------
thanks.]]></description>
			<content:encoded><![CDATA[<div>How can i obtain the index of a multidimensional array, preferably the first out of the two? (the 1,2,3. not 0):<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code"><i>arrayThing[0][0].addEventListener(MouseEvent.CLICK, trace</i>Array);<br />
<i>arrayThing[1][0].addEventListener(MouseEvent.CLICK, trace</i>Array);<br />
<i>arrayThing[2][0].addEventListener(MouseEvent.CLICK, trace</i>Array);<br />
<br />
<i>function traceArray(e:MouseEvent)<br />
{<br />
&nbsp; &nbsp;  trace(How do i obtain either 0,1, or 2, depending on which was clicked?);<br />
}<br />
<br />
</i></code><hr />
</div>thanks.</div>

]]></content:encoded>
			<category domain="http://www.kirupa.com/forum/forumdisplay.php?141-ActionScript-3">ActionScript 3</category>
			<dc:creator>GeekTweak.0</dc:creator>
			<guid isPermaLink="true">http://www.kirupa.com/forum/showthread.php?372809-get-index-of-2d-array</guid>
		</item>
		<item>
			<title>Drawing API Stroke width remains fixed even on scalling</title>
			<link>http://www.kirupa.com/forum/showthread.php?372801-Drawing-API-Stroke-width-remains-fixed-even-on-scalling&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 05:38:49 GMT</pubDate>
			<description>Hi,
I am working on a printing app where I am using Drawing API to draw a rectangle. I have provided a functionality to control stroke width of the rectangle 
Code:
---------
graphics.lineStyle(10,0x000000);
---------
For printing purpose I will need to scale the rectangle to higher resolution so I am using scaleX and scaleY to 5 times. But scalling the movieclip is not working with the stroke of the rectangle. The stroke remains the same.

Please let me know how can i increase the stroke width when scaling the movieclip.

Thanks</description>
			<content:encoded><![CDATA[<div>Hi,<br />
I am working on a printing app where I am using Drawing API to draw a rectangle. I have provided a functionality to control stroke width of the rectangle <div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">graphics.lineStyle(10,0x000000);</code><hr />
</div>For printing purpose I will need to scale the rectangle to higher resolution so I am using scaleX and scaleY to 5 times. But scalling the movieclip is not working with the stroke of the rectangle. The stroke remains the same.<br />
<br />
Please let me know how can i increase the stroke width when scaling the movieclip.<br />
<br />
Thanks</div>

]]></content:encoded>
			<category domain="http://www.kirupa.com/forum/forumdisplay.php?141-ActionScript-3">ActionScript 3</category>
			<dc:creator>black_pearl</dc:creator>
			<guid isPermaLink="true">http://www.kirupa.com/forum/showthread.php?372801-Drawing-API-Stroke-width-remains-fixed-even-on-scalling</guid>
		</item>
		<item>
			<title>Help Needed!</title>
			<link>http://www.kirupa.com/forum/showthread.php?372800-Help-Needed!&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 04:38:03 GMT</pubDate>
			<description>I am developing an attendance checker application for Windows Phone 7.
The app basically checks for your attendance % individually for each subject and lets you know if you should attend more lectures.
In one of the navigation pages, I am planning on asking the user to input the subject name in a text box. Based on this String, I will create a button for that particular subject name in another page. The user will then click this button and he will be navigated to the attendance of that particular subject, where he can set the attendance he has and the total attendance.
My problem is, I cannot figure out that when I accept the name of the subject, how will i create a button with that name.
The button should be created only after the user confirms the name of the subject.
Any help is highly appreciated.</description>
			<content:encoded><![CDATA[<div>I am developing an attendance checker application for Windows Phone 7.<br />
The app basically checks for your attendance % individually for each subject and lets you know if you should attend more lectures.<br />
In one of the navigation pages, I am planning on asking the user to input the subject name in a text box. Based on this String, I will create a button for that particular subject name in another page. The user will then click this button and he will be navigated to the attendance of that particular subject, where he can set the attendance he has and the total attendance.<br />
My problem is, I cannot figure out that when I accept the name of the subject, how will i create a button with that name.<br />
The button should be created only after the user confirms the name of the subject.<br />
Any help is highly appreciated.</div>

]]></content:encoded>
			<category domain="http://www.kirupa.com/forum/forumdisplay.php?64-Source-Experiments">Source/Experiments</category>
			<dc:creator>agradeep92</dc:creator>
			<guid isPermaLink="true">http://www.kirupa.com/forum/showthread.php?372800-Help-Needed!</guid>
		</item>
		<item>
			<title>Fastest way to crash the standalone Flash Player?</title>
			<link>http://www.kirupa.com/forum/showthread.php?372797-Fastest-way-to-crash-the-standalone-Flash-Player&amp;goto=newpost</link>
			<pubDate>Tue, 15 May 2012 20:49:57 GMT</pubDate>
			<description>Or, rather, fastest way to consume all available memory for the Flash Player? Loading X large images will definitely do the trick, but it takes too long to kill it.</description>
			<content:encoded><![CDATA[<div>Or, rather, fastest way to consume all available memory for the Flash Player? Loading X large images will definitely do the trick, but it takes too long to kill it.</div>

]]></content:encoded>
			<category domain="http://www.kirupa.com/forum/forumdisplay.php?141-ActionScript-3">ActionScript 3</category>
			<dc:creator>creatify</dc:creator>
			<guid isPermaLink="true">http://www.kirupa.com/forum/showthread.php?372797-Fastest-way-to-crash-the-standalone-Flash-Player</guid>
		</item>
		<item>
			<title>Flash Uploading an .swf with mp3s - How do I make this work?</title>
			<link>http://www.kirupa.com/forum/showthread.php?372796-Uploading-an-swf-with-mp3s-How-do-I-make-this-work&amp;goto=newpost</link>
			<pubDate>Tue, 15 May 2012 19:11:36 GMT</pubDate>
			<description><![CDATA[I've got a finished project that requires .mp3s to be played using the code:

InstanceName.addEventListener(MouseEvent.CLICK, playSound1);
function playSound1(event:MouseEvent):void{
    SoundMixer.stopAll();
    var s1:Sound = new Sound(new URLRequest("My track.mp3"));
                                            s1.play()
}

When I upload the .swf to a site such as swfcabin (http://www.swfcabin.com/), the project is there but when the buttons are clicked, there is no audio.

Is there any site that will allow me to upload the .swf and have the audio play? I tried to embed the audio in the buttons but the project ended up being so big, my computer didn't have enough memory to test and create an .swf.

This is pretty urgent so any help would be greatly appreciated!]]></description>
			<content:encoded><![CDATA[<div>I've got a finished project that requires .mp3s to be played using the code:<br />
<br />
InstanceName.addEventListener(MouseEvent.CLICK, playSound1);<br />
function playSound1(event:MouseEvent):void{<br />
    SoundMixer.stopAll();<br />
    var s1:Sound = new Sound(new URLRequest(&quot;My track.mp3&quot;));<br />
                                            s1.play()<br />
}<br />
<br />
When I upload the .swf to a site such as <a href="http://www.swfcabin.com/" target="_blank">swfcabin</a>, the project is there but when the buttons are clicked, there is no audio.<br />
<br />
Is there any site that will allow me to upload the .swf and have the audio play? I tried to embed the audio in the buttons but the project ended up being so big, my computer didn't have enough memory to test and create an .swf.<br />
<br />
This is pretty urgent so any help would be greatly appreciated!</div>

]]></content:encoded>
			<category domain="http://www.kirupa.com/forum/forumdisplay.php?141-ActionScript-3">ActionScript 3</category>
			<dc:creator>Profitemole</dc:creator>
			<guid isPermaLink="true">http://www.kirupa.com/forum/showthread.php?372796-Uploading-an-swf-with-mp3s-How-do-I-make-this-work</guid>
		</item>
	</channel>
</rss>

