Unresolved Function or Method push() FLEX ActionScript

418 Views Asked by At

After a recent reinstallation of my computer I have encoutered a very frustrating and strange issue with JetBrains IntelliJ.

I have this line of code

this.path_.data.push(r.left, r.top, r.right, r.top, r.right, r.bottom, r.left, r.bottom);

And similar ones around my project.

path_ = new GraphicsPath(GraphicsUtil.QUAD_COMMANDS, new Vector.<Number>());

data inside of path_ is a Vector.<Number> but for some reason I am unable to use the function native AS3 function push(... rest):uint; on it. It just shows me this error

I have tried to find a solution to this issue for the past 6 hours and haven't found anything so far... Hoping anyone here might be able to give some assistance with this issue.

Note: This has never happened to me in the past.

I have looked into the declaration of push() and it points to my library.swf for everything except the code that uses GraphicsPath.data... That file seem to point to ECMAScript.js2 which doesn't contain anything for Vector Objects at all.

0

There are 0 best solutions below