Flash CS4: Library Item Code Hinting
Tuesday, February 10th, 2009I seem to always have problems getting the code hinting to appear while developing in the Flash IDE. Until today I miss typed a parenthesis and wham-o now it works.
Example:
I have a Movie Clip in the Library where the “Export for ActionScript” box is checked and the class is called SomeAwesomeClass.
Before, I would reference this clip like this:
var clip:MovieClip = MovieClip(new SomeAwesomeClass());
or
var clip:MovieClip = MovieClip(new SomeAwesomeClass());
Now, I call it like this:

var clip:MovieClip = MovieClip(new (SomeAwesomeClass));
Not really sure why it works this way, but it does, Happy coding!



This blog is dedicated to all things techie, in the realm of design/web/electronics.