<?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>Comments on: Customizing Flex applicationDPI for a multiple screen size application</title> <atom:link href="http://renaun.com/blog/2011/10/customizing-flex-applicationdpi-for-a-multiple-screen-size-application/feed/" rel="self" type="application/rss+xml" /><link>http://renaun.com/blog/2011/10/customizing-flex-applicationdpi-for-a-multiple-screen-size-application/</link> <description>My ideas on the web and mobile application/game technologies</description> <lastBuildDate>Sat, 27 Jun 2015 02:02:00 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=</generator> <item><title>By: Ra</title><link>http://renaun.com/blog/2011/10/customizing-flex-applicationdpi-for-a-multiple-screen-size-application/#comment-490099</link> <dc:creator>Ra</dc:creator> <pubDate>Fri, 04 Jan 2013 13:47:00 +0000</pubDate> <guid isPermaLink="false">http://renaun.com/blog/?p=1572#comment-490099</guid> <description><![CDATA[This is one good thing alsoBy this you scale your app  according to devise screen sizeprivate var originalW:Number=1024.0; // this is my app widthprivate var originalH:Number=600.0; // this is my app heightprivate function init():void{navigator.firstView = homeView;var deff:Number =  Math.abs(( originalW - this.width ) )  * 100  / originalW  ;deff =  ( 1 * deff )  / 100 ;if ( deff != 0 &amp;&amp; deff != 1 ) {if ( originalW  &lt;  this.width ) {scaleX = 1 + deff;trace ( &quot;scaling width Bigger= &quot; + scaleX );}else {scaleX = 1 - deff;trace ( &quot;scaling width smaller = &quot; + scaleX );}}//-------------------deff =  Math.abs(( originalH - this.height ) )  * 100  / originalH  ;deff =  ( 1 * deff )  / 100 ; 	 // get scaling percent  on the respect on 1if ( deff != 0 &amp;&amp; deff != 1 ) {if ( originalH  &lt;  this.height ) {scaleY = 1 + deff;trace ( &quot;scaling height Bigger= &quot; + scaleY );}else {scaleY = 1 - deff;trace ( &quot;scaling height smaller = &quot; + scaleY );}}}Rama]]></description> <content:encoded><![CDATA[<p>This is one good thing also</p><p>By this you scale your app  according to devise screen size</p><p> private var originalW:Number=1024.0; // this is my app width</p><p> private var originalH:Number=600.0; // this is my app height</p><p> private function init():void{</p><p> navigator.firstView = homeView;</p><p> var deff:Number =  Math.abs(( originalW &#8211; this.width ) )  * 100  / originalW  ;</p><p> deff =  ( 1 * deff )  / 100 ;</p><p> if ( deff != 0 &amp;&amp; deff != 1 ) {</p><p> if ( originalW  &lt;  this.width ) {</p><p> scaleX = 1 + deff;</p><p> trace ( &quot;scaling width Bigger= &quot; + scaleX );</p><p> }</p><p> else {</p><p> scaleX = 1 &#8211; deff;</p><p> trace ( &quot;scaling width smaller = &quot; + scaleX );</p><p> }</p><p> }</p><p> //&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p><p> deff =  Math.abs(( originalH &#8211; this.height ) )  * 100  / originalH  ;</p><p> deff =  ( 1 * deff )  / 100 ; 	 // get scaling percent  on the respect on 1</p><p> if ( deff != 0 &amp;&amp; deff != 1 ) {</p><p> if ( originalH  &lt;  this.height ) {</p><p> scaleY = 1 + deff;</p><p> trace ( &quot;scaling height Bigger= &quot; + scaleY );</p><p> }</p><p> else {</p><p> scaleY = 1 &#8211; deff;</p><p> trace ( &quot;scaling height smaller = &quot; + scaleY );</p><p> }</p><p> }</p><p> }</p><p>Rama</p> ]]></content:encoded> </item> <item><title>By: renaun</title><link>http://renaun.com/blog/2011/10/customizing-flex-applicationdpi-for-a-multiple-screen-size-application/#comment-490088</link> <dc:creator>renaun</dc:creator> <pubDate>Mon, 17 Dec 2012 23:53:00 +0000</pubDate> <guid isPermaLink="false">http://renaun.com/blog/?p=1572#comment-490088</guid> <description><![CDATA[Not sure how FlashDevelop does class path ordering. You want to try and get it to compile any monkey patched classes first.]]></description> <content:encoded><![CDATA[<p>Not sure how FlashDevelop does class path ordering. You want to try and get it to compile any monkey patched classes first.</p> ]]></content:encoded> </item> <item><title>By: Locusta Liquirizia</title><link>http://renaun.com/blog/2011/10/customizing-flex-applicationdpi-for-a-multiple-screen-size-application/#comment-490085</link> <dc:creator>Locusta Liquirizia</dc:creator> <pubDate>Mon, 17 Dec 2012 23:23:00 +0000</pubDate> <guid isPermaLink="false">http://renaun.com/blog/?p=1572#comment-490085</guid> <description><![CDATA[Help. I&#039;m using flashdevelop. Once I&#039;ve created the new class that overrides runtimedpiprovider, how i tell my application that  the default class is changed?]]></description> <content:encoded><![CDATA[<p>Help. I&#8217;m using flashdevelop. Once I&#8217;ve created the new class that overrides runtimedpiprovider, how i tell my application that  the default class is changed?</p> ]]></content:encoded> </item> <item><title>By: John snow</title><link>http://renaun.com/blog/2011/10/customizing-flex-applicationdpi-for-a-multiple-screen-size-application/#comment-489736</link> <dc:creator>John snow</dc:creator> <pubDate>Fri, 28 Oct 2011 11:51:00 +0000</pubDate> <guid isPermaLink="false">http://renaun.com/blog/?p=1572#comment-489736</guid> <description><![CDATA[Thanks Renaun! This incorrect DPI stuff is driving me insane...]]></description> <content:encoded><![CDATA[<p>Thanks Renaun! This incorrect DPI stuff is driving me insane&#8230;</p> ]]></content:encoded> </item> <item><title>By: Cool Stuff with the Flash Platform - 10/24/2011 &#124; Remote Synthesis</title><link>http://renaun.com/blog/2011/10/customizing-flex-applicationdpi-for-a-multiple-screen-size-application/#comment-489734</link> <dc:creator>Cool Stuff with the Flash Platform - 10/24/2011 &#124; Remote Synthesis</dc:creator> <pubDate>Mon, 24 Oct 2011 19:28:53 +0000</pubDate> <guid isPermaLink="false">http://renaun.com/blog/?p=1572#comment-489734</guid> <description><![CDATA[[...] evangelist Renaun Erickson demonstrates how to customize Flex applicationDPI for a multi-screen size applications using his work on his Caltrain Times application and even how he handled misreported application [...]]]></description> <content:encoded><![CDATA[<p>[...] evangelist Renaun Erickson demonstrates how to customize Flex applicationDPI for a multi-screen size applications using his work on his Caltrain Times application and even how he handled misreported application [...]</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching using disk: basic
Object Caching 367/385 objects using disk: basic

 Served from: renaun.com @ 2026-06-13 03:49:52 by W3 Total Cache -->