ActionScript 2.0 :: [MX] Play MC/.swf During Certain Time Of Day?
Mar 29, 2004
This thread i speak of is about how to play certain .swf's or MC's during the morning/afternoon/night.
I know for a fact i've seen this thread here before, but i just can't find it. Or if anyone wants to let me know how to accomplish this without the previous thread, that would be great also.
View 6 Replies
Similar Posts:
Aug 24, 2009
I'm testing Live streaming with FMSS. The stream is pushed to FMSS buy Adobe FMLE software. Streaming works fine until I reach 1300-1400 simultaneous connections.No matter what the encoding ratebit is (150kbps or 2000kbps) the stream is no longer play from time to time (5-8 seconds).
The CPU (2xIntel Quad) is loaded less than 20% and memory used is about 2 GB (there is plenty of memory installed 32G). The OS is RedHat 5.3 64bit platform. Network uplink maximum rate is 4Gbps.I disabled the Queue but the problem still persist.
View 1 Replies
Dec 21, 2009
I would like to play two videos (progressive), on top of each other. Nothing serious. But the second video contains multiple counters that has to play synchrone (with other words:simultaneously) with the first video.The second video (which is much smaller than the first) will preload much quicker and thereby starts playing earlier than the other video. Is there a way to start the video's at the same time and play them in progressive mode? (embedding is not an option because of the large filesize)
View 1 Replies
Jun 21, 2009
Is there a way to pause the playback for a set amount of time then resuming without any interaction from the viewer?
View 1 Replies
Jun 26, 2009
I want to play 2 audio in same time is it possible.....
View 3 Replies
Sep 15, 2010
I need the movie to play just once (the top header) per user session and then other pages not to restart the same movie from the beginning...At the same time protection against hotlinking should remain. Is it possible to make this without storing the swf file on the user's machine?[code].,,.
View 12 Replies
Nov 10, 2010
How do I make a command saying:
if sound is playing - dont play sound, else, play sound?
so that the sound effect only plays one at a time. So if holding down SPACEBAR for example, the sound will play and only after the sound finishes, can it loop if SPACEBAR is still pressed.
View 2 Replies
May 16, 2011
I have two animated SWFs on the same web page and I am trying to get them to play at the same time when only clicking on one of them. How do I make this happen?
View 1 Replies
May 17, 2011
How can I stop one SWF file playing when playing another in a HTML page?
I currently have a carousel that displays multiple SWF files and I don't want any overlapping of video or audio. I've been looking into LocalConnection and JavaScript options but with no luck. My SWF files are currently ActionScript 3 and Flash Player 10. I have a large play button on them, with the ActionScript code:
import fl.video.VideoEvent;
import fl.video.VideoState;
video.addEventListener(VideoEvent.STATE_CHANGE,showButton);
[Code]...
Is there a way to incoporate a "stop the other SWF files playing" in this somehow?
View 1 Replies
Jan 21, 2009
I'm having a problem with sounds in AS3. I'm using the following code.
ActionScript Code:
sound = new Sound(new URLRequest("mytrack.mp3"));
channel = sound.play();
If i want to skip to a certain location in the track, say 1/2 way through, i then use
ActionScript Code:
channel.stop(); //stops old sound from continuing
sound = new Sound(new URLRequest("mytrack.mp3"));
channel = sound.play(location); // location = time in ms to start from
I've noticed by using loading bars, that in most browsers, if the song has not fully downloaded, it restarts downloading from 0 and then when completely done, plays at the desired point. If the song HAS downloaded, it quickly loads (as if downloading from 0 to complete in about 1/2 second) and then plays from the desired point.
My question: Is there a better way to seek to a position in a song, that would stop this strange behavior?
View 2 Replies
Jul 27, 2005
ok does anyone know or can link me to a right tutorial on to set time condition:
if system idle for certain time it wil play certain MC or load certain swf.
View 14 Replies
May 8, 2003
i have a about 20 frame animation but what I want to do is to find out is there a way to set a time to play a certain frames i.e when movie starts it plays only 10 frames and then stops for a minute then after 1 minute it continues from frame 10 to frame 20 and then again stops for one minute and it starts over again
View 1 Replies
Mar 12, 2004
I know this seems weird but I want upon reaching a certain frame. I want something like this to happen.
[AS]_root.gotoAndPlay(2);[/AS]
that is fine but at the same time I want this to happen also
[AS]_root.hidden.movie.gotoAndPlay(2);[/AS]
So basically target 2 movies to play at the same time. But for some reason it is not working for me.
View 8 Replies
Apr 21, 2009
I have this script that plays a sound from the library randomly - it works and plays one of the three/four sounds each time it is clicked - but how can i make it play a different sound on each and never repeat - does that make sense?
so, on the first click it plays either 1, 2 or 3, chooses 2 so next click it will choose either 1 or 3, chooses 3, and next click it plays 1 and so on.
View 6 Replies
Apr 19, 2010
play a number of FLV files at the same time on one SWF? Basically I have a brief to create a video banner with a number of FLVs of people playing at the same time but starting at different points in the videos. My concerns are with loading times, memory consumption and the starting of each FLV at a different point and looping it.
View 1 Replies
Jul 5, 2010
is it possible to play mc in a specific time frame from the outside??
i'm actually making a card matching game and i'm having problem flipping the 1st card back if the cards don't match... i made 2 animation in 1 mc...the first one is to see the behind of the card...and the other one is to turn it back if wrong...
so is there a way that i could play the mc of the first card to frame 30 when clicking the 2nd card and they don't match??
View 4 Replies
Jun 14, 2011
I have a one page web site with 5 links to pseudo pages, so my problem is that on every part of the web site the swf files start playing. (Of course I understand that I can set the first one to play and the others to stop mode, but that doesn't solve the problem) What I try do do is this: *When the web site starts only the first pseudo page let the swf play. *When clicking a link to an other pseudo page that particular movie on the linked page starts playing. *All other swf movies don't play.
View 6 Replies
Jul 22, 2011
Having trouble figuring out the logic for this, I have an enter frame event that I move a character around trying to select correct numbers, using hit test. If they land on wrong number I have a sound that should play once but since is in enter frame it plays a million times, this seems like should be a common issue but haven't been able to find any solution on the internets. This is the basic idea:
private function enterFrameHandler(event:Event):void
{
if ( Collision(_player, _number )
[code]......
View 1 Replies
Aug 29, 2011
I am trying to make an animation that will pause and start again after a certain time. The problem is I don't have any experience with Actionscript (or programming of any sort for that matter)..I found this link that appears to explain how it's done, but I can't seem to replicate it. I'm not even sure which version of Actionscript this is.. [URL]
View 5 Replies
Apr 8, 2011
How to play mp4 videos in e.g. flowplayer in real-time (streaming) - without downloading it fully first?
View 2 Replies
Jun 25, 2009
I have this code which creates a timer that counts down from the specified time (displayed in a dynamic text box named timer);
this.onEnterFrame = function () {
var currTime = getTimer();
var targTime = Number(555) * 1000;
[code]....
I want to stop and start again the timer (from the time at which it was stopped) by clicking a pause and play button.I have this code on the pause button (which works to stop the timer);
on (press) {
_root.timer = timeLeft;
}
I can't get the play button to start the timer again from the time it is stopped at.
View 0 Replies
Sep 17, 2009
When I play several(4-5) notes at once using enterframe, the piece is getting stock and I am only hearing one note.
View 9 Replies
Dec 14, 2009
How can I make it so that each number will play one example at a time?[code]...
View 0 Replies
May 2, 2011
How can I control the playing time of an external mp3 using actionscript ?
I need to only play a 10 second clip of this sound file so how can I control the length of play time?[code]...
View 0 Replies
Jun 26, 2011
In the timeline I have a main menu on frame 1 and four subsections on frames 10,20,30, and 40. I have four buttons on the main menu label("button001"; "button002";"button003", and "button004"), each one is sending the movie to a specific label (i.e: "section001", frame 10; "section002", frame 20; "section003", frame 30; and "section004", frame 40). In each one of those specific frames/labels (10,20,30,and 40) I have a movie clip that contains the section. It starts with a simple animation and ends in a stop. And this is what I want to do: play the animation just once.
Let's say in the main menu; when pressing one of the four buttons, the movie goes to one of those specific frames and the animation starts. For instance, I press "button001" and send my movie to the "section001" label. Then I return to the main menu and press again the "button001"; I don't want the animation to play again, I want to start in the stop point. So, I think about using some kind of conditional, but it's not working. Inside the "section001" movie, I put the following code on the first frame:
ActionScript Code:
stop();
var section001_intro = false;
if (section001_intro = true){
//"section001_stop" is a label I put on the last frame of the movie clip
gotoAndStop("section001_stop");
}else{
nextFrame();
}
Then on the last frame, when the movie stops, I wrote this code:
ActionScript Code:
var section001_intro = true;
So, my idea is that the first time the movie is played, the animation is played; then, I indicate in the last frame that the move has been played. next time I go to the "section001" label the movie must skip the animation and go directly to the "section001_stop" label.
View 9 Replies
Apr 27, 2009
i am trying to play the timeline backwards once it reaches the end, but i cannot fine anything out on the net to explain how to do this without a button click.
View 1 Replies
Jul 8, 2004
But i want my question run randomly each time when different people play it.
View 6 Replies
Feb 23, 2005
Can I use attachSound method to load 2 or more sounds to play at the same time? If yes, how?
View 2 Replies
Oct 16, 2006
I have the following code that brings in a movie animation. My problem is that once the animation is finished and the user presses the 'back' button to navigate elsewhere on the website, if they go back to the animation and click the 'great_btn' the animation won't play again.
ActionScript Code:
_root.main_cntr.btns_mc.great_btn.onRelease = function() {
loadscrollIt(); disableBtns(btnArray);
[code]......
View 1 Replies
Aug 8, 2003
I've been workning on this footer for a friend and its all working how its supposed to but I noticed that if I play the swf and listen to music at the same time, the music will jump and skip and lag and stuff like that.
I'm on WinXP so I hit Ctrl+Alt+Del to check how much of the CPU was being used and it was up at 100%, when I closed the flash player, the CPU Usage jumped back down to around 5%
[Code]...
View 3 Replies