3D Spin Controls Start/stop With Slider
Maybe this belongs in the newbie section but here goes ...
I just took 16 still images of a product rotating and ran them one after another over 16 frames to appear as though it was spinning. Simple stuff.
Here are my questions ...
A- How can add a simple start/stop button that will in essence pause the animation then play it again when pressed for a second time?
B- How can I add a slider that the user can use his/her mouse to slide it back and forth to make the animation go backwards or forwards?
FlashKit > Flash Help > Flash ActionScript
Posted on: 03-19-2004, 04:47 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Help Image Slider Start/stop
I have been working with Creatify's img slider (http://www.kirupa.com/forum/showthread.php?t=227359) and am trying to get the slider to start and stop but with no luck at all. Im new to writing and editing classes. If I could get some help or pointed in the right direction that would be great attached is a zip of the Mc_Slider fla.
How To Set Interval To Stop The Spin.
I am having problem with spin, how can I stop the spin movie after spinning 2 times at my desire location.
My Actions script is below :
Actionscript Code:
onClipEvent (load) { y=13; Angle_Inc=201; speed=7; radius=100; xcenter=-10; ycenter=-20; zcenter=100; Per=100; angle=100; }
onClipEvent (enterFrame) { x=Math.cos(angle*Math.PI/-180)*radius+xcenter; z=Math.sin(angle*Math.PI/-180)*radius+zcenter; scale=Per/(Per+z); _x=x*scale+xcenter; _y=y*scale+ycenter; _xscale=_yscale=_alpha=scale*100; this.swapDepths(_alpha); angle+=speed; if(angle>359){ angle-=360; }}
Please, help me out. thanks...
Start And Stop Streaming Sounds (start Stopping Currently Playing)
Hi there
I am novice user of flash and have no real AS experience.
What I want to do is..
I have 18 songs from an album and have taken 30 sec from each and down sampled them ready for flash.
I want to be able preview them all from one flash file.
I will be streaming the songs in, so the initial download time is minimal.
With 18 start stop buttons for each one, but because customers are lazy, they are likely just going to click the next play button for the next preview, so I need the play buttons to stop 'this' preview before playing the next with stop control also being a stop control for those who have had enough or are well behaved browsers : )
I hope this makes sense and look forward to hearing from someone.
Cheers
Ian Hill
Start And Stop Streaming Sounds (start Stopping Currently Playing)
Hi there
I am novice user of flash and have no real AS experience.
What I want to do is..
I have 18 songs from an album and have taken 30 sec from each and down sampled them ready for flash.
I want to be able preview them all from one flash file.
I will be streaming the songs in, so the initial download time is minimal.
With 18 start stop buttons for each one, but because customers are lazy, they are likely just going to click the next play button for the next preview, so I need the play buttons to stop 'this' preview before playing the next with stop control also being a stop control for those who have had enough or are well behaved browsers : )
I hope this makes sense and look forward to hearing from someone.
Cheers
Ian Hill
Slider Bar Controls Movie
I can not find an downloadable example of a movie controller style slider bar. I am doing a project for work that requires an interface that is much like quicktime so I need it to run through it frames but be controlled by the y position of a slider bar. Neer it real quick to tight deadline. I have found what I am looking for here on flash kit in the past but now the search is very difficult and is not returning the proper results. Thanks.
Slider Controls Timeline In MC
I have a speedometer, whose needle needs to "rev-up" when the slider is pushed on a _y 80 pixels...there is 80 frames in the time line making the speedometer go from 0-160 (roughly 2 MPH per frame).
1.)the needle needs to respond to the movement of the slider both forward and reverse
2.)the slider is located as follows _root.slider.slide.(button)
next on the list would be to use getURL to take the data in the format: http://www.blahblahblah.com/speed.cgi?speed=xxx
and insert the variable "speed" and its value "xxx" into the movie which would then determine which frame stop the MC at
Any help would be greatly appreciated.
Black Dragon
Slider Controls Alpha Level?
Trying to get a slidebar to control the alpha level of a movie clip in FLash MX 2004 Pro.
I've got a slider mc named myAplha. It's code is as follows:
this.ratio = 0;
dragger.onPress = function() {
this.startDrag(true, 0, 0, line._width, 0);
this.onEnterFrame = function() {
ratio = Math.round(this._x*100/line._width);
};
};
dragger.onRelease = dragger.onreleaseOutside=stopDrag;
on my main timeline, I've got a movieclip called myMC and the slider.
So how do I make the slider modify the alpha level of myMC?
Slider That Controls A Movieclip Animation
Hey guys, I'm wondering if there's anyway to modify the current slider in the Kirupa's tutorial ( http://www.kirupa.com/developer/mx/slider.htm ) so that it would control animation of a movieclip.
Simply put, I'm making a animated movieclip that will only play when user movie the slider.
Any help will be greatly appreciated!
[F8] Featured Content Slider With Playback Controls
I want to make a featured content slider that automatically transitions between each featured content item with playback controls to pause, play, previous, and next functionality. The closest tutorial I could find of something similar is the Sliding Menu on Kirupa.com. It lacks the playback functionality that I would like to have but it does switch on content.
Can anyone recommend another tutorial or a method to add the playback functionality?
Sliding Menu Tutorial
[F8] How To Get The 'start' And 'end' Button Controls Working In This File
Hello,
In the attached file, I would like to be able to navigate to the first frame in the main timeline - for the start_btn and then to the end of the drill_mc 's timeline whenever the user clicks on end_btn.
I can't seem to get the code working for this. Any ideas please on how this could work?
Thanks
Making A Slider That Controls A Movie Clip's Timeline
Hi all, was wondering if someone could help me or point me in the right direction. I'd like to make a slider that would control the timeline progress of a sequence of images. It seems to be pretty simple - when you drag the slider by a certain increment, the timeline moves to the next frame - but I can't quite figure out the actionscript needed.
I appreciate any help you can give me
Play, Stop Controls For SWF
I need to give users controls to this movie.
http://www.policetales.com/videos.html
The only way I can hide the sensative information is to import the mpeg and put a layer over it. I have MX 2004. Can someone tell me how to make that an FLV file from MX 2004?
Also, a simple FLA file that can do the start stop would be the most help....
Also, enjoy the video, I arrested the 19 year old gangbanger and played him a one of my 3 year olds Wiggles tunes from my Ipod while I took him to jail. He probably was singing it all day in county lockup!
;-)
THANKS
Pause/Stop/Play Controls
HI all,
I'm trying to program nav controls for a flash presentation I am working on. Pause button is supposed to freeze the frame very much the same way a vcr would pause a tape. Play should "unfreeze" the presentation and stop should "turn it off" (may be take them to a frame of "black"). Please help!!! I am under a deadline and my brain is fried.
Thanks,
Inna
Stop And Play Controls For Video
hi ya'll,
i'm kind of a copy and paste actionscripter. i don't usually understand exactly what i'm doing!
Anyways, is there a simple way to make a video clip, which is placed into an fla and embedded into a swf, play and stop?
thanks!
tara
Need To Add Controls Like Play, Stop, Pause
where can I find information about this please? I just want to add controls so that people can control if they play or pause or stop the animation.
Can anyone point me to a tutorial or somewhere about howe to do this please? Thanks.
Need To Add Controls Like Play, Stop, Pause
I just want to add controls so that people can control if they play or pause or stop the animation when I export the fla.
Can anyone point me to a tutorial or somewhere about how to do this please? Thanks.
Mx.controls.Loader And Stop() Method
Hi all,
I was wondering if somebody could help me, I am using a mx.controls.Loader control to load a separate swf file into another movie. This seems to work fine. On the movie that is being loaded is a play/pause button. Basically when I issue the stop() method, it doesn’t seem to work. The movie carries on playing please could someone help with this? Please see code below:
Loader Code:
Attach Code
Frame 1:
// Create a new Object. The Progress Bar is an object so needs an object function to work
myProgressBarListener = new Object();
/* Create a listener object event function. When the Progress Bar is complete and has preloaded this Movie, the listener will call and run this code below: */
myProgressBarListener = function (eventObject) {
// Hide the Progress Bar - we don’t need it any more as the Movie has now loaded
myProgressBar._visible = false;
content_mc.play();
// Remove the listener
myProgressBar.removeEventListener("complete", myProgressBarListener);
// Ends the function
};
// Declares a listener. This detects when the Progress Component has loaded the Movie. Then when the preloading is complete it calls the function myProgressBarListener
myProgressBar.addEventListener("complete", myProgressBarListener);
// Set up the Progress Bar Component to polled when loading the Movie. This will give a polled look to the Progress Bar as it loads. It has to be set to polled to work
myProgressBar.mode = "polled";
// Set the location to load as this Movie.
myProgressBar.source = "_root";
frame 2:
/* Set the Progress Bar to manual mode so that we can reset its value back to 0. We don't want it staring from 100 ! */
myProgressBar.mode = "manual";
// Reset the Progress Bar back to zero
myProgressBar.setProgress(0, 100);
// Makes the Progress Bar visible
myProgressBar._visible = true;
// Create a listener object event function. The Progress Bar is an object so needs an object function to work
myProgressBarListener = new Object();
// When the Progress Bar is complete and has preloaded this Movie, the listener will call and run this code below:
myProgressBarListener = function (eventObject) {
// Anything you place here will run after the External Movie loads.
// Hide the Progress Bar now that we are done
myProgressBar._visible = false;
// This next section is optional.
// If you wish to remain on Frame 2 and view the External Movie do nothing
// Otherwise un-comment any of the options bellow:
// Plays the Movie from Frame 2 onwards:
// play();
// Go to the next Frame:
// nextFrame();
// Go to the next scene but may not automatically play beyond the Frame 1 in the next scene:
// nextScene();
// Goes to a Frame Label or Frame number and Play:
// gotoAndPlay("myFrameLabel");
// gotoAndPlay(10);
// Go to and stop at the Frame Label or Frame number:
// gotoAndStop("myFrameLabel");
// gotoAndStop(10);
// closes the function
};
/* Declares a listener that detects when the Progress Component has loaded the External Movie. When it is complete it will call the function myProgressBarListener */
myProgressBar.addEventListener("complete", myProgressBarListener);
// Set up the Progress Bar Component to polled
myProgressBar.mode = "polled";
// Set the preloader location of the Progress of the loader Component
myProgressBar.source = "myLoader";
// Set the file name and location of the external swf Movie
myLoader.contentPath = "./DashBoardAndReports.swf";
// Set the external swf Movie scales to fit the loader (true), or the loader scales to fit the content (false).
myLoader.scaleContent = false;
var content_mc:MovieClip = myLoader.content;
// automatically load the external swf Movie
myLoader.autoLoad = true;
// Stop the Movie at the Frame until the Movie has been preloaded
stop();
Pause/play button:
on (release) {
if (_global.pp == "pause") {
p = _global.repSound1.position;
bgp = _global.bg.position;
_global.repSound1.stop();
stop();
repbtnPause._alpha = 0;
repbtnPlay._alpha = 100;
repFillT.stop();
_global.pp = "play";
} else {
play();
_global.repSound1.start(p/1000);
_global.pp = "pause";
repbtnPause._alpha = 100;
repbtnPlay._alpha = 0;
repFillT.resume();
_global.bg.start(bgp/1000);
}
}
Edited: 07/23/2008 at 11:05:03 AM by matty3269
FLVPlayback Controls Stop Working After Being Used The First Time
Hi
I am working in Flash 8 and creating a dynamic flv player.
I have an issue when the flv file is loaded and starts playing, if you click the seek, stop, next or previous buttons in the movie controller they will work once and then all the buttons in the movie comtroller will stop working. Below is the code i have used to create the dynamic flv player. The code is from the "Creating a Dynamic Playlist for Streaming Flash Video" article on adobe's site, which i have used for progressive download video.
Code:
listListener.change = function( evtobj ) {
var nav = list.dataProvider[list.selectedIndex];
var reset = true;
attachMovie("FLVPlayback", "my_FLVPlybk", 10, {width:380, height:304, x:176, y:4});
for ( var i = 0; i < nav.childNodes.length; i++ ) {
var stream = nav.childNodes[i];
if ( stream.nodeName == "stream" ) {
//center the FLVPlayback component when FLV is ready to play
var listenerObject:Object = new Object();
/*listenerObject.resize = function(eventObject:Object):Void {
//center video in playback area
newx = (460 - my_FLVPlybk.preferredWidth)/2;
newy = (470 - my_FLVPlybk.preferredHeight)/2;
my_FLVPlybk._x = newx;
my_FLVPlybk._y = newy;
};*/
my_FLVPlybk.addEventListener("resize", listenerObject);
listenerObject.ready = function(eventObject:Object):Void {
my_FLVPlybk.setSize(380, 304);
};
my_FLVPlybk.skin = "LoadedExternalNoVol.swf";
my_FLVPlybk.clear();
my_FLVPlybk.contentPath = nav.attributes.url + "/" + stream.attributes.name;
my_FLVPlybk.autoSize = true;
//trace(my_FLVPlybk.contentPath);
reset = false;
}
}
}
My question is why do the controls stop working? and how can I make it so that they dont?
thanks for the help
Video Player Controls Stop Working
Hi there. I'm creating a website in Flash CS3. The FLV video in the center of the page utilizes one of the stock video control panels in the video encoding process (SkinUnderPlayStopSeekMuteVol.swf) . Upon testing the movie, both in Flash and uploaded on my server, the controls work fine for about 10 seconds then seize up and stop being functional. The page is simple as can be. 1 frame long, a couple pieces of text, a static background and the FLV in the middle. Any ideas on why the control panel freezes up?
SWF Flash - Video Controls & Stop Looping
Hello all!
I have converted a video from Quicktime to SWF (Flash). I placed it on my website and it keeps looping and has no video controls.
Here's the HTML coding for the video:
<table width="158" border="0" align="center" cellpadding="0" cellspacing="0">
<tr><br /><br />
<td height="126" align="center" valign="middle"><script>
//<!--
AC_RunFlContentX ("src","Isokinetics.swf","quality","high","width","550","height","315","wmode" ,"transparent","autostart","false");
//-->1z
</script></td>
I would like to place video controls on the video and also stop the looping on the video. Please help.
THank you!
Mouse Location Controls A Mv To Stop Or Play
hi all:
how do I go about this:
I have a movie (called picmv) on frame 1 layer 1, it plays picA to picB by fading to it alternately.
PicA and picB is a button, when clicked will open a page in html which shows a bigger picture of what has been selected.
What I would like to do is the following.
When a mouse goes over the area of the pic, it will tell the picmv to stop while at the same time keeping the pic buttons active so that you can press on it to open the html page conatining a bigger picture of it.
What I am doin currently is making an invisible button the size of the pic, so when the mouse goes over it, i have placed an action on it to tell the picmv to stop on rollover and play or rollout. The problem with that is that it makes the pic buttons inactive to open the html page of the bigger pictures.
Is there another way to tell picmv to stop or play without placing a button on the pic area. Maybe using scripting, saying if mouse goes over this pic area it will tell picmv to stop or play without having to place a button there.
Can someone tell me how its done or have a flash sample or tutorial of it.
Thanks all
Slider Stop Outside Slider ( Hm...?)
hi,
please help....or give me some tips...
i work with flash mx and have a problem with my slider
i want the slider to stop when my mouse leaves the slider...
if possible also when i click on a button.
greetings
rancune
sliderproblem.fla
Can You Sync Sound With Star/stop Controls Of A Movie?
I need to know how to stop the sound when the stop button is clicked on the movie, and then how to start the sound from the point it was stopped when the start button is clicked.
Any takers? - this has been puzzling me!
Cheers!
Keyoboard Controls To Play / Stop / Pause Movie
Hello,
I am attempting to create a presentation in Flash.
I will be creating flash movie animations but would like to control them just by a click of a mouse button or by pressing some keys on the keyboard.
eg. N = stop ; M = play ; space bar = pause.
Can someone tell me how I would do this?
thanks,
andrew
[FMX]Play And Stop Controls For Dynamically Loaded Movie
Hi
I'm sure this is an easy one, but i can figure it out.
i got a swf, which i've dynamically loaded into an mc called pitch_mc . After loading it want flash to stop the file from automatically playing, then have play and stop buttons that trigger the movie.
Could ya point me in the right direction? I can load movies fine, but i havent used transport buttons yet :S
[FMX]Play And Stop Controls For Dynamically Loaded Movie
Hi
I'm sure this is an easy one, but i can figure it out.
i got a swf, which i've dynamically loaded into an mc called pitch_mc . After loading it want flash to stop the file from automatically playing, then have play and stop buttons that trigger the movie.
Could ya point me in the right direction? I can load movies fine, but i havent used transport buttons yet :S
AS2 - Flv Player Stop/play Controls That Slide Up On Mouseover
I've created an flv player with the standard stop/play/pause/etc. buttons in a control panel movieclip called "controls_mc." When the play button is pressed, I want to leave the controls_mc panel up for 2 seconds, then side down. When the user hovers over the bottom half of the flv player(the stage) I want the controls_mc movieclip to slide back up. When stop is pressed I want the controls_mc panel to stay up until the user presses play again. What code will make this function?
Trully Advanced Play Pause Stop Controls Question
Hey there!
Have an issue.
I'm working on a technical animation. Info about it:
There are about 30 mc on my movie, distributed into their own layers.
Three mc of them control the rest ones (including themselves), using several pointers and variables.
The main timeline (_root) has just 1 single frame.
The AS logic (in a ludic way, no sintax needed to show it):
if _global.varX (varX is redefined thru mcs) == value1
{
_root.mc4.gotoandplay(1)
_root.mc5.gotoandstop(45)
_root.mc9.gotoandplay(45)
}
if _global.varX (varX is redefined thru mcs) == value2
{
_root.mc4.gotoandstop(45)
_root.mc3.gotoandplay(45)
_root.mc10.gotoandplay(1)
}
Just to position you, reader: in almost all mcs, from frame 1 to 45 means open the related valve or closure, and 45 to 60 means closing the related valve or closure.
Those to say that the transitions of the movie is provided by a scope of variables and pointers, and it get on loop as this scope reaches a certain level, ie, no timeline involved.
And here's the issue. I didn't get how to control de movie play pause stop using play() or stop(), or gotoandstop(), or gotandplay(). I've tried hard, getting vars values, passing new values, tons of tries. It losts its params, and the move get malfuncion, lost its logic.
Any ideas?? There is an answer whuch I don't know, because when testing the movie (Control -> Test movie) esc and enter buttons works perfectly. Fscommand could be used?
Well ppl, I don't know what to do, and I do need a solution. Or a flash of light that clarifies some way to try another solution.
Thank u all!
-gooloo (egidio)
How Do I Get The Play, Stop, Volume Controls To Appear In My Embedded Flash Object?
Hello,
I want to show .swf or .flv videos on my website--like youtube.com. I want to use the standard Flash Player object embedded in a web page, however, I cannot seem to find the exact params that make the standard controls appear (ie, Play, Stop, Pause, Volume, etc). I just want to show a video and have the Play, Stop, Pause, Volume controls visible at the bottom. What do I need to do to get these controls to appear?
Here's my current code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
Slider Won't Stop
Hello,
I've attached a fla for anyone who has an idea. I am sure it is simple to solve.
When you mouse over the button, the menu slides right to position. Problem: when you attempt to click on links, the slider returns to original position.
How to keep slider in position while mouse is over it?
ODC
How To Stop The Slider?
Hello,
First, when you download attache file, make sure that file will be in same directory(c: emp).
in file test.fla in frame 5 in layer snowing is movie clip, name mcPoly.
Now, load testing.swf and hit the movie button. The movie(test.swf) is load, now push the play button and wait until the snowing come, then press the pause botton, and you will see that the snowing keep snow.
My questions is, how to stop the snow, when the pause button is press, and when you move the slider, where the snow is starting, the snow has to rest until the play button is press.
I hope you understand me.
thanks
Image Slider To Stop
I'm working on an image slider and when the cursor leaves the specified area it continues to scroll. I would like it to stop at it's current position and then continue movement when the cursor enters that area again. I played with it a bit but couldn't seem to get it to work. The fla is attached if someone could give it a look I would appreciate it.
Thanks
How Do I Stop My Slider Sliding?
hi there, just joined & am a complete flash novice so please feel free to laugh at my bastardised script
i'm trying to make a dynamic slideshow taking in pics from xml. so far so good... (thanks to other peoples hard work!)
i'd like my thumbnails to scroll left & right (just using next & prev buttons). all's grand, they scroll... but my problem is i don't know how to STOP them scrolling when i run out of thumbnails. i'm left with a gaping white space
i don't suppose there's an simple bit of code that says something like:
if (you run out of thumbnails) {
stop(this.scrolling!!);
} else {
keep.scrolling("your doing a great job");
}
?
my scrolling code so far is:
function SlideMenu() {
this._x += (newX-this._x)/10;
this._y += (newY-this._y)/10;
}
// This next line calls the funtion named SlideMenu
menu_mc.onEnterFrame = SlideMenu;
//The next line is where you indicate the total number of display area(s)
PageTotal = i++;
//The following function is assigned to the Forward button
next_mc.onPress = function() {
XNumber--;
newX = -XNumber*-50;
newY = -YNumber*0;
}
//This is a similar function for the Back button except in reverse
previous_mc.onPress = function() {
XNumber++;
newX = -XNumber*-50;
newY = -YNumber*0;
};
would really appreciate some help... i haven't a clue what i'm doing
cheers
naoimh
Stop And Start Mc`s
Hi here’s a little problem that I have I have made an EQ mc (blocks that go up and down to the music) the mc is in my lib and I drag it out onto my scene
I have a two buttons named off and on
How do I stop and start the mc using the buttons
I know its some sort of action script
Thanks for any help with this
stig
Stop And Start
I've created a long but simple movie with photos and text. When it is complete it starts over again. i'd like it to stop and only begin again when it is clicked.Is this possible? If so how would I accomplish it?
Thanks Daniella (fafnir)
Start/stop
I'm trying to make a .swf file so when you click on it, it'll play. like a start button of sort. I've tryed everything but I can't seem to get it to work. If someone could help please do.
[F8] Stop One Xml Start Another
Alright need a bit of help with this. I am making a gallery that will show case peoples work. I have broken down to the indivdual artists. but it seems when i click a link the the page does not load the new xml sheet, just keeps the first one.
Is there a piece of code that can switch off the first xml and switch on the next. So what i need is when you click a button, stop artist.xml start art.xml. So i guess how do you unload one xml and load up another.
All help is wonderfull
Img Pan Start/Stop
I am currently trying to edit Creatify's Img pan slider class (http://www.kirupa.com/forum/showthread.php?t=227359) so that it can stop and start panning on click of a btn. I am having trouble and hopeing that someone can help out or point me in the right direction.
attached is Creatify's Img pan zip
Start, Stop
i need help so that on rollOut from a button, it will play frame 15 that has a stop command in it instead of making it stop.
can anyone help?
Making My Slider Stop In A 'natural' Way?
hello, this may seem like an odd question. well after spending ages getting my slider to act like I want I now want it to stop at a certain point - but to act 'naturally' - basically the slider accelerates the more a button is pressed and uses a set deceleration number to slow down the slider when the button is unclicked. So the faster its going the longer and further the slider takes to slow down - 'ease' down. when it reaches zero it stops.
If you click on the blue arrow in the movie youll see what i mean.
The problem comes up when i want to get the slider to stop. I want the slider not to go beyond a certain point (say 600). This gets very difficult if the slider is to act naturally (as before).
I guess some kind of reverse engineering is required that works out what point to start the slow down based on where the slider is and what speed its going at??
The problem is Im not a maths whizz - I would really appreciate any help.
Please ask if you need clarification of what im asking. or if you know someone that has done this already i would appreciate the fla or url etc. again many thanks. or any ideas would be helpful
Slider Intermediate Stop Points
I've made slider that I don't want to be fluid. I want it to move along certain notches not in between them...
Any Ideas?
Thanks,
Mas
Making My Slider Stop In A 'natural' Way..
hello, this may seem like an odd question. well after spending ages getting my slider to act like I want I now want it to stop at a certain point - but to act 'naturally' - basically the slider accelerates the more a button is pressed and uses a set deceleration number to slow down the slider when the button is unclicked. So the faster its going the longer and further the slider takes to slow down - 'ease' down. when it reaches zero it stops.
If you click on the blue arrow in the movie youll see what i mean.
The problem comes up when i want to get the slider to stop. I want the slider not to go beyond a certain point (say 600). This gets very difficult if the slider is to act naturally (as before).
I guess some kind of reverse engineering is required that works out what point to start the slow down based on where the slider is and what speed its going at??
The problem is Im not a maths whizz - I would really appreciate any help.
Please ask if you need clarification of what im asking. or if you know someone that has done this already i would appreciate the fla or url etc. again many thanks.
Making My Slider Stop In A 'natural' Way..
hello, this may seem like an odd question. well after spending ages getting my slider to act like I want I now want it to stop at a certain point - but to act 'naturally' - basically the slider accelerates the more a button is pressed and uses a set deceleration number to slow down the slider when the button is unclicked. So the faster its going the longer and further the slider takes to slow down - 'ease' down. when it reaches zero it stops.
If you click on the blue arrow in the movie youll see what i mean.
The problem comes up when i want to get the slider to stop. I want the slider not to go beyond a certain point (say 600). This gets very difficult if the slider is to act naturally (as before).
I guess some kind of reverse engineering is required that works out what point to start the slow down based on where the slider is and what speed its going at??
The problem is Im not a maths whizz - I would really appreciate any help.
Please ask if you need clarification of what im asking. or if you know someone that has done this already i would appreciate the fla or url etc. again many thanks.
Controling Start/stop From A Different Swf
ok here is my question
i have a button that loads a new .swf within a movie clip (the script isnt really important but i uncluded it just in case)
Button:
on (release) {
gotoAndPlay (38);
loadMovie ("abt_lg.swf", _root.transition.content);
}
now within the movie "about_lg.swf", i have a button that i would like to make the movie clip from the last file (_root.transition) play.
is this possible to do?
thanks!
Greg
Start AVI W/mouseover-How To Stop
A have a page with 5 jpg photo's. Each jpg has a 30 second movie that is started with a mouseover. How can I stop all other movies when the user passes the mouse over a different photo? More that one movie running eventually causes IE to bomb.
(extra stuff stripped out)
<img border="0" src="APSVid1.jpg" dynsrc="IMAGES/APS00000.AVI" loop="1" start="mouseover" >
Thanks
Start And Stop Drag?
OKay, i was wonderin' HOW i can make it so if a I click on an object, an MC or a button, it will startDrag, and when i let go it will stopDrag. I hae this coding:
Code:
on (press) {
startDrag ("", true);
}
on (release) {
stopDrag();
}
also I need this to hitTest to see if it is in another object.
Now, my plight is on press it startDrag's but it doesnt stopDrag on release, also it doest lock mouse to center like i want it to, henceforth the true part, but i cant figure out how to get it to work... BAH!!!
Zakarus
Start/stop Sounds
Hi all,
how can i stop/start the sounds in the buttons by assigning action to another button?
thanks''2
Stop And Start New Scene
I am trying to build a Flash file that will play a scene, stop and wait for a key press, then continue to play the next scene. I will end up with some 20 - 30 scenes, or segments. Is there a way to do this easily AND should I NOT use scenes for this?
My animating is fine, but my ActionScripting is pathetic!
|