Hi all
I have a SWF (working fine on its own) that contains its code in class files and also a ComboBox and CheckBox component plus a pretty meaty exported font symbol. I’m trying to preload this SWF into another SWF because of the file size (120 K)
Im using a Loader to load in the SWF but when I compile the SWF containing the loader I get errors saying that it can’t find the components in the class thats using them in the SWF im trying to load:
1046: Type was not found or was not a compile-time constant: ComboBox.
1046: Type was not found or was not a compile-time constant: CheckBox.
1180: Call to a possibly undefined method ComboBox.
1180: Call to a possibly undefined method CheckBox.
1172: Definition fl.controls:ComboBox could not be found.
1172: Definition fl.controls:CheckBox could not be found.
so I wonder why a SWF cant see its own library symbols once it gets loaded into another swf, because the application was working fine on its own! Ive tried LoaderContext but I dont really understand it. Any help would be appriciated!