3 Replies Latest reply on Nov 22, 2011 9:44 AM by jfb00

    Flex 4.1 stackview

    jfb00 Level 3

      Hi All,

      I am testing migration from flex sdk 3.5 to 4.1.

      In flex 3.5 I use viewstack to separate all forms and call each at the time from a menu.

      <mx:ViewStack id="VS" x="0" y="0" width="100%" height="100%" creationPolicy="all">

           <custom:test id="test" width="100%" height="100%" />

           <custom:testNew id="test" width="100%" height="100%" />


      Each form use canvas in declaration:

      <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%" >




      I see the viewstack still available. I try using s:group in each form:


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

      <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"




               width="400" height="300">





              <!-- Place non-visual elements (e.g., services, value objects) here -->




      I am getting an error "1046: Type was not found or was not a compile-time constant: test."

      How it works in sdk 4.1?