Skip to content

Instantly share code, notes, and snippets.

@jbuda
Created March 19, 2013 13:39
Show Gist options
  • Save jbuda/5196163 to your computer and use it in GitHub Desktop.
Save jbuda/5196163 to your computer and use it in GitHub Desktop.
ProgressBar 2.xml
<?xml version="1.0" encoding="utf-8"?>
<mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml" width="300" height="93" headerHeight="16" xmlns:view="com.progressbar.views.*">
<mx:Script>
<![CDATA[
import com.progressbar.views.model.ProgressBarModel;
[Bindable]
public var model:ProgressBarModel;
]]>
</mx:Script>
<mx:ProgressBar id="progressbar" labelPlacement="center" mode="polled" source="{model}" trackHeight="15" left="0" right="0" bottom="5" height="30" width="100%" label="loading..." />
<mx:Button id="btnIncrease" toolTip="increment bar" click="model.increment()" icon="@Embed('assets/add.png')" width="26"/>
</mx:Panel>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment