GithubHelp home page GithubHelp logo

sparkonly's Introduction

What is it?
==================
Apache Flex 4.6 library which contains unified framework and Spark without MX components.
Includes AIR classes.

Purpose
==================
Tweak the framework and experiment for optimizing the SDK.

Intructions on how to use it
==================
1) Download the sources and import it in Flash Builder.
2) Create a new Flex project
3) On "Build Paths" wizard step, choose "Spark only" and click "Finished"
4) Go to Project menu and choose properties
5) Under "Flex Build Path" expand SDK that you are using (I recommend SDK 4.6)
6) Remove the following : "framework.swc", "spark.swc", "sparkskins.swc"
7) Add the imported library (SparkOnly)
8) Enjoy!

New things
==================
1) There is a Spark Tooltip which replaced old MX Tooltip
You can use tooltips as in MX
If you want to use tooltips with more functionality (like having a title, changing color and chromeColor):
A) You have to create a ResourceBundle file like in the example below
toolTip.aButton.title=<img source='assets/icons/refresh.png' width='24' height='24' /><span fontWeight='bold' fontSize='24'> Undo delete actions</span>
toolTip.aButton.color=0x505050
toolTip.aButton.chromeColor=0xe8e8e8
toolTip.aButton.text=Will restore last deleted item in the same position<br/>if no operations were done after delete, or at the end<br/>of current form if adding fields were done.
B) The rules for the above are : always start with particle "toolTip." followed by the component "id" (if you don't want to specify it in the referenced id in the toolTip of that component - e.g. <s:Button id="aButton" toolTip="^ToolTipBundle" />), followed by particles for title, color, chromeColor and text. Title and text can be TextFlow.
C) Add to the component that you want to have that tooltip, a tooltip declaration which starts with ^ char.  Example <s:Button toolTip="^ToolTipBundle.ahaButton" />
==================
2) ModuleLoader has isAutoDisposingContent which allows it to unload the module if the parent of a ModuleLoader instance has removed instance (with removeElement)
==================
3) Introduced package mx.enums. So far, only classes that were in mx.core were moved

sparkonly's People

Contributors

badu avatar

Watchers

风漠言 avatar James Cloos avatar

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.