0 Replies Latest reply on Jul 21, 2010 11:08 PM by nitin_ramachandran

    How to pass object values between classes

    nitin_ramachandran

      Hi,

      Stating my problem below.

       

      My issue is surrounded between three action script classes.  These classes are mapped to remote java clesses.

      The first one is:

       

      package com.script.vo
      {
          [RemoteClass(alias="vo.RouteVO")]
          [Bindable]
          
          public class RouteVO
          {
              public function RouteVO()
              {
              }
             
              public var routeId:Number;
             
              public var fromStation:StationVO;
             
              public var toStation:StationVO;
             
              public var firstClass:int;
          }
      }

       

      Second is :

       

      package com.script.vo
      {
          [RemoteClass(alias="vo.SectorVO")]
          [Bindable]
          
          public class SectorVO
          {
              public function SectorVO()
              {
              }
             
              public var sectorId:Number;
             
              public var fromStation:StationVO;

       

              public var toStation:StationVO;
             
              public var firstClass:int;
          }
      }

       

       

       

      Third one is :
      package com.script.vo
      {
          [RemoteClass(alias="vo.SectorMapVO")]
          [Bindable]
         
          public class SectorMapVO
          {
              public function SectorMapVO()
              {
              }
             
              public var mapId:Number;
              public var route:RouteVO;
              public var sector:SectorVO;
              public var legSeq:Number;
          }
      }