This content has been marked as final. Show 2 replies
> I've set up a html page that contains a swf file with an empty movie clip in
> which I wish to load another swf.
> However I trie to do it, it just won't listen.
> Can anybody help me with this.
> html page (complete one, with tables etc.) contains main swf file (in a
> table) which contains an empty movie clip.
> Within the main swf there is a button which should load another swf file into
> the empty movie clip.
> What happens is that the external movie clip is loaded into level 0 of the
> main movie.
> It usualy works fine just with flash site but within the html page it results
> Is it possible to get it right.
> Justin Time
Too general, you need to provide samples, actions used. Can't possibly guess based
on such description, sorry.
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
Urami, thanks for your interest for helping me ( and others, as far as I know )
I'll try to explain it in more details ( although english is not my language)
I've made a html page which contains a swf file ( theMAIN ) in one table, other tables are filled with gif's, jpeg's etc.
In the main movie - theMAIN - there is a empty movie clip with instance name "deder_mc" which is ment to accept loaded swf's.
There is also a button with action ---- on release : _global.theMAIN.loadMovie("./swf_s/000_studioG.swf", "deder_mc"); -----
That means, when user click this button movie 000_studioG.swf should be loaded into deder_mc empty movie clip.
The movie 000_studioG.swf is located in swf_s folder in site root.
_global.theMAIN = this;
is a action script in a first frame of the main movie so it build a reference to it.
I've done it before but site was built complete in Flash and I did not had any problems with loading external movies into empty movie clips. Not long before I've red somewhere(don't remember where) that this don't work in swf in a html page.
But I live in a hope that I would be able to build a html site which contains swf which can load external movies into empty movie clips. So I am looking for solution.
I hope it's enough information for you to tell me a solution if you know the right answer.