Difference between importing as files & class definition?
Hi,
I'm trying to get the as3corelib to work as when I run my file at the moment it tells me:
5001: The name of package 'com.adobe.images' does not reflect the location of this file. Please change the package definition's name inside this file, or move the file. /Users/markbunyan/Websites/craftmagic.co.uk/JPG_encoder/JPGEncoder.as
I thought I had imported the as3corelib fine but can't get this to work. Can I simply import the code from JPGEncoder.as???
Also can anyone help me with a plain explanation of importing classes???
Cheers
Got it working but don't really understand it yet...
Hi Guys cheers for your responses
I've got it working on the XP partition of my macbook but it still won't work on my macPro. I think there is a folder called _MACOSX in the corelib download that shows up on a PC but doesn't appear to be there when I look at the same corelib download on my mac... Very strange...
In answer to the question I didn't copy the corelib files anywhere apart from applications/Flash/Config/AS3/Classes. I'd actually got the wrong class path as well.
package com.adobe.images is already inside the class (as previously stated) so the classpath in flash needs to point to the src folder inside the corelib download...
Thanks for your help...