Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Loading Seperate Movies



ok i am trying to load a seperate swf file after an animation. here is my code

on the button:
on (release) {
_root.transition.gotoAndPlay(2);
_root.loader = about;
}

at the end of the animation:
loadMovieNum (loader+".swf", 100);

error code:
Error opening URL "file:///Macintosh%20HD/Desktop%20Folder/xrt/.swf"

does anyone know why this isnt working? thanks!



FlashKit > Flash Help > Flash ActionScript
Posted on: 06-14-2001, 01:54 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Loading Seperate Movies
Is there a way to load a seperate movie (but not show it) just load it so it shows up quicker later when u call it in to the main movie?

http://jigga.surreal-media.com/test/layout.html

the news is part of a seperate movie, and sometimes it doesnt show up after the sites builds up.

Is it possible to load the news.swf as the site is creating itself and animating into place? then have it actually show after teh site is done building.

And then also, if i could load all the other links while its stopped on the news.swf?

Loadmovie HELP Loading 2 Seperate Movies
I have a website where I'd like to keep one flash movie as a frame and the other I want to use as content inside.

I want to be able to click a button on my Frame that loads a movie inside my content.

here's a link to the situation the orange outer box is movie 1 and the inner black box is movie 2.

I'm sure it's just a simple actionscript code, I just don't know what to put as the variable to get it to change the 2nd movie instead of the 1st.

Thanks in advance...

http://hulkaholic.freecoolsite.com/main.htm

Loading 2 Seperate Movies Into A Blank Movie
can some flash master figure this one out?

I have a main movie with a blank movie called "blankclip" to load movies into. I have a frame where the movie stops which has a layer which loads the "menustrips.swf" animation in the main movie:

_root.blankclip.loadMovie("menustrips.swf");

and also another layer/frame which loads "kanim.swf" which is also an animation

_root.blankclip.loadMovie("kanim.swf");

My problem is that only one of the movies load?

How can I load both these movies in my movie?

thanks

Loading Seperate Movies For Site Sections
reworking ptacnik.com and need to know the best way to load seperate movies for each "section"

In the first version of my site I used the "loadmovie" and the clipevent "click"... at least i think i did... but all I was really having it do was load each section overtop the other one, witch looked fine but slows down the fps when multible were in the background

I quess what my question is.. is what is the best way to load the different sections so only that section is playing...
... and does the "unloadmovie" completely "unload" or just remove from the main scene?

i want it to be able to load the sections seperatly (when the user clicks on that link) and still have it be loaded when they go back (but not continuesly playing in the background)

if anyone knows what im talking about I would most definatly apreciate the help

Combining Seperate Movies For Loading Purposes
Hi there,
Not an expert as will become patently obvious from the below but I have four swf files on this page one after the other...

http://www.gfnmeubles.com/chests.html

Instead of waiting for them all to load before the page 'starts', what I would really like is to be able to force the loading of the top one first, then the second one etc - I guess I will have to combine them somehow ?? or am I barking up the wrong tree....

Loading Seperate Movies With Flash MX Action Script
I loaded a quicktime movie into flash mx. I made a seperate movie for a button bar. I'm trying to load my button bar with the quicktime movie, so, the button bar will interact with the movie without making them together. I want to have them seperate, so, I will be able to revise one without the other. This is my code, I have the button movie displaying, but without interaction with the main movie. Can someone help?

_root.createEmptyMovieClip("buttons",3);
buttons.loadMovie("buttons.swf",3);
buttons._x = 20;
buttons._y = 400;

Loading Seperate Movies With Flash MX Action Script
I loaded a quicktime movie into flash mx. I made a seperate movie for a button bar. I'm trying to load my button bar with the quicktime movie, so, the button bar will interact with the movie without making them together. I want to have them seperate, so, I will be able to revise one without the other. This is my code, I have the button movie displaying, but without interaction with the main movie. Can someone help?

