LoadMovie / Simple Question...
Hi all,
I am loading mc with this code:
this.createEmptyMovieClip("holder", 0); holder.loadMovie();
All the mc's on the stage are under the loaded mc. How should I make it, so that all the mc's on the stage are above the loaded mc?
FlashKit > Flash Help > Flash ActionScript
Posted on: 06-06-2005, 06:08 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
LoadMovie SIMPLE Question For Simple Minded Graphic Artist
OK! So this will be EASY EASY for all of you.
I need to load a seperate SWF file onto the stage on a level above the main swf.
the seperate SWF file is in the same folder as the original all located in the "flash" folder of the root directory.
How do I get th e outside SWF to load on top of the movie.
The original movie is called grid.swf the outside movie is called liquid-print.swf
If anyone can help me with giving me the code I'd appreciate it. I really am quite dense when it comes to coding.
Simple LoadMovie Help
Hi!
I'm trying to better myself ActionScript-wise and so I'd like a little enlightenment on what I think is a pretty common techique. I already know how to load an external .SWF into a level on the main timeline:
loadMovieNum ("mySwf.swf", 1);
That I know. I'm having a little trouble with loading an external .SWF into a MC on the stage. I must be doing something wrong with my syntax. I'm trying this:
onClipEvent (load) {
loadMovie ("mySwf.swf", this);
}
Attached to my containter MC with the external file in the same folder as the main file. But I can't seem to get it to work. I've tried it with either "expression" checkboxes checked and I either get nothing or errors. What is the standard method for doing this? Does the container MC have to be the same size as the external .SWF? Help please.
Thanks,
EC
LoadMovie The Simple Way
why doesn't this work?
there is a simple button on the stage.
on (press, release) {
_root.container.loadMovie("5_gfg.swf");
}
i have a simple button on the stage which is trying to fill up a blank movie also on the stage with the instance name container. the movie which i am trying to call in to the blank movie is 5_gfg.swf.
i thought this was the way to do it. no?
Simple LoadMovie Using MC...
Hi There,
I am trying to load a movie but using an MC not a button... when I put code on the MC it loses its fadeIn animation...
I have attached the file but not the movie which loads...
Thanks,
Tom
Simple LoadMovie Using MC...
Hi There,
I am trying to load a movie but using an MC not a button... when I put code on the MC it loses its fadeIn animation...
I have attached the file but not the movie which loads...
Thanks,
Tom
Simple LoadMovie Using MC...
Hi There,
I am trying to load a movie but using an MC not a button... when I put code on the MC it loses its fadeIn animation...
I have attached the file but not the movie which loads...
Thanks,
Tom
LoadMovie.. Should Be Simple ..but I Can See Too Much
I am loading a swf into a movie using load movie
loadMovie ("y3.swf","placeHolder_mc");
The placeHolder_mc is the exact same size of the movie I am loading- y3.swf.
It loads just dandy ... except I can see to the right and the left of the stage of the movie that is loaded in (y3.swf) . So I can see all stuff that is about to animate on or has just animated off.
I have had to to draw some masks to hide some of these things ..but surely it is simpler than this!!
Can anybody help.. this is my first project that I am about to put online and i want it to be real sweet.
Simple LoadMovie, Right?
I have a problem that's killing me.
If you open the level0.swf then navigate at the top to portfolio, then to featured work. The portfolio section opens.
Click on Elvis to go to the identity section.
The buttons at the bottom navigate through the section.
I've attached only the first two swfs that correspond to the first two buttons on the left.
If I navigate slowly, everything works fine, but if I navigate too fast (not waiting for the swf to display) between one and two or between two and one, the last movie I clicked on gets confused and starts playing funny.
The buttons that load the images have this code:
Code:
function loadPiece1() {
loadMovie ("images/portfolio/identity01.swf", "_root.singleContent");
loadMovie ("images/portfolio/singleLoader.swf", "_root.singleLoader");
clearInterval(doOnce1);
}
function loadPiece2() {
loadMovie ("images/portfolio/identity02.swf", "_root.singleContent");
loadMovie ("images/portfolio/singleLoader.swf", "_root.singleLoader");
clearInterval(doOnce2);
}
And the the individual buttons (dot01 and dot02) trigger that code with this:
Code:
dot01.onRelease = function() {
_root.bgBlueMaskLeft.xscale = 100;
_root.bgBlueMaskRight.xscale = 100;
doOnce1 = setInterval(loadPiece1, 2000);
}
Code:
dot02.onRelease = function() {
_root.bgBlueMaskLeft.xscale = 100;
_root.bgBlueMaskRight.xscale = 100;
doOnce2 = setInterval(loadPiece2, 2000);
}
Identity01.swf and identity02.swf have this code:
Code:
function loadImage02() {
image02.alpha = 100;
clearInterval(doOnce02);
}
function loadImage03() {
image02.alpha = 0;
clearInterval(doOnce03);
}
function loadImage01() {
image02.alpha = 100;
clearInterval(doOnce01);
}
doOnce02 = setInterval(loadImage02, 0);
doOnce03 = setInterval(loadImage03, 2000);
doOnce01 = setInterval(loadImage01, 6000);
I hope this is enough information.
Thanks for any help.
Loadmovie.. Really Simple Help
ok i have a button and this is the code....
on (release) {
loadMovie("home.swf",load2);
}
now i want that movie to load in load2 wich is a movie clip... the thing is that the button is in another movie clip and the symbol is on my main stage.... just can't remember how to do it it's been a while
Simple Loadmovie Question
I have two movie file movie1.swf and movei2.swf. I am loading movie2 from movie1 using the following script
on (release) {
loadMovieNum ("Movie2.swf", 0);
_level0.gotoAndPlay("Scene 2", 1);
}
the script tries to run scene2 once the movie is loaded. THe problem is, the movie gets loaded but it remains on scene1 and scene2 is never shown. Could someone explain why this is happening. Thanks
following are the two files I used.
http://www.geocities.com/tppradeep18/Movie1.zip
http://www.geocities.com/tppradeep18/Movie2.zip
Simple Loadmovie Problem
hello, i created a simple movie with an animation. i want to load this movie when i release a button on the page.
tried:
on (release) {
loadMovieNum ("animation", 1);
}
it only works when the animation is a externan animation.swf file. but i want to show my integrated movie on the scene, not an external file.
think its simple...
thanks, rtom
Loadmovie() | Simple Question...
Hi!
I have a movie with several scenes.
At the first frame in every scene, I load via loadmovie() some external swf`s into movieclips in my mainmovie.
The mainmovie is playing in a loop.
My Question:
---------------
I don´t want to load them in every loop new, because they are already loaded. What have I to do?
Greetings,
MikaLux
Simple LoadMovie Question
I dont get it, this isnt even a complicated thing to accomplish. I am trying to load a MC into a holder.
on (release) {
function loadSWF() {
loadMovie("flash/pools.swf", "holder");
}
}
its under "portfolio" and the holder is above the buttons in the open space. Any clue why the movies arent loading on release??
http://www.aboundmedia.com/2004.htm
Thanks guys
Simple Loadmovie Question
Hi,
I'm loading a movie into a blank placeholder
loadMovie("company.swf", "../empty");
Lets call the main movie 'Home.swf'
The movie 'Company.swf' has a bit of animation at the beginning as it loads its menus.
I uploaded the files to my webserver. However, after loading the website once, the next time I view it and load the company.swf from home.swf, it doesn't start at the beginning of the movie.
It seems to load it from the point it stopped last time (after the animation, when it reached the stop action.
How do I get it to load company.swf from the 1st frame everytime.
Thanks in advance,
Solmar.
SIMPLE LoadMovie Question
okay I have two movie clips,
the first
header-safety.swf
Which has two frames, both with stop commands and a button on the first that play's to the second.
On the second keyframe there is the following actionscript
stop();
loadMovieNum("http://URL_TO_MOVIE", 10);
that is the correct URL to the movieclip I am trying to load into the parent clip.
So I get the first clip, and click the button - my modem flashes as if connecting - then nothing. The second file is big 700kb or so (it's embedded video with a preloader) but damnit it just won't load in the first movie.
Can anyone explain to me what I'm doing wrong?
Or give me a better LoadMovie tutorial than the crappy one that is on FK tutorials at the moment?
your help is greatly appreciated.
mike
[F8] Simple LoadMovie Issue
Hey, I made a separate swf to be the background for another movie. So I use the fallowing code to load it in:
code:
loadBg = function() {
this.createEmptyMovieClip("bg", this.getNextHighestDepth())
bg.loadMovie("images/cubes.swf", this)
bg.cacheAsBitmap = true
//tried w/ & w/o this, not sure if it works in the case?
}
It loads the movie and runs it fine with "this.onLoad = loadBg" also put at the bottom of course. Then as soon as I add another function to run, it works for about 20 seconds before grinding to a very very slow refresh rate, almost nothing. So i'm assuming it runs out of memory to work or something? Hence why I tried the cacheAsBitmap, but has a very tiny effect, if any. Any ideas how to fix this? The other movie is a graphic which has it's hue set to -180, then 359 frames later another is set w/ its hue to +180 w/ a motion tween in the middle. So I guess it is a very memory consuming process? Any ideas? Thanks, - Peter.
LoadMovie Issue -- Something Simple
My brain is just GONE over this one, and I know it must be simple.
I have a movie inside of a button. I am trying to load an external .jpg into the movie.
The button is on the root and the instance name is "photo1"
The movie inside the button's instance name is "thumb"
And here's the code I'm using:
Code:
photo1.thumb.loadMovie ("photo01.jpg");
What I doing wrong? Please help. Thanks.
Simple LoadMovie Question
How do you load a movie let it play to the end, then load another and let it play to the end. I have been trying to do this for several days, without success. I have tried setinterval, but it is not working now.
Simple LoadMovie Question
i really just need a yes or no for this.
will clip_mc.loadMovie(); load a move clip onto the mail timeline, or is the loadMovie function for external swf's only
Very Simple LoadMovie Question
How do I tell expurchase.swf to goto and play frame 2?
loadMovie("expurchase.swf",pclip);
It's a 4k file, no fancy load checks or anything,
simply need to communicate with that external swf
Thanks
Simple Loadmovie Isn't Working
Hello,
Anyone knows how to simply load this text scroller into a level.
I tried it and just get the components of the scroller but no text. It is Billy T's.
Could anyone take a peek?
Simple Loadmovie Question
What is the script to load an internal image from the library? Loadmovie seems to only work for external images and .swf's.
Simple Loadmovie Problem Please Help
Hi,
When i load a movie using
Code:
on (release) {
loadMovieNum("calender.swf", 1);
}
The movie loads and its all ok, BUT the buttone from the movie below are still accessable.
E.g the movie can be blank but i can still clcik the buttons behind the loaded movie (movie 1 ontop of movie2 and movies2 buttons are still clickable even though i cant see them)
How do i get past this?
is there a code to disable the other buttons? or should i put something below the other movie?
Please help!
Ad,
Simple LoadMovie Problem
Hi guys. I have a swf with the script below on one of the buttons:
on (release) {
unloadMovie("Empty_mc");
loadMovie("MathGames.swf", "Empty_mc");
}
The problem is, after "MathGames.swf" loads into "Empty_mc", the rotate script - which is on a button in "MathGames" - will not work. The script works fine when published independently (before being loaded into “Empty_mc”). Any ideas?
LoadMovie / Simple Question...
Hi all,
I am loading mc with this code:
this.createEmptyMovieClip("holder", 0);
holder.loadMovie();
All the mc's on the stage are under the loaded mc.
How should I make it, so that all the mc's on the stage are above the loaded mc?
Simple LoadMovie Question
This seems so simple but its eluding me:
I'm trying, without success, to load an external swf from a button on lvl 10 (not the main timeline) into a movie clip on the main timeline. I'm using the basic loadMovie command but I cant get it to load into a specified target on a different timeline. I can put a level in and it works just fine but does not help because the whole document itself is actually being loaded into another document. I have to be able to load it into a specified target. I know this seems simple but cant solve. I've attached the file. Basically I just want to be able to click on a picture and have an enlarged version fade up into the square on the right. Plain and simple. If anyone can help it would be greatly appriciated.
Thanx
Really Simple LoadMovie Question
I'm using loadMovie to load a jpg into my movie. When I do, I can't see any of the stuff that was in the movie before (even though it's not in the container MC) Is this a known thing? How can I fix it?
LoadMovie Problem(simple)
I have a problem.
I have in my fla document(Nico.fla) a holder Movieclip (empty). And during the movie I load in that movieclip a new swf-file. (Main.swf)
In the Main.swf file I have a link. I want that the link loads another swf-file in the same holder as in the Nico.fla document
So this is the structure...
Nico.swf
|
holder(Movieclip)
1. Nico.swf loads in holder Main.swf
Now I want to load FROM the Main.swf a new swf file in the holder of the Nico.swf.
Can anyone help me???
Simple LoadMovie With URL As Variable
I'm having a handful of trouble with this.
a) thumbURL is a variable loaded from an XML file. The value is being passed correctly into Flash, as I have traced it and it outputs fine. thumbLoc is a number which increases through a for loop. So thumb0, thumb1, thumb2 etc. are the movie clips I want to load thumbURL into. The thumbURL I'm trying to load is in the format http://www.tcreative.ca/images/stories/ylistenSmall.jpg.
I have the following code:
Code:
thumb[thumbLoc].loadMovie(thumbURL);
Why isn't this working?
b) When I test the movie, Flash should still load an external URL (such as http://www.tcreative.ca/images/stori...stenSmall.jpg), right?
Any help is much appreciated. Dunno if I'm getting the syntax wrong or what. All my google searches are on not so relevant loadmovie topics. Thanks!
Simple LoadMovie Question
Okay how do i get this to work so it opens in another window instead of replacing the excisting one. And I don't want to use javescript cause it never works can't I just replace the _root with something that tells flash to open that .swf in another flash window. God why is this so hard to do! or atleast find the correct code on! Please help!!
on (release) {
loadMovie ("http://www.thekatillist.com/mp3s/beats/swfs/genises.swf","_root");
}
2 Simple (I Hope) Loadmovie Questions.
Hi, all you Flashers!
I've got a couple of seemingly simple questions. First, I'm just beginning to play with loading external movies into targeted MC's in my main movie. So I did a very basic test.
In my main movie I made a 150 x 150 pixel movie clip: a square. Then I made a 150 x 150 pixel external movie of a square (of that same size) fading in and out. And then I had the square MC in the main movie get the external movie (fade.swf) loaded into it (with the instance name "loadme") with this command on a frame:
loadMovie ("fade.swf", _root.loadme);
The movie loads into the "loadme" container. No problem. Except that the _y scale of the loaded "fade.swf" is now stretched. I'm not sure about the _x scale. But either way, what can I do to ensure that the loaded movie stays in proportion?
Secondly, I have a different loadmovie question. I've made a soundtrack SWF to load into my main movie. The soundtrack is a single musical chord that fades in, plays, and fades out. After the fade out a frame tells the movie to go back to frame 1. If I listen just to the soundtrack by itself, it plays like I want it to.
But if I load it, it seems to go back to the beginning before it fades out. And after several loops, it plays and then never plays again. In the soundtrack, I edited the sound I'm using to single out this particular chord, so some of the whole sound is omitted. And I've set the sound to play as "event" not "stream". Any idea what is happening? I also tried the using the whole sound, looping continuously, in a one frame movie and then it works just fine! It probably just something I'm overlooking, but I'd appreciate any help anyone has to offer.
Thanks,
EC
[Edited by e.costello on 08-15-2001 at 04:22 PM]
Simple Loadmovie/targeting Xtion.. Anyone?
ok here it is:
I have a main movie. on that main movie is a frame label called "load". The main movie loads a movie called background into level 30.
there is a button on level 30's loaded movie. I want that button on click to go to frame label "load" on maintimeline.
I have tried this
on (release) {
_root.gotoAndPlay("load");
}
Simple LoadMovie Question.... I Hope
hi people,
i am loading a swf into an MC. using this a/s
on (rollOver) {
loadMovie("exhibition.swf", "_root.capture");
how do i move this swf to a particula possition on the stage? using action scripts.
i have buttons that load different swf into the same mc but they need to be loaded in various possitions on the stage yet i want to still use the Capture MC on the same frame so they just overwrite each other each time a new button is clicked.
Hope that makes sense.
Simple Loadmovie With If Statement Problem
This is probably an easy question, but it's from an Actionscript beginner
I'll keep it short:
Each button in my menu has this:
on (press) {
tellTarget ("_root.black") {
gotoAndPlay(2);
}
mctoplay = home;
}
So when you click it, a movie clip (named black) will play, which is basically just a big black box which fades in so there's a nice transition between pages.
Each button sets a different mctoplay - eg. the about page is mctoplay = about and so on for each page.
When the 'black' movieclip comes to it's last frame I have:
if (mctoplay==home) {_root.frame.loadMovie("home.swf", 0);
}
else if (mctoplay==about) {_root.frame.loadMovie("about.swf", 0);
}
else if (mctoplay==contact) {_root.frame.loadMovie("contact.swf", 0);
}
What happens is the first if statement seems to apply no matter what mctoplay is current set to. Can anyone help? All I really want to do is load some external movies within a frame in
my main movie, but have a movieclip play just before this happens but after the user has clicked the button to load it...
Thanks in advance.
Loadmovie - Simple Question About Paths?
I have the following setup............
A main movie timeline with a movie clip on it> Inside this movieclip is a blank movieclip that I want an external movieclip loaded into when a button (inside clip1) is pressed. On this buton I have:
on (release) {
MovieClip.loadMovie(external.swf,_root.clip1instan cename.blankclipinstancename);
}
But this doesnt load the movie. What am I doing wrong, I guess its pretty basic stuff.
Cheers
Probably Simple LoadMovie Ques. For JPEGs
I have a target MC that I want to load some JPG's into in my Flash Movie. The Target MC's dimensions are 650x500px. The JPG's are the same. When I attempt to load them, I can notice that something has changed in the tone of the movie clip (I had the target MC a grey color then that color disappears) but the JPG does not load.
I tried a smaller JPG, like 1/4 the size, and it loaded OK. ANyone have a suggestion?
Simple... Yet I Cant Make It Work.. (loadMovie)
I have 2 .swf in the same directory. They are the same size.
start.swf which have 1 button on, on release its supposed to load the second swf.
start.swf:
Code:
on (release) {loadMovie("intro.swf","","GET");
}
It then load the "intro.swf" and everything works smooth.... untill I put both files, in a directory on a webserver. It show the first movie fine, I can press the button and then.. nothing happens.
What do I do wrong?
Many thanks in advance.
Simple LoadMovie Issue Screwing Me Up
hi, this is so simple but it's been driving me crazy for days..
I have a main movie that loads a movie into it using createEmptyMovieClip and loadMovie. the loaded movie has 5 buttons in it, nothing else - I want to put the onRelease code in the main movie, because all the dynamic code works from there, but it won't let me do it!
I know this isn't a path/target issue, I think it's something to do with the loading or the order of code execution, but there must be a fairly simple solution!
thanks,
Toby
Simple Question For You Guys, LoadMovie Etc
Hi, Well Im here again ..
Searched the whole net again, found notin ..
The thing is, i have several .swf's .. I already fixed the problem
with the refresh and reloading, now the thing is, at the end
of a movie, i want to load the second on (etc) .. something like
_root.loadMovie("banner2.swf"); .. when banner1.swf has
finished playing, banner2 comes up .. the whole refresh thing
with banner1.swf works great, it doesn't reload and keeps playing
where it was with the local shared object .. now the problem is,
when banner2.swf is playing, and i refresh, it restarts with banner1.swf ..
I think it's quite logical because in my .php code i have embedded banner1.swf, so when .php reloads the thing, it starts with banner1.swf
again, my solution was making an overal banner.swf which loads the movies, but how?
Have no clue .. hope someone can help,
Cheers
Simple And Urgent: Variable Within LoadMovie
hello!
Intro:
in _root ive got two variables 'url' and 'number' which change depending on buttons clicked in the main movie.
ex. when u click on Architecture var url is set to 'Projects/Salorino/photo' + number;
Problem: i have a next button which states on (press) { number= number+1;
then underneath loadMovie(url); but when clicked it only loads the url with the previous number. Ive checked the 'number' has changed so it means the new number value has not been changed in the url variable.
Question: How can i make the url variable reads the new value for the number variable?
[Q] Simple LoadMovie + Assigning Functionality To The Loaded SWF...
I feel like something is not right... But I cannot figure out what it is...
This is the script...
ActionScript Code:
this.createEmptyMovieClip("test", 1);
this.createEmptyMovieClip("tmp", 2);
this.tmp.onEnterFrame = function ()
{
var _mc:MovieClip = this._parent.test;
var _l:Number = _mc.getBytesLoaded();
var _t:Number = _mc.getBytesTotal();
trace(_mc + " : " + _l + " / " + _t);
if ((_l >= _t) && (_t > 12))
{
_mc.onPress = function ()
{
startDrag(this);
}
_mc.onRelease = function ()
{
stopDrag();
}
delete this.onEnterFrame;
this.removeMovieClip();
}
}
this.test.loadMovie("testmap.swf");
Good old simple loadMovie routine that assigns dragging functionality when SWF is fully loaded... It seems that it has to work, but I cannot make the SWF draggable... This script works if I load in any JPEG or any other SWF file, but I cannot get this work with the SWF file that I have attached...
Can anybody shed some light???
DuplicateMovieClip And LoadMovie--simple For Some Code Pros
Bear in mind, i'm terrible at code, so get ready to laugh. So here's my code--i tried my best to explain along the way.
Code:
//loading a ScrollPane instance name "theScrollPane" with another ScrollPane from the library--Symbol 211 with instance name "anotherScrollPane" and a linkage name "anotherScrollPane"
theScrollPane.setScrollContent("anotherScrollPane");
//loading an SWF from the MySQL database to the ScrollPane "anotherScrollPane" that is supposed to be loaded into "theScrollPane" on the main stage
loadMovie("http://www.fiorepilatesonline.com/flash/instructors.swf",_root.anotherScrollPane);
//duplicating the movie 3 times, trying to stay on the same x axis, and increasing the y value by 210 pixels
for (x=1; x<3; x++) {
duplicateMovieClip("anotherScrollPane", "anotherScrollPane"+x, x)
_root.theScrollPane["anotherScrollPane"+x].y=x+210;
}
this is the result:
HTML Code:
http://www.fiorepilatesonline.com/test_index3.html
As you see, the SWF loads, but it loads at like 1000% the size and covers the whole page. I'm trying to get that SWF to load into a ScrollPane that's like 300x200 and duplicates itself inside of another ScrollPane. End result--I want to be able to scroll through a series of pictures and text that are dynamically generated from a MysQL database.
Thanks so much for taking a look.
MX: Simple(?) LoadMovie & OnRollOver Problem; Array Question.
Hello fellow flashers and flasher...ettes?
Well- seeing how small my problem seems to be this time, I hope none of you will take offense in my... fellowship. Having trouble with something this simple might disqualify me from being ranked among some of the experts on here
But I'm trailing off- here's the problem:
I have a loop that goes through an array and duplicates (and positions) movieclips on the scene and loads JPGs into them with "loadMovie".
I then try to attach an "onRollOver"-handler to the movieclip but it doesn't respond. Here's the thing: It works fine when I don't load the images into the MC instances... but as soon as I do, the onRollOver is not responsive anymore.
I read the telltale line "loading a JPG or SWF into a movieclip replaces it"... is that the cause of the problem? I mean- can I not refer to the duplicated MCs anymore as soon as I load something into them? How could I work around it?
Here's the code:
ActionScript Code:
for (var var_land in arr_flags) { FlagContainer.duplicateMovieClip(var_land,_root.getNextHighestDepth()); _root[var_land]._x = var_land*60; _root[var_land].myID = var_land; _root[var_land].loadMovie(arr_flags[var_land][0]); _root[var_land].onRollOver = function() { flagZoomIn(this.myID); } _root[var_land].onRollOut = function() { flagZoomOut(this.myID); } _root[var_land].onRelease = function() { trace(arr_flags[this.myID][1]); }}
("arr_flags[this.myID][0]" holds the filename, "arr_flags[this.myID][1]" an additional info for displaying purposes).
The whole code works like a charm if I remove the line "_root[var_land].loadMovie(arr_flags[var_land][0], _root[var_land]);", but of course that kind of defies it's purpose.
Do I have to refer to the MC differently once it has the JPG loaded into it? I checked the Debug info on the existing Objects and they are always the same, whether I use the "loadMovie"-line in my code or not.
Your help is very appreciated
Simple LoadMovie Prob. Paths Revert To Parent File Structure.
I'm trying to loadMovie("someFolder/test.swf", "container");
The problem is that the test.swf requires two .xml files that are located in the same folder "someFolder". But when trying to run the movie it is looking for the .xml files in the parent folder of someFolder.
I can run test.swf and it works fine on it's own but when i try it with loadMovie it can't find the .xml files. Probably an easy fix, or else it can't be fixed. Any ideas?
Thanks!
Loading A Complicated XML-gallery Into A Movieclip - Simple LoadMovie() Doesnt Work
Hi tharr, first post, grats me.
Hello.
Im trying to load this xml-gallery.swf into my movieclip called “theloader”.
If i use
on (press) {
loadMovie(“sliding_gallery2.swf”, _root.theloader);
}
it does not work at all, looks like the stuff the xml-gallery.swf is trying to load can't be found because its in a new movie or something.
If i on the other hand use
on (press) {
loadMovie(“sliding_gallery2.swf”, _root);
}
it does work, but i cannot use this since i need to be able to controle where the xml-allery loads.
Why does it act like this?
thankful for fast replies
Simple "loadMovie" SO WHAT CAN BE THE PROBLEM ?:confused:
Hello,
here is one prob. so please if not anything else just give me the clue.
I have ona basic swf file which purpose is to
loadMovie ("mySwf.swf", "McHolder");
in "mySwf.swf" I have one piece of static text,.. not resterised but also not dinamic, and it is not useing Device fonts, from users computer.
THE STRANGE thing is to when I use
loadMovie ("mySwf.swf", "McHolder"); to load it in MC, I can`t see that text, but when I load it in
_level like loadMovieNum ("mySwf.swf", 1);, I can normaly..
simple "loadMovie" SO WHAT CAN BE THE PROBLEM ?
Simple "LoadMovie Into Container" Question...
Hey guys, hope everyone is doing well...
This is really simple to answer, I'm sure, I just can't find any quick and easy answers for this. Also, Im not sure about the terminology...
I have a main flash movie, with a square mc called "container" 150px x 150px
When this loads, i just want another external .swf file (the same dimensions, called "block") to load into "container" mc, without the need to click on a button first...
Thats it...nothing else fancy...
This is the code I have on "container" :
Code:
onClipEvent (load) {
container.loadMovie("block.swf");
}
Can anyone help?
How To Loadmovie The Place Iwant? I Have Loadmovie But It Just Take All The Screen
i load a swf and it just take all the space
and my buttoms and others are all been covered
here is how i do it
onClipEvent (enterFrame) {
ifFrameLoaded (1) {
loadMovieNum ("first.swf", 0);
}
}
i put this in the layer called middle where i have put a instance of a w700 h270 movieclip so i can try to loadmovie the same size of it but it just failed
did i miss anything else? i know i did
please tell me~~~~~~~~~~~~~~~~~~~~~
|