fengmoyan / sparkonly Goto Github PK
View Code? Open in Web Editor NEWThis project forked from badu/sparkonly
Apache Flex without MX
This project forked from badu/sparkonly
Apache Flex without MX
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.