Flex is based on fxg dashboard (with all source code) 3

Source: Internet
Author: User

After skin is created, we have to try skin. First, we need to load the skin and components to the application.

 

<? XML version = "1.0" encoding = "UTF-8"?> <Br/> <s: Application xmlns: FX = "http://ns.adobe.com/mxml/2009" <br/> xmlns: S = "Library: // ns.adobe.com/flex/spark" <br/> xmlns: MX = "Library: // ns.adobe.com/flex/mx" <br/> xmlns: view = "com. shine. framework. dashboard. view. * "> <br/> <FX: declarations> <br/> <! -- Place non-visual elements (such as services and value objects) Here --> <br/> </FX: declarations> <br/> <FX: SCRIPT> <br/> <! -- [CDATA [<br/> Import COM. shine. framework. dashboard. skin. dashboardtenskin; </P> <p> Import skin. dashboard80; </P> <p>] --> <br/> </FX: SCRIPT> <br/> <View: dashboard id = "dashboardten" width = "80" Height = "80" x = "0" Y = "0" skinclass = "com. shine. framework. dashboard. skin. dashboardtenskin "/> <br/> <mx: slider id = "Slider" minimum = "0" Maximum = "100" width = "200" x = "0" Y = "250" livedragging = "true" change = "{ dashboardtenskin (dashboardten. skin ). setvalue (slider. value)} "/> <br/> </S: Application> <br/>

Add the skin and slider to the dashboard.

:

 

Some friends say that some classes are missing and cannot be run. I will send an SVN address:

Http://ken-javaframeword.googlecode.com/svn/trunk/framework2.0/src/com/shine/framework/Dashboard/

You can download the classes in this folder.

 

The fxg of a 100-grid dashboard is attached.

Http://ken-javaframeword.googlecode.com/svn/trunk/framework2.0/src/com/shine/framework/Dashboard/fxg/round100.fxg

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.