LoadMovieNum
can i used loadMovieNum From a specific fram?
FlashKit > Flash Help > Flash ActionScript
Posted on: 04-13-2005, 04:21 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Using GET In LoadMovieNum
Can someone tell me the correct syntax for load a movie with sending variable using GET or POST. Is this correct?
loadMovieNum ("movie.swf", 10, "GET");
LoadMovieNum - Help
Code:
on (release) {
loadMovieNum ("contact.swf", 1);
}
How can i change this code so it gives the movie an instance name and puts it in a certain place in my movie?
Loadmovienum?
Okay, so I have two swf files, one for my site layout and controls and the other for my background selector. I'm loading the background.swf file into my main swf file using this code:
loadMovie ("http://www.p-e-c-o.com/Pbackdrops.swf", MCholder);
All I'm doing is loading the swf file into a MC holder and then positioning the MC holder in a layer BELOW the other layers so that the backgrounds are behind my controls. BUT when it loads the swf background file it covers up everything as you can see here:
http://www.p-e-c-o.com/PIntro.htm
Thanks for the help....
LoadMovieNum Help
I created my site in flash and like the way it turned out. However, I wanted to break the site up into smaller swf files and use the LoadMovieNum action to load the separate movies. I set the "Home" button up like this for the main page
on (release) {
loadMovieNum ("/main.swf", 0);}
and for the other pages such as "News", I want them to load on level 1 so I did this
on (release) {
loadMovieNum ("/news.swf", 1);}
This works fine when I test the movie in flash, however, when I publish the main.swf movie into an html page, clicking on the buttons does nothing. What am I doing wrong?
LoadMovieNum
I have a loadMovieNum which loads onto level21 which is fine but when it loads the new swf the animation plays slow noticeable slow . There is no other animation playing in the main movie when this is loaded . The animation in _level20 is unloaded when _level21 is loaded . I cant seem to figue this out . And I cant have the animation look slow when it loads does anyone no what is going wrong .
LoadMovieNum (how X And Y?)
I have a button going to this frame that has this as:
stop ();
loadMovieNum ("news.swf", 1, _x=200, _y=205);
The swf loaded on top of the main movie just fine, but not where I want it. So I added the x and y and now it doesn't load at all.
So, how do I get this to load where I want it? I've been reading over Moocks' AS book (man that's heavy stuff) because I'm determined to learn. I'm just stuck right now.
Thanks in advance, RJ.
LoadMovieNum
I can't get the news.swf to position where I want it. The usr will get to the frame containing this as:
stop ();
loadMovieNum ("news.swf", 1); //the preceeding code displays the swf fine, just in the wrong position. I want it to be at: x=200 y=205.
I've tried this:
stop ();
loadMovieNum ("news.swf", 1);
['_x=200_y=205'];
and this:
stop ();
loadMovieNum ("news.swf", 1, _x=200, _y=205); //but neither work.
Just can't figure it out. I'm learning AS with moocks' and FOE's books because I'm tired of slow-loading, giant sites. But man, it's hard for me.
LoadMovienum
Hi,
How can I dissable the buttons in the _root movie when Im loading a movie into level 1.
I mean, when Im loading the movie in level 1 I can still see the mouse over effect when scroling abow the buttons in the _root movie.
Please help, any one.
dc
LoadmovieNum
I need to Load a movie with loadmovieNum then tell it to go to a specified frame... all in the (onRelease)
How would i do this??
thanx
LoadMovieNum
hey guys,
I know about loading movies into different levels, I have a site that loads the swf's into a MC. But now all my loading on each page doesn't work, someone told me I should put LoadMovieNum action on? what will that do? the example is at _
http://www.curious1.com
on buttons 03 and 04
thanks,
tom
Loadmovienum - New To This Plz Help
hi
thanks for reading my query
i am new to using loadmovie can u tell me
1. a movie - home is loaded at level1 of other movie - main
now if i want to refer to the variable pc contained in the loaded movie home through itself only do i need to use _level1.pc or can i just use pc
2.to make a preloader for the loaded movie do all varibale and movie clip references need to be precede by _level
like _level1.loader etc
3.is there anything more which needs to be learnt or kept in mind while using load movie
please help i will be really thankful for ur help
harnoor
LoadMovienum......?
Hi yall!
Here's the deal:
I've built my movie's naviagation. It's small and i want this to load quickly.
I want then to have the larger content load into this movie (with their own pre-loaders) when you click a button.
I think i can do this using the LoadMovie script. I have tried loading a movie into level 1 of my navigation movie... and it works . But it loaded into it at the top left of the movie.
Can i instruct it to load into a specific place on level 1 of the navigation movie? Give it x and y values maybe?
1. Can you tell me how to do this?
2. Is this the best way to get the desired effect i am after?
(BTW i am an actionscript novice and using MX in OSX)
Cheers!
GUI W/ LoadMovieNum
Greetings,
I'm working on a GUI program and I've run across a problem. Basically, the main menu is the initial .swf to be loaded. Then, the way I was thinking to create the sub-screens was to have each sub-screen be a separate .swf file loaded with the loadMovieNum function. However, some of the sub-screens require that other ones be finished before they are. So, I need to pass variables back and forth between the movies. This would be easy if I loaded them into different levels. However, I want each new sub-screen to "overwrite" then menu. So:
1. How can I pass a number of variables from screen to screen? Can this xfer be facilitated with a text file so that all screens would be able to access the pertinent informaion? What about an XML file?
2. Can an entire level be set to fade its alpha channel somehow? I would like to fade out the main menu when the sub-screen opens rather than just have it disappear and the new screen appear. I tried creating a for loop that would incrementally decrease the alpha channel of the objects on the main menu and a timer loop that would decrease that alpha by 10 every 100 milliseconds, but there was no visible effect.
Any help would be appreciated!
-- Dave
LoadMovieNum
Does anyone know how to load an external swf into exact coordinantes within the main movie using LoadMovieNum???
LoadMovieNum
Some flash guru person out there....HELP! I am creating my first real website.
Why when I program a button to
loadMovieNum ("currentissue.swf", 0);
thisworks but when I try and do
loadMovieNum ("currentissue.html", 0);
this doesn't work.
Anyone have any helpful hints in this area????
Your help is greatly appreciated.
Cheri
LoadMovieNum
I have two movies that I want my site to load in specific frames... "Trophy.swf" and "puzzle.swf"
loadMovieNum("trophy.swf", 1); works fine
but when I try to do the same for the other movie it doesnt work? what should the second loadMovieNum command look like?
LoadMovieNum
How in the world do you prototype loadMovieNum?? MovieClip.prototype.loadMovie works fine but i can't figure out the syntax for loadMovieNum (loadVariablesNum also). I've tred loadMovieNum.prototype, Object.prototype.loadMovieNum and just plain loadMovieNum.
If you have any insight it'd be greatly appreciated...
Code:
//example for loadMovie not loadMovieNum which is what i need
MovieClip.prototype.loadMovie_copy = MovieClip.prototype.loadMovie
MovieClip.prototype.loadMovie = function() {
trace("Origional loadMovie Called");
}
//this'll load the movie
this.loadMovie_copy("something.swf");
//call this and your movie won't be loaded
this.loadMovie("something.swf");
Thanks...
Help On Loadmovienum
first of all hello.. im new to this forum and i will introduce myself..
im 20 years old, i work as a web designer for an italian IT firm..
i have a problem..
in an empty movie clip, in the first frame, i entered the following actions..
loadmovienum (sound.swf' , 1)
imported it in the main stage.. gave it an instance name of sound (as the external swf i am importing includes a sound loop and spectrum analyzer..)and assigned the behavior of movie clip, and gave the movie clip the following actions..
onclipeven(load)
setproperty (_x "-100"):
i tried to load the swf as a target
so in the empty movie clip named sound iisntead of loadmovienum i entered
loadmovie(sound.swf "_root.mc"")
this usually allows u set the position of the imported external file in the main timeline withotu setting properties.. but.. still.. there is no way i can tell the imported swf to sit where i tell him too...
how the heck can i solve this problem!!
thank you in advance.
p.s.
the actions i wrote in this message were without hyphens, commas, etc... i wrote them in a hurry to give the idea.. they are not like that in flash, and also.. the sound plays, the movie loads.. but i cannot place the spectrum analyzer where i want.
LoadMovieNum
I have applied the following code to a button within an swf file to load a second movie, while keeping the original movie on-screen. The new movie (to be loaded9 is much smaller than the original. Can i manipulate the code to say where he new movie is to be placed within the old one.
loadMovieNum ("mmovie1.swf", 1);
thanking you all in advance, Mr.C
Loadmovienum?
Thanks for thinking....
I am not good with the loadmovienumber tried already but then I have absolutely nothing in the screen.
With loadmovie i have the chatbox (it is a php written chatbox) but as I said not working. When I enter direct the chat.swf it works but when I go to the movie.swf (where the chat must come up in the mc) I only have the picture but can not do any chat)
Can you give me a exampe of the loadmovienumber; (i am a old men)
this is what I have tried. But what the mean with the level I have no idea.
loadMovieNum(chat.swf, 2);
thanks
LoadMovieNum
How do I position an swf after it has been load using loadMovieNum???
LoadMovieNum (please Help)
I have three swfs.
one.swf
two.swf
three.swf
I would like to load three.swf into two.swf using loadMovieNum when a button in one.swf is clicked. Can this be done??
If so what is the code
Thanks in advance
LoadMovieNum
hi
i use flash mx.
i have 2 swf files :
main.swf
menu.swf
menu.swf is inside foler named " new folder "
i used this action to open the menu.swf:
loadMovieNum("newfolder/menu.swf",0);
but it doesn't work why ??
of course if they are in the same directory it will work:
loadMovieNum("menu.swf",0);
please tell the write way.
many thanks
LoadMovieNum & IE 6
I have a flash movie that loads a bunch of other movies depending on the variables they pass. This works in IE for Mac but doesn't work for IE 6 for Windows? Is this a pathing thing? Has anyone run into anything like this? I've been fighting this thing all day I would appreciate any help.
Why Not LoadMovieNum()
I've ever been listen that we shouldn't use loadMovieNum() and I never realized why is that so?
Can someone explain it to me? And whats the difference bettween(how the **** we write this.?) it and loadMovie()?
LoadMovieNum Help
i have a movie on level 0 that loads another swf into level 15...i want this movie to load another movie into level 0 and go to a certain label in another scene within this new movie...the movie gets loaded fine but doesnt go to the specified label and the movie in level 15 disappears...here is the code for the button...
on (release) {
loadMovieNum("best_practices.swf", 0);
_level0.gotoAndPlay("tennis game", "tennis start");
}
i cant seem to get this to work...any help would be appreciated...
LoadMovieNum
I have a start movie and five swf movies I am trying to load into the start movie...
I am getting this error and dont know what it means or what to do to fix this...
Scene=Scene 1, Layer=frameActions, Frame=1: Line 1: Wrong number of parameters; loadMovieNum requires between 2 and 3.
loadMovieNum("section_1.swf,1");
Scene=Scene 1, Layer=buttons, Frame=1: Line 1: Statement must appear within on handler
_level1.gotoAndPlay("on");
Scene=Scene 1, Layer=buttons, Frame=1: Line 2: Statement must appear within on handler
_level2.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 3: Statement must appear within on handler
_level3.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 4: Statement must appear within on handler
_level4.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 5: Statement must appear within on handler
_level1.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 1: Statement must appear within on handler
_level1.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 2: Statement must appear within on handler
_level2.gotoAndPlay("on");
Scene=Scene 1, Layer=buttons, Frame=1: Line 3: Statement must appear within on handler
_level3.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 4: Statement must appear within on handler
_level4.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 5: Statement must appear within on handler
_level1.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 1: Statement must appear within on handler
_level1.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 2: Statement must appear within on handler
_level2.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 3: Statement must appear within on handler
_level3.gotoAndPlay("on");
Scene=Scene 1, Layer=buttons, Frame=1: Line 4: Statement must appear within on handler
_level4.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 5: Statement must appear within on handler
_level1.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 1: Statement must appear within on handler
_level1.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 2: Statement must appear within on handler
_level2.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 3: Statement must appear within on handler
_level3.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 4: Statement must appear within on handler
_level4.gotoAndPlay("on");
Scene=Scene 1, Layer=buttons, Frame=1: Line 5: Statement must appear within on handler
_level1.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 1: Statement must appear within on handler
_level1.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 2: Statement must appear within on handler
_level2.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 3: Statement must appear within on handler
_level3.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 4: Statement must appear within on handler
_level4.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 5: Statement must appear within on handler
_level1.gotoAndPlay("on");
Scene=Scene 1, Layer=frameActions, Frame=2: Line 1: Wrong number of parameters; loadMovieNum requires between 2 and 3.
loadMovieNum("section_2.swf,2");
Scene=Scene 1, Layer=frameActions, Frame=3: Line 1: Wrong number of parameters; loadMovieNum requires between 2 and 3.
loadMovieNum("section_3.swf,3");
Scene=Scene 1, Layer=frameActions, Frame=4: Line 1: Wrong number of parameters; loadMovieNum requires between 2 and 3.
loadMovieNum("section_4.swf,4");
Scene=Scene 1, Layer=frameActions, Frame=5: Line 1: Wrong number of parameters; loadMovieNum requires between 2 and 3.
loadMovieNum("section_5.swf,5");
I have uploaded the start.fla, and the five other movies...
to my site..
http://www.sonic.net/~iharper/Flash/
could someone look at them to see what I am doing wrong
LoadMovieNum
hi,
I loaded a movie via loadmovienum in a MC(at level1).
Even if i position the MC on level0, the loaded movie isn't positioned. It is always on x: 0 y: 0 .
How should you position a loaded movie ?
thx
kGP
Loadmovienum Help
Hi
frame 1
loadMovieNum("livro.swf",5);
frame2
_root.total = _level5.getBytesTotal();
_root.loaded = _level5.getBytesLoaded();
frame3
gotoandplay(2);
the output of that is:
total = 0
loaded = NaN
could anybody show me where is my mistake? I am tring to build a preloader, but i can´t get the bytes loaded and the total bytes of the swf that i am loading...
Help With Loadmovienum
k, this should be easy.
on (release) {
loadMovieNum("News.swf", 2);
}
it loads great but how do i specify where it loads, like x,y position?
thanks for any help
LoadmovieNum
ok i want to load this movie
on (release) {
LoadMovieNum("st.swf", 0);
}
but i want it to start at the "Scene 5" wat do i do..
i tried gotoAndPlay but it doesnt work..
any help would be great.
cheers
LoadMovieNum W/ Get
Can someone point me to a good example of how to use GET along with loadMovieNum Need to pass the loading swf a variable or two. Also how does the loading/new swf refer to the vars once it has loaded?
TIA...
How Can I Set _x & _y Using LoadMovieNum?
I'm loading a series of movies using LoadMovieNum and would like to be able to set/control (_x & _y) for the movie that is loading. Using LoadMovieNum in level6 loads the movie but it aligns to the top left corner.
I've tried to center to the stage but didn't work.
Do you have any idea how to solve this?
this is the code that didn't work:
------------------------------------------------
on (rollOver) {
tellTarget ("/indicator") {
gotoAndPlay("pre3");
}
}
on (rollOut) {
tellTarget ("/indicator") {
gotoAndStop("None");
}
}
on (release) {
gotoAndStop("scene3", 1);
loadMovieNum("mv1.swf", 6);
_level6._x = Stage.width/2;
_level6._y = Stage.height/2;
}
Thanks
D.
How Can I Set _x & _y Using LoadMovieNum?
I'm trying to load a movie centered in the stage.
Gparis kindly prepared a small sample file for me however is not working @ my end.
When I preview the file it does not center in the stage.
Could it be a setting @ my end?
Any ideas why isn't working for me?
Thanks
D.
I've attached the sample file
LoadMovieNum
Hi everybody,
With loadMovieNum, can I load a specific scene ??
Thanks
MS
Loadmovienum
Hello ,
Can someone explain how loadmovienumworks? i understand that you load the movie into a level, what i dont get is what layer does it go to? or does it always load on top of the main movie?
Paul
LoadMovieNum (Help)
Hello everyone--first time!
I was wondering if anyone can help me with some suggestions on a site that I have been working on. From the get go my skills are lacking but here we go. I initially created the site with all components embeded within one movie(1.8mb swf- Jesus it loaded slow) I then scrapped everything and just kept the main page and menu bar. Using the loadMovieNum command each button calls upon an independant swf. The problem is when you select the button, prior to the swf load the window defaults back to the main screen. Is there anything I can do to prevent this? I am calling on all of the swf's to be loaded in level 1.
check it out http://www.nobledescent.com/Sweetbone/main.html
FYI- the band that I am doing the site for is very particular about image qaulity and I have had trouble optimizing the load time.
LoadMovieNum
When using this function, is there a way to keep whatever is on the screen on the screen as the movie is loading. Right now, everytime I use the LoadMovieNum function, it shows the homepage and then loads the movie. How do I get it to keep the background of whatever page the user is on?
Thanks,
TT
LoadMovieNum
Can someone help me wit this code?
_root.butt2.onRelease = function(){
_root.butt2.gotoAndStop("dwn");
loadMovieNum("klipp.swf", 1);
I need the button to load diffrent .swf´s every time I click the button. Is it possible? Something like this:
_root.butt2.onRelease = function(){
_root.butt2.gotoAndStop("dwn");
loadMovieNum("klipp1swf", 1);
next click loadMvieNum("klipp2swf", 1);
That last codepart is rubish but maybe it helps to make you understand the function that I need.
LoadMovieNum
Hi all, I need a little help...
I am using this script to load a movie:
loadMovieNum("test.swf", 1);
When this movie loads, I need it to load automatically to a specific SCENE and not the first frame of the first scene...
How can I make this work?
Thanks
Loadmovienum()?
i need to load a movie into my html file from the present movie, but i want the loaded movie to go to a certain fram when it is loaded. is this how i would do it?
loadMovieNum("updates.swf",0) <--- loading the new movie
gotoAndPlay("main",30); <----frame i want to go to in the new loaded movie.
would this work? if not can someone correct me.
thanks,
mike
LoadMovieNum (as2.0)
FlashMx
actionscript 2.0
Hi everyone,
I really need help, I've been working on that problem for a long Time.
I tried to load a swf inside another.
Normally it's really easy but in this case !!!????!!!!
Please take a look at the attached fla and try to load it into another swf.
Please Help
LoadMovieNum, Keep Up?
Is there a way to make it so that a movie loaded in the beginning with LoadMovieNum will not be hidden/removed by another loaded movie?
LoadMovieNum
I have a loader that I am using as a preloader to load different swf files into the main movie by using different varriables for the name.
What I need to do is also send the varriable to the movie loading.
I am using loadMovieNum()
Is there a way to pass a varriable to the swf file that is being loaded??
About LoadMovieNum And Ram
I'll give a hypothetical situation. Let's say I have 5 .swf that I can put on the stage via loadMovieNum. Each .swf is 2 megs and each one will load into layer 5. I know that Flash loads the movie into the ram...now as I load in each .swf it also loads an additional 2 megs into the ram total. Now if I load another .swf into the same layer, does it replace the old 2 megs with the new .swf 2megs? Or is it added on to the total of the original movie, plus the first .swf and the second .swf? My gut feeling is that one .swf pushes the other one out of memory if they are on the same layer, but if they are on different layers both would remain on stage and in ram. Thanks for your time and advice.
LoadMovieNum?
Hi all. Need some help here! I am using:
loadMovieNum("test1.swf", target_mc);
I am trying to build a presentation by calling external .swfs inside the .fla document.
By clicking a button I want to load an .swf (800 x 600) from the desktop into a target_mc inside a new flash document.
The problem is that once I press the button to load the .swf, instead of loading it into the target_mc, Internet Explorer pops up with a statement saying " To help protect your security, Internet Explorer has restricted this file from showing active content that could access your computer. Click here for options..." Once I click the options link, a new link appears "Allow Blocked Content". once I press it the .swf file loads into the Internet Explorer window full screen.
What is this??? I want the .swf to load into the mc I am specifying INSIDE the flash document, not on the browser.
I also tried _root.target1_mc.loadMovie("icon1.swf"); It imports the .swf as a "dead" file - meaning there is no interactivity over the imported .swf....it is like a dead imported picture...Is there another way to do this? I have to create a Menue where I have to access external .swfs (different Games, which at the moment reside at the desktop).
LoadMovieNum Help
Flash MX 2004 Professional
I have a navigation button that is a movie with rollOver and rollOut scripts. When I place the navigation movie in my scene what I would like to do is add script to that movie that loads the box movie into a level. I can not figure out why this actioscript is not working. Check out my fla file. You'll see that clicking on the navigation button doesn't do anything.
In the long run I will have 4 navigation buttons that I would like to load other movies into levels.
I would really appreciate any help...3 hours into this and I haven't made any progress.
Thank you!
LoadMovieNum
Hi guys,
I was wandering, if u could load a movie and at the same time go to a frame within the movie.
I have this code assigned to my button
on(release){
loadMovieNum("URL", _root.container(gotoAndStop(1) 1);
}
"I know this code does not work but this is what I currently have assigned to my button please help!
Thank You!
LoadMovieNum
Hi guys,
I was wandering, if u could load a movie and at the same time go to a frame within the movie.
I have this code assigned to my button
on(release){
loadMovieNum("URL", _root.container(gotoAndStop(1) 1);
}
"I know this code does not work but this is what I currently have assigned to my button please help!
Thank You!
|