Load Movie Struggle
I have a a main movie called "state" 750*450 on frame 7 I went: loadMovieNum("logomc.swf",10); \ load fine loadMovieNum("inter_cursor.swf",11); \ load fine loadMovieNum("coming.swf","mm"); \load in different window "mm" is at coordinates 0:0 "coming.swf" is 550*50 and there's a two wrods text loading externaly in it.
anybody knows why "coming.swf" is not coming? lolllll (Maybe i need to change it's name).
Why is it loading in different window and not in the main timline in the empty mc for it?
I've tried to look for answers by searching the forum but i didin't find any.
I appreciat some help.
Ultrashock Forums > Flash > ActionScript
Posted on: 2003-06-10
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Struggle
Ok. I first want to thank everyone who wrote back trying to help me. After look at this for 2 days..I am able to blow my head off. LEt me once again try this...and be more specific on the problem
I have 2 movies.
MOVIE A
I have an invisible button w/ the following script:
on (release) {
unloadMovieNum (2);
loadMovieNum ("movB.swf", 1);
_level1.gotoAndPlay("NormanE");
}
MOVIE B
I have 10 frames w/ a keyframe on the first frame label NormanE. The key frame has the following script:
unloadMovieNum (2);
loadMovieNum ("NormanEroute.swf", 2);
stop ();
Here is the problem:
When I click on the invisible button (movieA) once (release), movB get loaded. Then nothing happen. It never executed _level1.gotoAndPlay("NormanE");
If I click on the invisible button the second time, it will play the frame NormanE and then go back to first frame of movB (which is empty). So the effect is that u will see the NormanE flash once and then disappear. NormanEroute.swf also get played but stay on the screen.
Please help me on this. If anyone is interested, I can send u the sourse code. It's something stupid..and I can't seem to figure it out.
Thanks..my fellow Flash expert.
John
[F8] ScrollPane Struggle
Trying to figure this out. I am trying to load the images that are being displayed into a scroll pane. Here is where you can download the source for the file.
http://www.kirupa.com/forum/attachme...4&d=1132576428
I have tried using the linkage but with no success any ideas.
Thanks for anybody that helps all the help is much appreciated.
Rotation Struggle
Well, now i'm making another thread about this.
As said, i need a nice script to make the MC slowly rotate towards the mouse. A direct snap-towards-mouse script i can fix myself, but it looks ugly when you move the mouse quickly, and i need to be able adding som extra vars like weight and so on; to slow it down further.
- The rotation speed needs to be a variable. (just thought no super advanced mathematic calculations that excludes that kind of variables. But that really is'nt a problem, i guess.)
Thanks.
Struggle To Get Mp3player Funtional = Pweese Help
Hello
I've got an mp3player - decided to put it its own movieclip. Loads the initial track fine but won't play the menu track links.
The code for the track buttons:
on(release){
_level0.artist = "";
_level0.track = "'Falling Alone'";
_level0.newSong = "falling_alone_128k.mp3";
_root.gotoAndPlay("start");
}
Do I need to put the movieclip name in my code somewhere?
This is my script loading the initial track:
s = new Sound();
if(newSong !== undefined){
s.loadSound(newSong, true);
}
else{
s.loadSound("falling_alone_128k.mp3", true);
artist = "";
track = "'Falling Alone'";
}
s.onLoad = function(){
gotoAndPlay("Playing");
}
s.onSoundComplete = function(){
trackVar = "Please Choose Another Track";
gotoAndPlay("Paused");
}
In advance, many thanks
claude
Now I Have Variable Issues(isn't Programming An Uphill Struggle)
Hi, it seems when your programming as soon as you solve one problem another one pops right up! Firstly im programming a text-based wrestling manager sim. you run a wrestling promotion. you hire and fire wrstlers etc. firstly im using shared objects so i can save my variables to an external file thus making save engine. So what i want to do is find away to make entering the wrestlers details without having to do this for each one:-
myso.data.wrestler1.name=hhh
myso.data.wrestler1.age=22
myso.data.wrestler2.name=the rock
myso.data.wrestler2.age=22
as you can imagine if you have a lot of stats to enter and this could take a while any ideas? If possible i want to create a form to enter the data but i cant figure a way to do this.
Secondly, in the game i want to have a roster screen which will look a little like this:
rock HHH
stone cold Mick Foley
the only problem is these people will change depending on transfers for example another federation could buy hhh and you could sign another wrestler who would replace him. If you have any suggestions or if you know a tutorial that could help me please let me know! Thanks everyone for all the help i've received so far! Help files read like dutch to me!
Does Load Movie LOAD Entire Movie, How Can I Stream It?
i have a load movie loading my music. I have a preloader at the front of my music, but i dont think the preloader is working on load movie. Does the load movie command download the whole movie into cache, or does it just start playing the movie.
IE.. if i have a 5 meg mp3 that i wanna dled and listen to, is it just downloading the whole thing, until the movie is loaded, and then playing, or is it streaming it in?
i tried to make a preloader for it, but it looks like the preloader just instantly zooms across... how can i show status of this movie loading?
thanks
External Movie Will Not Load, But Does Load When I Use 'test Movie'?
I had my external movies loading wonderfully then all of a sudden one of the externals (that I use 'loadmovie' on) will not load? The weird thing is that when I test my movie using 'test movie' in my main movie, it works fine, but when I go to my staging (test) site: www.gbebos.com/Liz/Hit.htm the one movie in 'Earth elements' page will not load, but the other movies i.e. 'Crystal Elegance' and 'Silver Essence' work fine. I made sure that the .swf and .html were transfered to the domain and they are both there.
Any help for this newbie would be greatly appreciated!
Thanks again to ya all at Flashkit!
gbebos
How Do I Stop My Second Movie Load Clearing My First Movie Load?
Hi,
Working on a home page where a swf movie loads and plays on the timeline.
The problem is when the second swf movie loads and plays further along the timeline the first swf movie disappears...I want it to remain on my stage!
Any ideas?
Cheere Jim
Here is the code I'm using to load the swf movies:
this.createEmptyMovieClip ("emptyClip",this.getNextHighestDepth());
emptyClip.LoadMovie(...swf");
Chromeless Windows That Open On Movie Load Or Load Of Html Page (Flash Ad Kit)
Hi guys,
I was wondering if someone could help me out in creating these flash ads that appear out of nowhere. I see them mostly on rediffmail, yahoo and about.com.
I know how to create a popup window on button click, but how you do that without a button.
There's another dimension of ads nowadays. They are the transparent ads. They really look cool. Could someone with this knowledge pleeeeeeeeese help me out. I urgently need to create these ads.
Regards,
designable
Chromeless Windows That Open On Movie Load Or Load Of Html Page (Flash Ad Kit)
Hi guys,
I was wondering if someone could help me out in creating these flash ads that appear out of nowhere. I see them mostly on rediffmail, yahoo and about.com.
I know how to create a popup window on button click, but how you do that without a button.
There's another dimension of ads nowadays. They are the transparent ads. They really look cool. Could someone with this knowledge pleeeeeeeeese help me out. I urgently need to create these ads.
Regards,
designable
Scrollpane - Load Swf - Load Movie Symbol Controled By Buttons And Variables?
Ok i have searched the board, and racked my brain and read hundreads of bit and pieces. So far 'not happy jan'. Anyhow I thought well I shall start a thread where first I ask a question of 'can it be done' then go away try and do it and if fail 'ask how to do it' or if suceed then say 'how i did it'. Of course all questions are going to relate back to this original post so no new threads need to be started. Anyhow onto my question!!
I have a website I want to make. so I started... called it 'site.swf'. now site.swf has a scrollpane in it called 'content'.
Now I have also created 'home.swf' which has 2 movie symbols in it. one called 'homein' the other 'homeout'.
'Homein' is located in frame1 of home.swf and 'homeout' is located in frame2.
When site.swf loads I want to load home.swf into 'content' and home.swf plays 'homein'.
When the user clicks on the first button (in site.swf) 'content' plays 'homeout' before loading 'button1.swf' into 'content' and playing 'button1in'
see the pattern forming. Now I am sure this has been asked thousands of times, but I haven't found it once. At least in a form that is easy to understand.
Now can this method be done, or do i need to go away and rethink it. (my main reason for loading external.swf's is because i wish to preload where needed).
If all this can be done tell me now... I am sure I need to use 2 variables.... 'loadedmovie' and 'tobeloaded' to communiticate with 'content' and to follow the users clicks of buttons.
Thanks for any help.
Trent
Movie Taking Long Time To Load, Needs To Load Faster
I am a loading several movies into level 2 of the main movie. The movie is taking up to 1.35secs to load. The issue is that the images are too big. Can I do something about the movie itself or do I need to compress the images more?
(mx) Transfering Actions Which Load With Movie To Load When Button Is Pressed
hi,
I have some code which draws a line when the mouse is pressed (to when it is released)
This code is within an object, loads when the movie starts and works fine:
Code:
// ***** Set some opening parameters
onClipEvent (load) {
// Make original line invisible
_root.line._visible = 0;
// Initiate some variables
number_lines = 0;
line_active = 0;
}
// ***** Every time the mouse button is released...
onClipEvent (mouseDown) {
// Get the position of the mouse
origin_x = _xmouse;
origin_y = _ymouse;
// Increase the number of lines by one
number_lines++;
// Generate a new line name
name = "line"+number_lines;
// Duplicate a new line
_root.line.duplicateMovieClip(name,number_lines);
// Position the line's end point at mouse position
_root[name]._x = origin_x;
_root[name]._y = origin_y;
// Update line length / orientation
_root[name]._xscale = _root._xmouse - origin_x;
_root[name]._yscale = _root._ymouse - origin_y;
// If this is the start of a new shape
if (!line_active) {
// Set the line tracking variable
line_active = 1;
// Set the start point of the new shape
start_x = origin_x;
start_y = origin_y;
}
}
onClipEvent (mouseUp) {
line_active = 0;
}
// ***** Every time the mouse is moved
onClipEvent (mouseMove) {
// If there's a line currently being drawn...
if (line_active) {
// Update line length / orientation
_root[name]._xscale = _root._xmouse - origin_x;
_root[name]._yscale = _root._ymouse - origin_y;
updateAfterEvent();
}
}
I want the user to press a button before this code is usable - just as with any drawing program.
How do i go about telling the code only to start when the button has been pressed?
thanks,
jeff
Load A Xml File That Contains Urls - Want 2 Load A Movie Instead Of Open URL Links
i'm just wondering how does one go about to load an xml / text file into a text box.. this text file - has url links.. or a href tags.. how do i change it such that the url links can call actionscripts instead of opening the window to a url..
does that make sense?? if it still doens't - go to www.praystation.com
if you click on the "news" section - his urls open/load movie clips how do i make something similar to that
thanks
Load Movie...Park/Play...Load A Button Into Level
Okay, I tried the Park/Play tutorial in order to load a movieclip and have a button on the stage that controls the main movie. Problem is that I have a background that covers up my button which is in level0. My movie clip is in level1. How do I bring that button out in front of the background? Do I load it into level2? If so, how do I do this?
Thanks alot,
Roger
URGENT Load Movie Doesnt Load Textfields
i mad a form in flash that send the variables to a php email script. The problem i am having is that the form loads into my main movie but when it loads it doesnt load the text fields. I have border.BG checked and everything seems to be in order. Please get back to me a.s.a.p. ANYONE I HAVE ONE DAY TO COMPLETE THIS!!!! blinero@email.com
Load Variable From Txt File To Load Movie From Server
my webserver has a dynamic ip adres
now i have a program that writes my ip adress to a static server.
my question:
load textfile and make the link for the swf complete
i think it should look something like this but i can't find it anywere
code:
loadVariablesNum("redirectphp/currentip.txt", 0);
this.gastenboek.loadMovie("http://"+ip+"/flash/Guestbook.swf");
the txt file is like:
&ip=90.128.82.20
the swf file is in flash 7
please help me
Load Movie Into Empty Clip On Page Load
I have a series buttons and two empty clips on the main page (one to hold the text and the other to hold the pictures / slide show) I have all the buttons working and loading the text etc correctly.
My problem is that when my page firsts loads all I have is the buttons. I want to have the empty clip that holds my text have my "welcome" load when the page loads (without clicking on any buttons).
I have tried using
onClipEvent(enterFrame) {
loadMovie("welcome.swf",this.mtTextClip);
}
but I get an error message that clip events are only allowed on movie clip instances and as I want this to happen when the page loads there isn't an instance name...
Clear as Mud??
Load A Flash Movie To A Random Frame Each Load
I have created a flash file that fades from one picture to the next. However, I would like to find an actionscipt that will allow the flash movie to load to different each time the page is visited/refreshed. That way visitors don't have to see the same image each time the visit the my page, but can still sit and watch all of them if they want. Also I would want to be able to specify which frames are available for load. That way the page will always load at the begining of each image animation... not right in the middle of it switching to the next image.
Any help is greatly appreciated!
Load A Flash Movie To Specified Random Frames Each Load
Group:
I am trying to find a Actionscript where I can specify random frames and have the movie randomly load to the specified frames each time the page is viewed. The below scrip was given last time I posted this question, but it doesn't seem to load at the specified frames. Sometimes it does, sometimes it load right in the middle of an animation. You can see in the code below I would like the movie to load at frames 1, 116, 231, 346. Any suggestions?
_____________________________________________________
Array.prototype.shuffle = function() {
for (var ivar = this.length-1; ivar>=0; ivar--) {
var p = random(ivar+1);
var t = this[ivar];
this[ivar] = this[p];
this[p] = t;
}
};
ASSetPropFlags(Array.prototype, ["shuffle"], 1, 1);
var Array_ar:Array = new Array(1, 116, 231, 346);
Array_ar.shuffle();
index = 0;
function load_random() {
gotoAndPlay(Array_ar[index++]);
if (index == Array_ar.length) {
(index=0);
}
}
load_random();
Load Movie But Sound Doesnt Load.
i dont understand why this is. maybe im forgetting something
all i want is when the page loads it also loads an external movie clip that is the background music,
i can do this, but when i do, the sounds doesn't transfer over with it.
but if I make the bgmusic clip the main movie and load the others into it, it works [the sound that is]..but we dont want this
some help would be much appreciated. thanks bros..
Load Movie To Load Jpeq Files
Load Movie in MX allows you to load .jpg files dynamically.
In test mode the output window will show you an error if the
file cannot be found.
Is there any way determine if there is a file error when not in
test mode? Is there something equivalent to the LoadVar if (success)?
thanks,
YJ
Load, Unload, Load... Will The Movie Need To Download Again?
hi,
I have a quick question about loadMovie and unloadMove...
If I load an external movie (section 1), lets say its 200k, and then unload it when the user moves to another section (section 2).
When returning to section 1, when the external movie is called to load, will it need to redownload? Or is it saved in some type of cache area?
any help or a point to a resource would be great.
thanks,
alex
Load Variable/load Movie Jpg Question
I'm trying to load a path and a jpg file name from an external file and then apply it to a variable. Then using the LOADMOVIE action I want to use the variable as an expression to load the JPG into a particular movie.
My action script is as follows:
onClipEvent (load) {
loadVariablesNum("sniffer.txt", 0);
}
Sniffer.txt reads
link1=home1.jpg
I then have:
loadMovie(link1, "1");
on frame 2.
The weird thing is that it works in the Debugger but not when I publish it as a SWF or HTML.
Any ideas?
Walt
Load Text With Load Movie Clip
Guess I'm dealing with some sort of "root" thing, which I don't understand. I have a movie-clip being loaded into a target on the main scene. This movie-clip features a text-box with external TXT file being loaded into it. Well, it doesn't load. In the actions box, what should it say?
loadVariablesNum("myText.txt", 0);
That's what I have at the moment, but "0" obviously isn't working. Also, should it be "target" or "level?" The instance name of my textbox is "scrolltext."
Thanks for the help, I only know enough to be dangerous.
[MX04] Load Movie Clip...wait...load Another Movie Clip
ok...i'd like to do this all in actionscript if possible...on one frame.
one character (headshot). at timed intervals, the character would do something different...repeat.
[code]function antics() {
mc_Antics.start(0,0);
clearInterval(anticstime);
}
anticstime= setInterval(antics, 1000);
function antics2() {
mc_Antics2.start(0,0);
clearInterval(anticstime2);
}
anticstime2= setInterval(antics2, 2000);[code]
I don't know actionscript well at all, so is this just stupid? Any ideas on how to do this? It's not working right now...
Load Movie And Load Variables
on my current project
www.enhancedinnovations.com/brp/news.html
I have 2 text boxes and I have 2 problems. So far, the bio page and the news pages are completed and there are two text boxes on each page. When you go the the news page (www.enhancedinnovations.com/brp/news.html), it all loads dandily and the text loads too.. but when you click on bio, the information doesn't come up.. but if you go to the bio page (www.enhancedinnovations.com/brp/bio.html), then it all works nice and dandy..also, if you are on the news page, click the bio button, when the bio page is loaded, click the news page, and quickly glance below the buttons, you can see the "biography." which is the current text there.. can someone help me so that the text always loads no matter what? or am I just retarded and should uninstall flash?
Load Movie Wont Load...please Help
I am trying to load a swf into a movie and I get a not found error.
code: on (release) {
_ROOT.mtClip.loadMovie("satisfaction.swf");
}
The name of the empty clip is mtClip and that is the instance as well. The files are in the same folder
Load Movie Command To Load A GIF
I'm using the Load Movie command to load an external image into a movie. It works for JPG's but not for GIF's. Any ideas?
loadMovie("home1.jpg", "myjpg");
// So this loads my JPG into a movie called, "myjpg"
loadMovie("home1.gif", "mygif");
// So this loads my GIF into a movie called, "mygif"
Why Do The Main Movie/site Close When I Load External Movie In A New Window?
When i want to load an external movie in a NEW window...why do my main site window close?????
this is how i load a movie in a new window...???
what is wront
_____________________________________________
on(release) {
loadMovie("mymovie.swf", _blank);
}
_____________________________________________
this happens when i test the movie
Thanks
Mirrorman
How To Load A Movie In Main Scene While The Command Is Inside A Movie Clip?
Hi all,
Well, I have a scene that has a movie clip, and inside this movie clip there is a button. I want to program that button using ActionScript to loadMovie named "1.swf" inside a container in the main scene (which this movie clip belongs to).
Hope the question is clear and hope to get a fast answer as it is urgent..
Thanks alot in advance.
Regards
Flash 5 - Load Movie, And Duplicate Movie Clip? URGENT
I have a database of swfs. I'm loading a swf into a movieclip. When I duplicate that movie clip, it duplicates but the loaded swf does not duplicate with it. I've tried using attachMovieclip and I get the same result. Any ideas for a work around?
Duplicate and attach only seem to work when the asset already resides inside the movie clip....is this right? PLEASE HELP!!!!!
Thanx guys.........
Load Movie And Jump To A Label In The Loaded Movie At The Same Time
I´m a problem very very importan for an exercise. I asked several times but I´m spanish and my English isn't very well so I think nobody understand me. This is the problem:
I'm a movie an I have to load other different whith loadmovie but I want to go to a label in the second movie at the same time too.
Anybody can tell me what can I do STEP BY STEP please? Thanks
Load Movie Or Get Url To Make Sizeable New Window For Flash Movie?Etc......
I am making a webisite and want to use a small window without toolbars like you have seen on many well done flash sites.
I wonder how this is done?
I have heard of people using javascript to set the window options but i have yet to find a good tutorial on this topic.
I am hoping someone could point me in the right direction.
Or tell me it all! mooowaaaahh hah haahh
please help yo...
hope someone replies to my woa
brainer
Load Movie /targetting Movie Clip Problem..someone Save Me :)
Hi there..ive done stuff before with the Load movie command but now something that is still new to me..I checked out the help tutorial via the Help section on flash.What i want to do right now precisely is summed up in this example:
The following loadMovie statement is attached to a navigation button labeled Products. There is an invisible movie clip on the Stage with the instance name dropZone. The loadMovie action uses this movie clip as the target parameter to load the products in the SWF file, into the correct position on the Stage.
on(release) {
loadMovie("products.swf",_root.dropZone);
}
Anyhow the main file I am working with right now has dimensions of 800 wide by 600 h pixels. Please see swf file URL Link it will explain my whole problem alot better.
http://beats.midnightsunrecordings.c...m/testsite.swf
I thank you very much for your help and time.Appreciate it!
Cc
Load Movie & Unload Movie With A Large Amount And Gotoplay(2)
working on a website and i stuck on a sort of problem. and i hope someone can give me an advise about it.
trying to explain this as clear as i can.
i have a bar where i want to load different movieclips in.
when i load one movie clip called for example: concert1.swf i want the other movie clip called concert2.swf gotoandplay(2).
these movieclips get loaded from hitarea's in a different part from the site.
these say:
tellTarget ("_root.frontmovieclip.concert1") {
gotoAndPlay(2);
}
if you select an other button it says :
tellTarget ("_root.frontmovieclip.concert1") {
gotoAndPlay(6);
}
tellTarget ("_root.frontmovieclip.concert2") {
gotoAndPlay(2);
}
this all will work fine. the problem is i have 42 concerts. so this would mean i would have to tell each hit area an entire list of 42 telltargets that would go play frame 6 or 2 if i want them in random order.
now i was thinking is there a way that if you press concert1 that it load that movie and tell anyother concert that is already there to go play 6.
so that i don't need 42 lines but only 2.
something like:
tellTarget ("_root.frontmovieclip.concert2") {
gotoAndPlay(2);
}
tellTarget ("_root.frontmovieclip.variableconcert") {
gotoAndPlay(6);
}
and that in concert2 it can say it should go to the variableconcert when it's done playing.
you can check what i mean at http://exuo.tripod.com/poging3.html (past concerts, deftones)
hopefully someone can give me some advise and if you need more info please ask.
Load Movie In Empty Movie Clip...Display Preloader In Another
I have two empty movie clips. One that will hold the current menu and the other will display the preloader/current page. How can I get the page that is being loaded to send the preloader information to the other movie clip? I've made simple preloaders, but this is a little more complicated. This is the only thing left to really solve on my web page, I would appreciate any help.
Load Movie Command From A Button Nested In A Movie Clip.
I'm designing a flash site in which the navigation menu stays in place while content is loaded below it. I want each navigation button to load an SWF file into the dummy movie clip that is positioned beneath them.
But my buttons are placed within a movie clip infact 2 levels down in a movie clip..i.e _root.mc1.mc2.button ..(this is my path)
I m not gettin the write output i want to load the movie clip over the same file but itz not happening.
This is the scripting i have given on my button: (which is placed directly on stage)
on(press){
_root.createEmptyMovieClip("astro_mc",1);
_root.loadMovie("s1.swf", "astro_mc",1);
_root.astro_mc._x=200;
_root.astro_mc._y=200;
}
THIS IS GIVING ME WRITE OUTPUT but when i place d same button in the path i wrote earlier i.e in mc1.mc2.button , then my scripting does not work.. Kindly help me out.. I also tried giving _root. n ol.
Waiting desprtly 4 ur reply.
Load Movie Command From A Button Nested In A Movie Clip.
I'm designing a flash site in which the navigation menu stays in place while content is loaded below it. I want each navigation button to load an SWF file into the dummy movie clip that is positioned beneath them.
But my buttons are placed within a movie clip infact 2 levels down in a movie clip..i.e _root.mc1.mc2.button ..(this is my path)
I m not gettin the write output i want to load the movie clip over the same file but itz not happening.
This is the scripting i have given on my button: (which is placed directly on stage)
on(press){
_root.createEmptyMovieClip("astro_mc",1);
_root.loadMovie("s1.swf", "astro_mc",1);
_root.astro_mc._x=200;
_root.astro_mc._y=200;
}
THIS IS GIVING ME WRITE OUTPUT but when i place d same button in the path i wrote earlier i.e in mc1.mc2.button , then my scripting does not work.. Kindly help me out.. I also tried giving _root. n ol.
Waiting desprtly 4 ur reply.
Load External Movie Immediatly After Main Movie Loads
I apologize if this is the dumbest question in the world becasue it seems it would be. I know how to load an external movie when you click a button but how do you get it to load immediatly after the main movie finishes loading? I can't figure it out. Is this possible with actionscript 1.0? Thank you.
Actionscript Code, Load Movie + Call Movie, Help Plz.
How do you go about loading several movies into level 1, and when called on, by different buttons in the base movie, each movie will replace the other.
In the base movie (level 0), i used this actionscript to load the 2 movies (02.swf and 03.swf), which both have a stop action on frame 1, so appear invisible on the screen, until called on and will start to play from frame 2.
loadMovieNum ("02.swf", 1);
loadMovieNum ("03.swf", 1);
On the base movie, i use this code from the buttons to call the movie into level 1 and to play from frame 2.
on (release) {
if (_level01._framesloaded == _level01._totalframes) {
_level01.gotoAndPlay (2);
}
}
However, how do i go about identifying which movie to call 02.swf or 03.swf, from 2 different buttons.
Thanks for helping me out, this has been giving me a big headache for the last 3 days.
BB.
[Edited by bobbrown on 04-05-2002 at 06:26 AM]
How To Preload Movie Which Is Loading Through The Load Movie Action?
I want to preload main movie and the movie, which is loaded later through the load movie action, with the same preloader. The movie which is loading through the load movie action is level 1.
What changes must I aply to the code of the preloader, to do this task right? Here the code of the preloader:
btload = _root.getBytesLoaded();
totbt = _root.getBytesTotal();
sclbar = btload*100/totbt;
sclbar = Math.round(sclbar);
setProperty (_root.orangebar, _xscale, sclbar);
barwid = getProperty(_root.orangebar, _width)
barwid = barwid + getProperty(_root.orangebar, _x)
setProperty (_root.ldper, _x, barwid);
//setProperty (this.ldbar, _xscale, sclbar);
//trace (sclbar);
// trace(bytloaded);
if (btload>=totbt) {
gotoAndPlay ("slide panel", 1);
// trace ("loading complete");
} else {
gotoAndPlay (1);
}
Hope you help!!!
|