_root.createEmptyMovieClip("buttons",3);
buttons.loadMovie("buttons.swf",3);
buttons._x = 20;
buttons._y = 400;

Seperate Movies Communicating
I would like to make to movies talk to each other: I want "movie A" to tell "Movie B" to go to a particualr frame. These movies are seperate movies on a page, in different cells.

I tried a javascript solution, and it didn't work in I.E. and it crashed Netscape.

Anyone know how to do this and for the largest possible audience. (And easy for me!)

Thanks for any help.

oohah

Preloading Seperate Movies
Just wondering if it is possible to preload a seperate movie before it is actually loaded?????

Thanks for the help.

Menus With Say 5 Seperate Movies
What is the best way to have say a static header and footer, along with a static menu, that calls up different flash movies only in the middle of the page? Can I do this without using frames?

I want to call up the following within my site:
(there designed in flash already but I want to be able to call them up within my main site template)

1)mp3 player
2)picture viewer
3)a few text files in flash, bio, resume, etc...


Please help, or point me in the right direction.

Peace

Two Seperate Movies, Same Page.
Hello, and thanks in advance for any help provided.

I have two seperate movies on the same page, and i need to set it up so that movie1 tells movie2 to play.

i know this can be done with javascript. but i can't find a tutorial or an open source movie on the subject.

thanks again for any help.

Controlling Seperate Movies
Hi,

I need to controll a seperate movie clip within a scene, ie jump to a specific keyframe within the movie, when the user selects cetain buttons. These changes also need to be reflected in the following scenes too!

Cheers

How To Link Two Seperate Movies HELP
I've got one movie, which i want to use as the navigator of a second movie, how is this possible??

Any comments would really help.


Thank you.

Website With Seperate Movies
Okay so I'm trying to do a site with instead of having the pages in frames each thing is an individual movie clip...I was wondering what actionscript I would use for this?

Seperate Movies Communicating?
Hey everyone, I'm new to these forums.
I'm a web designer for a nearby company from where I live, and I'm trying to expand my skills onto flash, so I've bought a book for Adobe Flash CS3 and read that through, now I'm attempting to create my own website.

My problem is, I have a main movie (holder.swf) which loads 2 movies at one time. The first is menu.swf, which doesn't change at all, it just contains my buttons.

My issue is now I need to find a way for my menu.swf to tell a container (empty movie clip) in my holder.swf which page swf to load.

All of my pages will be seperate swf files, which will hopefully have onload and onunload animations.

I've attatched a diagram to better explain what I need.

Thanks
- Stephen

Edit: I've figured out to use local connections to pass data from both scripts, and hook that up to a load movie

2 Seperate Movies A&b. I Need To Control A From B
Hey all,

Iam trying to do the following for my website.

I have a swf that fades in images at the click of a button but i want to remove the buttons from the main swf and have them on their own in a new swf but still control the fading movie.

Any ideas?

Here is the code i am using

Button Code

Code:
bt1.onRelease = function() {
loadFade("img1.jpg", _root.destino);
};
bt2.onRelease = function() {
loadFade("img2.jpg", _root.destino);
};
bt3.onRelease = function() {
loadFade("img3.jpg", _root.destino);
};
Fader code

Code:
Stage.scaleMode = "noScale"
/****************************************************/
/* Criando o MovieClipLoader */
var meuMVL:MovieClipLoader = new MovieClipLoader();
var meuListener:Object = new Object();
meuListener.onLoadProgress = function(alvo:Object, bLoad:Number, bTotal:Number) {
_root.carrega.text = Math.round(bLoad/bTotal*100)+" %";
};
meuListener.onLoadComplete = function() {
_root.carrega.text = "";
onEnterFrame = function () {
_root.destino._alpha += 10;
if (_root.destino._alpha>=100) {
delete this.onEnterFrame;
}
};
};
meuMVL.addListener(meuListener);
/****************************************************/
/* Criando o um Protótipo para ficar + simples de usar o fade entre os swfs/imgs */
_global.MovieClip.prototype.loadFade = function(img_mc, dest_mc) {
dest_mc._alpha = 100;
onEnterFrame = function () {
dest_mc._alpha -= 10;
if (dest_mc._alpha<=0) {
delete this.onEnterFrame;
_root.meuMVL.loadClip(img_mc, dest_mc);
}
};
};

