EightySeven
09-30-2010, 05:08 PM
After much searching on the web about why Flash was giving me sas about being Unable to open include file I quickly realized how useless google is if people don't all have correct information. I admit I might not have used the correct keywords to find the solution.
So I'm making this post to hopefully help some googlers (since this forum is usually on page 1 =D ) and probably tell everyone here something they already know.
This is valid for as3.
include "path/file" is not relative to the fla, include is relative to the class calling include.
I came upon this because my document class is not always inside the same folder as the fla. The truth is out. Hope this helps someone in the future.
So I'm making this post to hopefully help some googlers (since this forum is usually on page 1 =D ) and probably tell everyone here something they already know.
This is valid for as3.
include "path/file" is not relative to the fla, include is relative to the class calling include.
I came upon this because my document class is not always inside the same folder as the fla. The truth is out. Hope this helps someone in the future.