So, don’t reference the app from the preloader, or define an interface they can both use.
On 5/12/10 2:10 AM, "Fotis Chatzinikos" <[email protected]> wrote: Thanks Oleg, that makes sense. On Wed, May 12, 2010 at 11:57 AM, Oleg Sivokon <[email protected]> wrote: Preloader is in the first frame, by making dependency to your main class from the second frame you brought all it's dependencies into the first. Since the classes from the first frame cannot be externalized (they must be loaded some time, and at that time the first frame should be constructed already) they are compiled into the first frame. Best. Oleg -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui

