I amwriting an app that uses the Graphics class to do some drawing, but i cannot accees the lineBitmapStyle or drawTriangles methods. they are not showing up in the auto-complete menu for the Graphics object I created. On my colleague's machine, these methods DO appear, which makes me think I have a wrong file somewhere. I tried using various SDKs (3.2-4.0) to no avail.
Does anyone have any ideas why these methods are not appearing? This link was the only clue I could find via a google search:
I'm really stuck on this. Any help is greatly appreciated.
They are only available in Flash Player 10. Flex Builder 3 was designed for Flash Player 9. So you have to specifically tell Flex Builder to target Flash Player 10. The instructions on how to do this are here: http://opensource.adobe.com/wiki/display/flexsdk/Targeting+Flash+Player+10
It is explained else where on the web possibly better. But that is the official instructions from Adobe.