Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

load unload movie

Status
Not open for further replies.

gilc

MIS
Feb 20, 2002
36
HK
hi
The thing that i have made has a main interface this movie , has its own size ,that is 640x480, now the butoons in that interface open other several movies, by load movie command, but i am having problem , the first thing is that the other movies have to have a smaller size or window, like 300x200 , but i cannot acieve this also , i want the main screen on 0 level to remain there just like in os windows, several windows can be opened on top of each other and the lower window can be seen.
 
You'll have to open separate browser windows and load the new movies into them to get the effect you describe.

You'll need some JavaScript code in the HTML page which holds your main movie like this (insert it in between the <HEAD> & </HEAD> tags)...

<script language=&quot;javascript&quot;>
function popUp(url)
{
window.open(url,null,&quot;width=300,height=200&quot;);
}
</script>

Which you call from Flash like this:

getURL(&quot;javascript:popUp('yourMovie.swf')&quot;); Slainte

 
but my movie is on standalone player.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top