When I exacute, load, a swf movie I want it to load a swf that is on the web . I use the exacutable movie as a master program that loads a page from the web. The web page has the most recent information. I have tryied many different methods with no luck.
It seems to me with the on(press) or on(release) you are talking about a button to apply an action to. When our page loads, we automatically want it to load the movie.
We are getting it to load now with the movie, but we still have a few questions.
When we load it with the “1” it seems to load within the main movie (behind everything), when we use a “0” it opens inplace of the main movie, and when we use an instance name (where in this case is where we would like it to open) it opens a new browser window.
Trying the different things was valuable because in the future we will want to use these different features. But in this case we have an instance set up in our movie where we open informational pages. That is where we would like this swf to open.
loadMovieNum loads movies onto different levels - 0 being the host movie. try a higher level.
you can load movies into the host with a ‘dummy clip’ by placing the dummy mc on the stage, giving it an instance and positioning it (the new movie’s top left corner will replace the dummy movie’s). for this method, use:
Thank you so much. That did exactly what we wanted. Now I have one more thing.
How would I do it if I wanted to open something else in another browser window as well as what we did here. This is what worked before so I tried adding it as a second line and it did not work.
When we are loading the main movie we are actually tring to load three different movies to the main movie. The three movies are to be loaded to three different instances.
We are sure close to finalizing a great project, thanks to loads of help from this site.
We are using something similar to a demo that comes with flash. It almost seems to be a slide show. So the base page actually carries all the way through. But each page if, you can call it that because uses arrows at the beginning of the movie for navigation, has an instance that I would like to assign this loadmovie to. Will that work correctly. Would I place the load movie on each slide or just in the beginning of the main movie?
i thought you just had a few small sections you wanted to load onto the main movie. if you want to replace the movie which is loaded from a button being pressed, you could add this to a buttons actions:
on (release) {
loadMovieNum("http://www.mysite.com/mymovie.swf", _root.dummy);
}
if you like, you can attatch the .fla and i’ll have a look.
>>want to replace the movie which is loaded from a button <<
I’m not explaining my self well enough. We are not using buttons. This is how it works.
The master movie has nine frames. Each frame has an area that contains an “Instant”. The “instant” has to be updated with the latest information when the master movie is executed. Actually update is a bad word since the “instant” has no data, information, tell we load a movie to each of the “instances”. This is where we want to use the action. It is to load a movie to each of the “instances” of the master movie. This is only done once, each time the master movie to execute.
The whole idea to the master file is it acts as a container that holds critical information that is updated every time the master file is run.
I am attaching the files. I think it may be easier that way. I put in what I thought would work, maybe you could check it out. In the gray space to the left is where the instance is set up. Each page has one. When I go to the 2nd page I would like a movie to load within that instance.
Ok, so when you enter a frame, you want to load the according movieclip, right ? And the two extra files “Front_Page_Ad” and “Front_Page_Ad2” are two of those movieclips ?