Loading Movie Num Problems
Hi I am having problems getting a seperate swf to load into my main swf. I am using the load movie num technique as followson (release) {loadMovieNum("map.swf", 51);}I have this inserted this action into the frame that my button is on but it is not working.I have also treid to insert the code on my button but it would not let me.please helpthanks !
Adobe > Flash Site Design
Posted on: 02/27/2008 02:56:32 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Loading A Frame In _root And Also Loading An External Movie Problems.
First of all, hello everyone and nice to meet you
I have been hacking at a problem for a couple of days now and I am in need of help to solve it. Please excuse my noobishness, but I have a lot to learn when it comes to flash.
Here is my scenario:
I have my main movie (_root)
In the actions layer of my main movie I have:
Code:
this._lockroot = true;
I have a button that loads a new external movie at the end of which I want to load a particular frame in the main movie. I call this from the external movie:
Code:
on (release) {
_root.gotoAndPlay(610);
}
Everything up to here works brilliantly....But my problem arises when I also try to load an external movie onto level 5 at the same time as I am instructing the main movie to play frame 610 from an external movie. I want the external movie to call frame 610 in main, and also load a new external movie on level 5 in the main movie. I have tried about every way of loading movies that I can think of but I can never get the external movie to load along with frame 610 of the main movie. I even tried _root.loadMovieNum("myexternalmovie",5) right after my first root call, like this:
Code:
on (release) {
_root.gotoAndPlay(610);
_root.loadMovieNum("myexternalmovie",5)
}
Is that possible or do I have to approach this entirely differently? Thanks for any responses
Help Problems Loading External Text And Loading The Movie Into The Explorer
Hola a todos!
I have some troubles with my movies. I'll explain.
(Sorry for my poor English - I'm Spanish!)
I'm developing a website for a Real State Agency in Spain. My idea is make it enterely with Flash, but It's the first time I face Flash. I've found in the tutorials of kirupa.com the greatest help! But, still that, I need more help!
My first problem comes when loading the .swf into the explorer. I made a simple .html file that calls the .swf file to be loaded. The explorer says it's loaded, but I have to press the "Reload" button to see the movie. Can you say me why?!!!!
My second problem... well. I'll need a few minuts to explain it!
I have created a main scene. Inside the main scene I load the movies of the different sections of the site. This new movies loaded onto the main movie contain texts from external .txt files. There's no problem with the texts that are just a few words, as in the section "Acerca de". But when I need a bar to show the whole text I find that the bar doesn't work in the first time that the movie is loaded, and you have to click again in the section to access the whole text, I mean, to make the bar work. Have I explain myself?
Well. I think you should visit the site to see my problems.
Is this: http://www.wk-inmobiliaria.com/FLASH
This website is, of course, incomplete. I'm still working on it.
Could someone help me????
---- Help me Obi Wan: You're my only hope!!!!
Thanks a Lot.
Raul.
Loading Bar That Shows Loading Time Of HTML Page Not The Movie
Hi,
I have a flash intro that I'm using for my site, but I would like to (if possible), have an intro HTML page that uses JS to pre-load the images on the site and show my loading FLASH movie while the page pre-loads.
I would like the flash movie's loading bar to reflect the images that are pre-loaded on the HTML page.
Question-1: Is that possible to do?
Question-2: Where do I start? I don't even have a loading bar. All I want is just a simple rectangle that has a bar inside that moves from left to right indicating that the page is almost finished loaded. Then when the page has pre-loaded the images I need it to re-direct to the main page.
Can someone help me accomplish this, or tell me where to find out how to do this.
Thanks!
NATE
design@spyderix-designz.com
http://www.spyderix-designz.com
Loading .swf Files While Main Movie Clip Is Loading
Hello,
I know How to do a Loadmovie command, but I can only get it to work when I goto the Movie Clip that I have that command in. For ex:
In movie clip B I have a command: loadMovie ("Submovie.swf", "_root.MovieClipB");
Which works fine.
What I want to do is while movie clip A is playing I what a command to Start the Load movie function into MovieClip B.
I have tryed many diff. commands and Cannot get it to work
Any help?
Thanks
Movie Loading Into Bankmc Is Loading Blank After Its Been Published
I created this site where it loads movies into a blankmc on in the main Fla file. It works fine when I view it on my computer. And Broadband connections show no problem. But on dial up connection. when you click a bar on the navigation. The fla movie loads in blank. You have to click another button then click on the previous but to load. Why is that?
here is the site (its for some community developer)
Doubletree Lake Estates
Thanks for you time..Let me know if you need to see the file and I'll attach it.
Patrick
Loading Dynamic Textbox While Dynamically Loading Movie
Hi All,
So, I've got a movie on the stage (but offstage) called: Card. Inside this MC is a dynamic textbox called: CardName. I'm using a for loop to create a column of cards w/ their corresponding textboxes.
Here's the code:
for (var j = 1; j<=6; ++j)
{
var name = "Card_"+j;
var y = (j-1)*game.spacingY + game.originY;
game.path.attachMovie("Card", name, ++game.depth);
game.path[name]._x = x;
game.path[name]._y = y;
game.path[name]._width = game.cardSizeX;
game.path[name]._height = game.cardSizeY;
game.path[name].CardName.text = "card #" + j;
}
The cards and the textboxes inside the card MCs load fine but the actual textboxes don't change from the default text I've hard-coded in. How can I reach the dynamic textbox inside the card Movie Clip to manipulate the text.
Thanks.
Loading Two Movies & Loading Entire Current Movie
well, having a bit of problems with figuring out my preloader :/. Iv been able to figure out how to load a single external movie with a dynamic preloader graphic that tracks percent and stuff, but i have not been able to figure out how to load multiple external files but useing the same graphic to track the percentage of the loading for the two as if they where 1. Also have not been able to figure out how to make a preloader for the current movie. LIke have the preloader at the beginning of the movie and have it stop, and run the preloader for the load of the rest of the movie file, then continues to play the intro of the same file after loading has been compleated. my code for what i'm able to do is below, any help woudl be helpfull :). Thank you guys and girls^^
Attach Code
var requestObj:URLRequest = new URLRequest ("waterIntroAnimation.swf");
var loaderObj:Loader = new Loader();
loaderObj.load(requestObj);
b1.visible=false;
loaderObj.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,preloadProgress);
loaderObj.contentLoaderInfo.addEventListener(Event.COMPLETE,preloadComplete);
function preloadProgress(event:ProgressEvent):void{
var loadedPercent:int = event.bytesLoaded/event.bytesTotal *100;
preloader_mc.loadingBar_mc.loaderText_txt.text=loadedPercent+"%";
preloader_mc.loadingBar_mc.loaderMask_mc.scaleY=loadedPercent/100;
}
function preloadComplete(event:Event):void{
preloader_mc.visible = false;
b1.visible=true;
}
Loading External Images Loading Bar (Movie Clip)
I have managed to have external images loaded with the progress bar. However, when I place these items into a movie clip the preloader no longer works. can someone please take a look at the flash file for me.
http://www.bloggot.co.uk/file.zip
Loading Xml Data - The Rest Of The Movie Is Not Loading
I have a custom FLV player that loads an XML file from our server to get the movie details, then once the data is successfully loaded the swf advances to frame 2 where the player loads the flv and the interface (stop FF, RW, etc.) Problem is that when I load the swf the first time, all of the XML is successfully loaded (I know from trace that all vars are set...), and the swf advances to frame 2 to actually show the movie and controls but it is a blank screen. if you refresh the page that contains the swf, everything loads fine. This has only begun since I added the XML functionality, so I am thinking the XML loading is the reason but I can not for the life of me figure out...
has anyone else experienced a similar problem?
the swf player is only 11k so I know it should be loading fine...
see example below:
http://www.vidrokker.com/viewpage/NzA%3D
Any input is greatly appreciated,
-nathan
example below:
Loading One Movie Vs. Loading Multiple Movies?
Greetings All,
I'm looking for some advice on the approach to loading multiple content "panels" on a website -- let's say we have a mini-intro panel (logo, tagline, etc.) and a news panel (rotating blurbs you can click on).
From a performance and optimization stance, is it better to:
1) create each panel as its own .SWF and load each one separately on a web page;
2) create each panel separately, and then use loadMovie(); to insert one into a layout space within the other;
3) just build all the functionality into one big honkin' .SWF.
I'm leaning away from Option 3, just for "simplicity of development" reasons.
My concerns are performance quality (will one approach run slower than another?) and bandwidth issues (how will dial-up users experience different approaches?).
I'm sure some of you have run into this before. I'm interested in your opinions.
Thanks.
Client Loading My AS3 Movie Into An AS2 Movie, Need To Close My Movie Afterwards...
I created an AS3 animation, and a client is attempting to load my AS3 animation into an AS2 movie that someone else created. They emailed me and told me to add this to the end of my animation...
ActionScript Code:
_root.gotoAndPlay("Start");
I knew this wasn't going to work, and it won't even compile and throws an error. I know how to close an external movie using event triggers and listeners using AS3, but not really sure how it works with AS2. Any ideas?
Problem Loading A Movie Into A Movie Which Loads A Movie
Problem loading a movie into a movie which loads a movie
if you want to skip a defined explanation feel free to skip to the bottom ---- section.
I tried as usual to search the forums and came up with obscure references to this problem. (now that I've said that someones going to search for it and find the exact thread I should have found :p)
I have 4 movies.
A) Main movie (a website for a starting jewellery company currently found at http://zephn.com/aboutface/
B) Gallerydirectory (a movie in which there are several buttons which load various thumbnail movies)
C) Thumbnail movies (there are several options of these but each is filled with buttons that load swfs which has a picture in it)
D) Defined image swf's (various photos inserted into swf's that have a fade effect applied to them)
Now that I have explained the set up I will explain that curently this works but I am trying to alter this slightly and am encountering problems.
Instead of loading just movie "D" at the end of this chain, which has a picture inserted into it prior; I want movie "D" to load a jpeg into itself "when" it loads. I beleive the term used is dynamically.
This allows for image changes to the website without having to insert pictures to the movie "D"'s anymore.
I can just drag new jpegs into a directory and the movie set up will just load the new images instead of having me edit every individual swf.
-------------NOW the problems I am having is I am unsuccessful at creating a movie which loads another movie in a defined movie clip, which by itself loads another movie or jpg within itself.
here is my working source to date. Can anyone nudge me in the right direction?
In this source I have deleted all the excess content from the site to make it more easy on the eye and on translating what is going wrong. I have also provided three examples of what I have tried to do.
In example "1" I have loaded a jpg successfully.
In example "2" I have loaded a swf successfully.
In example three (the desired result) I have unsuccessfully attempted to load a swf which loads a jpg into a movie clip in another part of movie "A".
http://www.zephn.com/kirupa/aboutface.zip
Much appretiation to anyone who can help.
Problem Loading A Movie Into A Movie Which Loads A Movie
Problem loading a movie into a movie which loads a movie
if you want to skip a defined explanation feel free to skip to the bottom ---- section.
I tried as usual to search the forums and came up with obscure references to this problem. (now that I've said that someones going to search for it and find the exact thread I should have found :p)
I have 4 movies.
A) Main movie (a website for a starting jewellery company currently found at http://zephn.com/aboutface/
B) Gallerydirectory (a movie in which there are several buttons which load various thumbnail movies)
C) Thumbnail movies (there are several options of these but each is filled with buttons that load swfs which has a picture in it)
D) Defined image swf's (various photos inserted into swf's that have a fade effect applied to them)
Now that I have explained the set up I will explain that curently this works but I am trying to alter this slightly and am encountering problems.
Instead of loading just movie "D" at the end of this chain, which has a picture inserted into it prior; I want movie "D" to load a jpeg into itself "when" it loads. I beleive the term used is dynamically.
This allows for image changes to the website without having to insert pictures to the movie "D"'s anymore.
I can just drag new jpegs into a directory and the movie set up will just load the new images instead of having me edit every individual swf.
-------------NOW the problems I am having is I am unsuccessful at creating a movie which loads another movie in a defined movie clip, which by itself loads another movie or jpg within itself.
here is my working source to date. Can anyone nudge me in the right direction?
In this source I have deleted all the excess content from the site to make it more easy on the eye and on translating what is going wrong. I have also provided three examples of what I have tried to do.
In example "1" I have loaded a jpg successfully.
In example "2" I have loaded a swf successfully.
In example three (the desired result) I have unsuccessfully attempted to load a swf which loads a jpg into a movie clip in another part of movie "A".
http://www.zephn.com/kirupa/aboutface.zip
Much appretiation to anyone who can help.
[MX] Trouble Loading Movie That Is Also Loading A Movie
I created a Flash movie (header.swf) that did some animation then at the end, loaded another into it using this command:
loadMovie("scrolling3.swf","_root.dropZone");
It loads and plays just fine. Then I created another movie (video2.swf), that loads a movie in the same fashion:
loadMovie("tom2.swf","_root.mcTom");
By itself, this movie (video2.swf) runs just fine.
But now, when I wanted header.swf to load video2.swf it loads it, but the movie clip tom2.swf does not run. It just shows up as a white square in the corner. What am I doing wrong?
I have tried many of the examples from threads that I have read hear and cannot get it to work.
Sorry for the convoluted description. I hope someone can help an AS beginner like me.
Thanks,
fjhughes
[MX] Trouble Loading Movie That Is Also Loading A Movie
I created a Flash movie (header.swf) that did some animation then at the end, loaded another into it using this command:
loadMovie("scrolling3.swf","_root.dropZone");
It loads and plays just fine. Then I created another movie (video2.swf), that loads a movie in the same fashion:
loadMovie("tom2.swf","_root.mcTom");
By itself, this movie (video2.swf) runs just fine.
But now, when I wanted header.swf to load video2.swf it loads it, but the movie clip tom2.swf does not run. It just shows up as a white square in the corner. What am I doing wrong?
I have tried many of the examples from threads that I have read hear and cannot get it to work.
Sorry for the convoluted description. I hope someone can help an AS beginner like me.
Thanks,
fjhughes
Having Problems Loading An External File Into A Blank Movie Clip In The Parent Movie.
alright I have a main swf. and there is an empty movie clip called window1.
I have an external swf that is loaded that contains the menu. i have the clip loaded into level 14.
i am having problems having the menu load an swf into the empty movie clip.
Code:
on (release) {
loadMovie("about.swf", _parent.window1, "GET");
}
in firefox, the code above loads the swf, but it replaces the menu. it does the same thing in ie.
Code:
on (release) {
loadMovieNum("contact.swf", _parent.window7, "POST");
}
and this bit of code makes the swf open in another browser tab in firefox, and in ie it replaces the whole parent movie.
I need the menu and the parent movie to stay intact.
i really need help with this asap.
Having Problems Loading An External File Into A Blank Movie Clip In The Parent Movie.
alright I have a main swf. and there is an empty movie clip called window1.
I have an external swf that is loaded that contains the menu. i have the clip loaded into level 14.
i am having problems having the menu load an swf into the empty movie clip.
Code:
on (release) {
loadMovie("about.swf", _parent.window1, "GET");
}
in firefox, the code above loads the swf, but it replaces the menu. it does the same thing in ie.
Code:
on (release) {
loadMovieNum("contact.swf", _parent.window7, "POST");
}
and this bit of code makes the swf open in another browser tab in firefox, and in ie it replaces the whole parent movie.
I need the menu and the parent movie to stay intact.
i really need help with this asap.
Problem Loading External Movie Clips Into Target Movie Clip
Hello,
I've been desperately trying to figure how to get this function to work. I created a target movie clip, then assigned an external one to it, but I can't seem to get it to work. Can anyone help me with this and fully explain it so I don't miss anything? I'm using flash professional 8.
Thanks so much!
Rob
Loading A Movie From A Remote Location And Reloading The Main Movie
HELP!!! I have a flash movie that loads a movie (at level0) from a remote location.. There are two movies there, one that stops the movie and another that reloads the main flash movie (I just rename the swf's to toggle which one I want loaded). The problem is, when the second remote swf reloads the main flash swf, it just loops back to playing the remote swf again. I've tried using telltarget to make the main movie play a frame after the actionscript that loads the remote swf, but that doesn't work either. Are there any alternatives to doing this? thanks...
Loading A Movie (within A Movie) & Assigning A Random Start Frame
Flash 5
Hello everyone.
After taking almost a year off from web programming Im relearning flash :0
I haven't gone past the basics with Flash 5 and have a couple projects coming up.
The routine I wish Flash 5 to do should be something simple to explain I hope for a vetrin user.
1) Flash Movie A (180 x 60) loads Flash Movie B (60x60) into left most space (say slot 1) and then randomly tells Flash Movie B to start at a particual frame (random(8). Each frame is a simple image with an actionscript Stop; command).
2) Flash Movie A fades in 1st Flash Movie B at slot 1.
3) Flash Movie A loads another Flash Movie B in the middle space (slot 2) and once again randomly tells Flash Movie B to starts at a particual frame (random(8) (just a static picture like in 1).
3) Flash Movie A fades in 2nd Flash Movie B at slot 2.
4) Flash Movie A loads another Flash Movie B into the far right space (slot 3) like the others (tells Movie B which random frame to start at).
5) Flash Movie A fades in 3rd Flash Movie B at slot 3.
My feeble mind is having a problem telling:
1) Where to tell Flash Movie A to position each load of Flash Movie B.
2) How to tell Flash Movie B I wan't it to start at a random frame.
I have the fade in and fade out set
also.... slightly more complex.. Does anyone have experience in doing somethnig similar to this and setting a variable to define which random numbers were selected for each slide so they will not repeat. (i.e. after loading slot 1 it will also define 'slot1' at the same time it creates that random number for slot1 and so on).
TIA
Dan
Loading Movie In Same Level Doesn't Stop First Movie Downloading
I could see this in the Safari browsers Activity window.
I have made a site which loads external swf's using loadMovieNum - all in level 3 - upon pressing different buttons.
I thought that if one swf was in the proces of downloading in level 3, and you press another button which loads another swf also in level 3, the download of the first swf would stop - but it doesn't.
It replaces it on the site of course - but the download of the first swf continues in the background - using unnecessary bandwith.
It does the same with loadMovie in to the same empty movieclip.
And
_level3.stop();
...also doesn't stop the download.
Is this the way it's suppose to work ?- I don't like it. I would rather not use UnloadMovie for obvoius reasons.
Problem With Loading Larger Size Movie Into Level 0 Movie
hi,
i am trying to load a larger stage size movie into replacing the smaller original movie using loadMovieNum, but the larger movie always gets cropped when it's loaded on top of the smaller size movie. is there another approach?
thanx much,
scsirain
scsirain@yahoo.com
Any Ways For Fullscreen Movie Loading Fixed Size Movie
i would like to make a full screen webpage with a resizable flash image as background, with centralized, fixed size- flash movie. Is it possible?
I set the root resizable flash swf in HTML and used loadmovie to attach the flash movie. however, the loaded movie follows the fullscreen-magnification of root flash.
do you have any suppestion to me? thanks for your attention and advices.
my reference files zip link:
http://www.wildbutharmless.net/flash...creen_test.zip
root flash= fullscreen
attached movie= 700x580
Loading Movie That Has Variables Loaded Into MovieClip Of That Movie
hi, I have a problem with loading movies that contain loaded variables ,
here is what I'm trying to do:
Main Movie (loadMovie ("reset.swf", _level0.MC))
reset.swf (loadVariables ("crimea.txt", _level0.text))
and the problem is that the text (=crimea) isn't displayed
Have you any ideas of what is wrong?
-thanks-
Loading An External Movie Into A MC - Part Of The Movie Vanishes. Why?
Hi!
I'm loading an external movie into a mc so that I can scale the external movie down in size. But when the external movie loads some of it vanishes.
For example - at http://www.halfmoon.org.uk/HMScreensaver4.swf -you can see what the full movie I'm trying to load does (sorry its around 55k).
As you can see i have one of those mouse following style MCs -except that instead of following the mouse it moves around the screen randomly.
But at http://www.halfmoon.org.uk/scalemovie.swf
-when its loading into another movie you don't see the randomly moving MC -It just dissappears.
The actionscript I used to load HMScreensaver4.swf into the other movie was:
loadMovie ("HMScreensaver4.swf", _root.targetMc);
_root.targetMc._xscale=60;
_root.targetMc._yscale=60;
I've got a couple of other movies that its doing the same thing to.
Is there any way around this?
For example - is it possible to load the movie into a level instead of a mc and then scale it? Or is there some scripting I need to include that will allow me to view the rest of my movie?
Thanks for any help in advance!
-Tosca
When Loading A Movie Into A Movie, It Loads Half Of It And Freez ?
Hi there,
My work is almost finished, yet I have some anoing problems :
if you want to see; http://welcome.to/insidedesign
(Frensh site )
A first popup comes, with a menu; click on 'magasin' ...
There it should load a movie, but when I test it on a 56K connection, it loads for say 1/3th of it, and nothing moves ? (it should be an autosrollmenu)
Isn't there a way to make it load completly ?
When you close the popup, and click on the moving letters, the same window should open.... it does on my tower,IE6 but not on my portable IE5.5. It does in NN6.2 on both of them ?
Any reason why ?
Tx for the help guys, i almost done, so help me to finish it txxxxx
Loading Movie Into Empty Clip, But Movie Won't Play
I have 4 movies that i am trying to load into an empty clip in an existing movie. my problem is that when each of these movies are loaded into the clip, I can physically see it, but it doesn't function as a movie, the rest of the larger movie is moving around it, but the smaller movies won't move. I thought this was because I put a stop action at the end of the smaller movies, but when I take it out, the movie just keeps looping when loaded into the empty clip in the new movie.
does that make sense.
PLEASE HELP ME.
HOW DO I SEE MY MOVIES
HOW? Retaining Movie Size Upon Loading External Movie.
I have run into a problem creating a stand alone presentation ,, when a swf (movie) is loaded into the stand alone player, any re-sizing of the origanal is lost and reset to what the loaded movie is set to...
I know there is a way to cure this, but my referance books do not talk about this particular issue.
Please let me know what i should do via action script.
~Chris Rosenau
__________________
Chris Rosenau
Rosenau Productions
webmaster@rosenauproductions.com
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!!!
Loading Movie Clip Onto Different Level To The Movie.swf That It Is Held In
Hi Guys
If any one could put me out of my misery, it would be much appreciated.
I have a movie called main.swf and a movie clip within that main.swf called “car”.
OK so far so Good !
Main.swf is on level 1 and I want the movie clip “car” to be on level 2
I know that this can be done through having the movie clip in a separate swf (ie loading url onto a separate level, however I must have the movie clip in the same swf as main.swf.
Any help would be more than appreciated
Cheers
Loading Dynamic Text Into A Movie Loaded Into A Movie
Hi.
I can without problem (1) load dynamic text into a movie clip inside a main swf file (2).
HOWEVER if I load the SWF file (2) in another Main SWF Movie (3) the loading ot the (1) dynamic text does not happen.
Any ideas ?
Using MX, and I have tried embedded fonts.
Miquelon
Loading Text File In A Movie Loaded Into Another Movie
I am trying to load a text file into a movie and then loading then iam loading it into the main SWF. However, when i load the movie in the main SWF the dynamically loading text doesnt appear.
The coding is: loadVariablesNum("home.txt", 0);
Can anyone help this is driving me up the wall!
Loading External Movie From A Movie Clip In The Root
Hey, I ran into some problem with the webstie that I'm designing.
Let's say the root movie is main.swf and within the main.swf, there is a movie clip called buttom that controls the buttom animation. when I push that buttom, I want it to load an external movie, say, external1.swf into the main.swf.
I have the empty movie clip on the stage on main.swf . When I try to load external1.swf, it just wouldn't do it? (I'm using the loadMovie("url","target")command)
Is there anything wrong?
Thanks
Help Needed With Loading A Movie (and Frame Number) Within A Movie
i would like to make a function (?) that checks a variable constantly throughout a movie.
the function would check a variable (mood) which is initialised at 50.
depending on what mood is (checked by using an if statement?), i would like to load a movie that is placed within my main stage, specifically a frame (labelled something like "Happy", "Sad", "Normal").
i have no idea where i would put the function, having sort of only just worked out how to initilise the value for "mood", no idea how to load a movie within a movie to a specific frame number, and no idea how to write that all in an if statement.
any light shed on this would be appreciated like you'd no believe (project is due in 48 hours).
thanks in advance.
Loading Txt File When Text Box Is In A Movie Or Movie Clip
Can you help me to do it when the textbox is in another movie or movie clip...?
I got some code to work for a basic load a file to a textbox... its just when there's a movie/movie clip I all the suddent have trouble...I use movies/movie clips because I like to break everything up and put together the parts and so if I change on part the rest of the site won't be affected.... In any case I could really use a Flash guru right about now...
I appreciate your help,
Chris
Detecting A Loading Movie Inside Your Main Movie?
Hi, I'm stuck on trying this thing, I'm loading in movies for my site, I wanna make stuff load when clicked, ya know to save dl time and all. Ok, So I'd like a button to load in another movie, preferably in two places, but I want the cursor to be the load bar, and I know how to do all that, it's just to how do I address the movie loading in, so I can monitor it's progress?
Basicly I'd have a mc called loader, which would follow the cursor, and have this AS attached to the main timeline
Quote:
loadedbytes=getBytesLoaded();
totalbytes=getBytesTotal();
percentbytes=int(loadedbytes/(totalbytes/100));
loader.gotoAndStop(percentbytes);
That's just a simple script I got off a tutorial, so how do I make that work for movies being dynamicly loaded in? And wont those clips loaded in have to be put into a blank MC with createEmptyMovieClip, then use attachMovieClip to assign them to the two different final MCs?
Thanks for your time, and any help you can give.
[f8] Loading Movie Clips Into Certain Spots On The Main Movie
I'm coming from flash 5 to going into 8. Seems relatively easy to adjust, but I'm still learning a bit.
My question: If I have my main movie running, and I want to load another movie clip either from my library or externally (.swf) into a certain area of this main movie, is it fairly easy to do and what is the most effective way of doing so? In the past, I usually just loaded external .swf files into different levels on the main movie page with all the exact dimentions of the main movie so they line up correctly, but my gut tells me there is an easier and more effective way of doing so. Also, will the new movie clip I load in be able to tell targets in the main movie to do things? (ie: can I have this new movie change the background of the main movie on a button action. ) My brain hurts.
-Chris
Loading A Grandchild Movie Into A Child Movie From Parent
hello - Can I load a grandchild movie from the parent? Here is what I have: I have a main move, a child movie and a "grand child" movie.
I want to click a button on the parent ( which is my root) and load the child into a container on the main, then automatically load the grandchild into a container in the child movie. I dont want any scripting in the child movie though. I want the entire thing to be handled from the main root movie.
Can I do this an how? Ive tried:
var mcl:MovieClipLoader = new MovieClipLoader();
mcl.loadClip("child.swf",childHolder);// childHolder is a container in the main.swf
mcl.loadClip("grandchildMovie.swf",grandchildHolde r);//grandchildHolder is a container in the child.swf.
Any advice would be greatly appreciated.
Im running flash 9 from cs3 web bundle.
Problems With Flash Movie Slowing Down After Loading Other Movie
If you take a quick look at this
www.hollyhouseweb.co.uk/hair/flash
when you load one of the bottles movies and when you close and return to the root the main menu movie runs slower from that point but if you load the box movie it returns then runs fine at the correct speed, any ideas anybody pls. help!!!!!
Problems With Loading External Movie From A Button In Another Movie....
Hi,
I am working on a scrolling thumbnail movie clip, that when you click on the thumbnail button inside the movie clip it will load an external movie clip. I have an empty movie clip on the main stage, and have been trying all sorts of code, but for some reason it doesn't like that I am inside a movie clip using buttons. It can't seem to find the external swf.
I have tried:
on (release) {
loadMovie (ithink.swf, "loader");
and
on (release) }
if (firstTime == true) {
loadMovie("ithink.swf", _root.loader);
firstTime = false;
} else {
_root.clicked = "ithink.swf";
_root.loader.gotoAndPlay("goback");
}
}
and so far nothing, for some reaosn when I click on a button outside of the movie clip with the above code it loads... and than the other works too, but if I click on the buttons inside the scolling movie clip first they won't work.
Any suggests or ideas!!?
I would really appreciate it... I am beyond frusterated!!
Loading External Movie Clips Into Flash Movie
I was wondering if anyone could help me, I attached the code below to a button in an existing flash movie in hopes that when it is clicked it would create an empty movie clip on level 1 of the movie with the button and then load an external .swf (from the same directory) into or in place of the empty movie clip. However this isn't working for me does anyone have any suggestions?
--Thanks
ActionScript Code:
on (release) {
_root.createEmptyMovieClip("dummyclip", 1);
dummyclip.loadMovie( "Untitled-1.swf");
}
Question About Loading A Swf Movie Onto An Empty Movie Clip?
hi all! :D
i have a page that loads up with buttons on it that will open swf movies when a button is pressed.
i would like the movie to open up at a specific size on the page, how do i tell the movie where and how big to open up?
i would like to use an empty movie clip to load the swf onto, but how do i regulate the window/playing size of the swf?
also, if possible, could i have a script that when the viewer clicked on the swf movie that it would open up to full size???
thanks!
Loading A Scene Vs. Loading A New Movie
When you are in a Flash site and you click a link and a "loading" bar comes up, is it always loading a new flash movie (a whole different .swf file), or is it sometimes loading just a new scene?
If so, how do you make it so a scene does not load until the user clicks a link to take them to that scene?
Thanks in advance,
Marcus
Loading Movie After Loading Jpeg
So i have a movie that loads a jpeg dynamically, and when i press a play button, i want it to load a movie into the same place. The problem seems to be that after loading the jpeg, i cannot control the movie anymore. Specifically, the jpeg is loaded into _level0.mov1.LoadMovHere
I have 2 frames on mov1. Frame 1 loads the jpeg and has a stop. Frame 2 loads the swf, has a trace (for debugging), and a stop. I have tried everything to get this to gotoAndPLay(2), what am i missing?
any help is appreciated, thanks.
|