<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml>
<mx:Script>
[Embed(symbol='bar')]
var simpleSquare:String = "bar";
</mx:Script>
</mx:Application>
How would I set this up putting these into 2 files user_classes?
user_classes/com/test/foo.as
user_classes/com/test/skins/bar.as
localhost/new.mxml
class com.test.foo {
import com.test.skins.*
[Embed(symbol='bar')]
var simpleSquare:String = "bar";
// make this class do something cool
}
class com.test.skins.bar {
// do something pretty
}
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml xmlns:test="com.test.*">
<test:foo/>
</mx:Application>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.