# How to tell what packages to import?

**URL:** <https://forum.kirupa.com/t/how-to-tell-what-packages-to-import/286610>\
**Category:** flash\
**Created:** [April 17, 2009, 6:01pm UTC](https://forum.kirupa.com/t/how-to-tell-what-packages-to-import/286610 "2009-04-17T18:01:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fhickler](https://avatars.discourse-cdn.com/v4/letter/f/46a35a/32.png) [@fhickler](https://forum.kirupa.com/u/fhickler)\
**Post date:** [April 17, 2009, 6:01pm UTC](https://forum.kirupa.com/t/how-to-tell-what-packages-to-import/286610/1 "2009-04-17T18:01:16Z")

</div>

This might be a dumb question, but I am making the move from intermedite timeline scripting to more advanced object oriented document class scripting.

So this is the question: how does one know what packages need to be imported when writing a class? IN many cases it is somewhat obvious, but in many other cases, it isn’t. Do people just _know_ from experience that when they use “abc” function that they need to import “xyz” class? Is there some kind of code hinting you can use to help this? I saw in a Lee Brimlow tutorial that he was using “Eclipse” and it looked like there was some kind of auto code hinting thing he did to put in an import command. After looking at the eclipse website, I don’t think I am ready for that (I think it was more for Flex than Flash).

Anyway any hints here would be appreciated.
