<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Kommentare für if( ExternalInterface.available ){</title>
	<atom:link href="http://blog.sebastian-martens.de/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sebastian-martens.de</link>
	<description></description>
	<lastBuildDate>Mon, 19 Jul 2010 18:32:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>Kommentar zu User Mouse Tracking / Website Research von Weblap.ro</title>
		<link>http://blog.sebastian-martens.de/2010/07/user-mouse-tracking-website-research/comment-page-1/#comment-448</link>
		<dc:creator>Weblap.ro</dc:creator>
		<pubDate>Mon, 19 Jul 2010 18:32:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sebastian-martens.de/?p=478#comment-448</guid>
		<description>Thanks man! I will try it today...</description>
		<content:encoded><![CDATA[<p>Thanks man! I will try it today&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kommentar zu Dynamic Resize Flash Application Container / Flash Stage ( without external JavaScript ) von Juan</title>
		<link>http://blog.sebastian-martens.de/2010/06/resize-flash-application-container/comment-page-1/#comment-437</link>
		<dc:creator>Juan</dc:creator>
		<pubDate>Mon, 05 Jul 2010 01:00:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sebastian-martens.de/?p=459#comment-437</guid>
		<description>:( It still does not work; 
if I remove  “package{ … }”  &quot;public&quot; elements are not supposed to be then, according to the flash ide...

Actually my goal is to use your script for a xml thumbnail gallery which is fueled and updated by a php script, that&#039;s why I new the stage to be resized dynamically.. 

I go to bed, hoping for succeeding in making your class work.
Thanks again :) Please drop a comment if you have some new to help me :)</description>
		<content:encoded><![CDATA[<p>:( It still does not work;<br />
if I remove  “package{ … }”  &#8220;public&#8221; elements are not supposed to be then, according to the flash ide&#8230;</p>
<p>Actually my goal is to use your script for a xml thumbnail gallery which is fueled and updated by a php script, that&#8217;s why I new the stage to be resized dynamically.. </p>
<p>I go to bed, hoping for succeeding in making your class work.<br />
Thanks again :) Please drop a comment if you have some new to help me :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kommentar zu Dynamic Resize Flash Application Container / Flash Stage ( without external JavaScript ) von Sebastian.Martens</title>
		<link>http://blog.sebastian-martens.de/2010/06/resize-flash-application-container/comment-page-1/#comment-436</link>
		<dc:creator>Sebastian.Martens</dc:creator>
		<pubDate>Sun, 04 Jul 2010 21:38:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sebastian-martens.de/?p=459#comment-436</guid>
		<description>Hi Juan - again ;)

sorry but i have no idea of the classic Flash IDE. For me it sounds like you also copied the sourrounding &quot;package{ ... }&quot; which isn&#039;t allowed at that point.

In general you in deed need to import the the resize class, create an instance where you like and use the resize method. 

cheers,
Sebastian</description>
		<content:encoded><![CDATA[<p>Hi Juan &#8211; again ;)</p>
<p>sorry but i have no idea of the classic Flash IDE. For me it sounds like you also copied the sourrounding &#8220;package{ &#8230; }&#8221; which isn&#8217;t allowed at that point.</p>
<p>In general you in deed need to import the the resize class, create an instance where you like and use the resize method. </p>
<p>cheers,<br />
Sebastian</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kommentar zu Dynamic Resize Flash Application Container / Flash Stage ( without external JavaScript ) von Juan</title>
		<link>http://blog.sebastian-martens.de/2010/06/resize-flash-application-container/comment-page-1/#comment-435</link>
		<dc:creator>Juan</dc:creator>
		<pubDate>Sun, 04 Jul 2010 20:51:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sebastian-martens.de/?p=459#comment-435</guid>
		<description>Hi again,
Thanks a lot for replying.
Actually I must be very bad at working with classes and packages.
I created a new flash cs4 document then pasted your code and I get this compilation error: &quot;1037: packages cannot be nested&quot;

Sorry for being annoying, but your script may save my life :)</description>
		<content:encoded><![CDATA[<p>Hi again,<br />
Thanks a lot for replying.<br />
Actually I must be very bad at working with classes and packages.<br />
I created a new flash cs4 document then pasted your code and I get this compilation error: &#8220;1037: packages cannot be nested&#8221;</p>
<p>Sorry for being annoying, but your script may save my life :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kommentar zu Dynamic Resize Flash Application Container / Flash Stage ( without external JavaScript ) von Sebastian.Martens</title>
		<link>http://blog.sebastian-martens.de/2010/06/resize-flash-application-container/comment-page-1/#comment-434</link>
		<dc:creator>Sebastian.Martens</dc:creator>
		<pubDate>Sun, 04 Jul 2010 20:10:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sebastian-martens.de/?p=459#comment-434</guid>
		<description>Hi Juan,

looks fine for me. I already posted the my bin-debug folder today, please look above. Here is my demo main application:

&lt;pre lang=&quot;actionscript&quot;&gt;
package{
	
	import com.nonstatics.swfSelfResize.swfSelfResize;
	
	import flash.display.Sprite;
	
	[SWF(frameRate=&quot;31&quot;, width=&quot;200&quot;, height=&quot;100&quot;, backgroundColor=&quot;0x008866&quot;)]
	public class swfSelfResizeTest extends Sprite{
		
		private var resize:swfSelfResize;
		
		/**
		 * constructor
		 */ 
		public function swfSelfResizeTest(){
			super();
			
			this.resize = new swfSelfResize();
			// resize to 100px height, 120px width
			this.resize.resize( 100, 120 );
			
			// add 50px / 30px height -&gt; 180px height 
			this.resize.addHeight( 50 );
			this.resize.addHeight( 30 );
			
			// remove 40px width -&gt; 80px
			this.resize.addWidth( -40 );
		
		}
		
	}
}
&lt;/pre&gt;

cheers,
Sebastian</description>
		<content:encoded><![CDATA[<p>Hi Juan,</p>
<p>looks fine for me. I already posted the my bin-debug folder today, please look above. Here is my demo main application:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">package<span style="color: #66cc66;">&#123;</span>
&nbsp;
	<span style="color: #0066CC;">import</span> com.<span style="color: #006600;">nonstatics</span>.<span style="color: #006600;">swfSelfResize</span>.<span style="color: #006600;">swfSelfResize</span>;
&nbsp;
	<span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">display</span>.<span style="color: #006600;">Sprite</span>;
&nbsp;
	<span style="color: #66cc66;">&#91;</span>SWF<span style="color: #66cc66;">&#40;</span>frameRate=<span style="color: #ff0000;">&quot;31&quot;</span>, <span style="color: #0066CC;">width</span>=<span style="color: #ff0000;">&quot;200&quot;</span>, <span style="color: #0066CC;">height</span>=<span style="color: #ff0000;">&quot;100&quot;</span>, <span style="color: #0066CC;">backgroundColor</span>=<span style="color: #ff0000;">&quot;0x008866&quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#93;</span>
	<span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">class</span> swfSelfResizeTest <span style="color: #0066CC;">extends</span> Sprite<span style="color: #66cc66;">&#123;</span>
&nbsp;
		<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> resize:swfSelfResize;
&nbsp;
		<span style="color: #808080; font-style: italic;">/**
		 * constructor
		 */</span> 
		<span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> swfSelfResizeTest<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
			<span style="color: #0066CC;">super</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
			<span style="color: #0066CC;">this</span>.<span style="color: #006600;">resize</span> = <span style="color: #000000; font-weight: bold;">new</span> swfSelfResize<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
			<span style="color: #808080; font-style: italic;">// resize to 100px height, 120px width</span>
			<span style="color: #0066CC;">this</span>.<span style="color: #006600;">resize</span>.<span style="color: #006600;">resize</span><span style="color: #66cc66;">&#40;</span> <span style="color: #cc66cc;">100</span>, <span style="color: #cc66cc;">120</span> <span style="color: #66cc66;">&#41;</span>;
&nbsp;
			<span style="color: #808080; font-style: italic;">// add 50px / 30px height -&gt; 180px height </span>
			<span style="color: #0066CC;">this</span>.<span style="color: #006600;">resize</span>.<span style="color: #006600;">addHeight</span><span style="color: #66cc66;">&#40;</span> <span style="color: #cc66cc;">50</span> <span style="color: #66cc66;">&#41;</span>;
			<span style="color: #0066CC;">this</span>.<span style="color: #006600;">resize</span>.<span style="color: #006600;">addHeight</span><span style="color: #66cc66;">&#40;</span> <span style="color: #cc66cc;">30</span> <span style="color: #66cc66;">&#41;</span>;
&nbsp;
			<span style="color: #808080; font-style: italic;">// remove 40px width -&gt; 80px</span>
			<span style="color: #0066CC;">this</span>.<span style="color: #006600;">resize</span>.<span style="color: #006600;">addWidth</span><span style="color: #66cc66;">&#40;</span> -<span style="color: #cc66cc;">40</span> <span style="color: #66cc66;">&#41;</span>;
&nbsp;
		<span style="color: #66cc66;">&#125;</span>
&nbsp;
	<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>cheers,<br />
Sebastian</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kommentar zu Dynamic Resize Flash Application Container / Flash Stage ( without external JavaScript ) von Juan</title>
		<link>http://blog.sebastian-martens.de/2010/06/resize-flash-application-container/comment-page-1/#comment-433</link>
		<dc:creator>Juan</dc:creator>
		<pubDate>Sun, 04 Jul 2010 18:27:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sebastian-martens.de/?p=459#comment-433</guid>
		<description>Hello Sebastian, I think I&#039;m quite goofy, because I do not succeed in making your class work.

My stage measures 560x10 px

I typed at the top of my code:
[code]import com.nonstatics.swfSelfResize.swfSelfResize;[/code]

(&quot;swfSelfResize.as&quot; is located in the appropriate directory written above)

Then I call it with:
[code]
var resizeInstance:swfSelfResize;
resizeInstance = new swfSelfResize();
resizeInstance.resize( 80,60 );
[/code]

I tested it online, but nothing happens...
Could you help me or upload .fla as example please</description>
		<content:encoded><![CDATA[<p>Hello Sebastian, I think I&#8217;m quite goofy, because I do not succeed in making your class work.</p>
<p>My stage measures 560&#215;10 px</p>
<p>I typed at the top of my code:<br />
[code]import com.nonstatics.swfSelfResize.swfSelfResize;[/code]</p>
<p>(&#8220;swfSelfResize.as&#8221; is located in the appropriate directory written above)</p>
<p>Then I call it with:<br />
[code]<br />
var resizeInstance:swfSelfResize;<br />
resizeInstance = new swfSelfResize();<br />
resizeInstance.resize( 80,60 );<br />
[/code]</p>
<p>I tested it online, but nothing happens&#8230;<br />
Could you help me or upload .fla as example please</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kommentar zu Dynamic Resize Flash Application Container / Flash Stage ( without external JavaScript ) von Sebastian.Martens</title>
		<link>http://blog.sebastian-martens.de/2010/06/resize-flash-application-container/comment-page-1/#comment-432</link>
		<dc:creator>Sebastian.Martens</dc:creator>
		<pubDate>Sun, 04 Jul 2010 10:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sebastian-martens.de/?p=459#comment-432</guid>
		<description>Hi Malka,

with my latest version i don&#039;t have any problems. I don&#039;t tested the earlier versions with Chrome 5.x ( wasn&#039;t available that time ).

I put my latest version online. Also my bin-debug folder with example. So please test this.

Best regards,
Sebastian</description>
		<content:encoded><![CDATA[<p>Hi Malka,</p>
<p>with my latest version i don&#8217;t have any problems. I don&#8217;t tested the earlier versions with Chrome 5.x ( wasn&#8217;t available that time ).</p>
<p>I put my latest version online. Also my bin-debug folder with example. So please test this.</p>
<p>Best regards,<br />
Sebastian</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kommentar zu Dynamic Resize Flash Application Container / Flash Stage ( without external JavaScript ) von malka</title>
		<link>http://blog.sebastian-martens.de/2010/06/resize-flash-application-container/comment-page-1/#comment-431</link>
		<dc:creator>malka</dc:creator>
		<pubDate>Sun, 04 Jul 2010 08:49:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sebastian-martens.de/?p=459#comment-431</guid>
		<description>Hello Sebastian.
I use your code and it&#039;s working perfect in IE (8.0) and FF(3.5.10) but in chrome(5.0.375) it isn&#039;t.
Do you know why, and how can I fix it?
Thanks Malka.</description>
		<content:encoded><![CDATA[<p>Hello Sebastian.<br />
I use your code and it&#8217;s working perfect in IE (8.0) and FF(3.5.10) but in chrome(5.0.375) it isn&#8217;t.<br />
Do you know why, and how can I fix it?<br />
Thanks Malka.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kommentar zu Dynamic Resize Flash Application Container / Flash Stage ( without external JavaScript ) von Sebastian Martens</title>
		<link>http://blog.sebastian-martens.de/2010/06/resize-flash-application-container/comment-page-1/#comment-429</link>
		<dc:creator>Sebastian Martens</dc:creator>
		<pubDate>Sat, 03 Jul 2010 16:16:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sebastian-martens.de/?p=459#comment-429</guid>
		<description>Hi Dihmen,

first you have to get the values from XML. Thats done best via e4x (ECMA for XML - for example http://www.actionscript.org/resources/articles/222/1/Intro-to-E4X/Page1.html ).

Than you could use the stage object of your application - Application.stage / this.stage - which holds height and width values ( 1000 in your example ).

After this you have to resize the application html container ( done best with my solution above ;) 

cheers,
Sebastian</description>
		<content:encoded><![CDATA[<p>Hi Dihmen,</p>
<p>first you have to get the values from XML. Thats done best via e4x (ECMA for XML &#8211; for example <a href="http://www.actionscript.org/resources/articles/222/1/Intro-to-E4X/Page1.html" rel="nofollow">http://www.actionscript.org/resources/articles/222/1/Intro-to-E4X/Page1.html</a> ).</p>
<p>Than you could use the stage object of your application &#8211; Application.stage / this.stage &#8211; which holds height and width values ( 1000 in your example ).</p>
<p>After this you have to resize the application html container ( done best with my solution above ;) </p>
<p>cheers,<br />
Sebastian</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kommentar zu Dynamic Resize Flash Application Container / Flash Stage ( without external JavaScript ) von Dhimen Vora</title>
		<link>http://blog.sebastian-martens.de/2010/06/resize-flash-application-container/comment-page-1/#comment-426</link>
		<dc:creator>Dhimen Vora</dc:creator>
		<pubDate>Fri, 02 Jul 2010 07:07:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sebastian-martens.de/?p=459#comment-426</guid>
		<description>Hellow sabastian I am importing all objects dynamically from XMl in flash action script and its working fine but my problem is that how i can change Height and width of Flash file from XML
currentlly i have given size like 
[SWF(frameRate = &quot;31&quot;,width = &quot;1000&quot;,height = &quot;1000&quot;)]
and given noScale mode so that i can achieve my flash file in HTMl with the given Height and width of object but now i want to change the given Height and width in [SWF] via XML can you please suggest me the way
Thanks
Dhimen Vora</description>
		<content:encoded><![CDATA[<p>Hellow sabastian I am importing all objects dynamically from XMl in flash action script and its working fine but my problem is that how i can change Height and width of Flash file from XML<br />
currentlly i have given size like<br />
[SWF(frameRate = "31",width = "1000",height = "1000")]<br />
and given noScale mode so that i can achieve my flash file in HTMl with the given Height and width of object but now i want to change the given Height and width in [SWF] via XML can you please suggest me the way<br />
Thanks<br />
Dhimen Vora</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.373 seconds -->
