flex 进度条loading改成中文?在线等!
如题!最好能说清楚点。我是新手!
<?xml version="1.0"?>
<!-- Simple example to demonstrate the ProgressBar control. -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
<![CDATA[
private var j:uint=10;
// Event handler function to set the value of the
// ProgressBar control.
private function runit():void
{
if (j <= 100)
{
bar.setProgress(j, 100);
bar.label="载入" + " " + j + "%";
j+=10;
}
if (j > 100)
{
j=0;
}
}
]]>
</mx:Script>
<mx:Panel title="ProgressBar Control Example"
height="75%"
width="75%"
paddingTop="10"
paddingBottom="10"
paddingLeft="10"
paddingRight="10">
<mx:Label width="100%"
color="blue"
text="Click the button to increment the progress bar."/>
<mx:Button id="Speed"
label="Run"
click="runit();"/>
<mx:ProgressBar id="bar"
labelPlacement="bottom"
themeColor="#F20D7A"
label="载入 %3%%"
相关问答:
如题
http://riashanghai.com/zh-hant/node/48
参考一下吧。
必须自己写preloader
我指的是设置 preloader的背景色
preloader 早已经写好
楼上建议不错,只是想把preloader的背景做成渐变的
......
要求开发软件: Flex builder 3.
要求:做一个中国菜外买店订餐的网站。
流程:外观不需要做的很好看,很普通就行。
顾客打开网站,网站显示菜单和价格,选择了要点的菜,点菜的结果 ......
自定义组件在component目录下。自定义组件代码如下:
<?xml version="1.0" encoding="utf-8"?>
<mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml" layout="verti ......