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.
FlashKit > Flash Help > Flash ActionScript
Posted on: 05-20-2004, 08:57 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
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!
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
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?
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
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?
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
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?
Open Link In Seperate Frame
I am trying to get several links in a menu to open in a designated frame. however when i export it out it opens up in the same frame as the flash movie. i have used the normal geturl syntax but there is some wierd things in the script. what am i doing wrong. here is the code for on release.
on (release) {
name = getProperty("", _name);
getURL(eval ("../..:" add name add "url"));
..:starget = getProperty("", _name);
..:starget_y = Number(getProperty("", _y))+Number(getProperty("", _height));
sdown = substring(..:target, 10, 1);
if (..:CurrentSub2Set eq down) {
call("..:CreateSubTopics");
} else {
call("..:CreateSub2Topics");
}
}
i will try and et the fla up please help..
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
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
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.
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....
Uploading Seperate Swf Window From And Html Link?
Uploading seperate swf window from and Html link?
I've set a button to link from an html page to a seperate swf. file. How do I get the swf file . to upload in its own window.
Is there an Action script that should be set to the link button?
If so, what is it?
Thanks Alot
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;
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
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;
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?????/
Communicating Between 2 Seperate .swf's Each In A Seperate Frame(HTML) ... Help
this seems so elementry, .. yet I cant get it working ...
here is what I have....
A frameset (2 frames).... Frames "Top" and "Bottom"
Frame "top" contains the .swf Named and ID'd as "cont"
Frame "bottom" contains the .swf Named and ID'd as "nav"
The _parent of the frameset contains the following script.. (between the <HEAD> tags)
<script language="Javascript">
function forward1(){
window.top.document.cont.GotoFrame(10);
}
</script>
The movie in the frame "bottom" controls the movie in frame "top" with this.
on (release) {
getURL ("javascript: forward1()", "top");
}
Please look at the source for the _parent ... maybe the mistake will be apparent,heres the link
http://www.alpha8.com/s3/index.html
I'm using dream weaver ..
I'm sure that the javascript is in the _parent of the frameset.
I'm Mac IE5 ... Javascript no go?
Thanx in advance ... I desperately need a solution to this prob.
Link Movies
Is there a way to burn on a cd more than one .exe movies and link them with buttons?.. thanks in advanced..
Link Movies
Im trying to link 3 .swf files and having trouble. My preloader plays and then the first movie loads and play, but doesnt goto the next frame.
In the last keyframe of each .swf I have
_level0.nextFrame();
Frame 1
stop();
Frame 2
loadMovie("Pre1.swf", 0);
stop();
Frame 3
loadMovie("in.swf", 0);
stop();
Frame 4
loadMovie("themenu.swf", 0);
stop();
Link Two Movies
Hi people,
I'm trying to "move" from a movie in another one by clicking a button, but I can't manage to do it! All I want is when I click a button to move to specific frame (ex 20) on another movie. So i have to load the movie and then goto frame 20...how can I do this???
Link 2 Different Movies Together Within The Same Drive..
can anyone pls teach me as how to link the 2 movies together???
For e.g: I wanna link a movie name G to a movie name H at scene 5??
Which is to mean at movie H scene 5 I wanna play movie G..However there are scene 6 and 7 in movie H???
I did pubilsh 2 different movies together and try linking the 2 swf file but I cant still do it???
How abt doing this???
Just Need To Link Movies Via Actionscript. 99% There..
Hi everybody,
I am using a lovely template to create a wedding invite for my friends, and have managed to get 99% of it the way we want it.
Please take a look at it here:
http://www.gunnarandmagdalena.eu/wed...TML/index.html
The content, is in 4 different pages - the navigation on the top bar works and will take you to each page.
The problem I'm having is that I simply want to link each of the four photos on the front page to its corresponding section.
At present, each photo on the front page links through to links to the wrong content. I just need to change this somehow this. The correct links are working on the nav bar on the top right hand side.
I'm guessing that the solution lies somewhere in the actionscript - but I just can't figure it out. Needless to say I have spent hours playing with it but it has, I hate to say it, stumped me. Help!!!
The FLA is here:
http://www.gunnarandmagdalena.eu/wed...lash/main3.fla
I am using Flash 8.
Deek.
Made 4 Movies-Now I Can't Link
I made 4 short 2 minutes SWF "presentation movies" that I want to burn onto BizCard CDs and mail to clients and prospective clients. I created a menu with the four items to link tot he movies. I ASSUMED I would be able to do this but I cannot link from my four menu items to the movies. I have tried everything but I end up with looping or syntax errors. Help!
Made 4 Movies-Now I Can't Link
I made 4 short 2 minutes SWF "presentation movies" that I want to burn onto BizCard CDs and mail to clients and prospective clients. I created a menu with the four items to link tot he movies. I ASSUMED I would be able to do this but I cannot link from my four menu items to the movies. I have tried everything but I end up with looping or syntax errors. Help!
Link To Other Flash Movies On A Cd
can I do this???
I'd like to make a "main page" and have a couple of buttons link to other flash movies on the same cd. Can I do this without it opening a new window??
Movies Wont Link When Published On C.d.
I have two movies linked to a main movie,
all linked through load movie/unload movie. All
works fine in the folder but as soon as I put the
exe`s on a cd they wont link- I messed about with path
i.e. loadMovienum("E:first.swf",1;)but not too sure
if this is the right way to link movie paths????????
all a bit new to me u see.
This probably has such an easy solution>
please help me
big gurn
|