Sorry for the dumb question, but I spent several hours trying to figure it out (I'm not a flash developer).
I downloaded some external Actionscript library as a bunch of folders with .as files that have the following folder structure:
- com / helper _lib1 / *. AND
- com / helper _lib2 / *. AND
- com / primary_lib / LibClass.as <- primary lib I want to use
lib.as has the following code:
package com.primary_lib{
import com.helper_lib1.*;
import com.helper_lib2.*;
public class LibClass extends MovieClip{
.....
Now I have a fla project where I want to use this one com/primary_lib/lib.as, something like:
import com.primary_lib.LibClass;
var test:LibClass = new LibClass();
...
? , definition com.primary_lib:LibClass could not be found. -, , , ( CS4).
.