I Need Load A Animed Gif In.....I Try LoadMovie...
I need load a animed gif in flash in execution time. I try loadMovie of movieclip but has error.
Somebody can help?
sorry my English
Gustavo Brazilian
Ultrashock Forums > Flash > ActionScript
Posted on: 2005-01-03
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Load Gif Animed In Execution Time
I need load a animed gif in flash in execution time.
I try loadMovie of movieclip but has error.
Somebody can help?
sorry my English
Gustavo
Brazilian
Pre-Load With LoadMovie
Can a pre-loader be used when waiting for an external .swf to load from a button or frame action through the loadMovie command? As they seem to all have to be in the same frame I don't see hoiw it can be done?
Load % In A Loadmovie
I have this movie called MAIN.swf and then I try to load another movie into that one,, lets call that one welcome.swf
on the first fram in welcome I have this:
percent= Math.floor(_root.getBytesLoaded()/_root.getBytesTotal()*100);
output = percent + "%";
on the second frame I have this:
if(percent==100){
gotoAndPlay(10);
}
else{
gotoAndPlay(1);
}
It doesnt work and I could sure use some help on this one.
Using LoadMovie To Load In Jpg's
hey guys,
i'm stuck with adding new features to some old code for a client.
when the jpg's are loaded into the movie, the onClipEvent(data) are satisfied and it goes the next frame:code: loadMovie(_root.whatQuestion, _root.question_mc);
loadMovie(_root.whatAnswer, _root.answer_mc);
so the jpg's are loaded into question_mc, and answer_mc. now the client wants the jpg's all to be the same size and have white backgrounds!! (the jpg's being loaded in are all completely different shapes & sizes). i tried putting a white background in the question_mc, but when you load something into movieClip it erases anything in there. i'm stuck.
question is: how can i put a white background into a movieClip, and then load a jpeg on top of it??
if you have any idea please let me know
thanks
- monkeybrainz
LoadMovie Won't Load My .gif?
Code:
var colorBox:Array = new Array();
var i:Number = 0;
colorBox[0] = "images/0.gif";
colorBox[1] = "images/1.gif";
colorBox[2] = "images/2.gif";
colorBox[3] = "images/3.gif";
colorBox[4] = "images/4.gif";
loadMovie(colorBox[i], imageHolder);
mcButtonNext.onRelease = function():Void {
i++
if(i == colorBox.length) {
i = 0;
}
loadMovie(colorBox[i], imageHolder);
};
Here the code I have so far. imageHolder is a blank movieclip. What am I doing wrong here, I can't get the first .gif to even load
Load Jpg With LoadMovie
Hi I now this shouldn´t be hard but it won´t work properly for mie (n00b).
I´m trying to load a external jpg into a MC calld holder. In the first frame I use following code
ActionScript Code:
loadMovie("test.jpg", holder);
Now the pic loads just fine but the rest of the layout dissapears? I´ve tried to load it in a diffrent level but then I can´t use Target in the code ( or can I?).
Please give me an hand with this...
Thx
PS attaching the fla
Using Loadmovie: Load Swf In Swf In Another Swf
Greetings all, I'm having a problem with the loadMovie function. I have an .swf that loads 10 other .swf's in it. All together this is one page that shows 10 different models of seats and everything works. Now i want to load this, let's call it "seatpicker" to load when i click in the main site on a button called models. The code i used on the button is:
_______
on(release) {
_root.load_mc.loadMovie("index.swf");
}
_______
i made a movieclip with the instance name load_mc and the seatpicker is called index.
When i run the main site and i click on the models button, it doesn't work... Has this something to do with my referral to _root or something? Perhaps its confused with the _root of the other .swfs? Anybody any idea of how to solve this problem? Thanks you all for your replys!
LoadMovie Function Does Not Always Load
Hi, I've set up an array with flash file names in it, and a button to load the flash file using .loadMovie to an instance of movie clip on stage. The problem is that the button doesn't always load the flash into the instance correctly and, when it doesn't it destroy the old movie and went blank onthe instance. No more flash can be load on the instance after that. This usually happen when I click on the "Next" or "Previous" button to quickly. Will adding a pre-loader in the instance be the way to avoid it? Anybody
Load Scene 2 When Using LoadMovie
I would like to load a new movie from my current movie using the loadMovie action, however, I want to load Scene 2. How is this done?
OnClipEvent(load) And LoadMovie ?
Hi,
I bought your book "ATDG" and I can't find explanations on that :
Action script on a movieclip (named "cliptest") :
- 1st case :
onClipEvent (load) {
this.loadVariables("toto.txt");
trace("output1="+this._name);
}
onClipEvent (data) {
trace("ouput2="+this._name);
}
Output :
output1=cliptest
output2=cliptest
Which is quite normal.
2nd case :
onClipEvent (load) {
this.loadMovie("toto.swf");
trace("output1="+this._name);
}
onClipEvent (data) {
trace("output2="+this._name);
}
Output :
output1=cliptest
output1=
output2=
Which I can't understand !
Is there any explanation ?
Thanks (and sorry to bother you, but nobody can explain).
[help]: Using LoadMovie To Load *.jpg Image
I am trying to load some jpg files on my flash, but some how the size doesn't come out right. I have no clue what's going on..
In simple terms:
----------------
1. First I created a box with Name "square", scale 50%
2. I use Actionscript to load the image to the box:
loadMovie("http://blah.blah.com/image/"+ImageFile, "square");
3. I also create a "next" button that change the variable "ImageFile" to point to another image.
The problem is:
---------------
- All images are same size 640x480.
- When they load to the square they should all be scaled to 50%, since the box has been scaled.
- But some of the picture, when displayed, did not scaled to 50%. So it appeared "outside the box".
- I have triple-checked the sizes for the .jpg files.
- I have also tested it locally and it works (i.e. instead of using http://.., i used local directory)
Question:
---------
1. Is it because when loading picture from URL, it's better to pre-load? or else it won't show up right?
2. Or is there something wrong with my way of using loadMovie?
Any help is apprecaited! thx!!
Trying To Use Loadmovie To Load Swf's And Then Fade Out
So I have a bunch of SWF files I created in Wildform swfx and I want to string them all together. They are all text effects. My questions are...
1) How do I load the first text .swf and then fade it out to make room for the next .swf text effect to load?
2) How do I load and unload movies?
3) How do I loop a sound underneath everything that is going on?
Regards,
Rob
Load External JPG As In LoadMovie() ?
Hi,
Is it possible to load external JPG (GIF, PNG, whatever) like you load a external swf?
as LoadMovie()?
How does this work?
thankx in advance,
Genius
LoadMovie: Swf's Load Slowly?
Right now I'm loading external swf's using the loadMovie command and it works fine. The only problem is the "lagtime" in loading the movie. Should I load these into the main movie off the stage so that they are already loaded? If I do this they already start to play so it doesn't seem like the right answer to preload these swf's. What is the best way to load swf's without that pause time? Thanks
Loadmovie Or Load Movieclip? Or Something Else
Hi,
I have a movie, which will have about 50 buttons in it each, each to load an image into a space on the stage.
Do i have to make each image (photograph) into an independent movie (swf) to use the load movie action into a placeholder, or can i load movieclips within the movie into a named placeholder.
All my inages are diferent sizes, although all will fit on the stage. Can a named placeholder load movies/movieclips or even images of different sizes into it?
I will be extremely grateful for any advice or input.
Thanks,
Cesca
Another Way To Load Pictures Other Than LoadMovie?
I am using LoadMovie to load pictures like this:
<as>
on(rollOver){
MainJewel.loadMovie("photos/interface/Circle_2004.jpg");
}
</as>
My intent is to create the illusion that the same image is just changing slightly, but it take a split second to load, causing it to flash, which breaks the illusion.
Is there a more efficient way to do this?
Thanks
LoadMovie Into MC? Load From Txt File?
Hi there. I need some help. I'm trying to accomplish a very distinct feat of Flashery.
1) I want a Movie Clip to load a JPG from a URL. (Sounds easy, right?)
I'm not new to Flash but it's been a while. I'm using Flash MX and the tutorial that I've looked up isn't working. I've created a movie clip. I've placed it on the stage. I've named the instance. I've done Actions --> Objects --> Movies --> MovieClips --> LoadMovie and then pointed to the URL. Doesn't work.
Any suggestions? Do I need to target the instance of the MC? (The instance is named jpg1, if that helps.) Ultimately, there will be a dozen or so of these MCs on the stage, all calling images from the server.
Any and all help is appreciated. Thank you!
If LoadMovie Then Load Movie
I am building a flash game. The user has to get five "parts" correct before they win the game.
Right now every time a "round" is answered correctly a loadMovie comes up on a new level in flash.
When the user is done completing all 6 rounds (they can complete them in any order) all the seperate .swfs are loaded and working great.
**The problem is I need to tell the user they have won the game.
So Im trying to put a command in that says "if all the movies are loaded, then load the "youwon.swf"
Here is the code I tried (i know it is wrong...im new to this sorry!):
if
(loadMovieNum("round1complete.swf", 2)) and
(loadMovieNum("round2complete.swf", 3)) and
(loadMovieNum("round3complete.swf", 4))and
(loadMovieNum("round4complete.swf", 5)) and
(loadMovieNum("round5complete.swf", 6)) and
(loadMovieNum("round6complete.swf", 7)))
{
loadMovieNum("Winner.swf", 8);
}
LoadMovie = Load Out Of The Subfolder
This is probably really obvious, but I'm a bit stuck. I've got a menu which opens a file in a folder:
loadMovie(A_folder/A_game.swf);
Problem is at the end of the A_game.swf I want a button to navigate back to the Menu, which is outside of the current folder. How do I go about navigating backwards?
eg; loadMovie(_parent/Menu.swf); crude example just for demonstration purposes. I understand this is more of a directory language question than an AS question.
Thanks to anyone who can offer a hand
Load Order With LoadMovie()?
I'm working on a application that needs to load in a bunch of SWFs and play them in order.
The obvious solution is a bunch of loadMovie() calls. Pretty straight forward. My question is whether or not there's any way to influence the order that they're loaded. Will they automatically load in the order that you make the loadMovie() calls? (is this a consistant behavior)
The only reference to load order I can find is the Load order in the publish preferences. Does anyone know if that applies to dynamic loading? I could easily load them into specific depths.
If anyone has any experience with this please let me know. I'm sure some experimentation could yeild some answers, but I'm on a tight deadline and was hoping someone might have already tried to do the same sort of thing.
Thanks
Using LoadMovie To Load SWF Linked To FLV
I am having problems getting a movie (SWF) with an linked FLV file to play when I use loadMovie to load it in.
I have an .FLV file named vid_9.flv. I have embedded it into a Flash movie named vid_9.swf using Flash 8 Professional. I am using "Progressive Download from a Web Server" and no controls. When I play the SWF on the stand-alone player (the FLV is in the same folder) it works great. Now when I call that SWF into another movie using
swfHolder.loadMovie("SWFs/vid_9.swf");
it shows it being completely loaded, but then never plays, all I get is a white screen. This is my second project in a row where this did not work. Any ideas as to why? Thanks for any help.
Loadmovie Doesn't Always Load
I'm using Flash MX on Mac OSX. I've created a website which contains some thumbnail images, which when clicked on goto a frame number which in turn loads an external swf, using loadmovienum.
The external swf's are not all loading when viewed through a browser on a pc, but do all load when viewed on a mac (both IE5.1 and Netscape.). They all load when I "publish preview", but not when I "control-test movie"
They all have jpegs, which are all saved in the same way, all have identical publishing settings, all located in the same folder.... why oh why are some not loading?
any ideas?
thanks.
Load XML In LoadMovie Method
I defined var image which I use for URL to loading content of XML file.
I dont how can I define it to have var image outside of XML_images.onLoad because this woks:
Code:
var XML_images:XML = new XML();
XML_images.ignoreWhite = true;
XML_images.load("xml/castillo_images.xml");
XML_images.onLoad = function(success) {
if (success) {
rootNode = XML_images.firstChild;
var image:Array = new Array();
image[1] = rootNode.childNodes[1].childNodes[0].childNodes[0];
//image[1] = rootNode.childNodes[1].childNodes[0].childNodes[1];
/*trace("XML_images.firstChild = "+this.firstChild);
trace("XML_images.childNodes.length = "+rootNode.childNodes.length);
trace("rootNode.firstChild.firstChild.firstChild = "+rootNode.firstChild.firstChild.firstChild);
*/
trace("rootNode.childNodes[0].childNodes[0].childNodes[0]= "+rootNode.childNodes[0].childNodes[0].childNodes[0]);
createEmptyMovieClip("image_holder", 1000);
image_holder.loadMovie(image[1]);
trace("image = "+image[0]);
} else {
"NOT loaded!";
}
};
AND THIS NOT WORKS:
Code:
var XML_images:XML = new XML();
XML_images.ignoreWhite = true;
XML_images.load("xml/castillo_images.xml");
XML_images.onLoad = function(success) {
if (success) {
rootNode = XML_images.firstChild;
var image:Array = new Array();
image[1] = rootNode.childNodes[1].childNodes[0].childNodes[0];
//image[1] = rootNode.childNodes[1].childNodes[0].childNodes[1];
/*trace("XML_images.firstChild = "+this.firstChild);
trace("XML_images.childNodes.length = "+rootNode.childNodes.length);
trace("rootNode.firstChild.firstChild.firstChild = "+rootNode.firstChild.firstChild.firstChild);
*/
trace("rootNode.childNodes[0].childNodes[0].childNodes[0]= "+rootNode.childNodes[0].childNodes[0].childNodes[0]);
} else {
"NOT loaded!";
}
};
function firstImage() {
createEmptyMovieClip("image_holder", 1000);
image_holder.loadMovie(image[1]);
trace("image = "+image[0]);
}
Loadmovie Doesn't Always Load
I'm using Flash MX on Mac OSX. I've created a website which contains some thumbnail images, which when clicked on goto a frame number which in turn loads an external swf, using loadmovienum.
The external swf's are not all loading when viewed through a browser on a pc, but do all load when viewed on a mac (both IE5.1 and Netscape.). They all load when I "publish preview", but not when I "control-test movie"
They all have jpegs, which are all saved in the same way, all have identical publishing settings, all located in the same folder.... why oh why are some not loading?
any ideas?
thanks.
LoadMovie To Load Jpg Problem
I am using loadMovie to load jpgs.
The results have been inconsistent in different browsers. ie. not all of the jpgs display, the order is mixed up.
Advice??
http://www.amynnasser.com/home-flash.html
Can't Load Png Files Through Loadmovie?
Ok i am currently using flash mx and when i use the loadmovie function to load images any image which is in jpeg format (*.jpg) loads with out any problems
however when i try to load png images (*.png) or gif (*.gif)
nothing shows up..
so i was wondering if anyone has any advice to resolve this..
thanks in advance
LoadMovie To Load External Jpg
hi,
i have tried the following code on both the 1st frame of the main movie and on the movieclip itself, but it doesn't work or gives me a huge image:
mymovieclip.loadMovie("loaded/mulino.jpg");
_root.mymovieclip._width = 200;
_root.mymovieclip._height = 200;
what am i doing wrong...thanks
luzippu
i'm quite new to actionscript
Load JPG's Via LoadMovie Doesn't Work
Im trying to load JPG's via loadMovie("http://mydomain.com/twin.jpg", "_root.myMovieClip");
the .swf is in a diferent domain i think this is the problem
but it works when i tell it to load an other .swf file.
so whats the big deal? i can't load JPG's from a diferent URL?
What i want to do is load this JPG's files every 10Secs because i didn't find the way to make the live stream with liveCam = camera.get();
myCam.attachVideo(liveCam); <--- i know this way only works locally and when u publish the movie it says allow "local" to access blah blah blah.
but i've visited a few sites that says Allow "domain.com" to acces your camera blah blah blah.
http://pilotvideo.com/NewFiles/Compression.html
But if anyone can tell me how i can load the JPG's from URL i'll be pretty happy, thanks in advanced =)
External Jpg Wont Load In LoadMovie
ok someone tell me why
on (rollOver) {
loadMovie("saturn.jpg", "Images");
}
where Images is the name of my movie clip, wont work!
but if i use saturn.swf it works fine.
the image is in the same folder as the swf ive tried images.loadmovie("saturn.jpg") as well as using levels but nothing lets me load a jpg any ideas?????
jamie
Preload Images Load With Loadmovie
I have a loader where I load an image. Because it's a large image (filesize) I want to indicate to the user the percentage of loaded bytes. I use the following code but is doesnt work. any suggestions ??
tnx
code at frame 1
================================================
loader.loadMovieNum('soul.jpg',0)
================================================
code of preloaderMC at frame 2
================================================
onClipEvent (load) {
total = loader.loader.getBytesTotal() + " bytes";
}
onClipEvent (enterFrame) {
percent = parseInt(loader.getBytesLoaded()/loader.getBytesTotal()*100)+"%";
bar._xscale=parseInt(loader.getBytesLoaded()/loader.getBytesTotal()*100)
if (percent == "100%") {
_parent.gotoAndPlay(_currentframe+1);
}
}
I'm Trying To Use Loadmovie Command To Load A Random Swf.
Let's say I have 10 external swfs.
I want one of them to be loaded onto level 2, at random.
How do I do this?
I was told....
randomMovie = "myMovie" + random(9) + 1 + ".swf";
_root.loadMovie(randomMovie);
But, this doesn't work. What am i doing wrong. Also, this looks like it tells the incoming movie to replace the root.....right? I want to load it onto level 2.
Can you help>??
Unable To Load Certain Jpegs Using Loadmovie
I have a weird problem using loadmovie to load jpeg files into flash. For some unknown reason, some jpegs will load into Flash while others will not. As far as I can tell there is nothing to distinguish between the jpegs. Are there different types of JPEGs and if so does flash only load certain types?
Load Buttons With LoadMovie Does Not Work
Hi all,
Well I've spend the last hour and a bit looking at old threads for swonking. Did not find what I was looking for, nevermind here the brain teaser (or not):
I am creating a menu with buttons that I load from an external swf. I copy a mc and then load the button. On my machine it all goes well but when uploaded, sometimes (not always, but that has to do with the server cache I think) only one of the buttons is displayed. Once moving over them they start appearing. So I thought it has to do with loading the swf several times in a very short space. Now I could solve it easily by including the button in my lib, but then I lost my flexibility. Has any of you got an idea of how to solve it. working with getBytesLoaded somehow does not work as it returnes the size of the whole movie instead of the target object. So help me please as I am tearing my hears out and I am bold afterall so it starts hurting
greetingz
Here some code
ActionScript:--------------------------------------------------------------------------------
loadMovie("button2.swf","menu1.menuhead.menuclip_b g");//1st menu. This menu1 is already on stage and is the original to be copied
maxMenus=Number(dat.numMenus) + 1;
xnext=0;
for (j=2;j<=(maxMenus-1);j++){
duplicateMovieClip("menu1","menu"+j,j);//the variables i.e. the swf are not copied with it! need to load these saparate
xpos=getProperty("menu"+(j-1),_x);
ypos=getProperty("menu"+(j-1),_y);//get pos from previous menuclip
ynext=ypos+h1;//h1=height menu
ysoll[j-1]=ynext;
//trace("ysol"+(j-1)+"= "+ ysoll[j-1]);
xnext=xpos+0;
setProperty("menu"+j,_y,ynext);
setProperty("menu"+j,_x,xnext);
loadMovie("button2.swf","menu"+j+".menuhead.menucl ip_bg");
gbt=getBytesTotal("button2.swf");trace("gtb="+gtb) ;
gbl=0;
while (gbl<gbt){gbl=getBytesLoaded("button2.swf"); //this takes the totalbytes of the whole movie not the button2.swf
trace("loading for menu"+j);}
}
--------------------------------------------------------------------------------
The script has to be F5 compatible
ps the button2.swf has only two frames and is 6k big.
Flash Load Images By Loadmovie
Hi.
I can load images into movieclips, i`m using the loadmovie action.
it works. but NOT always...
i think it happens cause the image wasn`t loaded in time.
i tried a infinite loop between two frames that try to load the image in on enterframe of the mc.
Sometimes the image is a small one, so the cause isn`t always the size of the jpg.
the image url is loaded from database trough a variable in a php page that is called in first root frame.
the image is loading after 12 frames (1 second).
how can i do to make the images always be loaded?
thanks.
Using LoadMovie To Load .jpg - Pixel Problem
Hi,
I have noticed by searching on the boards that showing jpeg's is quite a
common problem in Flash. But i never found a answer to my problem. I hope
somebody can help me out.
I am loading jpegs through the loadMovie command. I have to do it this way
because of update purposes. The jpeg's are 70x70 pixels included a 1 pixel
black outline. All the jpegs are loaded in a MC which is created with
createMovieClip. Coordinates are on whole pixels.
<b>Problem</b>
On the right and bottom the outline is gone and added on the top and left side
of the jpeg. How can i fix this?
Any help will be appreciated.
FD
Using LoadMovie To Only Half Load A Movie?
Is there a way to only load frame one of a movie and not the entire thing?
What i am trying to do is: I have a game that externally loads the levels in when you play. But for the user to pick what level you want to play I have to load mini versions of the levels in for the player to preview. I I just want to load the first frame of every one of the levels so people can choose their level without loading the entire movie for each one.
Thanks In advance!
~Chris
Using LoadMovie To Load A Jpeg And Need A Placeholder
Hi all,
Okay, as the title suggests, I am using loadMovie to load a jpeg image from a URL. Now, obviously it going to take a little time for the image to come up so what I need is a simple "loading..." placeholder so that the user knows that something else is on its way.
Basically all I need to know is how do I know when the image is loaded.
Any help would be much appreciated.
Shanan Gough
LoadMovie Sizes Not Working EVEN AFTER LOAD
I've read thru innumerable posts about _height and _width not working after loadMovie. I get it that you have to wait for the movie to load. I have no problem actually resizing the image. What I am trying to do is, after I zoom the picture (which I have done using _xscale/_yscale), I want to be able to drag it around a view area. If you look at http://24.68.1.17/m/Auradev/prototype.html you can see what I'm trying to do, sorta (change the camera to Camera 2, more pictures on there in December 2003).
So, basically, after I load a movie, the stupid thing won't update the _width or _height.
ph is the placeholder clip.
Code:
ph.onEnterFrame = function () {
if (_root.loader.percent > 99)
{
_root.phW = this._width;//Math.ceil(460 * this._xscale / 100);
_root.phH = this._height;//Math.ceil(345 * this._yscale / 100);
}
};
ph.onPress = function() {
startDrag(this, false, 10 - (_root.phW - 460), 95 - (_root.phH - 345), 470 + (_root.phW - 460), 460 + (_root.phH - 345));
};
ph.onRelease = ph.onReleaseOutside = function () {
stopDrag();
};
This doens't work! =( I can't even drag the picture around because the Flash doesn't even recognize that 'ph' is big enough for me to click on. ARGH!
Anyways, any input would be amazing. I'm about to start screaming or something... Thanks in advance!
-Aaron
LoadMovie Wont Load Movie
hello
i have an animation on the stage with an instance of "homebutton". when this movie clip reaches frame 285, i have an empty MC with an instance of "homecontainer". i want to load an external file into this empty MC, but i cant get it too work. the external file is "homepage.swf" and is sitting right next to my "mainsite.swf". i have tried applying this aciton to the frame with the empty MC on:
loadMovie("homepage.swf", "homecontainer");
and
loadMovie("homepage.swf", "_level0.homebutton.homecontainer");
but it loops back and replys the from scratch.
ive also applied this too the actualy MC:
onClipEvent (load) {
loadMovie("homepage.swf", "this");
}
but no luck. what am i doing wrong?
cheers
jh
LoadMovie() Doesnt Load Movie
hey all
i am trying to load in swf into a movie using the loadMovie() method to load a swf into a movie clip.
i named the instance of my movie clip "container"
i am attaching this script to a button on my navigation bar..
on (release) {
//container.loadMovie("overview.swf");
loadMovie("overview.swf", "container");
}
i was using the first line that commented out first but i think they both do the same thing.
this is not loading up the movie. i am not getting an error in the output window...
i have overview.swf in the same folder..
i think the problem is the blank movie clip. i dont know how to make a blank movie clip and set it to take in the movie. how do i change its dimensions etc?? i have a movie clip with nothing in it and an action on the first frame just saying goToAndPlay(1) just to make it loop any help???
Using LoadMovie To Load Quiz Template
You'd think this would be easy but I can't seem to get the quiz template to work when I load it into another movie. I know that the template will work if you load it into the _root level of another movie but if I try to load it into a mc on the _root level...nothing.
I even tried changing the _parent to _root.blank_mc in the quiz component but again nothing. Any thoughts?
Thanks in advance.
How To Load A Series Of SWFs Using Loadmovie
Hi I have a 5 min presentation which is split into 4 different external SWFs. I want to make a loader swf that can load each swf one by one, meaning when swf1 is done playing , swf2 will load & so on. Also when swf4 is done playing it should start playing swf1.
How can I do this using loadmovie? I am really lost as to how can I make the next swf load when a swf is done playing. Thanks in advance for any help.
Loadmovie Doesn't Load Online
Well my friends, I thought this was simple, but I've tried a several times and nothing.
I have a movie clip that loads other movie clips: I do that with a empty movie clip palced in one Parent's movie clip frame and my code in that frame is:
code:
loadmovie("My_other_movie.swf","Empty_movie_instan ce");
stop();
but when I put both swf files in my page just work for one of the swf (the first) and not with the others. It works in my local drive, what happens?
Thank you.
an example here: http://www.jgavalos.com/cv.html
try to press one of the buttons below
LoadMovie To Load Pictures According To Button
Help! I need 3 pictures("img0.jpg","img1.jpg","img2.jpg") to load with one picture assigned to each of the 3 buttons("btn0", "btn1", "btn2"). This is my code so far used to load the pictures
Code:
pix = new Array("img0.jpg", "img1.jpg", "img2.jpg");
for (i=0; i<3; i++) {
_root["btn"+i].onRelease = function() {
_root.picture.loadMovie(pix[i]);
};
}
butwhen I play the .swf, it won't do anything when I click the buttons. Not even an error, but when I take out the "i" variable in this line:
Code:
_root.picture.loadMovie(pix[i]);
with an actual directory, it will work. I am so confused, can someone help?
|