I’m trying to use code libraries made by other people. I don’t know if their called libraries, packages, or something else in AS3.
The problem I am running into is having my root being able to reference a library that is deeply located in the file structure.
For example i’ll be using a test ‘library’ .
package com.awebsitename.test
{
public class test
{
function test()
{
trace('helloworld');
}
}
}
File structure com/awebsitename/test
.fla first frame, root code.
import com.awebsitename.test ;
I get some sort of error like: “Definition com.awebsite:test could not be found.” It should just output ‘helloworld’. I have tried placing everything in a project, but to no luck.
Any thoughts? Thanks!
:drink: