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
__._,_.___
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
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___