Load Movie Clip Troubles (i Have Several Issues)
hi
as a fairly new flash user, my brain is boggled by actionscript...
i am producing a site that will be made into a projector file & distributed on cd. the meat of it is a video & slide presentation. the videos are talking head sections sandwiching the slides (in other words there's an intro video, then the slides, then a closing video). after much finagling, i got the videos to look decent & show up in the flash site. since they're pretty large, i decided to bring them in as outside swfs within an empty movie clip with the load movie action. so, i plopped an empty clip within my scene (called "emptyclip" and it has the instance name of "loadingmovie"), then i attached the following actionscript to it:
onClipEvent (load) {
loadMovieNum("introedit00.swf", 1);
gotoAndPlay("slides");
}
i loaded it into level 1, since when i loaded it into level 0, nothing showed up of my scene EXCEPT the video. all around it was white, even tho the scene has a background color, logo, header & some navigation buttons!
so, here are my problems:
1. no matter where i place the little circle that indicates "emptyclip," the video plays in the upper left hand corner of the window--covering up other things in the background of the scene. i've tried moving the little circle around all over the place, but there's no change to its placement.
2. i then want the clip to play thru and go on to the slides movie clip (i named the frame label of this section "slides"), which i've placed on the timeline in a keyframe right after the keyframe which contains the first empty movie clip with the video loading into it. how do i do that?
3. finally, i'll need the closing video to be triggered right after the slides play. any suggestions there?
i've been working on this problem for several hours. i've read forums, tutorials, etc. i'm going a wee crazy.
thank you in advance for your help...
FlashKit > Flash Help > Flash MX
Posted on: 08-01-2002, 01:56 PM
View Complete Forum Thread with Replies
Sponsored Links:
Movie Clip Troubles
Here is my setup: play til frame 10(stop) it lands on a movie clip that plays for 5 frames(stop + tell target /one to play). ONE is on the main stage, and now plays..on frame 10 of the main stage since I cant figure out how to load it otherwise...it plays until frame 5 of the movie clip it is and lands on a button. I want this button to restart the whole movie, but when I try, it just restarts the movie clip. How do I set a movie clip end to start the whole movie over?
Also, if I have a movie clip on frame 2...and frame 5 of inside of that movie clip loads back out to an instance, does that instance too have to be on frame 2 of the main clip in order to load? If i put it out on 3, it doesnt even show up anywhere.
Note: I use flash 4 and 5. Not MX.
View Replies !
View Related
Movie Clip Troubles
how do i make a movie clip, i have 3 images each one is a different stage of a person walking, how would i take all 3 of those and turn it into a movie clip of the man walking, looping please help
View Replies !
View Related
Movie Clip Troubles...
Hello again...I'm having some trouble with this script I wrote. For some reason...(and it's probably pretty obvious to someone else) my movie clips named "square" and "square2" won't work...unless their layer is closer to the bottom of the timeline...and vice versa with the "circle" movie clips. All of the squares are on one layer, and all of the circles are on one...should I place them all on a layer together? Why are is only one at a time displaying...?
Code:
loadMovie("stillshots/image4.jpg", "_root.circle");
loadMovie("stillshots/image2.jpg", "_root.circle2");
loadMovie("stillshots/image3.jpg", "_root.circle3");
loadMovie("stillshots/image4.jpg", "_root.circle4");
loadMovie("stillshots/image5.jpg", "_root.circle5");
pic = 1;
pic2 = 1;
max_pic = 10;
//number of pics//
jump = 10;
//jumping of alpha//
i = 0;
i2 = 0;
num = 200;
num2 = 500;
//fade in variable//
z = num;
z2 = num2;
//fade out variable//also speed of changing pics//the smaller the faster//
_root.square._alpha = 0;
_root.square2._alpha = 0;
loadMovie("images/image"+pic+".jpg", "_root.square");
loadMovie("images2/image"+pic+".jpg", "_root.square2");
_root.onEnterFrame = function() {
//fade in//
if (i<num) {
i += jump;
_root.square._alpha = i;
} else {
//fade out redirect//
if (pic == max_pic) {
pic = 0;
}
pic++;
//next pic//
if (z>0) {
//fade out//
z -= jump;
_root.square._alpha = z;
} else if (z == 0) {
loadMovie("images/image"+pic+".jpg", "_root.square");
//next pic load//
//initiate variables//
i = 0;
z = num;
}
}
if (i2<num2) {
i2 += jump;
_root.square2._alpha = i2;
} else {
//fade out redirect//
if (pic2 == max_pic) {
pic2 = 0;
}
pic2++;
//next pic//
if (z2>0) {
//fade out//
z2 -= jump;
_root.square2._alpha = z2;
} else if (z2 == 0) {
loadMovie("images2/image"+pic+".jpg", "_root.square2");
//next pic load//
//initiate variables//
i2 = 0;
z2 = num2;
}
}
};
pics = 1;
pics2 = 6;
pics3 = 11;
pics4 = 17;
max_pics = 22;
//number of pics//
jumps = 10;
//jumping of alpha//
is = 0;
is2 = 0;
is3 = 0;
is4 = 0;
nums = 200;
nums2 = 250;
nums3 = 300;
nums4 = 350;
//fade in variable//
zs = nums;
zs2 = nums2;
zs3 = nums3;
zs4 = nums4;
//fade out variable//also speed of changing pics//the smaller the faster//
_root.small._alpha = 0;
_root.small2._alpha = 0;
_root.small3._alpha = 0;
_root.small4._alpha = 0;
loadMovie("smalls/image"+pics+".jpg", "_root.small");
loadMovie("smalls/image"+pics2+".jpg", "_root.small2");
loadMovie("smalls/image"+pics3+".jpg", "_root.small3");
loadMovie("smalls/image"+pics4+".jpg", "_root.small4");
_root.onEnterFrame = function() {
//fade in//
if (is<nums) {
is += jumps;
_root.small._alpha = is;
} else {
//fade out redirect//
if (pics == max_pics) {
pics = 0;
}
pics++;
//next pic//
if (zs>0) {
//fade out//
zs -= jumps;
_root.small._alpha = zs;
} else if (zs == 0) {
loadMovie("smalls/image"+pics+".jpg", "_root.small");
//next pic load//
//initiate variables//
is = 0;
zs = nums;
}
}
if (is2<nums2) {
is2 += jumps;
_root.small2._alpha = is2;
} else {
//fade out redirect//
if (pics2 == max_pics) {
pics2 = 0;
}
pics2++;
//next pic//
if (zs2>0) {
//fade out//
zs2 -= jumps;
_root.small2._alpha = zs2;
} else if (zs2 == 0) {
loadMovie("smalls/image"+pics2+".jpg", "_root.small2");
//next pic load//
//initiate variables//
is2 = 0;
zs2 = nums2;
}
}
if (is3<nums3) {
is3 += jumps;
_root.small3._alpha = is3;
} else {
//fade out redirect//
if (pics3 == max_pics) {
pics3 = 0;
}
pics3++;
//next pic//
if (zs3>0) {
//fade out//
zs3 -= jumps;
_root.small3._alpha = zs3;
} else if (zs3 == 0) {
loadMovie("smalls/image"+pics3+".jpg", "_root.small3");
//next pic load//
//initiate variables//
is3 = 0;
zs3 = nums3;
}
}
if (is4<nums4) {
is4 += jumps;
_root.small4._alpha = is4;
} else {
//fade out redirect//
if (pics4 == max_pics) {
pics4 = 0;
}
pics4++;
//next pic//
if (zs4>0) {
//fade out//
zs4 -= jumps;
_root.small4._alpha = zs4;
} else if (zs4 == 0) {
loadMovie("smalls/image"+pics4+".jpg", "_root.small4");
//next pic load//
//initiate variables//
is4 = 0;
zs4 = nums4;
}
}
};
View Replies !
View Related
Movie Clip Troubles...
Im building a dropdown menu in MX and i created a clip. I would like to use that same clip 5 times but the buttons inside the change with it? How can I use that same clip 5 times but have the buttons on everyone different? Can someone please help me? Thanks Much!
View Replies !
View Related
Movie Clip Troubles
I'm quite new at scripting and I've encountered something kinda complicated(to me anyway). I am making a website where i have animated characters that are movie clips. I want to be able to load another movie clip upon clicking on them and have it display centered while my animation plays behind it. I want the movie clip to go away when you click away from it all without disturbing the animation behind it(I don't want the anim to skip) The movie clip I want to load has a dynamic text box in it that loads a text file with scroll buttons. I have, surprisingly enough, got the movie clip to load, unfortunatly not in the right location and my scroll buttons no longer work.
I've tried tutorials and searched all over the forums looking for a solution. I've gotten close but still no cigar.
If anyone could offer some help with scripting it would be much appreciated.
this is how I loaded the text
loadVariables("textfile.txt", InstanceName_0);
(I don't know if you need to know that part?)
I put action scripting on the first frame of the movie clip I want to act as a button but it is definately wrong! P.S. I'm using Flash MX
View Replies !
View Related
Movie Clip Troubles
I'm quite new at scripting and I've encountered something kinda complicated(to me anyway). I am making a website where i have animated characters that are movie clips. I want to be able to load another movie clip upon clicking on them and have it display centered while my animation plays behind it. I want the movie clip to go away when you click away from it all without disturbing the animation behind it(I don't want the anim to skip) The movie clip I want to load has a dynamic text box in it that loads a text file with scroll buttons. I have, surprisingly enough, got the movie clip to load, unfortunatly not in the right location and my scroll buttons no longer work.
I've tried tutorials and searched all over the forums looking for a solution. I've gotten close but still no cigar.
If anyone could offer some help with scripting it would be much appreciated.
this is how I loaded the text
loadVariables("textfile.txt", InstanceName_0);
(I don't know if you need to know that part?)
I put action scripting on the first frame of the movie clip I want to act as a button but it is definately wrong! P.S. I'm using Flash MX
View Replies !
View Related
Load Movie Troubles
2 relatively simple questions for the senior members here...
1) How can I define the exact x,y location where a second movie on top of the stage will pop up using the Load Movie action? Right now, Flash is (by default?) setting it up on the top left side of the stage.
2) How can I make that second movie's background transparent so I could see the stage's background?
Thanks for any help everyone, it'll be appreciated!
View Replies !
View Related
Load Movie Troubles
Hello All
I have a problem with loading external swf's into a flash movie. It loads fine but the clip doesn't do what it is supposed to once it is loaded. for example I have a clip that is supposed to play audio once it is loaded into the main movie clip. It loads fine then when I press the play button I can't get sound. This is code I used for the main movie
on (rollOver) {
slider.xMove = button_2._x;
}
on (release) {
_root.createEmptyMovieClip("container", 1);
// Load external SWF
container.loadMovie("lisa.swf", 2);
}
Here is the code fromw the external swf
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
_root.loadBar._width = getPercent*100;
_root.loadText = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {
_root.gotoAndPlay(3);
}
_x=2;
_y=32;
Any help would be appreciated, and thanks in advance.
View Replies !
View Related
Load Movie Troubles
Hello All
I have a problem with loading external swf's into a flash movie. It loads fine but the clip doesn't do what it is supposed to once it is loaded. for example I have a clip that is supposed to play audio once it is loaded into the main movie clip. It loads fine then when I press the play button I can't get sound. This is code I used for the main movie
on (rollOver) {
slider.xMove = button_2._x;
}
on (release) {
_root.createEmptyMovieClip("container", 1);
// Load external SWF
container.loadMovie("lisa.swf", 2);
}
Here is the code fromw the external swf
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
_root.loadBar._width = getPercent*100;
_root.loadText = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {
_root.gotoAndPlay(3);
}
_x=2;
_y=32;
Any help would be appreciated, and thanks in advance.
View Replies !
View Related
Movie Clip Troubles.. Eeps
Hello guys,
I am having this problem with movie clips. Basically, here is the problem.
My flash video works just fine when there is 1 frame, but when I add more than one frame (like to show a second movie clip), it just shows the first frame of each clip.
So when it should show about 80 frames (inside the movie clips), it only shows the first frame of each clip (like if the MCs were graphic symbols)... which is not what I am aiming for but could also start seizures if I had epilepsy.
What I have been forced to do is end up making the "movie clip frame" the actual size of the movie clip (in this example, 40 frames). All my MCs are acting as if they are graphic symbols.
It is really annoying though, since my flash book says that MCs are supposed to be timeline independent, and I shouldnt be having these problems.
Your help is very much appreciated, and I thank you very much.
-Jayson
View Replies !
View Related
LoadVars, Load Movie Troubles
I dont know how best to phrase this, but ill try cause i have been trying to fix it all day long.
I have a flash movie, and when its loaded another smaller flash movie is loaded into that( a guestbook).
This guestbook loads a variable in from a php script, status.
It will work fine on its on, but when i embed the movie into another movie it doesnt get the variable from the script.
attached are the files, changed the .php file to a .txt file
Please someone help me on this one
View Replies !
View Related
Movie Clip Buttons To Scene Troubles
Hi
I have made a drop down menu as a movie clip, and want the buttons on the drop down menu to jump to their respective scenes. The trouble is that when I have dragged the drop down movieclip onto the main stage in scene 1 and test the movie, The buttons (once pressed) do not jump to their scene.
Is there a way round this?
thanks
Mr Casso
View Replies !
View Related
Scripting Troubles For A Scrolling Movie Clip
Hey guys, I'm new to this flash scripting thing so hopefully someone can help me out here.
I'm using this movie clip to display text and a picture in a scrolling text box underneath a mask. This scrolling movie clip is controlled by an up and down button I created on the right side. When I publish this in .swf by itself, it works fine.
The problem I'm having is this page it is being used in is being called by a main page. My main page has a blank movie clip that calls in my page with the scrolling movie clip. When I hit the button to bring in the page with the scrolling movie clip, the page shows up, but the arrows dont work to scroll the text and picture the way it should. Instead it will only go down 1 line and back up 1 line with the text and the picture doesn't move at all. I've tried changing the path using a _parent and also a _parent._parent but nothing seems to work.
If anyone can help me that'd be awesome, and sorry for the long post.
- Mike
View Replies !
View Related
Load/unload Movie (levels) Troubles
i'm trying to figure out the load/unload movie action tute
I cant figure out any of it.
the biggest thing is, where to my movies actually need to reside, - are these separate flash movies, not just separate movie clips, or separate scenes.
i understand how to get them to load unload, as it the button on release stuff, but i cant figure out levels,
please help (please with detail-i've read and searched and haven't found a clear answer yet)
THANK YOU!!!!!!!!
View Replies !
View Related
[MX04] Load Movie Clip...wait...load Another Movie Clip
ok...i'd like to do this all in actionscript if possible...on one frame.
one character (headshot). at timed intervals, the character would do something different...repeat.
[code]function antics() {
mc_Antics.start(0,0);
clearInterval(anticstime);
}
anticstime= setInterval(antics, 1000);
function antics2() {
mc_Antics2.start(0,0);
clearInterval(anticstime2);
}
anticstime2= setInterval(antics2, 2000);[code]
I don't know actionscript well at all, so is this just stupid? Any ideas on how to do this? It's not working right now...
View Replies !
View Related
Code 4 MovieClip Button To Load A Movie Clip Into A Placeholder Movie Clip.
Yeah that title sounds a little confusing...so i will explain:
Is there a way to tell a "movie clip button" that once it is clicked on to load a "movie clip" into a "movie clip placeholder". So instead of loading an external swf into the placeholder, it will be a movie clip from within the same library. Putting every single custom clip on the timeline would take a while, so that is why I thought it would be easier like this, and the other movie clips are not that large that I want to load into it so there is no need for external swfs, trying to keep it clean. Here is the code along the lines I am trying to go for.
__________________________________________
this.profile_mc.onRelease = function() {
placeholder_mc.loadMovie("profileSection_mc","plac eholder_mc","_root.content");
}
__________________________________________
- "profile_mc is the button I am trying to activate to load the
"profileSection_mc" into the "placeholder_mc". but so far no good.
- the movie clips are within the same library, not on the timeline or external library.
- Is this possible?
View Replies !
View Related
Movie Clip Issues
I'm trying to make a movie Clip play with just the movieClip.play(); when I run it, it won't play. It only works with movieClip.gotoAndPlay("something"); that works. I'm still trying to understand the basics of proper targetting with AS3, which seems more complicated than AS1 & 2
View Replies !
View Related
Load An Internal Movie Clip To An Empty Movie Clip On The Stage
Can any of you shed some light as to why this is not working:
on (release) {
emptyMC.attachMovie("mrimc","instance1",this.getNe xtHighestDepth());
}
what I want to have happen is when the user clicks a button it loads the mirmc into emptyMC on the stage.
I have double checked that my empty movie clip does indeed have an instance name of emptyMC and that the movie I want to load into does in fact have the name mrimc in the library. Any ideas?
View Replies !
View Related
Load Movie Issues
Hi all,
I am having problems loading a movie onto the main timelime as it plays. I want to load two external movies. One is a music movie that already loads and works fine, but for some reason I cannot get the other movie to automatically load. Is there some sort of bug in Flash that doesnt let 2 movies automatically load in the originating timeline. The funny thing too, is when I refresh the movie in the browser...it loads fine? I cant figure it out. I have tried like 3 or 4 different ways of doing it but it still wont load. Any help or insight or ides would be appreciated. Thanks in advance for any help.
-Bob
View Replies !
View Related
Load Movie Issues
I have a movie that has dynamic text. It works fine when I test that movie, but when I load that movie into another, the dynamic text is missing.
I know this is a very general question, but is there a major concept I am missing about dynamic text and loading movies into other movies?
gamist
View Replies !
View Related
Load Movie Issues
So I've but in load movie for each button on the site to bring up content, etc. when you click on it it over laps the main .swf
Ex. The About Us - button is a loadmovie to load over the .swf so you can read about us. Etc.
But the about us .swf loadmovie is on layer 5 so you if you click another button you cant because they are in loadmovie layers 2-4 and the about us over laps them.
What actionscript would I use to takecare of this problem.
Would it be a: GotoAndStop or Play code?
This is the basic of what each movie has the actionscript as pluging in the proper name and layer number of course.
on (release) {
loadMovieNum("ContactESV3.swf", 1);
}
Thanks for your time.
JT
View Replies !
View Related
[MX] Load Movie Issues
Hi I have a couple of load Movie Issues which I would appreaciate help with!!
1.If I had a Symbol called A that was a 50*50 Cube in width and height and Red in color and I wanted to load another movie into it whilst still retaining its attributes,is this possible.Basically I want the new movie to appear inside the red cube BUT NOT REPLACE IT.I have tried to do it and can not find a way.All that happens is that the new movie replaces the od. do not want that. I want
the new film to appear inside the read cube as part of its background.
2.I am tring to load 5 seperate .swfs into a movie by using a for loop.
Can anyone give me the basic structure
alan
View Replies !
View Related
Load Movie Issues
Ok I am having a serious forgetful spell...
Im am loading a movie into the main swf
The man question is how do i control button swf loaded into the main swf
how can it goto play the next frame on a load movie
View Replies !
View Related
Issues Reversing A Movie Clip ... Help Me.
I know this cant be too difficult: help me?
I know how to reverse a movie clip with not Problem. But here is my problem:
Lets say I have two buttons ok: HOME, ABOUT
Lets say I click, HOME. A screen Zooms IN.
NOw I want to Click ABOUT button.
When I click AbOUT, I want the HOME MOVIE to REVERSE and the ABOUT MOVIE TO ZOOM IN..
I TRied it, But How do I SEt Which plays first. it works, But it all Plays at the same time. i WANT whats every opened to REverse First Then PLay what I Pressed.
CAn anyone help me.
If you need a better explanation, Please email me at elpolo125@aol.com.
View Replies !
View Related
Movie Clip As Button Issues
Fustrated with FLASH. I'm gonna ****ing explode! I hate this ****. Why can't something so ****ing simple work?
2 problems!!! 2!!!!!!
1st Problem) I have 2 groups of words on the same layer. When I play the masked animation, only 1 group of words actually show the animation. The other just sits there.. As if nothing happens.
2nd Problem) I have a movie clip. I want to use it as a button so that when I press the button it goes to a new scene, but also when I have the mouse over it, it plays the animation in the movie clip. I have done so many different approaches to this. I have tried to do it from the outside _root timeline with the following:
Yellow_Square.onPress = function () {
gotoAndPlay("Scene 2", 1);
};
Yellow_Square.onRollOver = function() {
gotoAndPlay("Yellow Square", 2);
};
Also I have tried to make a button inside the movie clip to do the same things. In the movie clip I had:
on(press){
gotoAndPlay("Scene 2", 1);
}
on(rollOver){
gotoAndPlay(2);
}
both which are NOT working.
If you can help me please IM me on AIM my sn is
DuyKatoMon
I'm so fustrated and confused. It should be fairly simple, but I don't understand why it's not working. Something I overlooked?
View Replies !
View Related
Project Help (Movie Clip Issues)
okay, i asked for help on this paticular project last week, and got some good info. the thing is, i kind of did things, well, wrong. Basically, what I am trying to do is whenever i press a "thumbnail" movie clip which i have arrranged in a nice little sliding thing, is to have it pull up a related movie clip (basically, a big version of the thumb) above it (maybe put it in a sort of blank container clip i would keep on the screen)and I need some help making that happen.
it's just that I am completely inept when it comes to action script. The textbook we use is horrible, and i sort of forgot to pay attention in class most of the time, so I need serious help.
I have included a few print screens that show visually what I want to happen on the stage. thanks in advance for any help given
View Replies !
View Related
[MX04]movie Clip Issues
hello
I have put a movieclip in scene1 and animated it, I want to export the file as a quicktime but when I do this it only shows me the first frame of the movieclip.
In scene1 I thought if I convert the movieclip animation to keyframes, instead of a tween it would fix the issue , but it didnt work.
any ideas?
View Replies !
View Related
[F8] - Issues With _x Prop For Movie Clip
Ok, so I have a cursor icon in a movie clip. I place it on the stage at an X position of lets say 25. I then call a function based on a keyboard press that says move the cursor. So something like
function moveCursor(){
if(cursor_mc._x==25){
cursor_mc._x=35
}
}
The problem is it won't pick up on 25. If I save >=25 it works. When I do a trace it says it is 25.
Is there a better way to get that value? Thanks.
View Replies !
View Related
Movie Clip Depth Issues...
I have 8 movie clips that are in a row that have instance names. When you rollover them they enlarge and overlap each other. Problem is I always want the rollover one to be in front of all the others. Arranging the layers will do nothing but just put that one clip on top of the other. I am very unaware of how these need to be set up on an actionscript end of things. Can someone help??? I am very newbie to the AS here...
View Replies !
View Related
CreateTextField On Top Of Movie Clip Issues
Hi,
sorry if this is a bit of a noobish question but I am having problems creating a text field on top of a MovieClip object using only Actionscript.
I am using a MovieClip to display an image as a background; and then I want to put a textfield on top of that.
When the image is not loaded the textfield displays fine; however if I set the background before creating the textfield the text does not show up.
I have checked the Depth values for both the textfield and background and text.depth > background.depth
Does anyone have ideas on what else could be causing this to happen?
TIA
View Replies !
View Related
Movie Clip Orientation Issues.
Hi im very new to actionscript. About a week. I made a pac man movieclip, that moves left when you hit the left arrow, down when you hit the down arrow, etc..... The movie clip also orientates itself so pacmans mouth is facing the direction you are moving.
I'm having a problem with the movie clip when you hit the left arrow then down, the mouth goes up, and when you hit the left arrow then up mouth goes down..
This only happens after you hit right, then left, and only occurs when the face is facing left. All the other directions work fine... if that makes sense. Heres the code:
Code:
onClipEvent (load) {
x = this._x;
y = this._y;
resetRotation = this._rotation;
speed = 5;
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.LEFT)) {
this._rotation = resetRotation;
this._xscale = 100;
x -= speed;
}
if (Key.isDown(Key.RIGHT)) {
this._rotation = resetRotation;
this._xscale = -100;
rightActive = true;
x += speed;
}
if (Key.isDown(Key.UP)) {
y -= speed;
if (rightActive == true) {
this._rotation = -90;
} else {
this._rotation = 90;
}
}
if (Key.isDown(Key.DOWN)) {
y += speed;
if (rightActive == true) {
this._rotation = 90;
} else {
this._rotation = -90;
}
}
this._x = x;
this._y = y;
}
CLICK TO VIEW THE MOVIE
Heres the link to swf so you can test the video. Click Right then up down, then Left and up and down.. See what happens?
Thanks
View Replies !
View Related
Importing A Movie Clip. Having Some Issues
I am making a flash movie that has buttons on it. i have the buttons set to load an external movie clip. the clip that i am loading has animations on it and it plays fine, but when i navigate to that movie clip by clicking on the corresponding button everything turns white expect for the black colors on some strokes and text in the animation. the animation is the only thing that is now on the screen, the buttons are gone and the background colors are gone as well. i have other buttons that navigate the exact same way but i have no troubles with them, only this one button. does anybody know what is going wrong? If you have any input, i am pretty new to flash so if you have any explanations i would really appreciate it if you could step me through. thanks!
View Replies !
View Related
Movie Clip Loader Issues
EDIT: SOLVED.
I've got some pretty strange looking code here... but for some reason my movie doesn't load anything at all. I don't get any errors at all, but it just doesn't load. I think it might have something to do with the MCL stuff, but you tell me.
Code:
var var_service = random(8)
var lock = "off";
mov_mcl = new MovieClipLoader();
mov_list = new Object();
pic_mcl = new MovieClipLoader();
pic_list = new Object();
//function listing:
function phase2() {
mov_mcl.loadClip("index_1_play.swf","_parent.container_mc")
clearInterval( phase2_var )
trace("running phase2");
}
function delaySwap() {
whiteflash.gotoAndPlay(2)
loadNext()
clearInterval( delaySwap_var )
trace("running the delaySwap function");
}
function loadNext() {
++var_service
if(var_service >= 8) {
var_service = 0
}
pic_mcl.loadClip("random-index/"+var_service+".jpg","pic1_load")
}
//load completes:
mov_list.onLoadComplete = function() {
_parent.container_mc.gotoAndPlay(2);
}
pic_list.onLoadComplete = function() {
if(lock == "off"){
gotoAndPlay(2);
phase2_var = setInterval(phase2, 1000)
lock = "on";
}
delaySwap_var = setInterval(delaySwap, 6000)
whiteflash.gotoAndPlay(11);
}
// starts off the whole thing:
pic_mcl.loadClip("random-index/"+var_service+".jpg","pic1_load")
//listeners
pic_mcl.addListener(pic_list);
mov_mcl.addListener(mov_list);
stop();
View Replies !
View Related
Movie Clip Loader Issues
EDIT: SOLVED.
I've got some pretty strange looking code here... but for some reason my movie doesn't load anything at all. I don't get any errors at all, but it just doesn't load. I think it might have something to do with the MCL stuff, but you tell me.
Code:
var var_service = random(8)
var lock = "off";
mov_mcl = new MovieClipLoader();
mov_list = new Object();
pic_mcl = new MovieClipLoader();
pic_list = new Object();
//function listing:
function phase2() {
mov_mcl.loadClip("index_1_play.swf","_parent.container_mc")
clearInterval( phase2_var )
trace("running phase2");
}
function delaySwap() {
whiteflash.gotoAndPlay(2)
loadNext()
clearInterval( delaySwap_var )
trace("running the delaySwap function");
}
function loadNext() {
++var_service
if(var_service >= 8) {
var_service = 0
}
pic_mcl.loadClip("random-index/"+var_service+".jpg","pic1_load")
}
//load completes:
mov_list.onLoadComplete = function() {
_parent.container_mc.gotoAndPlay(2);
}
pic_list.onLoadComplete = function() {
if(lock == "off"){
gotoAndPlay(2);
phase2_var = setInterval(phase2, 1000)
lock = "on";
}
delaySwap_var = setInterval(delaySwap, 6000)
whiteflash.gotoAndPlay(11);
}
// starts off the whole thing:
pic_mcl.loadClip("random-index/"+var_service+".jpg","pic1_load")
//listeners
pic_mcl.addListener(pic_list);
mov_mcl.addListener(mov_list);
stop();
View Replies !
View Related
Linkage And Movie Load Issues
I have a movie with a basic "loading..." animation at the beginning. However, I also have linked audio files (I have linked them in order to control them - start, stop, volume).
The problem is, with those sounds linked, the "loading" animation doesn't show up on the screen until the 80-90% of the entire movie is loaded.
If I unlink them and drag them to the stage (which diminishes the level of control I have over their playback), the "loading" animation pops up immediately.
Is this a known problem? Is there a workaround? Any help is greatly appreciated!!!
View Replies !
View Related
Load Movie Finishing Issues
ok I got the movie to go on the top layer, but my problem now is that when I use the symbol for the top left corner, it doesnt work. it instead just uses up almost the entire screen!
Does anyone have any ideas. The Kirupa site doesnt say anything about this
View Replies !
View Related
Button Load Movie Issues
I have 5 buttons for my navigation on my main "page"
Each button is contained inside it's own mc. I have it set up so that on roll over the button goes through my animations w/ in it's mc.
Here's the thing. I also want that button (w/ in) the movie clip to load or unload .swf mc's to the main scene using a "holder" mc.
I can load or unload movies w/ in the mc buttions using unloadNum (1) etc etc. However I prefer to load to a holder clip.
I hope I am being clear enough.
I am attaching the .fla.. Ideally that will help
Thank you in advance for any help..
View Replies !
View Related
MX Perspective & Load Movie Issues
I am trying to create a starfield effect. I have gone through the tutorials here and elsewhere and come so far. I am attaching the fla file along with the code.
The motion as you can see is jerky. Cant figure out what am i doing wrong. I had a look at every conceivable stuff available. The catch in my problem (i think) is that the starting point is inside the screen which emulates the perspective effect. Other stuff like snow flakes ,etc are 2D effects and can start of out side the screen.
I tried to set _alpha = 0 at the duplication point and then make it brighther as it enlarges but still of no use.
I created the duplication process into a function and tried to call it through the onenterframe event handler of the instance star - but that was horrible. felt like my televeision screen gone bad.
isnt there a way that I can check at the star coordinates and set it to its original position if it goes beyond the screen limits. I tried to add that code earlier but it wouldnt work. I guess i must have been using the wrong conditions.
sigh!
Another thing. I am trying to load this swf into a main movie using the following script:
ActionScript:--------------------------------------------------------------------------------
loadMovie("starfield.swf",_root.movies);
movies._x = 227;
movies._y = 145;
movies._width = 250;
movies._height = 245;
--------------------------------------------------------------------------------
However the the stars in the child movie do not respect the width and height restrictions. So I have those stars running all around the place in the main movie. Is there a way to curtail these stars besides using a mask (actually havent tried the mask so far, but i am assuming it would work)
View Replies !
View Related
Movie Clip Control, Navigation Issues
navigation control question (help please)
Hello, i'm having trouble with multi button controled movieclip, I'm trying to make a rollover activated animation ( i think it is 40 frames) and the animation will play, then stop at a predetermined location, when you roll "out" of that button the movie clip should play back to the original(start) position. but if you roll over another button, it will move to position... and react the same with each buttons.
I uploaded a fla for a more comprhensive explanation, considering i've been working for the past 15 hours, my englis idn't whud id wons wus.
http//:www.exactpixel.com/rolling_over.fla
i've tried a few different ways to imitate this, but each has pissed me off and i have to have a working demo by friday, otherwise i'd take my time and try a few more methods but i still have the rest of the damn thing to put together, tons of animations.... blah
oh yeah, thank you all.
View Replies !
View Related
Issues With Calling Sounds In A Movie Clip
Ok, Heres the nuts and bolts of it
i am currently working on a game that has sounds working fine in them when i attach them using actionscript, but the nature of the sounds and my own personal vedetta against wasting cpu cycles has put me into a position where i took a bunch of sounds and put them into a movie clip, that way i could tell if a certian sound is playing via which frame it is in..sounds simple correct..
one of my issues deals with calling the score of the game, the score can be love, 15, 30, 40, adv, - , or deuce
the score is computed when someone scores a point and then it calls this
_root.Sounds.gotoAndPlay("Pre-Score"+math.ceil(math.random()*2));
so, from this you can tell that i have a movie clip called Sounds on the stage, and that it has a label called Pre-Score1 or Pre-Score2. This is not the problem, it will play the sound located in either label that it needs to play at the end of the sound, in a keyframe will encounter this
// at the end of this saying we want to go to the player who's serving's score
_root.playScore = 1
if(_root["player"+_root.playerServer].score == "deuce" || _root["player"+_root.playerServer].score == " - " || _root["player"+_root.playerServer].score == "adv"){
if(_root["player"+_root.playerServer].score == "deuce"){
randomnum = math.ceil(math.random() * 3);
_root.Sounds.gotoAndPlay(String(_root["player"+_root.playerServer].Score)+ randomnum);
}
_root.playScore = 0
}else{
_root.Sounds.gotoAndPlay(String(_root["player"+_root.playerServer].Score));
}
this declares a varible for wether or not the score has been completely played yet, then asks if it is any of these conditions, which it skips over when needed, the big problem is encountered here
}else{
_root.Sounds.gotoAndPlay(String(_root["player"+_root.playerServer].Score));
}
i'm trying for the script to go and play the label in which relies to the score
all the labels in the Sound Movie clip are correctly spelled, and it seems that it is always taking the arguement for gotoAndPlay to be a frame number...i have no clue why
if you can understand any of this and might have an answer, feel free to reply, thanks in advance
any clarification will be given upon request
View Replies !
View Related
Text Scrollbar/Movie Clip Issues
I have created a movie clip which features a text box and scrollbar. This works fine.
But when I have this movie clip (swf) opening within another flash document the scrollbar doesnt work...the rest of the movie clip works fine (and the mouse recognizes the scrollbar buttons), but the scrollbar won't scroll.
any suggestions??
View Replies !
View Related
Movie Clip Rollover Issues...frustrated :(
I have what I thought would be a simple issue to solve, but nothing I've tried has worked the way I want it to. Any help would be appreciated.
I have a movie clip I've assigned to be invisible when you rollover it. So on the MC I have:
on(rollOver){
this._alpha=0;
}
on(rollOut){
this._alpha=100
}
[sidenote: I've heard that ._visible is less processor intensive, but for some reason _visible set to true and false didn't work, it resulted in my MC flashing whenever i rolled over it...?? Can somebody tell me why?]
So that works fine. And then I have the MC as a link to another part of my flash file:
on(release){
_root.gotoAndPlay("frameLabel")
}
Which also works fine. And in this way I've set up a website, with each page of my site on a frame on the root timeline and given a frame label, and these MC's as links to all the pages. However, when you transition from one page to another, I've animated the movie clips to a different position. Which means when a new page opens, if your mouse happens to be over one of the movie clips, it's invisible to start with because of the rollover function I've applied to it. This, I DON'T want. I want the MC to be visible when the page is loaded, and THEN when the user rolls over it, for it to disappear.
Basically, I'm asking: Is there a way I can specify to Flash a difference between 'the action of rolling over" as opposed to "the mouse is already rolled over it to begin with"....or....can I have the rollover "disabled" until the user first moves the mouse?
My simple (attempted) solution:
I discarded the alpha actions assigned to my MC, and inside my MC itself I just created an "on" state in one frame (where alpha=100) and an "off" state in the second frame(where alpha=0).
Then in the hopes of having the MC be visible when it loads, regardless of where the mouse is, I put the code on the MC that says:
onClipEvent (load) {
gotoAndPlay("on");
}
on (rollOver) {
gotoAndPlay("off");
}
on (rollOut) {
gotoAndPlay("on");
}
but this didn't seem to work. I've tried variations of the above, using onClipEvent (enterFrame), using gotoAndStop, using frame numbers instead of labels......no dice.
What I ended up doing was just having about 5 frames for the "on" state, but this creates more problems (doesn't work at all if there is a stop action at the end of the "on" frames; and any subsequent rollover will be "on" for five frames before it goes to the "off" state, to name a couple). If it is AT ALL possible, I would rather have it a function of the user first moving the mouse, or Flash tracking the rollovers, instead of it being based on the frames themselves.
Am I missing something fundamental? I'm still fairly new to actionscripting, and knowing the most efficient ways to go about doing things.
Please.....help if you can... I can't attach my file, (even a modified, partial version) b/c it's too large.
View Replies !
View Related
Project Help (Movie Clip Resizing Issues)
ok, basically what i need to do is take these little thumbnail images and be able to make them grow to normal size whenever the mouse rolls over it and then go back to a thumbnail when i press the mouse, making a sort of interactive slideshowesque thing.
the problem is, I have tried every action script I can to do this, and nothing is working. I don't know if there is something wrong with my approach itself, or if it's something I'm forgetting but the scripts don't work.
if anyone has any tps on how to do this, please post quickly ^_^
View Replies !
View Related
Movie Clip Issues With SwapDepths Command
I've created this source file as an excerpt from a larger project, but it has the same issue...click next and then next and then move the mouse over the menus...now click back and you see parts of the menu are still visible - why is this happening? How can I make the menu disappear when the back button is clicked?
Thanks,
David
View Replies !
View Related
Movie Clip - On(rollOver) On(rollOut) Issues
I've just upgraded to Studio 8 and create all of my buttons for the sites I make as movie clips. I'm having an issue in the on(rollOver) and on(rollOut) states.
It does go to the animation in the movie clip correctly, however, if you mouse over it and out again quickly the frames inside the movie clip seem to "trip over" each other and it seems as though the movie clip loses its place in the timeline.
What's the easiest way to remedy this? Is there a script? Easier way to make animated buttons?
Any assistance is greatly appreciated.
Thanks.
View Replies !
View Related
Animated Movie Clip Button Issues
Please anyone who is an expert, I desperately need your help. I have got this movieclip button right. And it works like a charm. However, I cannot get the button to gotoandplay on a frame in the original Scene. I have tried everything. This is what the code on the hit area within the movieclip button reads.
on (rollOver, dragOver) {
gotoAndPlay("s1");
}
on (rollOut, dragOut) {
gotoAndPlay("s2");
}
View Replies !
View Related
[FMX2004] Movie Clip Scripting Issues
I just finished doing the Falling Snow tutorial on this site, and it works...My issue is::
HOW DO I GET THE SNOW TO STOP?
I want it to play through the first scene, but when I get to Scene 2 it is still going....Any suggestions? If it's a simple stop action, where do I put it?
Any help would be great thanks.
--Doug
View Replies !
View Related
Movie Clip Button Issues [Sound]
Hello, i just recelty started using invisable movie clips for buttons, and for the first time i need to add a rollover sound, im not familiar with attach sound or anything like that so if anyone has any resources i can read up on it would be nice!
thanks.
View Replies !
View Related
Browser Issues With Flash And Load Movie
I have a problem and it might be something very simple that I am overlooking. I have a html popup that has a flash movie in it. This movie's only job is to load 2 other movies into 2 different levels. When I click on the .swf file off of my hard drive or on the server itself, it works..but when I actually go do it in the broswer in the popup all I get is a popup window with a blank white screen (the movies background color is white by the way).
Here is what the meat of it looks like:
-The initial movie that the popup houses is a simple .swf file with one frame in it, in the frame I have the following actionscript:
loadMovieNum ("intro.swf", 10);
loadMovieNum ("music.swf", 20);
these two lines are supposed to load up an .swf file that has an intro and the other loads up an .swf file that has the music but its not wanting to do it. I have checked to make sure the files were named correctly and in the proper place, everything is fine. Now I can change the HTML popup to initially call up the intro.swf or the music.swf and they will come up. Also another thing, just to see if the movie that has these two lines of code was actually even playing I stuck an image in there just to see and the image came up. Can someone please tell me what the problem is??
View Replies !
View Related
Menu Scripting And Load Movie Issues
Hi, I'm a newb and I have run into a problem.
I'm working with a menu based on a book I received about a month ago.
It has a cool menu item that utilizes a button inside a movie clip component. The problem I'm having is that if I try to load a movie based on the movie clip on the stage, the "button" animation doesn't seem to work.
I have a little programming experience, and I'm trying to learn this stuff in my spare time. I have been working for about 5 hours on this particular problem.
I've included the flash file that I'm working on, so if anyone has an idea, I'm all ears.
BTW...it is Flash MX that I am using. I thought everyhting was going well and then BOOM..this hits me. It's a little frustrating to say the least.
I don't want to do all my flash with in-betweening as I've heard that will just slow down the movie. I want to have a fairly quick site so I have been diving into books at every opportunity.
I didn't see a problem similar to mine here, so I thought I would post this one.
thanks in advance for any help that can be offered.
View Replies !
View Related
Load/Unload Movie Depth Issues
Hey Folks - Currently, I've got a main movie into which I'm loading multiple external .swfs. onto different levels using loadMovieNum. From within the loaded mcs, I've got the button overlaying in the exact position as on the main mc - to unload the loaded mc. Each mc that's loaded has captions that appear upon rollover. My major problem is that, based on each mcs level, many of the captions will appear 'underneath' an mc that's loaded-in on a higher level.
Any suggestions on how best to load these mcs without running into this layering issue?
The buttons on the main mc are considered toggle switches that the user can turn on and off. they can have them all on to view all, which will create huge problems with the way I'm currently doing it. So thanks a ton for any help or alternative methods for loading/unloading these nuggets.
View Replies !
View Related
|