1 Reply Latest reply on Aug 16, 2012 9:06 AM by Claudiu Ursica

    How do I share NetConnection Object between .mxml and .as

    havefreetime Level 1

      Hi All.

      I'm very new to Flex. Please help me.

       

      I wanna share my NetConnection object between .mxml files and .as files.

       

      question.png

      I have 4 files.

       

      I created new Object to get netconnection in Actionscript file. ( initConnection = new InitConnection() );

       

      And How can I share netConnection object between Main.mxml and TestA.mxml?

       

      And How can I share netConnection object between TestA.mxml and TestB?

       

      Thanks in advanced. and Sorry for my English.