|
-
using the same css across multiple classes
ok one more question for today...if i am importing a css sheet from one class, or from the main swf, and i want to reference that same css from another class, what is the best method? I think it a bit much to have to import it for every instance of the class. In AS2, i used _level0.cssSheetName to make that reference from inside a class....how is this done in AS#?
-
You would probably be fine importing it in to a few classes. But for the _level0.abc structure, that is not proper AS syntax with AS3 now. You could do something similar to what I posted here about a global var though.
http://board.flashkit.com/board/showthread.php?t=730165
-
yeah...this is the right track..thanks...i will study up now
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|