• import function in flash.
    3 replies, posted
i am creating a physics simulator in flash 8 and when i try to use the "import" function for external Action Script, I get an error say in the file could be loaded. like this: The class or interface 'org.cove.flade.DynamicsEngine' could not be loaded. its really strange because i have used that class in a different .as file with no problems. Can some one please help me out with this? :Edit: any help at all would be just spanky :Edit: Even if its just "you did the wrong thing here"
show us some code ?
Well it's going to have to in that folder layout if it's package name is like that. I'm guessing you probably just imported just the AS file from the other project and didn't copy over the folders.
[QUOTE=Pepin;17937483]Well it's going to have to in that folder layout if it's package name is like that. I'm guessing you probably just imported just the AS file from the other project and didn't copy over the folders.[/QUOTE] its the same program. of course its in the wright folder layout. [QUOTE]import org.cove.flade.DynamicsEngine; class org.cove.flade.primitives.RectangleParticle extends Particle { public var width:Number; public var height:Number; public var vertex:Vector; public var holds:String; private var engine:DynamicsEngine;[/QUOTE]
Sorry, you need to Log In to post a reply to this thread.