Two Seperate Embedded Movies
I have two .swf embedded seperatly on a html page - is it possible to communicate between these?

I think I have seen a tutorial but i can't seem to find it - cheers!
J

Sending Variables Between Two Seperate Movies
How can i send variables between two seperate movies without using PHP? Both movies are in level 0 and in the same Html document.

I´ve tryed it with loadVariablesNum, tellTarget and with.
But it´s not working. Did anyone knows an answer?
Thanks Dirk

Making Two Seperate Movies Interact...
Here is my problem...

I have one flash movie which is my navigation menu on the left of my html page. When you roll over a button within the nav, I would like to trigger an effect in a second, seperate movie on the same page.

In short, how do you control one movie's timeline from a completely seperate movie on the same page? - could you point me in the direction of any tutorials?

Thanks in advance

Stop And Play With Seperate Movies
I am having a problem developing a internet delivred class here at work. First off I have about 20 sepearate sound files that are all there own movie, they are all cued up and different times and I need my stop and play controls to stor and play whatever current sound movie is playing. How can I do this all the tutorials I have found are only for controlling the current movie. Please advise. Thanks

Flash5 Can Seperate Movies Communicate
Hello can I get one movie in a html page to talk to another movie? i.e. tell it to go to a new frame etc..? (flash 5)

any help much appreciated

How To Get Seperate Flash Movies To Talk
i help in figuring out how to get one flash movie to talk to anther flash movie in a dreamweaver frameset?? i want to lick on a button in one movie and have something move in another movie.?? i want buttons to work a masked slideshow in another file?? is this possible ?? please help!

Remember Preference Between 2 Seperate Movies?
Is it possible to remember a per user preference between 2 seperate movies like say. A user adjusts volume to liking and then every other movie on other pages can use same preference for volume?

Interactivity Between 2 Seperate Flash Movies. Help Pls
Hi guys, can anyone help me with this?

http://sg.fusion.yahoo.com/demo/twisties/hp.html


Notice the 2 seperate rich media ads, they actually interact with each other.

It's not the timing issue, as i downloaded both movies separately, and the one on the right is a still, and it's actually waiting for some script to be executed before it goes to the next frame.

The movie on the left executes a certain code at some point of time, and the twisties on the right moves on to the next frame.

I've searched countless sites but none has what i wanted.
Probably cos i dun even know what to search for.

Any kind soul able to help me on this?

Been tearing my hair apart for the past week.

Lots of thanx.

Preloading Seperate Flash Movies
ALright, I made an flash movie(actually a flash based web site)but I didn't put a preloader in at the beginning. How would I go about adding a preloader? I was thinkign just make a seperate flash file for the preloader and have the preloader read how much of the site is loaded and show progress accordingly. But I am not sure how to do that....

anyone interested in helping me?

Overlay Of Seperate Flash Movies
Hi everybody,

Have this dilemma involving 2 seperate .SWF files.

1st .swf file contains a drop down menu and the height of it is 800px and the 'effective' height is about 200px.

2nd .swf file contains clickable buttons and on the site it would be placed just under the drop down menu above.


Now... for both .swf files i have set a z-index and wmode: transparent.
When i publish the html, the drop down menu will open over the 2nd swf file.
But i cannot seem to click on the buttons anymore on the 2nd swf file.

how do i get this to work ?

thanks in advance

How Can I Combine Two Seperate Movies To Create Just One?
I've created two seperate movies and would like to create a single flash movie that will have one movie as Scene 1 and the second movie as Scene 2.  I've tried the import feature, but this does not work on some of the movies, they look choppy.  I appreciate any suggestions...  Thanks

