Export classes at frame X, export for at first frame Preloading problems

I have all way been confused by the preloading of classes and object and how they get placed on the play head.

how are you able to make sure that the classes get placed before the object that rely on them and that what needs to load first loads first?

example…


Document settings:
_____________________________
Export classes in frame 2,


Library settings
_________________________
linkage for  Symbol1 is:
export for action script - true.
export for first frame - false.


Errors:
_________________________________________________________
var test:Symbol1 = new Symbol1();
1046: Type was not found or was not a compile-time constant: Symbol1.

var test:Symbol1 = new Symbol1();
1180: Call to a possibly undefined method Symbol1.

I also attached the FLA.

The problem I find is that if I export the classes for any other frame besides frame 1 in the document settings, then I have to export any objects in my library that have a linkage to export as Action script to export at the first frame.

This defeats the point of a preloader as the objects usually get placed before any code the executes and make the preloader wait till it loads first.