Wednesday, January 21, 2004
 
If you're not using strict datatyping in your MX file or don't like to use underscores in your variable/reference naming conventions here is a nifty way to still get access to that handy code-hint window:

At the top of your code create comments in the form: //Object instance;
For example, if you had a textfield called 'bob' and a movieclip called 'bill'...

//TextField bob;
//MovieClip bill;

Now try typing the instance names followed by a period...

bob.[Textfiled code-hint box will appear]
bill.[MovieClip code-hint box will appear]




ARCHIVES

  AS Hero   blog feed

nwebb.co.uk - flash tutorials, php and more.