Controlling Seperate Flash Movies?
I was wondering if it was possible to control a flash movie from a different movie.

For example. I have a menu, and then in a different frame of the html page i have a flash movie.

Would it be possible to make it so when you click a button in the menu flash on the top frame, and make the flash movie in the botem frame do something?

Thanks alot for your help guys

Linking Seperate Movies With Actionscript
I am currently working on a site, and I am trying to link a movie clip to another movie clip (page 1 ). I have a movie clip button and want to press on this and change to another movie clip (page 2) I just need the code to link the two pages. Whats the best way to do this?

Can 2 Seperate Flash Movies On Teh Same Page Interact With Each Other?
Hi, I was wondering if it is possible to get 2 flash movies on the same page to interact with eachother. For example, if at the top of my page is a flash menu, to the left of that is a flash movie that I want to change depending on what button is pressed, the rest of the page is html. Is there a way to do this? Below is a pic of what I am trying to get with the layout if it helps to show you what problem I am having. Thanks for any suggestions.



(If the movie in the gray box is a menu, can I get it to make the other movie in the blue box play or stop if they are 2 seperate .swf files?)

Linking Seperate Movies On One HTML Page I Just Can't Do It :)
Hi! I have a little problem that I'm sure someone can help me with. I'm building a flash site now for an architectural firm, and there are 3 seperate movies on one HTML page. No problem, but I need to be able to link the main movie to the side movies to display the appropriate movies/pics for the section entered.
I'm sure there are lots of people who have already answered this question here, but I can't seem to pick the right words to search for.

Anyway, take a look, hopefully it's pretty clear what I'm trying to do, and any help would be MEGA-appreciated.

http://anna.chimp.ca/kga/

Communication Between Seperate Movies (not Loaded Into Eachother)
On my current project I have a menu going horizontally across the top of my page in one movie, and a separate movie on the side of the page with a submenu.

http://hosted.dailyrush.dk/elementalsaga/pt/

I need to come up with the easiest way for the top bar to tell the sidebar what frames to go to and play. I was thinking of having the top bar set a variable in a text file that the sidebar would check for updates every .5 seconds and then depending on the variable go to the coresponding sub menu. However I'm not certain if there is an easier way, which I hope there is, if not I could use some input on how to execute my idea effectively.

Thanks in advance.

Linking To Frames In Seperate Flash Movies
Does anyone know if its possible to link to seperate frames within a movie rather than starting each movie at frame 1. I want to load a new movie at frame 30.

Any Ideas?

Thanks

Phil

Keep Properties Of Attached Movies Seperate From Their Parent
Code:
newClip = this.attachMovie("zoomBackground", "bkg", this.getNextHighestDepth());
newClip._alpha = 65;

newNew = newClip.attachMovie("interface8", "spot8", newClip.getNextHighestDepth());
newNew._x = 235;
newNew._y = 150;
newNew._alpha = 100;
I have two mcs: a background mc, and an mc I place on top of that. I want the alpha of the background mc to be different from that of the other mc, but when I try the above code, it sets the alpha of both mcs to 65.

Passing Global Variables Between Seperate Movies
Is there a way to do it without flashvar/javascript?

I need ONE tiny variable passed from level0 to level1, but from what I've read so far, there's no other way.

Anyone?

Thanks!

2 Flash Movies Playing In 2 Seperate Browser Windows
hi guys, this is my first ever post so i hope its not a stupid question but i have a problem i just cant figure out, and wondered if there is a way to do it.

i have a flash movie playing in one browser. it's a website that has background music playing etc,

there is a link in the movie to launch a new popup browser and load the other site that the link refers to.

so when the user clicks the link the popup opens and loads the other site which also has background music playing. so now both tracks are playnig and of course. it sounds terrible.

