Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Make It Stop Farting Please, For Love Of....



HEH... now that i have your attention. Ok u know the movie minority report and u probably know how u can touch a flat panel screen and it makes that lil ripple effect around your finger.

Well.. I wanna make a grid (green) that is covered in black and periodically a diagonal gradiant line passes by and reveals the grid as it passes by (repeat every 2-3 seconds until the start button is found and clicked). Ya kno.. like a sonar radar. nehow i want an additional mask layer to be put on it the allows for the mouse to change to that finger ripple thingie and have a flowing streak behind it the catches up. Like u were running your finger thru water. Lastly i wanna hidden start button (to start the main movie that will start the site)that u must find and click on with the ripple thingie. I hope u can picture this ok. Believe me I'm sure this is easier then i am making it sound. If you know nething that could help me get this accomplished please feel free to reply.

P.S. If u feel u can help n my major project, there is a thread with it entailed on another thread in flash actionscript.

Thankies for taking the time to read and making it stop farting in my head. It was beginning to hurt.

-Aid in my battle to cease all farts everywhere!! :P



FlashKit > Flash Help > Flash MX
Posted on: 04-05-2004, 09:03 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Make It Stop Farting Please, For Love Of....
HEH... now that i have your attention. Ok u know the movie minority report and u probably know how u can touch a flat panel screen and it makes that lil ripple effect around your finger.

Well.. I wanna make a grid (green) that is covered in black and periodically a diagonal gradiant line passes by and reveals the grid as it passes by (repeat every 2-3 seconds until the start button is found and clicked). Ya kno.. like a sonar radar. nehow i want an additional mask layer to be put on it the allows for the mouse to change to that finger ripple thingie and have a flowing streak behind it the catches up. Like u were running your finger thru water. Lastly i wanna hidden start button (to start the main movie that will start the site)that u must find and click on with the ripple thingie. I hope u can picture this ok. Believe me I'm sure this is easier then i am making it sound. If you know nething that could help me get this accomplished please feel free to reply.

P.S. If u feel u can help n my major project, there is a thread with it entailed on another thread in flash actionscript. Also I have the .swf and .fla files for both projects if u'd like to see my progress. I just don't now how to post them on threads, if thats even possible.

Thankies for taking the time to read, and making it stop farting in my head. It was beginning to hurt.

-Aid in my battle to cease all brain farts everywhere!!

Make It Stop Farting Please, For Love Of....
HEH... now that i have your attention. Ok u know the movie minority report and u probably know how u can touch a flat panel screen and it makes that lil ripple effect around your finger.

Well.. I wanna make a grid (green) that is covered in black and periodically a diagonal gradiant line passes by and reveals the grid as it passes by (repeat every 2-3 seconds until the start button is found and clicked). Ya kno.. like a sonar radar. nehow i want an additional mask layer to be put on it the allows for the mouse to change to that finger ripple thingie and have a flowing streak behind it the catches up. Like u were running your finger thru water. Lastly i wanna hidden start button (to start the main movie that will start the site)that u must find and click on with the ripple thingie. I hope u can picture this ok. Believe me I'm sure this is easier then i am making it sound. If you know nething that could help me get this accomplished please feel free to reply.

P.S. If u feel u can help n my major project, there is a thread with it entailed on another thread in flash actionscript. Also I have the .swf and .fla files for both projects if u'd like to see my progress. I just don't now how to post them on threads, if thats even possible.

Thankies for taking the time to read, and making it stop farting in my head. It was beginning to hurt.

-Aid in my battle to cease all brain farts everywhere!!

JUst Stop...for The Love Of God...
okay, okay. I just can't get this autoslideshow to stop. I would really appreciate any help you may have.

And for the curious and critical, pIndex is set to -1 rather than 0 because the load starts with the 2nd jpg if I don't. Also, I removed "loadMovie(pathToPics+pArray[0], _root.mask_mc);" because I couldn't make it fade up on load. If you care.

