1 Reply Latest reply on Oct 16, 2009 9:44 AM by David_F57

    Can't find <s:Module>

    jameschu888

      Hi everyone:

       

      I just can't find the <s:Module>,  is there any chance to use <s:state> and <s:transitions> in <mx:module>

       

      It is very strange..

       

      thanks

        • 1. Re: Can't find <s:Module>
          David_F57 Level 5

          Not everything is available at the moment in spark but over time more and more mx functionality will end up in the spark set. FB2 is much better at dealing with the mixing of mx and spark and this will keep improving as bugs are ironed out

           

          <?xml version="1.0" encoding="utf-8"?>

          <mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009"

          xmlns:s="library://ns.adobe.com/flex/spark"

          xmlns:mx="library://ns.adobe.com/flex/halo" layout="absolute" width="400" height="300">

          <fx:Declarations>

          <s:Animate />

          </fx:Declarations>

           

          <fx:Script>

          <![CDATA[

           

          ]]>

          </fx:Script>

          </mx:Module>

           

          the above is the basic mx module it still will allow you to mix spark and mx, so yes you can use mix and match, the caveat being that at the moment you may run into some issues but thats what testing is all about. If you have any problems you can always put your code up for others to look at, if it is a compatibility issue then it can be listed as a bug.

           

          David.