- Home /
Question by
davidhorak · Jul 25, 2013 at 01:39 PM ·
flashactionscript
Import custom as file in another as file
I have two as scripts: Assets/ActionScript/com/adobe/images/JPGEncoder.as
and
Assets/ActionScript/com/unity/company/ScreenshotResolver.as
How I can import [B]JPGEncoder [/B] in ScreenshotResolver ?
This is not working:
package com.unity.company
{
[B]import com.adobe.images;[/B] ! not working import
public class ScreenshotResolver
{
...
}
}
ScreenshotResolver I import in Start function like that:
public void Start(){
ActionScript.Import("com.unity.company.ScreenshotResolver");
}
Comment
Your answer
Follow this Question
Related Questions
JavaScript --> Unity Flash Build 2 Answers
Actionscript example does not work. 1 Answer
Unity 3.5 with AS3 1 Answer
Call javascript function from actionscript(flash) 0 Answers
Help with networking in flash 3 Answers