---------
stop();

pathToPics = "images/intro/";

pArray = ["pic1.jpg","pic2.jpg","pic3.jpg","pic4.jpg","pic5. jpg","pic6.jpg","pic7.jpg","pic8.jpg"];
pIndex = -1;
fadeSpeed = 2;
delay = 2000;

//loadMovie(pathToPics+pArray[0], _root.mask_mc);
changePhoto = function() {
// make sure pIndex falls within pArray.length
pIndex = ((pIndex + 1) < pArray.length) ? (pIndex + 1) : 0;
onEnterFrame = fadeOut;
clearInterval(myInterval);
};
function fadeOut() {
if (mask_mc._alpha>fadeSpeed) {
mask_mc._alpha -= fadeSpeed;
} else {
delete this.onEnterFrame;
loadPhoto();
}
};
function loadPhoto() {
var p = mask_mc;
p._alpha = 0;
p.loadMovie(pathToPics+pArray[pIndex]);
onEnterFrame = loadMeter;
};
function loadMeter() {
var i, l, t;
l = mask_mc.getBytesLoaded();
t = mask_mc.getBytesTotal();
if (t>0 && t == l) {
onEnterFrame = fadeIn;
}
else {
trace(l/t);
}
};
function fadeIn() {
if (mask_mc._alpha<100-fadeSpeed) {
mask_mc._alpha += fadeSpeed;
} else {
mask_mc._alpha = 100;
myInterval = setInterval(changePhoto, delay);
onEnterFrame = null;
}
};
myInterval = setInterval(changePhoto, delay);

JUst Stop...for The Love Of God...
okay, okay. I just can't get this autoslideshow to stop. I would really appreciate any help you may have.

And for the curious and critical, pIndex is set to -1 rather than 0 because the load starts with the 2nd jpg if I don't. Also, I removed "loadMovie(pathToPics+pArray[0], _root.mask_mc);" because I couldn't make it fade up on load. If you care.

---------
stop();

pathToPics = "images/intro/";

pArray = ["pic1.jpg","pic2.jpg","pic3.jpg","pic4.jpg","pic5. jpg","pic6.jpg","pic7.jpg","pic8.jpg"];
pIndex = -1;
fadeSpeed = 2;
delay = 2000;

//loadMovie(pathToPics+pArray[0], _root.mask_mc);
changePhoto = function() {
// make sure pIndex falls within pArray.length
pIndex = ((pIndex + 1) < pArray.length) ? (pIndex + 1) : 0;
onEnterFrame = fadeOut;
clearInterval(myInterval);
};
function fadeOut() {
if (mask_mc._alpha>fadeSpeed) {
mask_mc._alpha -= fadeSpeed;
} else {
delete this.onEnterFrame;
loadPhoto();
}
};
function loadPhoto() {
var p = mask_mc;
p._alpha = 0;
p.loadMovie(pathToPics+pArray[pIndex]);
onEnterFrame = loadMeter;
};
function loadMeter() {
var i, l, t;
l = mask_mc.getBytesLoaded();
t = mask_mc.getBytesTotal();
if (t>0 && t == l) {
onEnterFrame = fadeIn;
}
else {
trace(l/t);
}
};
function fadeIn() {
if (mask_mc._alpha<100-fadeSpeed) {
mask_mc._alpha += fadeSpeed;
} else {
mask_mc._alpha = 100;
myInterval = setInterval(changePhoto, delay);
onEnterFrame = null;
}
};
myInterval = setInterval(changePhoto, delay);

FARTING ON THIN ICE...
http://www.mattwadedesigns.com/design/index.html

A Little Help .. Brain Farting Here ...
Heres my problem, on my button I'm calling my mainMc like this

on (release) {
_level0.main.loadMovie("main.swf");
}


And and I'm trying to unload it from a labeled frame script like this:

removeMovieClip(_root.main);
stop();

>>This doesn't work atall .. what am I doing wrong?
>>Should I use this as a framscript or should I have it in a button?

