0 Replies Latest reply on Sep 18, 2007 9:30 AM by Kira3005

    Error 1034

    Kira3005
      Hello all,

      I've got a big problem,

      I would like to make a class that extend File class, so I made the following code:

      package com.adobe.WMaker.action
      {
      import flash.filesystem.File;

      public class UpFile extends File
      {
      public var logo:String;

      public function UpFile ()
      {
      super();
      }
      }
      }

      When I try to do some drag and and Drop of a file in a dataGrid (It works when the file class is File) the following error is

      occured:
      TypeError: Error #1034: Echec de la contrainte de type : conversion de flash.filesystem::File@3093101 en com.adobe.WMaker.action.UpFile impossible.

      Is anyone can help me I'm very desperate...

      Thanks for your help