ActionScript 2.0 :: Removing Rewind And Back/forward
Nov 17, 2004i'm making a game and i don't want people to be able to skip frames or rewind during the game this would mess things up, how can i remove this?
View 3 Repliesi'm making a game and i don't want people to be able to skip frames or rewind during the game this would mess things up, how can i remove this?
View 3 Repliesi'm making a game and i don't want people to be able to skip frames or rewind during the game this would mess things up, how can i remove this?
View 3 RepliesProblem is that my rewind and fast forward buttons do not work properly in the sense that they start to mess up when you fast forward or rewind past the current scene. It seems to just skip through the whole movie and totally mess up the animation.the code for the controls is on a single layer and reads as the following:
stop();
play_btn.onRelease = function (){
play();
[code].....
I am building a video player and would like to have a forward and rewind button. I was looking at tutorials and it seems like none of them have this. Is there a reason for this?
View 5 RepliesWhat I need its a way to control my timeline forward and rewind. To make it easy to explain I will make a example: Imagine that you have a movie (cars crossing a street - with trucks and buses too). Sometimes there is just cars on the street, sometimes just trucks. I should paste this movie into my timeline(like image sequence), in the background of my application. In other layer will be informations, in this example, about trucks and cars. Till this point ok. But I need to make the movie go to the frame that I choose to be the image of the movie that only have cars.
Okay ... this is in frame 15 of the movie. Then I click a button and go to show trucks info. I click and go to frame 30... at this point ok too. But now I click again to see about cars. Its in frame 15 and I don't want to "JUMP" (like gotoandstop)... I want the movie rewinds (in the speed that it plays) till I get frame 15. How do I control the timeline like this? (There will be at least 6 points in this movie that i want to stop by. And this movie begins stopped.)
I have a Flash animation (AS2) that contains a background audio file. I've been asked to add controls to it. So far, I have added buttons to pause/play the animation and stop and start both the root timeline and the attached mp3 audio. I also need to add a reverse button. I've seen tutorials that are enable reversing of the timeline's playhead. Is there a way to have the audio file reverse as well?
View 1 RepliesI'm using CS4 with AS3 and have a little problem with my rewind and forward buttons. For the play and stop buttons it works fine with this script:
[Code]...
I have 10 keyframes in my movie. Each keyframe has stop(); and an MC with a piece of animation inside, and at the end of each MC, there is a _root.nextFrame();lay and Pause buttons work, but rewind and forward do not work. It works, if I export individual MC's, but I really need it to work, so that they can control the rewind and forward, by going into the MC's first.To conclude: I think the problem is, that the code must know that it must control the animation inside a corresponding MC, and not on the main timeline (like it is programmed to originally) - but how? Which codes do I alter to my own needs? Or am I placing my code at the wrong place? (inside the MC vs. outside). Should I also giv my MC's unique instance names?
View 1 RepliesI'm using CS4 with AS3 and have a little problem with my rewind and forward buttons. For the play and stop buttons it works fine with this script:
playButton.addEventListener (MouseEvent.CLICK, playButtonClick);
function playButtonClick (e:MouseEvent):void
{
play();
[Code]....
I get error messages.
All I need is to rewind and forward the movie about 50 frames and keep playing without stopping.
I am writing an actionscript 2 project, how do i stop poeple right clicking fast forward and rewind and next?
View 1 RepliesI am using flvplayback (dynamically add from as3), now to add fastforward - rewind functionality in it.
View 11 RepliesIf I have a main SWF movie, in which I load external SWF files, and in that main SWF movie I have a scrubber bar, to control the loaded movies, do those movies have to have all their animation in the timeline?How do I use a scrubber bar to rewind or move forward animations created by actionscript or nested within movieclips? Is this even possible?
View 8 RepliesI googled "as3 audio slow motion fast forward rewind" and found only this of relevance: playing slow motion, fast forward , rewind in a video player in flash video player, which briefly talks about how to fast forward and rewind a video as well as two options for doing slow motion on video. I only need audio, though. I think I might be able to do fast forward and rewind by stopping the SoundChannel and then playing the sound at a different position using addEventListener (Event.ENTER_FRAME, ~), but I'm completely lost on how to apply the advice regarding slow motion. I use Flash CS5.5 and all the sounds I want to operate on are already in the library.
View 1 RepliesAnyways I am using action script 3.0 and I created multiple layers using just one scene. I created a layer with lables on them to mark where I want my buttons to point to and go to. I have the stop (); on the first frame. And I made my buttons mostly interactive with movie symbols and tweens.My first scene I have 2 doors, the user can pick which door to go to and it takes them into a different path.I made the buttons that are clicked to go forward, and then I tried to make an invisible button on the button edge of the scene to go backwards However, the PROBLEM is when I click my button to go backwards I am stuck on the first page and can't move forward.
function gotoOne(evt:Event):void{ gotoAndStop("one")}backbutton1.addEventListener("click",gotoOne);
function gotoFour(evt:Event):void{
[code].....
I'm loading an external .swf using the following code:
voiceover = new Sound ();voiceover.loadSound("Audio/Test.mp3", true);
The audio plays fine. My question is how can I create a pause, resume, rewind, or fast forward button for an external mp3?
I was looking for a way to create play, stop, rewind and fast forward buttons for an animation I created in Flash. I found a nice description at republicofcode.com/tutorials/flash/controller_bc/, but after trying the code for stop and play I get the error: Access of possibly undefined property onRelease through a reference with static fl.controls:button.
stop();
play_btn.onRelease=function (){
play();
}
[code]....
I have been working on a tutorial in Flash on the topic of Flash () for two days, and I am just finishing up on a template. I have fixed five bugs, but I cannot think of how to fix this last one. I'd rather actually fix the problem this time, instead of improvising . So, here is what is going on:
I have this thing at the end where you have to enter in the code that I taught the viewer to proceed, then hit the continue button to finish the tutorial. But for some reason, whenever I try to go back with the back arrow, it does, but then I can't go forward with the forward arrow until I reach the first frame that contains actual tutorial ("page" 2). Then it works again. It seems really random, but there is [obviously] a good explanation for it. I thought it might have something to do with the fact that all of the arrows up to the "test" part, excluding the back arrow there, have the exact same instance name. However, "page" 2 is the 2nd time it is used (introduction, then the "page" 2, then 3, 4, 5, and 6, then the test part thing), so it makes less sense that it would work the 2nd time, but not the third, fourth, fifth, or sixth. And I know there's nothing wrong with the code itself:
[Code]...
Code:
onClipEvent(load) {
this.rotateTo(2,2,"easeinoutbounce",20);
}
i want to rewind or reverse back to the original and play over + over again....?
I'm rewinding an FLVPlayer w/AS, but the little triangle on the seekbar doesn't move back to the start. The code I'm using is: videoComponent.stop(); videoComponent.seek(0); videoComponent.playheadTime = 0;
View 1 RepliesI am doing a slideshow in Flash. With AS 2, I would create frame labels for each slide with a stop action on each one in the timeline and a button underneath the background with the following script:
on (keyPress "<Right>") {
gotoAndPlay("2");
}
The keyboard right arrow (and left arrow) would move the slideshow forward and backward. I had another button for backward.I'm doing one in AS 3 now (dictated to me) and this script isn't working.
I would like to let a MovieClip to move from lets say _x 200 to _x 800. When the mc reach the _x 800 it should return to _ 200 and visa versa. I like to do this with AS instead of with motion tween.
View 2 RepliesI need to know how to use the Back/Foward buttons with IE. I have a movie that has several frames. Each frame is a section of the page.If you go to a different section of the page, I want to be able to use the back button to go back to the previous section you were at.
View 2 RepliesI'm redoing my portfolio and just want back and foward buttons, so user can click through my portfolio.
View 5 RepliesI have a forward and back button that load several images in a sub-folder that load to a UIloader.
next_btn.addEventListener(MouseEvent.CLICK, nextImage);
function nextImage2(evtObj:MouseEvent):void{
imageNumber++;
[code].....
The function at the end needs to allow a person to go back in the data. I can go forward,but I cannot go back.
stop();var nameArray:Array = new Array();var countryArray:Array = new Array();var portraitArray:Array = new Array();var flagArray:Array = new Array();var jobtitleArray:Array = new Array();var contactArray:Array = new Array();
[Code]...
I looked at the tutorial on gotoandlearn about it, and understood the concept, but it's in as3, and I'm trying to do this in as2.I have it so that the url changes, and the title changes. And when you click on the various buttons on my site..it registers in the browser..but the main purpose I can't get, namely, if someone clicks my about button, i want to trigger the about function.That is easy enough to do in flash, but how can I get it to trigger from the back or forward button. Or if someone goes to URL...I am not getting the key ingredient to make this happen. If I paste in URL...how is it to know to launch the about function?
View 3 RepliesIm trying to make buttons to advance a frame and retract a frame. So I have this for the forward button...
Code:
on(release){
play();
[code]....
I'm working off the XML photo gallery tute found here: xml_flash_photogallery.htm. My wish is to have the array loop forward and backwards, so by clicking next you will eventually get back to the first value, and if you keep clicking previous you will eventually see the last value in the array.
I found some Scotty code (first line in the nextImage function) that enabled this function with the next button, but I can't figure out how to use it for the previous button.Here's the code:
previous_btn.onRelease = function() {
prevImage();
};[code]....
Im trying to make buttons to advance a frame and retract a frame. So I have this for the forward button... [code]with a stop(); on each frame.But is there a way to play in reverse?
View 2 RepliesI was trying to accomplish this same effect using actionscript 3.0; (click the forward and back button next to the recent work)[URL] he has made buttons play a movieclip at different points of a timeline...Basically this is what I came up with (see my cooment).
//Flash - go get code that's going to make the tween work... import fl.transitions.Tween;import fl.transitions.easing.*;stop();
//home_mc animation - animate in..var gd_fullsize_01Tween:Tween = new
[Code]....