You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, I've noticed this issue. If I recall correctly, I could also reproduce it in the Flex SDK. For some reason, the compiler doesn't automatically import the type of the Vector if it isn't used elsewhere.
As a workaround, I think you can explicitly declare the Vector, like this:
Hey, I have been getting this error which obviously the compiler is not importing DisplayObject behind the scenes, you run into this?
If I add
import starling.display.DisplayObject;
the error goes away.The text was updated successfully, but these errors were encountered: