trying to move from FlashBuilder to Intellij IDEA
I am running IntelliJ IDEA v13 and have a simple Apache Flex project.
I want to add the Greensock actionscript library to run something like:
TweenMax.to(L1, 3, {y: 400});
I have included the Greensock AS library under src (src/com/greensock) and have the following:
import com.greensock.TweenMax;
No errors or warnings, but no Tween movement from the object (L1).
I have also tries to add the library as a module
(Modules->Dependancies->New Library (src/com/greensock) as a "Raw Actionscript Library",
which results in:
Can not resolve a multiname reference unambiguously. TweenMax (from /Users/npem/Desktop/logo/src/com/greensock/TweenMax.as) and com.greensock:TweenMax (from /Users/npem/Desktop/logo/src/com/greensock/TweenMax.as) are available.
But I need the import statement, otherwise I get:
[logo]: Error code: 1120: Access of undefined property TweenMax.
So, how do I add the library. Help is greatly appreciated.
Phil.