4 Replies Latest reply on Aug 9, 2009 3:00 PM by Gregory Lafrance

    How to Illustrate Losing Type Info in Drag & Drop

    Gregory Lafrance Level 6

      If you remove the [RemoteClass] from the Car.as in this LiveDocs page and then click the button in the application, it still says it is a Car.

       

      This seems counter to the description.

       

      http://livedocs.adobe.com/flex/3/html/help.html?content=dragdrop_4.html

       

      package
      {
          // dragdrop/Car.as
         
          [RemoteClass]
          public class Car extends Object
          {
              // Constructor.
              public function Car()
              {
                  super();
              }
             
              // Class properties.
              public var numWheels:int;
              public var model:String;
              public var make:String;
             
              public function get label():String
              {
                  return make + " " + model;
              }       
          }
      }