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








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.




FlashKit > Flash Help > Flash ActionScript
Posted on: 09-07-2002, 04:54 AM


View Complete Forum Thread with Replies

Sponsored Links:

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?)

View Replies !    View Related
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/

View Replies !    View Related
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?????/

View Replies !    View Related
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!

View Replies !    View Related
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

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

Thanks for the help.

View Replies !    View Related
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

View Replies !    View Related
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

View Replies !    View Related
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?

View Replies !    View Related
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.

View Replies !    View Related
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?

View Replies !    View Related
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

View Replies !    View Related
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);
}
};
};

View Replies !    View Related
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

View Replies !    View Related
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

View Replies !    View Related
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

View Replies !    View Related
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

View Replies !    View Related
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

View Replies !    View Related
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!

View Replies !    View Related
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?

View Replies !    View Related
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.

View Replies !    View Related
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?

View Replies !    View Related
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

View Replies !    View Related
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

View Replies !    View Related
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

View Replies !    View Related
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?

View Replies !    View Related
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.

View Replies !    View Related
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

View Replies !    View Related
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

View Replies !    View Related
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

View Replies !    View Related
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.

View Replies !    View Related
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....

View Replies !    View Related
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!

View Replies !    View Related
Seperate Transition For Each Page
Alright, I wanna know how to have a transition animation play when the user moves to another section in a Flash site.

Would it be possible to make the entire timeline of a loaded movieclips play backwards to the 1st frame before it is unloaded and the next section is loaded in? or is there some more advanced AS involved in having an outro transition?

an example of what I mean is http://www.nemstudio.com/en.php (Aswell as countless other Flash sites)

Thanks in advance for anyone that helps me out.

View Replies !    View Related
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;

View Replies !    View Related
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

View Replies !    View Related
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;

View Replies !    View Related
Interaction Between 2 Seperate Movie On 1 Page?
Is there any way possible to have one movie interact with another movie on the same HTML page?

View Replies !    View Related
Is There A Way To Tell A Seperate Swf On The Same Html Page To Load After The First?
I have an Intro I want to load first, but I have another animation that I want to load after but they are not in the same main, just on the same page. I don't want the second one to eat up the bandwidth, so that the first one can load and start playing.

Thanks,

View Replies !    View Related
2 Q's: Preloader On Seperate Page, And Fps Conversion.
1. Is there anyway I can begin to preload a movie from a seperate html page. For instance, could I set my homepage (and all other linked pages to begin to load the flash movie) that way it would be loaded already if the user just happen to click on the link to the actual movie. Does that even make sense?

2. Is there a way in MX to do a full frame rat conversion. For instance if I have a CD version of a movie that runs at 24 fps, could I change it for the web to run at 12 fps without making it play at 1/2 speed?

Thanks for any help.

View Replies !    View Related
Nav Bar As Seperate Movie But Works On Each Page
I want to create a site entirely of flash because elements of my nav bar need to animate and I have elements on each page like galleries that would be easier to do with flash. I think I have to make one movie (or many movies in one movie) for the nave separately. Each button will reveal a small image over it as you rollover the nav AND then on release you are taken to a new part of the site. But each "page" of the site also needs to be it's own movie (I think) in order to contain animating elements. So...is there a way to keep the nav and exterior frame of the site (with the logo) as a fixed piece of every page with out having to include it in the movie for each page? For example- the nav, logo and background area would stay the same and the movie for the individual page that is being navigated to would open within that frame. But I am not talking literally about coded "frames", just as a mean of describing the layout.

I am sorry if this is confusing. I am not even sure how to ask this question. I just am concerned about keeping the overall file size down and load time quick.

View Replies !    View Related
Right:::: Please Help With 2 Seperate .swf Files Interaction On One Htl Page
What I wanted be able to do

I have 2 seperate flash .swf files on 1 html page, right:::

1 file is always on every page

the other is a heading banner.

I want the top heading .swf file to tell the main .swf file )that is ALWAYS on every page) to load a certain .swf in that certain movie, but from the banner .swf movie

ie.

I want the banner.swf movie at a certain frame to tell the main.swf
to load in Place a certain.sf movie