Anyone?

Brain Farting At The Moment.. HELP
It's friday and my brain is like a bowl of spagetti, but i'm trying to do something easy, i think, but can't figure it out. Here goes...

In the library i have a clip with linkage id of "newFileCabClip".
On the stage there is a movie clip called "window" with a button inside called "new_btn". When the user clicks new_btn i want to attach newFileCabClip and align it to the appropriate coords inside of window. This i can figure out with create/attach movieclips.

But if the new_btn is clicked again i want to create/attach(?) another instance of newFileCabClip with left justification right below the previously created clip. I want this to happen whenever new_btn is clicked; simply add another instace of newFileCabClip right below the ones that are already there.

This is where i'm getting lost.

TIA
/B

How To Make The Wings Of A Fly Stop When The Flash Movie Stop?
Hello,

I made a simple "Fly Flying" flash animation. The wings of the fly are moving up and down while the fly is flying from one location to the other. My problem is:

The wings of the fly are still moving up and down when the fly is landed on the ground. I tried to add a stop(); action script at the last frame. However the wings are still moving even the movie is stopped.

How can I make the wings stop moving when the flash movie is stop? Please download and take a look at my flash file (fly_flying.fla):

http://space.uwants.com/batch.download.php?aid=313219

Thanks and best regards

Alex

PLEASE Make It STOP
Ok,

I'm making an attempt at scripting some motion here. The problem: How do I make it stop? I've tried using GetProperty, and the final coordinates, but no luck yet. Does anyone have any suggestions?

The script I'm using goes like this:

onClipEvent (enterFrame) {
myvariable = getProperty(myinstance, _rotation);
setProperty (myinstance, _rotation, newvariable=myvariable+1);
}

Thanks for any help!

How Do I Make It Stop?
Here's my situation: I am creating a project for class, I have two symbols on two layers. Layer One has a Shape Tween that ends on frame 85, then 15 blank frames at the end. Layer 2 has a Motion Tween that ends on frame 85, then 15 blank frames at the end. I want to make the symbol at the end of the Motion Tween into a button that will create a movie clip on a rollover, then another movie clip when hit.

My problem (one of them anyway) is: How do I make the Tweens stop? I test the movie and they continue to loop. I want them both to stop in frame 85, then convert the graphic in the motion tween into a button.

Help Please. Thank you.

How Do I Make It Stop?
This is probably pretty darned basic, but I can't seem to figure it out- What I have is a 3 frame movie with an MC that slides onto the stage via ActionScript that looks something like this:

//code in frame 1:

xpos=0;
ypos=225;

//Code in Frame 2:

setProperty("box", _x, xpos);
xpos= 2 + xpos;

setProperty("box", _y, ypos);

//Code in Frame 3:

gotoAndPlay(2);

And what I want to do is have it stop at a specific point and I'm having no luck at all....

Thanks for any help

How To Make Everything Stop?
hi, how do i make my entire flash movie just stop halfway so that i can make a link to another part of it? and for that matter, how do i make a link to another part of it?

sorry if i'm a little too ignorant...

Make It Stop
pretty basic question, ill explain it.

a dude runs across screen and when he gets shot he falls dead right. BUT his a movie clip and when u click his head he falls dead right... but its tweened so even if the mc has finshed playing and his dead his dead body flys across the screen.

how do i make it stop

Can't Make It Stop
I have a scroll that I made, and I have it set to skip frames when onpress and then onrelease I want to make it stop, except it won't stop. I have tried everything I know hopefully someone can help me!

Thanks,
Eric Ehle

Please Make It Stop
I have a scroll that I made, and I have it set to skip frames when onpress and then onrelease I want to make it stop, except it won't stop. I have tried everything I know hopefully someone can help me!

Thanks,
Eric Ehle

How To Make Him Stop
I want my guy to stop when he hits a diagonal wall, it works with up and down walls or sideways walls, but not diagonal walls.

