GithubHelp home page GithubHelp logo

pez / flexgauge Goto Github PK

View Code? Open in Web Editor NEW
19.0 5.0 10.0 300 KB

A standalone Gauge component for Flex 4

Home Page: http://dl.dropbox.com/u/3259215/gauge-demo/gaugetestflash.html

ActionScript 100.00%

flexgauge's Introduction

##A standalone Gauge component for Adobe Flex 4.

Skinnable, somewhat stylable and quite flexible. Though lots of stuff is still hardcoded. There are probably bugs too. I know it doesn't really work for negative max values, yet.

See a demo here: http://dl.dropbox.com/u/3259215/gauge-demo/gaugetestflash.html View source is enable in the demo so you can see how the component is used.

###Quick howto use this in your Flex 4 project: Clone (or, preferably, fork-then-clone) this project and then import it into Flash Builder. It should get imported as a Flex Library project. Then you have at least two options:

  1. Add the gauge library project to the Build Path of the project you need the gauge in.
  2. Build the library project and copy the resulting swc-file out of the bin/ folder and put it in the libs/ folder of your gauge-needing project.

Option 1 is to prefer I'd say, because then you can much easier follow what's going on in the debugger, fix bugs in the gauge and such. Option 2 assumes you have a standard setup project with a library folder called libs/ setup in your projects Build Path.

###Keep your fork in sync If you fork this repository and still want to keep your fork in sync with any bug fixes/changes in this repo that I either make myself or pull in from pull requests from others; This is the easiest way I have found:

  1. Add this repository as a remote upstream to the clone of your fork:
    git remote add upstream https://[email protected]/PEZ/FlexGauge.git
  2. Then fetch from upstream:
    git fetch upstream
  3. Whenever you want to merge in any changes in the main repo:
    git merge upstream/master

That last step is assuming you want to merge the master branch of course, but that's the only branch there is yet anyway. =)

###Origins The gauge is based on this work by Smith & Fox. Which in turn was based on the now famous Degrafa Gauge by Thomas Gonzales.

flexgauge's People

Contributors

mauget avatar pez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

flexgauge's Issues

including gauge in Flex project

Hi very sorry I've been posting my questionsin the wrong forum. I'm battling to include the project in Flex 4. I'm using Flash builder. Flex is still very new to me. At the moment I can only see the skin in my browser because of the skin swf file - and that is obviously without functionality. I'd really like to use this component but I'm not sure if I'm meant to include it as a library project or an Actionscript project and how to generate a swf file to get it working like it's being used in the demo. I would really appreciate help.

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.