5001: Base64.as error!
5001: The name of package 'com.dynamicflash.util' does not reflect the location of this file. Please change the package definition's name inside this file, or move the file. C:\Documents and Settings\D\Desktop\TempImp\test\Base64.as
My test.fla is in C:\Documents and Settings\D\Desktop\TempImp\test\test.fla
I setted my prefrences in settings as C:\Documents and Settings\D\LocalSettings\Adobe\Flash CS4\en\configuration\classess\Base64\src\com\dynam iclfash\util\
And I even copied the Base64.as file into C:\Documents and Settings\D\Desktop\TempImp\test\
but again i get the same error!Even setted the classpath as C:\Documents and Settings\D\Desktop\TempImp\test\com\dynamicflash\u til
no use!
here is my flash code: temme if its correct:
-------------------------------------------
import com.adobe.images.JPGEncoder;
import com.dynamicflash.util.Base64;
var jpgSource:BitmapData = new BitmapData (sketch_mc.width, sketch_mc.height);
jpgSource.draw(sketch_mc);
var jpgEncoder:JPGEncoder = new JPGEncoder(85);
var jpgStream:ByteArray = jpgEncoder.encode(jpgSource);
//converting to base64
var sbase64:String = Base64.encodeByteArray(jpgStream);
//sending...
var Access:URLRequest = new URLRequest();
Access.url= "www.axeleron.net/flashtest/get_images.php";
Access.method=URLRequestMethod.POST;
Access.data= sbase64;
//EncodedImageString is the response string of the Base64 Encoder class.
var LODR:URLLoader = new URLLoader();
LODR.load(Access);
-----------------------------------------------------------------------------
please help ! coz i m working with classess for the first time
...Learning only!...