Make It Stop
Below is the AS for a slideshow I got from someone on this forum (argh! I should have noted it!). What I want it to do is to stop on the last photo. I do not want it to continue to cycle.


Code:
stop();
//ON LINE 3...enter the total number of images you are going to present. Currently it is set up for 3 images total.
numberOfImages=3;
//ON LINE 5...NOTE: NAME THIS THE SAME WAY ON LINE 38...two things to consider. A) the path to the file you want to load and B) the file name. As it is currently set up each file should be named "image_0, image_1, image_2" and so forth. All you have to do is type "image_" preceded by the path to the image.
theImageUrl="imgs/slideshow1/image";
//ON LINE 7...leave this line alone. If you were to raise this to 500, it would fade one step at a time, very slowly. Leave it at 50.
theFadeSpeed=50;
//ON LINE 8...this really has more control over the disolve. Set it to 1 and it will disolve very, very slowly. Set it to 50 and you will get a hard cut. You will have to tweak this control and the one above this based on the size of your images.
theFadeIncr=8;
//ON LINE 11... at 30, the slide will pause for 6 seconds before going to the next image. I think this number is a multiple of 5 i.e. 30/5=6"
pauseAtFullAlpha=30;

// ADDING A BORDER AROUND IMAGES.
//ON LINE 15... If you want a border, state true, if you do not what a border, state false
withBorder=false;
//ON LINE 17... You can control the size of the border select 1 for a thin border and a higher number to thicken it up.
border_thickness=0;
//ON LINE 19... Control the color of the border using hexidecimal values. It is currently set to black.
border_color=000000;
//ON LINE 20... Set the alpha value of the border. If you would prefer a transparent border, select a value below 100. The 100 equates to 100% opaque.
border_alpha=100;

// SCALING IMAGAES
// Setting this variable to true means you want the images resized to the imageWidth imageHeight variables
// Set to false means that the images will be accepted as the original image size.
resizeImages=false;
// width of images
imageWidth=300;
// height of images
imageHeight=300;
/////////////////////////////////////DANGER ENTER WITH CAUTION ///////////////////////////////////
currentImage=undefined;
nextImage=0;
lastImage=undefined;
slideshowPlay=true;
pauseCount=0;
loaderBar._visible=false;
MovieClip.prototype.fadeInterval=undefined;
MovieClip.prototype.fadeSpeed=theFadeSpeed;
MovieClip.prototype.fadeIncr=theFadeIncr;
MovieClip.prototype.fadeUp=function(){
clearInterval(this.fadeInterval);
this._visible=true;
this.fadeInterval=setInterval(fadeU,this.fadeSpeed,this);
function fadeU(mc){
if(mc._alpha<100){
mc._alpha+=fadeIncr;
updateAfterEvent();
}
else{loadNextImage();clearInterval(mc.fadeInterval);}
}
};

for(j=0;j<numberOfImages;j++){
this.createEmptyMovieClip("h"+j,j);
this["h"+j].createEmptyMovieClip("img",0);
if(withBorder){
this["h"+j].createEmptyMovieClip("outline",1);
}
this["h"+j].imageNum=j;
this["h"+j]._visible=false;
this["h"+j]._alpha=0;
}

this.createEmptyMovieClip("topBuffer",numberOfImages+3);
this.createEmptyMovieClip("currentBuffer",numberOfImages+2);
this.createEmptyMovieClip("lastBuffer",numberOfImages+1);

topDepth=this.topBuffer.getDepth();
currentDepth=this.currentBuffer.getDepth();
lastDepth=this.lastBuffer.getDepth();

