Hello Pablo,
Wednesday, October 4, 2006, 6:17:48 PM, you wrote:
> Just wondering how can i reduce the pre-compiled SWF file size of
> a very simple app = (Application + HBox + Loader + Label + HTTPService +
> some AS).
Do not use mx.* Flex 2 framework.
Work with AS3 only projects.
For example, ask yourself do you really need HBox container?
Do you need Loader component?
Intead of Label use "flash.text.TextField" class.
example follows:
------------------------
package
{
import flash.text.TextField ;
import flash.display.Sprite ;
class MainApplication extends Sprite
{
// ----o Constructor
public function MainApplication ()
{
var tf:TextField = new TextField() ;
tf.x = 10 ;
tf.y = 10 ;
tf.width = 120 ;
tf.height = 20 ;
tf.text = "Hello World" ;
addChild ( tf ) ;
}
}
------------------------
--
Best regards,
Andriy mailto:[EMAIL PROTECTED]
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/