Hi Daniel and folks of the group,

In the AdobeĀ“s have this example, I change a little for portuguese/brazilian :P

Put this on MXML:

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml "
layout="absolute" preloader="com.LoaderPTBR">


Then create a folder "com" and the file "LoaderPTBR.as" :

package com {
import mx.preloaders.*;
import flash.events.ProgressEvent;
public class LoaderPTBR extends DownloadProgressBar {
public function LoaderPTBR() {
super();
downloadingLabel="Carregando..."
initializingLabel="Iniciando..."
MINIMUM_DISPLAY_TIME=2000;
}
override protected function showDisplayForInit( elapsedTime:int,
count:int):Boolean {
return true;
}
override protected function showDisplayForDownloading(
elapsedTime:int, event:ProgressEvent):Boolean {
return true;
}
}
}

Regards,

Rogerio Gonzalez
__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to