function startSlideshow(){slideshowPlay=true;loadNextImage();}
function stopSlideshow(){slideshowPlay=false;}
function loadNextImage(){
if(slideshowPlay){
newUrl="";
if(nextImage>=0 && nextImage<10){newUrl=theImageUrl+"00"+nextImage+".jpg";}
else if(nextImage>=10 && nextImage<100){newUrl=theImageUrl+"0"+nextImage+".jpg";}
else{newUrl=theImageUrl+nextImage+".jpg";}
this["h"+nextImage].img.loadMovie(newUrl);

preloaderBar.bar._xscale=0;
preloaderBar.percent="";
preloaderBar._visible=true;
pauseCount=0;
loadInterval_ID=setInterval(loadCheck,100,this["h"+nextImage]);
}
}
function loadCheck(mc){
pauseCount++;
BL=mc.img.getBytesLoaded();
BT=mc.img.getBytesTotal();
if(BL >= BT && BL>0){
if(pauseCount>=pauseAtFullAlpha){
changeImage();
ProccessImages(mc);
preloaderBar.percent="";
preloaderBar._visible=false;
clearInterval(loadInterval_ID);
}
}
preloaderBar.bar._xscale=(BL/BT)*100;
preloaderBar.percent="Percent loaded " + Math.floor((BL/BT)*100);
}

function changeImage(){
if(currentImage!=undefined){
if(lastImage!=undefined){
this.lastBuffer.swapDepths(this["h"+lastImage].imageNum);
this["h"+lastImage]._visible=false;
this["h"+lastImage]._alpha=0;
}
this.currentBuffer.swapDepths(lastDepth);
lastImage=currentImage;
this.topBuffer.swapDepths(currentDepth);
}
this["h"+nextImage].swapDepths(topDepth);
this["h"+nextImage].fadeUp();
currentImage=nextImage;
nextImage++;
if(nextImage>=numberOfImages){nextImage=0;}
}
function ProccessImages(theHolder){
if(resizeImages){
theHolder.img._width=imageWidth;
theHolder.img._height=imageHeight;
}
else{
imageWidth=theHolder.img._width;
imageHeight=theHolder.img._height;
}
if(withBorder){
theHolder.outline.clear();
theHolder.outline._visible=true;
theHolder.outline.lineStyle(border_thickness,border_color,border_alpha);
theHolder.outline.moveTo(0,0);
theHolder.outline.lineTo(imageWidth,0);
theHolder.outline.lineTo(imageWidth,imageHeight);
theHolder.outline.lineTo(0,imageHeight);
theHolder.outline.lineTo(0,0);
}
}
startSlideshow();

How To Make MCs Within MC Stop()
Is there a simple way to say...
on keyPress "Enter"
main_MC and all MCs within main_MC stop()

The catch is that I don't know how many MCs are within main_MC