both these movie are on seperate portions of an html document

this is NOT ONE big flash file.

please help please someone anyone

fs comman whaaatt?

the page I am wekin' is here at http://www.mjdurious7.co-inc.com/

View Replies !    View Related
Loading .swf's Into Seperate .swf's On An HTML Page : )
I have been trying to find recources on loading a .swf into a sepearte one.
for instance:
I will have an HTML layout with multiple flash movies. I know I can load movie into the .swf that the button is in.

my question is. can I have the navigazion on the left side of the screen communicate with another random .swf to load the additional content?

thank you all,
teamsv

View Replies !    View Related
Preload SWF On Seperate HTML Page?
Good morning all,

We're workin' on a project over here where we load a relatively large (140kb) flash animation to use as a kind of landing page in the shell file before the user clicks any buttons. Think of it as an intro that fades out as soon as the user clicks any of the other nav on screen.

The issue at hand is that we want this to load relatively fast on dialup. One of the quirks about the site is that the client wants a static HTML driven news page on the site, and from there you can click the "Enter Button" to go to the Flash page...

*whew* So let me see if I can explain this another way:

User comes to static news page. Reads news. Clicks "Enter" to go to Flash page.

Flash page loads, "intro" animation plays in a loop until other nav is pushed. "Intro" fades out, the rest of the site runs through Flash.

So the issue at hand:

I want to preload this intro.swf quietly in the background of that first news page, perhaps as a 1 pixel x 1 pixel SWF in a div tag off screen. If I do this, will the browser cached the intro SWF so when the user finally jumps to the flash page it'll load quickly?

This is a simple question that just seems oh so complicated to explain, but thanks for your help.

View Replies !    View Related
Help Please -can I Make 2 Seperate SWFs On One Web Page Communicate?
What I want to do if possible is have a flash movie at the top of my html page tell the flash movie on the side of my html page when it needs to start playing. Can anyone help me on this one? Is it even possible?

View Replies !    View Related
Opening A Page In A Seperate Frame On A Website
what is the code to open a seperate URL using a flash button which is on a different frame in a frames style website.

for example, i have a 2 frame website. 1 frame has the links, and the other is for the main content. The links page contains seperate swf buttons which open up seperate web pages in the main contents page.

In normal html on the button link, you use <a target = _content.html>, or something like that.

what would you use in flash?

View Replies !    View Related
Sending Commands To A Seperate .swf Embedded In A Web Page. Help
I have a question as to whether or not something like this is possible:

I would like to have a .swf file, specifically a button, embedded in my website that will contain some type of command so that when pressed, it will send a command to another .swf file embedded elsewhere in the page. Is this at all possible, or should I use some html or scripting trick rather than a specific action script solution? Thanks in advance.

View Replies !    View Related
Sending Commands To A Seperate .swf Embedded In A Web Page. Help
I have a question as to whether or not something like this is possible:

I would like to have a .swf file, specifically a button, embedded in my website that will contain some type of command so that when pressed, it will send a command to another .swf file embedded elsewhere in the page. Is this at all possible, or should I use some html or scripting trick rather than a specific action script solution? Thanks in advance.

View Replies !    View Related
Controlling Other Swf Files In A Html Page From A Seperate Swf File Elsewhere In The
I have two frames, i would like a flash button in the bottom frame to control the movement in a swf file in the top frame. Is this possible, or are my talking out of my posterior!!!!

View Replies !    View Related
Controlling Seperate Swf Files Frome A Movie Within A Page..
Is there a way to control a completely seperated Flash movie from another Flash movie within a webpage?

For instance, I want to be able to play a movie that is in a different location within the html from a button in a different located movie. Does that make sense?

Thanks,
D

View Replies !    View Related
Flash Menu Effecting Seperate Html On Same Page?
I've seen this done before...
How do you have a flash menu on your page change the page in a window of the same site?
Example:

================ < Flash Menu
================

+-----+...+--+
|/A//|.....|B/| <- Html Windows
|/////|.....|//|
|/////|.....|//|
|/////|.....+--+
|/////|.....+--+
+----+.....+--+

I need to have the buttons in the flash menu change the site displayed in window A... any one know?

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved