1
|
// MTASC only parses as-files with class definitions, so here goes...
|
2
|
class Options {
|
3
|
public static function apply() {
|
4
|
sIFR.fromLocal = true;
|
5
|
sIFR.domains = ['*'];
|
6
|
|
7
|
// 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>
|
8
|
// Appearantly you have to use hex color codes as well, names are not supported!
|
9
|
|
10
|
sIFR.styles.parseCSS('.foo { text-decoration: underline; }');
|
11
|
}
|
12
|
}
|