Pause On First Frame, Flash Video, Flv
I would like my Flash .flv to display a particular frame (sometimes not the first maybe the 5th or 10th) -- I cannot find anywhere to do this in the DW embed utility, or in the Flash Video Encoder!
Can someone please help?
Adobe > Flash General Discussion
Posted on: 04/05/2007 02:06:36 PM
View Complete Forum Thread with Replies
Sponsored Links:
[F8] New To Flash, Using Cue Points To Pause Then Play Video
i have made a greenscreen keyed video to overlay over a site,
what i want to do:
The person walks onto the site and pauses. And a button will appear saying something like "click to play"
The user clicks and the video plays and ends.
So i thought i could use cue points and call them in action script. But i have very minimal experiance of using action script. Can anyone point me on the right track?
All the best!
Craig
View Replies !
View Related
How To Add A Toggle Play/pause Button For A Flash Video
Hi,
Can someone help me with this flash video. I am creating a custom video controllers and I need to have a toggle play and pause button. How would do I go about that. I tried to use it on a play button and the video pauses and play, but I need to get the pause image and play image in there. So, can anyone give me the code for that . I really appreciate it.
Thanks
View Replies !
View Related
AS2 - Pause Music Without Affecting Flash Video's Audio
hello.
i have a problem. i have a audio button. it is both pause and play. i also have a flash video in my clip. the problem is when i play my flash video and click my pause button, the sound of my flash video also go off. how can i pause my music with out cutting of my flash video's audio.
or is there better solution where when my flash video is up, the music gets pause automatically.
thanks alot.
On the first frame.
Code:
firstSound = new Sound(firstSoundMc);
firstSound.attachSound("firstSound01");
on my pause/play button clip (null object)
Code:
onClipEvent(load)
{
_root.soundstatus="on";
_root.firstSound.start(0,999);
_root.firstSound = new Sound(_level0);
maxvolume=100;
minvolume=0;
}
onClipEvent(enterFrame)
{
if(_root.soundstatus=="on") {step=5}
if(_root.soundstatus=="off") {step=-5}
maxvolume+=step;
if (maxvolume>100) {maxvolume=100;}
if (maxvolume<0) {maxvolume=0;}
_root.firstsound.setVolume(minvolume);
}
on the button it self i have
Code:
on(release) {
gotoAndStop(2);
_root.soundstatus="off";
equalizer.gotoAndStop(2);
}
View Replies !
View Related
Creating A Simple Flash Movie With Poster Frame And Play/Pause Buttons
I have the .flv file and now I want to create a video player with play/pause buttons nad a poster frame.
I posted this over at the Adobe forums yesterday, but haven't had any response so I thought I would try here.
It's been over a year since I played with Flash last, and I have completely forgotten everything I learned.
I have a .flv file which I want to play on my website. It should display a poster frame when the page load, and not autoplay the movie. It should have the play button I made in photoshop sitting on top of the poster frame. When pressed, the movie should start playing and the button should be shifted for the pause button I made in PS (it should work just like the play/pause button in iTunes). When the movie has finished playing, it should jump back to the poster frame.
I have tried using the flvplayback component and also played around with just embedding the flv directly and inserting a play and pause button from the common library, but I can't seem to get it to work. With the flvplayback component I have managed most of it apart from using my own buttons and getting the poster frame to work (which apparently has to be done with Action script).
As I said, I know nearly nothing about this and it might just be a problem of me not knowing what terms to put into Google.
Any help/links appreciated.
View Replies !
View Related
[F8] 2 Flash Objects - Audio Player Passes Pause To Video Player
I have 2 flash objects on my html page.
One is a video player and the other is an audio player.
The video player starts playing by default.
I'd like to somehow set this up so that if someone clicks on the audio player, it automatically pauses the video player.
Please note that these are 2 SEPARATE FLASH OBJECTS on my HTML website. I'm not developing an all Flash driven website.
The audio player was added as an afterthought, originally there was only going to be a video player on the page.
How can I send a pause command from the Audio Player to the Video Player?
FOO
View Replies !
View Related
Cue To Next Frame After Flash Video Is Played.
Basically, I have a video that I have converted to flash video using the encoder. I have imported this video into the first frame of my project. After the movie plays, I would like it to cue a frame with a picture. I will then stop the project on that picture....and that will be the end of it.
I did place a cue point at the end of my video when I encoded it. I thought I could then give an action script command at this cue point to send it to the next frame which would be my picture.
Two problems:
1. Not sure of the cue point action script to give for the "event value" so that it will go to the next frame.
2. My project basically consists of two frames. The first frame has my whole movie, the second from has my ending image. I need to know what script to add so that the project starts with the movie, plays it all the way through, then goes to the frame with the image.
I hope this makes sense.
View Replies !
View Related
Cue To Next Frame After Flash Video Is Played.
I posted the last question concerning the image showing up after the picture was played. The anwer I was given did work.
Now I went and complicated things. I would like to move into a tweened set of frames instead of just one frame. what would the script look like for that.
here's was I did for the single frame:
var vidList : Object = new Object();
vidList.complete = function() {
nextFrame(); //or whatever action you want
}
vid.addEventListener ("complete",vidList);
stop();
View Replies !
View Related
Flash Video Frame Rate
The frames per second in my FLA is 12 fps. I encoded the FLV in Flix to be 24 fps. The original Quicktime Movie was 29.97 fps. Should I bump up the FPS in the FLA higher? Thanks in advance
Edited: 03/01/2007 at 08:34:04 PM by rickymac
View Replies !
View Related
Can I Pause Video?
I've loaded video.swf through a loadvideo_mc into _level1
I have designed video controls on _level0
What is the best way to code a pause button?
Any help is GREATLY appreciated.
Thanks. Pete
View Replies !
View Related
Pause Video
i have this actionscript which is loading a video. i made a button to pause it but it wont pause. the actionscript on the button(on main timeline) is as follows:
on(press){
videoTrailerNS.pause();
}
action to load video on main timeline:
var videoTrailerNC:NetConnection = new NetConnection();
videoTrailerNC.connect(null);
var videoTrailerNS:NetStream = new NetStream(videoTrailerNC);
videoGalleryClip.attachVideo(videoTrailerNS);
videoTrailerNS.setBufferTime(5);
videoTrailerNS.play("video/video_trailer_gallery.flv");
videoTrailerNS.onStatus = function(infoObject) {
switch (infoObject.code) {
case "NetStream.Play.Start":
videoControls.buttonBuffering.gotoAndPlay(2);
break;
case "NetStream.Buffer.Full":
videoControls.buttonBuffering.gotoAndPlay(7);
break;
case "NetStream.Play.Stop":
gotoAndStop(1);
videoControls.buttonReplay.gotoAndPlay(2);
break;
}
}
View Replies !
View Related
Flash 8: Source Video Has Different Frame Rates
I need to combine multiple source videos into a single Flash video file.
Trouble is those source videos don't all have the same frame rate. For
instance in one piece, the source frame rate is 13 fps, and in another it is
30 fps.
Is there a 'best practice' method for combining these videos in Flash and
retaining the best possible quality? Because of the nature of the video
(medical ultrasound scans) I'd actually prefer it if the videos maintained
their original frame rate, so that the Flash movie adjusted it's frame rate
to suit the movies ....
I know I can match the frame rate of the source on input, but it's not clear
to me if a published movie will then dynamically change frame rate when
published.
I'd appreciate any comments and advice!
Steve
--
EuroTAAC eLearning 2007
http://www.eurotaac.com
Adobe Community Expert: Authorware, Flash Mobile and Devices
My blog - http://stevehoward.blogspot.com/
View Replies !
View Related
Flash Video With Too Wide A Frame When Uploaded
Hello,
I have a short flash movie (.swf) having a width of 320px
and a height of 240px. It works as expected locally (when I
open the page with dreamweaver and FF2 or IE7) but as soon
as I have uploaded the file to my website the movie gets a
much smaller size and a wide grey frame around it in both
browsers.
I don't understand what's causing this and how I can prevent
it.
If you would like to see the problem, this is the page with
the video (German language website).
http://www.paul-westrich.de/Profile/meg_nigriventris_movie.php
The video should be as big as the lighter grey frame.
Paul
View Replies !
View Related
Flash Video Intro / Then Jump To Frame
Hey there!
I'm trying to use an flv as an intro to a site. After this 15 second video, I want the user to see the flash site.
Currently I have the timeline set up as follows:
Preloader (Frames 1-4)
FLV Movie (Frame 5)
Flash Site Begins (Frame 6)
If I place a stop on Frame 5, the movie obviously does not move onto frame 6.
If there is no stop, then the FLV is skipped.
What is the process to tell flash that after the flv plays, goto frame 6? It seems so simple, but I can't figure this out! Any help is appreciated, and if there is a more efficient way to make this happen, I would love to hear it!
-alex
View Replies !
View Related
Streaming Video PAUSE - HELP
I needed to know how to resume play on a streaming video...
I know I can pause it using...
on (press) {my_nc = new NetConnection();
my_nc.connect(null);
my_ns = new NetStream(my_nc);
my_video.attachVideo(my_ns);
my_ns.pause("tubefittingturn2.flv");
}
and according to this page (NetStream.play())
I should be able to use the same code to resume play. It doesn't seem to be working for me.
What do I need to do and where?
Thanks in advance!!!
J
View Replies !
View Related
FLV Video Pause On Load
Hello,
Can someone please offer some assistance. I currently have a video file in my timeline which is being called using the Netstream Connection. Once the video has been buffered, I would like it to stop on the first frame, and only start when the user hits the play button. Can someone please tell me how this is done? I have looked everywhere and cannot find the answer.
Thanks in advance,
Oliver Alexander
View Replies !
View Related
Pause Frame
Hi
I have used a very simple script which would tell a frame to pause for a second or more (depending on the amount of time assigned). I can't remember the script but i know i found it on this site. Have looked and looked but can't find it again. Does anyone know this script. I have found one which seens complicated so i'd like to use one which is very simple and easy to follow. (i don't understand actionscript too well)
thanking you
View Replies !
View Related
Pause At Frame
can anyone tell (or send) me the code I need to pause a movie at a certain frame for X seconds?
I know you can do it director but I haven't been able to find it in my actions references.
Thanx
CobyCo
View Replies !
View Related
Frame Pause
the following code was desinged for flash5
pauseDuration = 25*1000;
framesInLoop = 2;
if (startTime == null) {
startTime = getTimer();
gotoAndPlay(_currentframe-framesInLoop);
} else {
lapsedTime = getTimer()-startTime;
if (lapsedTime<pauseDuration) {
gotoAndPlay(_currentframe-framesInLoop);
} else {
startTime = null;
}
}
will it work in flash mx? or does some of the code need editing?
please help
View Replies !
View Related
Frame Pause
the following code was desinged for flash5
pauseDuration = 25*1000;
framesInLoop = 2;
if (startTime == null) {
startTime = getTimer();
gotoAndPlay(_currentframe-framesInLoop);
} else {
lapsedTime = getTimer()-startTime;
if (lapsedTime<pauseDuration) {
gotoAndPlay(_currentframe-framesInLoop);
} else {
startTime = null;
}
}
will it work in flash mx? or does some of the code need editing?
I did try this AS. it was ment to loop 2 frames for 25seconds and then move on to the next frame but its not working.
i got the script from macromedia.com and it says i can use it in mx please help
View Replies !
View Related
Pause FLV On First Frame
How do you pause an FLV as soon as it loads, so that it freezes on the first frame of the movie?
I can get it to pause 3 or 4 frames after it has loaded by using the following code:
myNetStream.onStatus = function(infoObject)
{
if(infoObject.code == "NetStream.Buffer.Full")
{
myNetStream.pause();
}
}
But with the above approach you can see the first few frames play until the buffer is full (obviously).
Does anyone have any suggestions?
View Replies !
View Related
[F9] Pause At Last Frame Of Flv
Hi there
You've probably had this question hundreds of times but I'm completely stumped about this one... I'm trying to get rid of the black flicker screen at the end of the video on this site:
www.midair.info
The video plays through to the end and then goes to an url which is the main page, however it flickers up a black screen inbetween the first page and the following one. All I want this to do is either replace that black screen with an image or pause the last frame so there is no flicker.
I'm a beginner to all this, and the code I am using right now is:
Code:
var myListener = new Object();
myListener.complete = function():Void
{
getURL("http://www.midair.info/main.htm");
}
// replace video with the instance name you choose for your FLV
MIDAIR.addEventListener("complete",myListener);
MIDAIR is obviously the instance for my flv file. I am using the standard flv player that comes with Adobe Flash CS3. Thanks to anyone that may be able to help me
View Replies !
View Related
Pause Within A Frame
Hello all
I'm creating an eLearning course in Flash. When a user clicks a button I want to run a movie file, pause for 500 ms or so, and then add some text on the screen.
Does anyone know a funky way to do this? I'd really appreciate some help.
Here is the code I have now:on (release) {
this.Beep1._visible = true;
this.Beep1.play();
this.Message._visible = false;
this.Bodytxt.htmlText = "text added here.<br><br>";}Thanks in advance
MMH
View Replies !
View Related
How Do I 'Pause' On A Frame?
How can I pause on a frame for 5 seconds without using a while statement or something similar?
I have a game and when the user finishes the first level I want the movie to pause on the frame for 5 seconds and then run a script. Surely flash is capable of something this simple without messing around with stupid workaround scripts?
Thanks in advance,
Chris.
View Replies !
View Related
Pause FLV On First Frame
How do you pause an FLV as soon as it loads, so that it freezes on the first frame of the movie?
I can get it to pause 3 or 4 frames after it has loaded by using the following code:
myNetStream.onStatus = function(infoObject)
{
if(infoObject.code == "NetStream.Buffer.Full")
{
myNetStream.pause();
}
}
But with the above approach you can see the first few frames play until the buffer is full (obviously).
Does anyone have any suggestions?
View Replies !
View Related
Pause In Frame
Hello Everyone,
I am having an issue with a flash project.
The project is a fairly simple presentation that goes from one movie to the next.
it is divided in 6 main .swfs:
1. container
2. navigation
3. Animation1
4. Animation2
5. Animation3
6. Animation4
The "AnimationN .swfs" have 3 main frames in them.
Here is the issue:
I need the movie to pause in a certain frame wait for a few secs. and continue playing ... find the next frame where it needs to pause again, wait and so on and so forth ...
If the issue is clear (pretty late here and way too tired of dealing with this issue) please hit a reply with a hint!
Thanks in advance!
View Replies !
View Related
Pause FLV On First Frame
How do you pause an FLV as soon as it loads, so that it freezes on the first frame of the movie?
I can get it to pause 3 or 4 frames after it has loaded by using the following code:
myNetStream.onStatus = function(infoObject)
{
if(infoObject.code == "NetStream.Buffer.Full")
{
myNetStream.pause();
}
}
But with the above approach you can see the first few frames play until the buffer is full (obviously).
Does anyone have any suggestions?
View Replies !
View Related
Flash Video Paused On Specific Frame At Start.
maybe this post should be in the newbie section....
but i am loading .flv's into flash and exporting them for progressive download. i have the autostart turned off so they are paused when loaded, but i need them to be paused on a certain frame since the first frame is black, and we need an image.
any simple solutions?
thanks.
View Replies !
View Related
Hold Playhead In Frame While Flash Video Plays
Hi
I have a streaming flash video in my movie, whcih plays fine. When the user
presses a button the playgead goes to a certain frame where the flash video
is placed. A stop() in Actions layer holds the playhead there and the whole
movie plays. Fine.
However, I want the playhead to move to the next frame when the flash video
finishes playing. How do I do that? I would be grateful if you could point
me in the right direction. I am working with Flash MX Pro. on Windows XP.
Thanks.
Nishi
View Replies !
View Related
[Flash MX 2004] Stop Video Playback When Going To Next Frame
Hi,
I've put together a small website and have managed to teach myself quite a bit but there is one thing that I can't seem to find any info on, so if anyone out there could help me out that would be great....
on the second page of the site I have a video, which progressively loads into the page, however I would like to make the video stop playing when you go to any of the other pages of the site. I'm sure this is a pretty straight forward piece of code but I can't work it out myself.
This is the code I use to start my video playing.....
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
myVideo.attachVideo(ns);
ns.play("vsshowreel.flv");
the button you click on to go to the other page is called resume_btn
I hope someone can help.
Thanks for reading this....
View Replies !
View Related
Pause A Loaded .swf Video For A Moment
Hi, I´m using flash MX and I got a .swf video made with camtasia studio that load into my flash file. But I want the .swf to stop at an especific point for a moment, so I can explain with a text what´s going on and then continue to play the video, all this automatically. Is it possible? How?
Thanks a lot.
View Replies !
View Related
Sound And Video Sync Pause
hi guys!
i tried doing the pause sound thingy using the tutorial, sometimes it works, sometimes it sound seems to be playing in mute mode when i hit the "pause" button cos when i hit "unpause" the song starts from elsewhere.. strange.. anybody?
another qns, in a particular frame in flash, how do you get the frame number of the currentframe of the movieclip that is playing from another movieclip?
lastly, when a video and an audio is playing simultaneusly, when i pause the audio the video keeps playing, but when i unpause the audio, the audio resumes @ the same point where the video is currently playing?
thanks guys!
View Replies !
View Related
Streaming Video Pause Button
On my machine the flash movie will work fine, but other computers the pause button doesnt work for some reason, and i cant seem to find out why. heres some code im using:
var place = 0;
videoPlaying = new Boolean(false);
videoPaused = new Boolean(false);
pauseVideo = function () {
if (videoPlaying == true) {
if (videoPaused == false) {
videoPaused = true;
holder.stop();
place = holder.duration;
} else if (videoPaused == true) {
videoPaused = false;
holder.play(place);
}
}
};
the pause button calls the pauseVideo function when released
Has anyone have heard of this happening or somthing? I installed the lastest flash plugins in the other computers and still nothing. Changed the actionscript to 1.0 still nothing.
View Replies !
View Related
[CS3] Xml Video Array - Pause, Then Start?
I'm a bit under the gun here as a client was expecting this last night and I haven't been able to figure it out... sure would love some help.
Basically, I've got this xml doc with 4 videos. After the first video plays, I need some code to stop the array from continuing, until the user jumps to a new frame. So, there are 4 videos (a, b, c, d) that correspond to 4 frames (0, 20, 30, 40) and when the user clicks on a button, the playhead jumps to one of the 4 frames.
Any help is very appreciated.
Thanks.http://www.bornwondering.com/uploads/fla_files.zip
View Replies !
View Related
Pause, Play Embedded Video
I noticed that using the embedded video in flash only allows you to have a pause/play button as a toggle. Meaning if you press "pause" it pauses the video, if press it again the video plays from the current position.
Is there a way to code it so that "pause" only pauses the movie, and play only "plays" the movie?
Here is a small bit of code:
ActionScript Code:
playBtn.onPress = function() {
ns.play();
};
//
pauseBtn.onPress = function() {
ns.pause();
};
View Replies !
View Related
Load And Pause Progressive FLV Video
We have a custom video player that plays progressive download videos. Some of the videos we are using in a blog (see link below) start in black and fade into view. I'm trying to figure out a way to have the video load a few seconds and then pause on a frame that has an image (the interviewee). We currently have the videos start as "paused" but the issue with this is that there's no imagery to look at. Its just an empty player. Any link or help would be greatly appreciated.
thanks - shawn
BLOG EXAMPLE
View Replies !
View Related
How To Pause Video At Preset Time?
I have an external FLV which I play in a FLVPlayback component and I want to pause it at a certain time WITHOUT pressing any buttons. How does one do this?
Related question: how to make the external FLV stop at the last frame without going back to displaying the first frame (without pressing any buttons (i want it to stop at the last frame and keep displaying it))
Edited: 04/17/2007 at 09:45:40 AM by 123joris456
View Replies !
View Related
Video With Custom Pause & Play
Hi, I would like to control a video file with my own buttons.
Here is what I have: an imported video file using "Progressive download from a web server". The main stage has some buttons (Play & Pause) within a movie clip with an instance name of: "MusicControls". The Video is located in another movie clip on the main stage with an instance name of: "EQUO".
I'm very new to action script and have no idea where to begin, to connect the buttons and video. The video starts to play automatically, and you should see the pause button (which is on frame 2 in the "MusicControls" movie clip. When clicked, I'd like it to pause the movie. When that happens the Play button should appear (which is on frame 1 of the "MusicControls" movie clip, and I'd like it to resume the video.
Is there anyone who could help me achieve this? An action script example would be fantastic. Thank you so much!!
Edited: 08/31/2007 at 07:34:52 AM by shojinate
View Replies !
View Related
Video Set To Loop, But Has A Slight Pause At End
Hi,
I have a video looping via AS3; only thing is the video slightly pauses at the end before it loops.
Any one know how I could fix this?
I have tried the following, but no matter which method, I get that pause:
(METHOD 1)
container.myVideo.autoRewind = true;
container.myVideo.addEventListener(VideoEvent.AUTO_REWOUND, loopVideo);
function loopVideo(event:VideoEvent):void
{
container.myVideo.play();
}
(METHOD 2)
container.myVideo.addEventListener(VideoEvent.COMPLETE, playAgain);
function playAgain(evt:VideoEvent):void
{
container.myVideo.seek(0);
container.myVideo.play();
}
Kind Regards,
Boxing Boom
Edited: 09/26/2008 at 01:04:35 AM by Boxing Boom
View Replies !
View Related
Video Play/pause Button
I am playing an external flv movie. I have made a play button and a pause button - everything works fine.
What I need to do is have it so only one button is visible. When the movie is playing the pause button will show. When the movie is paused - the pause button changes to the play button
Any ideas?
View Replies !
View Related
|