0 Replies Latest reply on Aug 27, 2010 4:11 AM by danpeleg

    Package get vairable from Main.mxml ?

    danpeleg Level 1

      Hey, i have a package called 'services' (auto generated by service connect)

      inside it i have alot of services for example g1, r1, loc, and more...


      (The packages are .as)


      I want package g1 to get a vairable from that is public and bindable in the Main.mxml... (labelname.text)


      Is it possible?






      i have this on the Main.mxml:


      public var Serial:String = lblSerial.text;


      and this on the G1.as:

      operation.url = "******.aspx?ID=" + (FlexGlobals.topLevelApplication.Serial);


      And the swf just wont start now....


      Please help..