Say I have this localhost/foo.mxml in with a  localhost/bar.as skin style and the code looks like this:

<?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




Reply via email to