summaryrefslogtreecommitdiffstats
path: root/3rdparty/simplepie/demo/for_the_demo/source_files/sIFR-r245/options.as
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/simplepie/demo/for_the_demo/source_files/sIFR-r245/options.as')
-rw-r--r--3rdparty/simplepie/demo/for_the_demo/source_files/sIFR-r245/options.as12
1 files changed, 12 insertions, 0 deletions
diff --git a/3rdparty/simplepie/demo/for_the_demo/source_files/sIFR-r245/options.as b/3rdparty/simplepie/demo/for_the_demo/source_files/sIFR-r245/options.as
new file mode 100644
index 000000000..4d371954b
--- /dev/null
+++ b/3rdparty/simplepie/demo/for_the_demo/source_files/sIFR-r245/options.as
@@ -0,0 +1,12 @@
+// MTASC only parses as-files with class definitions, so here goes...
+class Options {
+ public static function apply() {
+ sIFR.fromLocal = true;
+ sIFR.domains = ['*'];
+
+ // Parsing `p.foo` might not work, see: <http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004&file=00001766.html>
+ // Appearantly you have to use hex color codes as well, names are not supported!
+
+ sIFR.styles.parseCSS('.foo { text-decoration: underline; }');
+ }
+}