here's my problem. is there a way to stop the sound in the "parent" browser playing when for example the user launches the popup child window and the new movie plays?

if the user then for example closed the child browser window, or clicked back on the parent and brought that into "focus" is it possible to then stop the child window playing and let the parent begin to play again?

i realize there is probably some javascript as well as heavy actionscript invovled here. so i really need help, as i'm not going to be winning awards for either if you know what i mean

i'm sorry my first post is a bit heavy.

i have used this javascript which seems to work in identifying if the newbroser (child) is open or not, and if it is not to open another etc.,

<script language="javascript" type="text/javascript">
<!--
var newwindow = '';

function popitup(url)
{
if (!newwindow.closed && newwindow.location)
{
newwindow.location.href = url;
}
else
{
newwindow=window.open(url,'name','height=550,width =750,left=50,top=50');
if (!newwindow.opener) newwindow.opener = self;
}
if (window.focus) {newwindow.focus()}

}

// -->
</script>


but i'm really completely stuck in trying to figure out how to get the sound to stop in the parent browser window when the child browser window is selected and vice versa.

any ideas?

thanks in advacne to everyone who takes the time and patience to read this and post a response. i'm hoping one of you guys is an expert and knows how this can be solved.

- son of marzipan

Swapping Seperate Flash Movies In One Sing Html Page
swap flash movies!
well, can anyone tell me a way to swap seperate flash movies in two different location in a single html file? like, i would like to swap a flash movie on the top of the html page and stay there when i mousover a button the left of the same html page. any help would be highly apperaciated
is it possible?????/

Loading A MC Into A Seperate .swf
I have a situation where I have a .swf with a button in it. Lets call this "movie A". When the button in "movie A" is clicked it loads another movie "movie B". I want to have a MC from "movie A" load into "movie B". I can get "movie B" to load but cant seem to get the MC to load into it. Can anyone help?
Cheers,
Twisted Peak

Loading Seperate Swf's One By One.
Hi.


I want to load 5 different swf's into 5 different containers. Is it possible to load one by one. First movie's loading completes and then the other one starts and so on...

Please help me with an example.

thank you all.

Asp? Loading Seperate Data Into Swf?
hi guys n girls,

k, i will give an outline of the job im doing:

1 movie clip... say about 600x800 in size.

a second movie clip which contains a face, clear background, and is on level one.

the third movie clip is blank and is on level 3, and its dragabble.

now what i want to do is be able to load a pair of sunglasses into the third (blank) movie... but it doesnt end there... the image that loads inot the movie will be determined by what image it is that they are clicking on in the main site...

eg.. say there are 50 images on a page... i want a person to be able to click on one of those images, and by using asp, i want that image to appear in the swf (blank) movie...

any ideas how this can be done?

the only other way for me to do it is to make 50 seperate swf movies with a different pair of glasses in it... and i dont want to do that, mainly because there are more like 5000 images in the database... plaease help!!!

thanks people

Loading Seperate Files?
I have some mc's, that I have from another file, and I want to copy and paste them into another file. They are not on the same file they are in different, which means they have diffrent scenes/librarys. If I copyframes/pasteframes will the symbols not show up, because the diffrent librarys. Is there a way to transfer the symbol, or open the other files into the main file?


-G.Guru.

Do Scenes Have Seperate Loading?
I have a question. On my site, www.angelfire.com/games5/moogame , well if I put in different scenes when u load my animations, does each one load seperatly? Like the loading screen is one scene, the intro is another, and the ending is another? Please tell me. Oh and check them out, gotta admit, for havin it 1 week im ok... I mean, I think I am.

Peace

Pre-Loading Multiple SWF's From A Seperate Swf.
I want a swf on my first page to preload the swf's that are in my site.

How To Seperate Loading Times?
Hi all

I notice lots of professional flash sites where the loadin bar is activated only on every click to other pages so that the initial loading time will not be too long.

