CSS Import
1.0 - January 18th 2013
Background
I thought I'd share this plugin I made for some personal projects. It's somewhat redundant since most objects support CSS natively but it can be helpful if you want a more global approach to styling things. Also very handy since you can do CSS in preview/realtime.
Usage
The primary method of importing a CSS is automatically doing so by including it in your project and defining the name of the CSS file in the plugin properties.
The alternative method is including it in your project, then using the Import CSS file action through an event whenever you like.
Just remember to remove any CSS files that share styles (if using multiple CSS files) to avoid any conflicts.
P.S. There's built-in protection from accidentally importing the same CSS file several times.
Preview
Downloads
Plugin: css_import.zip
Example: css_import.capx
Credits/Disclaimer
The plugin was basically Frankenstein'd from Pode's HTML Div plugin (because it contained CSS stuff) + code scavenged from the web. So credits to Pode and this site specifically for making this possible.
I have no real coding skills and don't think I'd be able to make a plugin from scratch Now, this also means I can't guarantee it working flawlessly. I've only tested it in Chrome on Windows 7, so if it breaks down and blows up your computer, I warned you!
Enjoy!McKack2013-04-27 01:37:13
something wrong with your download link ?? is it hijaked or something ?