ActionScript 2.0 :: F5 Check If Movie Has Played Before, .. If So Stop?
Nov 18, 2003
I have a movie loaded into a header (which is loaded every time a new page is browsed). This movie spouts out a pop up window after 30 seconds then stops. This works except of course every page time this loads afresh it spouts out a new one.Is there some sort of way to check if movie has been played (say within a 4 hour period) and if it has not to play (do not spout out the pop up)?
View 1 Replies
Similar Posts:
Jul 20, 2004
When you put the stop(); action on a frame, does the frame's graphics get played before the movie stops, or does the movie stop before the frame's graphics are played?
View 2 Replies
Sep 9, 2009
how to stop a movie that is playing on a web page when another movie is played. Basically I have several movies on the page but when a user clicks on Play on one of the movies I want any other movie that might be playing to stop playing automatically. How can I do that so the user doesn't have to do it?
View 1 Replies
Jul 8, 2008
I am looking for a way to track if a video has already been played on someone's internet browser. I have a still image that comes to life from a video, so I really dont want to use controls but on the flip side the video will always play on launch of the page. I provided a mute button to give some control to stop sound but this is a site that gets a lot of repeat traffic. My client has contacted me saying that they have recieved several emails from users saying that the more they travel to the site the concept becomes less edgy and more annoying. I was wondering if anyone has ideas how to solve the issue I am facing. Is there a way to track cookies, cache, or temp internet files through actionscript?
View 2 Replies
Feb 20, 2012
I am creating a quiz in flash using AS 3.0 I need the order of the questions to be in a random order which I have worked out how to do.I now need to make it so the questions are shown only one, I've tried looking on the internet but I've not been able to find anything that a: helps and b:
[Code]...
View 1 Replies
Jul 31, 2008
I am trying to play a sound clip using actionscript 2 the code I am using is attached to a button and the code I used is the following.
[Code]...
My problem is that the sound clip loops and I do not want it to do so. I have other animations going on on the stage. I tried to place the stop(); command but I do not seem to be able to make it stop after my sound has played once.
View 2 Replies
Aug 30, 2011
We're making a viral video which is going to be distributed as FLV movie file free for download and redistribution.
I don't know much about flash yet but I can imagine FLV is just some sort of special flash application which can also include arbitrary code.
Is it possible to track how many times that movie file has been played by letting the FLV file perform a server-callback when playback begins?
View 1 Replies
Apr 18, 2010
i have 2 movie clip in different layer but in the same frame (e.g 0 to 10). i have: 1st movie clip contains a red circle that will animate from left to right. 2nd movie clip contains a blue circle that will animate from right to left. i have 2 square buttons (a green and black) that will control the two movie. all i want to do is if i press black square button the 1st movie will play but not the 2nd movie even though they are in the same frame?
and yes i want the 1st/2nd movie to stay after the either of two movie played that's why i put them in the same frame size.
View 1 Replies
Jan 9, 2004
Is there some code that I can use to detect whether a frame has already been played? What I'd like to do is detect yes or no, then jump to a specific frame depending on the condition.
View 11 Replies
Feb 15, 2005
I want so code to see if it plays 60 fps (that is my settings) in a movie that must have much power, also, I want to write out for example: it plays 45 fps/60 fps. Is there any way to do this?
View 2 Replies
Feb 15, 2005
I want so code to see if it plays 60 fps (that is my settings) in a movie that must have much power, also, I want to write out for example: it plays 45 fps/60 fps.
View 2 Replies
Nov 3, 2011
I am using Flash Live Media Encoder 3.2 to stream live ADUIO ( without clicking on video check box) since I am streaming Radio news only. The server is at When I choose to Save File As, it came out a .flv , and can't play back, eventhough its a 129MB file. But if I chose the video check box which straming with video , it came out fine.
View 1 Replies
Feb 7, 2012
I am looking to see if there is a way to program to see if movie played on a person machine. I looking to design and flash movie intro. if played go to home page if not play 30 second promo. Is this possible if so where do I begin to look for information on how to do it.
View 2 Replies
Feb 28, 2008
I have this...
Code:
waveNoise1 = new Sound();
waveNoise1.attachSound("waveNoise1_snd");
this.waveNoise1_mc.onRollOver = function() {
waveNoise1.start(0,1);
};
Is there a way to detect if this sound has been played, and then (and only then) will the movie continue to the next frame.
p.s. can this be applied so that multiple sounds have to be played through once to continue?
View 1 Replies
Dec 11, 2008
I am working on this flash website that holds an intro animation which is a .flv file placed in a .fla file. I am trying to figure out the Actionscript needed to tell it to go to the next frame within the same movie once the flv file has played. Right now it just stops and sits on the last frame of the flv file or the flv file just loops.
View 1 Replies
Aug 2, 2004
I have a inputbox in my movie but when the movie is played there is no cursor showing.I've looked around and found that I need to add the:
Selection.setFocus(inputboxname);
piece of code in the first line of my movie....This still doesn't do anything?
View 5 Replies
Apr 20, 2010
I am just a rookie in Flash, and came across a problem. I'm trying to create a flash movie that will display time like a TV ident does. I've successfully set it up to get the correct time and play a "tik-tok" sound as each second passes. However, it is to have some background music, and I can't get it to start when I need it - for instance, if the time is 18:00:00 it should start at 00 seconds, it time is 18:00:21 it should start at 21 seconds etc. This is the script I used for ticking:
[Code]...
What should I use for the complex situation as described above? My only guess is that I should sync it to the frames in the background video (behind the clock, running at 24 FPS), but I haven't got a clue how to set that up as well. Can someone please help? If necessary I can upload the .fla file.
View 3 Replies
Jan 8, 2009
I'm using Flash 8 and I'm having an issue getting back to the main stage once a movie clip has played. I have my file set up with three movie clips on the main stage. One just plays which is the banner, there are two rollover buttons on that mc for panel1_mc and panel2_mc. When you rollover to view panel1 it plays fine, but inside I have another button to take you to panel 2. That wont work...this is what I have for code for the button inside the clip:
[Code]....
View 4 Replies
Nov 19, 2003
I put the "stop" action at the end of my movie on the last keyframe, but the movie doesn't stop!
View 14 Replies
Aug 30, 2004
I'm creating a complex site, with lots of calculations, while I have to keep it as light as possible. I don't want to have 50 .onEnterFrame's running simultaneously, so, how do I stop them? See example: Let's say I want a simple movement, invoked by some reason:
Code:
mcChild.onEnterFrame = function(){
if(mcChild._x < mcParent._width){
mcChild._x += 5;
}}
Now I want to stop the .onEnterFrame check, because it reached the if = false - How??
View 4 Replies
Oct 21, 2008
I am using the mousewheel mouse event and keyboard keys to perform certain actions. But how can i check when the user has stopped using either the mouseWheel or keyboard?
View 2 Replies
Aug 12, 2009
I'm trying to get the bandwidth outputted on my flash player and the weirdest thing is happening. I have the following code:
[Code]...
View 7 Replies
Jan 5, 2010
Im attempting to make a preloader. I am very new to action script so this is what i have.
Code:
ifFrameLoaded ( "UC" ) {
gotoAndPlay ( "home" );
}
as simple as it gets, right? Wrong, the preloader works however is get this error 1087: Syntax error: extra characters found after end of program. The preloader it self works it plays and when the movie is loaded it begins the movie, however the movie doesnt stop at any of my stop commands and keeps looping through itself over and over again till i exit the window.
View 1 Replies
Jul 1, 2009
I'm making a website using flash,And on my movie it says Welcome to Blah Blah Blah,And then a button appears, To make sure my button works,The writing turns to bold and goes bigger,When the button appears it works and goes bigger, Until it reaches the point in the timeline where it has stop();It stops my movie from looping or restarting which is what i want, But it stops my buttons from working aswell, How to keep my button working but movie stops,If you want me to explain more just ask
View 1 Replies
Feb 11, 2009
My question is what needs to be done in order to make a .swf file go into full screen without falling to a black screen when a movie is played? I have tried coding it, however I come up with the following error.
[Code]....
What should I do to fix this? This is not going to be an HTML file, however, so the initial thought of changing the publish settings does not seem to work this time.
View 9 Replies
Jan 11, 2010
I'm creating a small drag & drop activity, and I want to be able to check and see if the dragged movie clip is completely within the bounds of another movie clip (or at least in the bounds of a certain x/y zone on the main stage. I can't use dropTest because it returns true if any tiny bit of the movie clip overlaps with the dropTest movie clip.
I also thought of something that just checks the x/y coordinates of the dragged movie clip, but I'd need this to reflect a range of values rather than one coordinate. For instance, I'd want to return true if the movie clip's x is between 50-60 AND the y is between 50-60. I'm attaching a small graphic to illustrate in case my explanation isn't clear enough [URL]
View 3 Replies
Dec 1, 2004
give me the actionscript for a bar that has a play and stop button to play and stop frames in a flash movie. i would be gratefull if you could as i am really stuck
View 2 Replies
Feb 28, 2010
on enter frame i need to check if some mc contains a movie, if yes perform and action, if not do nothing ..
View 9 Replies
Nov 22, 2010
how to stop a single movie clip in flash and other movie clips still looping. I tried stop(); and myclipname.stop(); both are not working. I attached a simple file,
View 0 Replies
Apr 14, 2004
Is it possible to target a loaded movie within the main timeline and stop sounds in that particular movie only?
View 4 Replies