And now the attachment, hehe.
Greetz Erik On 5/13/08, EECOLOR <[EMAIL PROTECTED]> wrote: > > >I posted about this before and didn't receive and answer but it is still > causing > >me issues so I am trying again. > > There were some concrete answers posted to your question. Anyway, let's > see if we can solve it again. > > Before I will try and help with your problem, I want to point out > something about your code. I am not sure if you are using (in your real > application) an interface which you will cast your class to: > > *var _lm:ILoadMe = ILoadMe(_ldr.content);* > > If you are using the actual class, the problem is that the whole class and > it's dependencies are compiled into you main swf, defeating a big part of > the purpose of loading the swf into it. > > In my previous reply to your earlier email I posted a Flex version of the > answer. This time I created a Flash example. It is added as attachment. > > The attached zip file contains 2 directories. Make sure you have your > webserver point to to these directories, the virtual hosts in apache: > > *<VirtualHost *:80> > ServerName domain1 > DocumentRoot "E:\Projects\domain1" > </VirtualHost> > > <VirtualHost *:80> > ServerName domain2 > DocumentRoot "E:\Projects\domain2" > </VirtualHost>* > > In the hosts file (if you are on windows) you need these 2 entries: > > *127.0.0.1 domain1 > 127.0.0.1 domain2* > > In order to test the example, call this url: *http://domain1/domain1.html* > > You should see this appear on your screen: > > *domain1.swf > domain2.swf loaded > Domain2Base* > > I hope this will solve your problem. > > > Greetz Erik > > > > > > > > >
_______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders