Just for checking I made fla file that contained only Loader component and code of loading.
Just for checking I made fla file that contained only Loader component and code of loading: var loader:Loader = new Loader(); addChild(loader); loader. ContentLoaderInfo. AddEventListener(Event.
COMPLETE, loadingFunc); loader. Load(new URLRequest("g. Swf")); function loadingFunc(event:Event):void{ var li:LoaderInfo = event.
Target as LoaderInfo; var mc:MovieClip = MovieClip(li. Content) } This code is from the testing file. But even this way it still looking for some class that seems to be one of external loaded swf.
The error is such: TypeError: Error #1009: Cannot access a property or method of a null object reference. At src::Dedo() at src::Main() I have no such classes in my main app. So it could be only classes from external swf.
This is a common error that you get when you reference a property that does not (yet) exist. Gotta go into the child source and examine Dedo() - your main app may be fine, but there is a glaring problem in the child swf. – Bosworth99 Mar 17 at 16:40 Thanks for replying!
The problem is that I have no fla files of all swf's (nor their classes) and there is big amount of swf's so it isn't exactly possible to check the classes of all those problematical swf's that play well on their own but can't be loaded into the main app. Is there some way to solve this issue through the main app itself? Thanks again for helping!
– MeLi Mar 20 at 8:08.
It seems like you got an application domain collision. This can happen if you got conflicting class names in each SWF (e. G swf1 has a class named Main, swf2 has a class named Main as well).
To fix that, load the SWFs into a new application domain: loader. Load(new URLRequest("g. Swf"), new LoaderContext(false, new ApplicationDomain(ApplicationDomain.
CurrentDomain))); If it's not that, you most likely have some code on the first frame of the movie that executes on initialisation of the SWF (See if you get Event. INIT before you get Event. COMPLETE).
This can be easily fixed by removing the code from the frame.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.