2 Replies Latest reply on Aug 14, 2010 3:36 AM by R-E-X-O

    Flex Serialization for inbuilt components like…HBox, VBox, Panel, Canvas, DataGrid…

    R-E-X-O

      Here is the problem...I'm working on a flex application(actionscript)...

       

      I have a Panel in my application which contains 2 buttons and 3 canvas components at certain posstions...now I want to store the current state of panel in some file or database...and afterwards I want to load the same panel again in my application when I come back and run the application...

       

      so I tried to convert whole panel into ByteArray object using its readObject() and writeObject() methods...but when I read the ByteArray and add the panel in my application using addChild() method it doesn't add anything and there was no error or fault...

       

      writeObject creates ByteArray that I am able to print but when i get it back and add child, I am not able to get the panel and it's children...

      if anyone can help...it would be appreciated...thanks in advance...