(I'm creating a game and when I press Enter I want it to pause the game)

All of my objects/characters are housed with main_MC but I don't know how many are in there at any one time and therefor I can't specify specific targets.

Make The NaN Stop
No mater what i do.. Im getting NaN(on trace) from variables that were made out of data taken from a XML file... This data is all numbers and i am guessing its taking it as a string.. i need to convert it to number so i can tell script what to do...
HELP!,


ND



Code:
function run() {
trace("NOW RUNNING!");
for (var m = 0; m < tts+1; m++) {
tgrp = eval("l1s" + [m+1]);
trace("tgrp");
trace(tgrp);
//lines.lineTo(l1sxp,l1syp+tgrp);
//trace(l1syp);
l1syp = eval(l1syp + Number(tgrp));
//trace("l1syp");
trace(l1syp);
//
trace("");
trace("");
//>> l1sxp = l1sxp+9;
//trace(m);
//l = i+1;
//_global["l1s"+l] = xmlDoc_xml.firstChild.childNodes[0].childNodes[i].childNodes[0];
}
}

How Do I Make It Stop?
How do I make an animation stop? I'm trying to do the shine affect on a box, but I don't know how to tell it to go only once. Also, how do I make the gradient "tween faster" and more smoothly? My animation jerks from place to place.

How Do I Make It Stop?
How do I make an animation stop? I'm trying to do the shine affect on a box, but I don't know how to tell it to go only once. Also, how do I make the gradient "tween faster" and more smoothly? My animation jerks from place to place.

How Can I Make Him Stop
How can i make a character that moves with the keyboard and Stop when something is on its way ?
With this code I move the character:
code:
onClipEvent (load) {
walkSpeed = 5;
}
onClipEvent (enterFrame) {

if (Key.isDown(Key.UP)) {
_rotation = 0;
_y-= walkSpeed;
}
if (Key.isDown(key.RIGHT)) {
_rotation = 90;
_x+= walkSpeed;
}
if (Key.isDown(key.LEFT)) {
_rotation = 270;
_x-= walkSpeed;
}
if (Key.isDown(key.DOWN)) {
_rotation = 180;
_y+= walkSpeed;
}
}
please my RPG game will never work If I cant something

Please Make The Movie Stop
hello!
i have a button which calls a movie in a movie to move upwards to a specific position. it moves alright, except that it doesn't stop!!!
any suggestions?

the script on the button says:
on (release){
_root.menu.gotoAndPlay(3);
}

the script inside the movie(menu) says
frame 1: stop();
frame 2: __nothing__
frame 3:
_root.menu._y+=-5;
if(_root.menu._y==350){
stop();
} else {
gotoAndPlay(2);
}

thanks

AAAIEEAAGH MAKE THEM STOP
I have some ringing phone things that are meant to come in after a set interval, say 2 seconds. They then stop ringing when you click on them.

So I set up a setInterval for each one of them, they started when required and worked properly.

SO FAR, so good.

But then my clearInterval commands failed, so every two seconds, each of the phones would start ringing again ... and again ... and again.

Anyone? I have used and cleared intervals successfully in a number of places in the past ... but only one at a time. Is there a limit to the number I can use?

Thanks,

=======CODE=======
===In a Scheduler MC:

function set_timer(objectref, functionname, interval, ele_name) {
timers[ele_name] = setInterval(objectref, functionname, interval);
}

function clear_timer(ele_name) {
clearInterval(timers[ele_name]);
}

===In each of the elements
==At the start:

_root.scheduler.set_timer(this, "activate_now", identity.t_in, ele_name);

function activate_now() {
_root.scheduler.clear_timer(ele_name);
// Stuff to start the phones ringing
}

========/CODE========

Hittest - Make It Stop
I'm trying to do a simple money counting game but when I drag a coin to a hand it counts the coin again and again - I want it to only do it once. I'll also need to duplicatemovieclip to allow dragging the same denomination multiple times, having the coin counted only once. Any ideas?

Code:

if(_root.hand.hittest(_root.nickle)){
score=score+.05;
}
if(_root.hand.hittest(_root.dime)){
score=score+.1;
}
if(_root.hand.hittest(_root.penny)){
score=score+.01;
}
if(_root.hand.hittest(_root.quarter)){
score=score+.25;
}

URL:
http://stahrinteractive.com/money-practice.html

FLA: (couldn't upload it here)
http://stahrinteractive.com/money-practice.fla

AHHH Make It Stop
How do I make my flash video stop looping. It loops. Forever and ever and ever. I want it to just do what its supposed to!

Make The Voices Stop
whenevr i preview my movie by hitting enter then hitting enter again to stop it, the music keeps on playing... so i hit Control then mute sounds, then i have to again to unmute sounds... is there an easier way to make the music stop when i stop the preview?

How To Make Stop At A Certain Frame?
I need the first frame of my movie to stop as soon as it is loaded. I tried adding the Stop action but it doesn't stop the movie. I'm using Flash MX. Any help would be greatly appreciated.

How Can I Make It Stop Moving?
I downloaded this file from here.but I want the text moves only once.

How Can I Make It Stop Moving?
I downloaded this file from here.but I want the text moves only once.

Make Mp3 Stop After Played
I have made a streaming music file once the song has played I want it to reset to the begining so when play is pressed again it will start at the beginning rather than the last place it was paused. What do I need to add to the actionscript to do this?

Hit Test 2 Make MC's Stop
hi, i've got a simple question for you guys...

i've got a MovieClip on stage named "land"
and a MovieClip named "sakura" which is being duplicated and it falls down.

it's like cherry blossoms falling down from a tree and when it hits the ground it would just stay there.

what i'm trying to do is when the movieclip "sakura" collides with "land"
"sakura" would stop falling...

onClipEvent(load){
leaf = random(5)+1;
gotoAndStop(leaf);
this._x= Math.random()*595-100;
this._y= -100;
spin= Math.random()*100;
magnify= Math.random()*25 + 15;
stepx=Math.random()*6-3;
stepy=Math.random()*4;
trans= Math.random()*100;
}
onClipEvent(enterFrame){
spin +=10;
this._x+=stepx ;
this._y+=stepy;
this._rotation = spin;
this._xscale = magnify;
this._yscale = magnify;
this._alpha = trans;
if((this._x<0) or (this._x>595) or (this._y>419)){
removeMovieClip(this);
if(this.hitTest(_root.land)){
stepy=0;
stepx=0;

}



}
}


leaf just determines the shape of the petal that would fall...
to give it that random effect.

any help would be greatly appreciated...
thanks!

How To Make A Player...STOP
I have a sound player on a main page, but when I click a link on that page which opens a new browser, and then go back to the main page, the stop button doesn't work anymore...BUT when I hit play, it starts playing again, on top of the other one....

How can I

1. Stop the sound when the new browser opens (code???)

2. And/or keep the buttons working even after the new browser is opened.
The sound player is a streaming FLV...

Driving me crazy...

Thanks in advance.

[F8] How To Make The Movie Stop
Hello! I'm currently using flash as a means to animate a process called eukaryotic translation-(making proteins from dna-for those biologists here)...anyways, my problem is this. I want to present this movie in a presentation, however I wanted to be able to stop between certain frames, until i press the space bar. (sorta like how powerpoint works) Can anyone help me out how to do this?

Second, this is a little bit more optional and less urgent, but i was wondering if anyone could give me some ideas in terms of how to make an evolving image-sorry i can't word this better, but basically, I am going to show how these little pieces (bases) are going to attach one after another (basically the development of a protein)-anyways, any help (for the first or the second queries) would be greatly appreciated. Thanks guys.

~Alex~

FLV Video - Make It Stop
I am playing several videos using the FLVPlayback component. Selecting different videos by jumping to different marker locations stops at the frame where the instance exists. This part works fine.

Unfortunately, when jumping from one video to another - audio from the previous video can still be heard. Do I need to stop that video before leaving the frame?

Here is the Actionscript I am using:

stop();

import fl.video.*;
import fl.controls.ProgressBarMode;

// Set Variables
var flvControl = video1_instance;
var flvSource = "video1.flv";

// Create event handler functions to control the progressbar
function progressHandler(event:VideoProgressEvent):void
{
var bl = Math.round(event.bytesLoaded/1000);
var bt = Math.round(event.bytesTotal/1000);

// Update progress...
pb.setProgress(bl,bt);
}

function readyHandler(event:VideoEvent):void
{
// Remove progressbar when we start playing...
removeChild(pb);
}

// Set progress bar state
pb.mode = ProgressBarMode.MANUAL;
pb.indeterminate = false;

// Add listeners and load the video
flvControl.addEventListener(VideoProgressEvent.PROGRESS, progressHandler);
flvControl.addEventListener(VideoEvent.READY, readyHandler);
flvControl.source = flvSource;

video_btn.addEventListener(MouseEvent.CLICK, onVideoClick);

Can't Make Sound Stop
Hi all,

I have this video (using the FLVPlayback component) and I want it to stop whenever I leave this section (otherwise I'll continue listening to the sound. What I usually did before was, whenever I clicked the button that would take me to another navigation frame, I would order the video to stop. But in this project I don't know why it doesn't work.

I get this error:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at marrades_fla::revolving_12/onBackClick()

The only difference with this project is that I use tweening in the movie clip that contains the video component. Could this be the reason? I attached the code for you to see.

How Do I Make Movie Stop?
What code makes my movie only play once?

stop() ; <-- Not sure if thats even code !

Please help !

How To Make Music Stop?
Hi there.

I'm making a simple little flash video and I don't know how to make the music in it stop at certain point. It just keeps going and clashes with the other music though goes on through it... I tried setting a keyframe, didn't work, any help would be appreciated. Thanks.

How Do I Make The Scenes Stop?
hi..i just learned how to use flash as my proj requires me to..i have a BIG prob..I created a few scenes..i've added a 'button' at every page..i dont seem to know what i shld do to prevent this movie from playing by itself..

Note: i've added a command on every 'nxt' button..shld i add in a stop function?

on (release) {
gotoAndPlay("Scene_2", 1);
}

How Do I Make A Movie Stop For A While
I am trying to stop a movie at a certain point without just putting a zillion of static frames. I am using this but it wont wrok. Any Ideas?

Code:
for (i=0; i<10000; i++) {
stop();
}
gotoAndPlay(36);

My FLV Keeps Looping.. Make It Stop :(
Why is it that when I pull my .FLv files in some of the videos will keep looping and some don't they have the same coding.

It is killing server bandwidth - can anyone help. Thank you.

Make The Scroll Bar To Stop
Hi
Does anyone know How to make the vertical and horizontal scroll bar of ScrollPane component to stop when i scroll it till the end? Thanks!

How To Make Image To Stop?
Hi!

So i have been looking at the forum and cant find anything that explain me how to do this.

I have an image that the width is like 2x bigger than the stage. I made an actionscript that the image mooves like my mouse moove. so, if i am mooving my mouse to right, the image mooves to right too.

My problem is: i want to make the image stop when i reach her end in one of the sides.

when i moove the mouse and the image mooves too, i want that, when the image reachs her total left or right to stop so i do not have the stage with no image in the background.

Since the image has his ref point in the top left, i made something like this:


if (_root.image._x > 0){
trace ("you have reach the left maximum of the image");
}

Plz help, need that for school work

How Do I Make Movie Stop?
What code makes my movie only play once?

stop() ; <-- Not sure if thats even code !

Please help !

How To Make Music Stop?
Hi there.

I'm making a simple little flash video and I don't know how to make the music in it stop at certain point. It just keeps going and clashes with the other music though goes on through it... I tried setting a keyframe, didn't work, any help would be appreciated. Thanks.

How Do I Make The Scenes Stop?
hi..i just learned how to use flash as my proj requires me to..i have a BIG prob..I created a few scenes..i've added a 'button' at every page..i dont seem to know what i shld do to prevent this movie from playing by itself..

Note: i've added a command on every 'nxt' button..shld i add in a stop function?

on (release) {
gotoAndPlay("Scene_2", 1);
}

[AS1]How Can I Make It Stop And Slow?
http://www.kirupaforum.com/forums/at...achmentid=2752

this is my fla that uploaded kirupaforum.

I have two question:
1.how can I make it stop when I rollover a button that have scaled biggest.

2. I want to make it rotate in an Area.

How can I make it slowly when _xmouse not in an Area.for example,I want to make it rotate in 0,0,400,400.when _xmouse >400,how can I make it rotate slowly.

pls help me! thanks a lot.

How To Make Soundtrack Stop
Hi, my movie doesn't cover the whole soundtrack, so how do I make it stop at the last frame?

Thanks in advance

How Do You Make A Movie Stop When It Has Hit An Object If You Are Using The......
How do you make a movie stop when it has hit an object, if you are using the keyboard to move the movie clip?

Im trying to make a game where you move the character. I already knoiw how to move him but what I want to do is when he walks into and object he stops moving! How do I do that?

Copyright © 2005-08 www.BigResource.com, All rights reserved