I tried doing this using 2 scenes , but it looks like it doesnt work..

any ideas on how to do this?

Loading Seperate Scenes
Hey

I've got a problem and I'm going to try to explain

Let's say I am making a site in flash about myself. It has 4 pages:
- Home
- Biography
- Hobby's
- Links

Every page is a different scene, and I make every scene load when the scene opens, but the problem is this:
When you open the site an click on the 4th button "Links" (Wich is the last scene) the button doesn't work for the movie has not loaded that part yet!

For some reason the movie loads from the first frame in the first scene to the last frame in the last scene.

My question is: is it possible to force the movie to load other parts first?

Like when you click the button "Links" that the movie starts to load the Scene "Links" even if the other previous scenes have not been loaded yet.

Loading Seperate Sections
I tried searching for this topic (as I imagined it has been asked before), but the search link wasn't working for me for some reason.

Anyway, I'm trying to load certain parts of a flash site only when they're called upon. For example, when somebody clicks the gallery section it loads the gallery. When the main swf is loading, I don't want it to have to load the ENTIRE swf; only the main section that links to the different areas. 2advanced.com does this. The main movie loads into the main section, then when you click "Portfolio" or something, that part of the site is loaded seperately and isn't included in the main loading.

How would I go about doing this? Would I have to just make the seperate section a different movie clip, or would I just make it load an entirely different swf file into the main swf? Either way, I'd be completely lost on how to do it... If anybody could point me in the direction of a topic that already answered this, or if somebody could answer it themselves, I'd greatly appreciate it. Thanks!

[F8] Loading For Seperate Pages
Sorry if this has already been answered, but I could'nt find it
Does anybody know a way of making pages in a flash website load seperatley, instead of waiting a long time for the whole thing to load on a preloader.
This is a nice example
For this to work do all of the pages need to be in MCs?
Thanks

Loading WMA's In A Seperate Player
Hi everyone,
I am currently constructing a page for a DJ and his friend. They intend to host their music on their FTP server. They have requested though that the WMA's load up in Windows Media Player, seperate to the site, e.g. When you click on the link, it opens WMP. I was wondering if anyone had any ideas on how to do this. I am stuck and dnt have a clue.

This obviously means that they will want to be able to update the name of the link themselves also, therefore i have made the links movie symbols with text boxs linked to external text files (if that makes sence) e.g. when they update the text file, the link name will change.

Any help would be great and its due for completion soon.
Its only my second site iv ever built.

Check out my first here; www.burnonfire.com

Thanks
Skellz

P.S. I keep getting a problem with this code --

this.onRelease = function() {
import mx.managers.PopUpManager;
import mx.containers.Window;
win = PopUpManager.createPopUp(_root, mx.containers.Window, true, {title:"Ryan Skelley Designs", contentPath:"Website.jpg", closeButton:true});
win.setSize(619.6, 464.7);
win.move(win.x + 71.7, win.y + 42.5);
lo = new Object();
lo.click = function() {
win.deletePopUp(mx.containers.Window);
};
win.addEventListener("click", lo);
};

I know that it is because the code is a MX04 code but i dnt know how to update it. It should produce a nice pop-up flash window.

Thanks

Skellz

Loading 4 Seperate MovieClips
Hi All,
Ok this probably has to be the stupidest question ever asked here on kirupa but I’m going to ask it anyways. You see I have 4 containers (mc’s). and according to the user it loads a different swf into it so what I wished to know is how to put a loader for each .The following steps explain it better-

Quote:




Step1- the user selects 4 clips they want to see and click next
Step2-there is a screen that says:
movie1-notloaded
movie2-notloaded
movie3-notloaded
movie4-notloaded
And after each movie is loaded the notloaded of each turns into loaded
Step3=the screen where is shows the selected mc’s




.
I just wanted to know how to make this possible.
Any help much appreciated.
Thanks,
Avi

Copyright © 2005-08 www.BigResource.com, All rights reserved