2 Replies Latest reply on Sep 16, 2008 10:11 AM by mitchgrrt

    [Transient] function ?

    mitchgrrt
      What does the [Transient] marker mean when applied to a function? The compiler allows it, but what does it do? Thanks.
        • 1. Re: [Transient] function ?
          Gregory Lafrance Level 6
          Identifies a property that should be omitted from data that is sent to the server when an ActionScript object is mapped to a Java object using [RemoteClass].

          Use the [Transient] metadata tag to identifies a property that should be omitted from data that is sent to the server when an ActionScript object is mapped to a Java object using the [RemoteClass] metadata tag.

          The [Transient] metadata tag has the following syntax:

          [Transient]
          public var count:Number = 5;
          • 2. Re: [Transient] function ?
            mitchgrrt Level 1
            Are functions sent from client to server when an ActionScript object is mapped to a Java object using [RemoteClass]?