First 45 Secs Of Avi File Not Playing
Aug 31, 2009
I have created fla file in cs4 which is 1 minute long.
However when I try to export it as an avi only the last fifteen seconds of the video actually play. The avi is still 1 minute long but the first 45 seconds is just a white screen.
I'm only converting it to an avi so that i can subsequently convert it to an flv and put it into a player on my site.
View 1 Replies
Similar Posts:
Aug 31, 2009
I have some animation (programmatic, I'm NOT using keyframed animation in timeline), and some music I want to play in the background. Once the music file reaches the end (about 30 seconds long), I want to trigger the end of the animation functions.I figure I could either use an actionscript timer to trigger the end of the animation or a keyframe with actionscript that is placed on the timeline near the end of the song but these methods assume knowledge about the duration of the wave file. If I changed the framerate or updated the external wave file, these triggers would possibly no longer sync upIs there some sort of event listener or other detection method for an audio file to signal it has finished playing? Or maybe there is a way to get the duration of the audio file to use in the timer
View 3 Replies
Jul 12, 2009
I'm trying to do something specific when like 5 secs of my video has played, however I can't seem to trace anything out when ns.time == 5 secs.I tried with the following:
ActionScript Code:
if(ns.time >= 5.00 || ns.time >= 5.000 || ns.time >= 5.0 || ns.time >= 5) {[code]...
Which doesn't give me anything.
View 2 Replies
Jul 8, 2009
I am loading/unloading various swf animation which is now working fine.
But I can work how to make a delay for 8 secs before the next swf loads.
This is the code which i have been using.
var clips:Array = ["clip0.swf", "clip1.swf", "clip2.swf"];
var index:int = 0;
var thisLoader:Loader = new Loader();
[Code].....
View 2 Replies
Jun 19, 2009
I�m trying to find the script to start an mp3 after a few secs. My flash has only one frame, so framecount won�t help.
This is my script:
Code:
sonido = new Sound();
sonido.loadSound("images/warp.mp3", true);
sonido.onSoundComplete = function() {
sonido.start(0);
[code]....
As you can see I want it to start from 30 seconds, and then repeat it without lag.
View 9 Replies
May 8, 2004
I'm using a timer which triggers a gotoAndPlay after 5 secs. It works fine but I am now trying to work out if it is possible that if I press a button I would be able to stall the timer. i.e the goToAndPlay only happens after 5 sec otherwise the it is prevented and the the timer goes back to zero. I know its a bit difficult to describe but I have attached the .fla.
In terms of the code I'm using: I have the function:
stop();
function pause(){
//play();
gotoAndStop(21);
clearInterval(timer);
};
This function is called when the playhead hits a certain frame: i.e.
stop();
timer = setInterval(pause, 3000);
View 2 Replies
Mar 23, 2010
I have a player set up to stream live tv channels. It works fine except when paused for more than 10 secs or so, it continues to stream but very jumpy, as if we press on advance/rewind button.
View 2 Replies
Jan 20, 2011
I want to make a button that will go to the next frame after the cursor is over it for 5 secs.
View 1 Replies
Jan 28, 2004
Is it possible to make an idle mouse disappear after about 2 seconds, but if it becomes active again it reappears?
View 9 Replies
Jan 25, 2010
I've created a player for a client in the past using their LimeLight server to stream videos and not had an issue before, however for a new client using different LimeLight server, the videos seem to be ending 3-4 secs too early.
My traces on 3 vastly different videos I tested:
metadata duration = 32 // 32 secs long, ends at 27
Stop [27.350 seconds] = 4.65
metadata duration = 17 // 17 secs long, ends at 12
Stop [12.852 seconds] = 4.148
metadata duration = 258 // 258 secs long, ends at 255
Stop [255.861 seconds]
In the video players I check for NetStream.Play.Stop then put a 'reset' type function in there. This function however triggers too early due to this strange bug. Has anyone have seen this before?
private function netStatusHandler(event:NetStatusEvent):void
{
trace("connected is: " + nc.connected );
[Code].....
The only work-around I see for this is saving the initial number I get from the metadata duration, and running a timer to constantly check for when the current ns.time matches metadata and then run my reset function.
View 1 Replies
Oct 5, 2004
i have a button on the stage...when clicked i want it to wait 2 seconds, then gotoandplay a porton of another movieclip.
View 4 Replies
Dec 2, 2010
Created an mp3 player that works fine, but i need the track name, artist name, track timer, to be shown aswell?and i dont have a clue how do go about doing this.
View 2 Replies
Dec 15, 2009
I have a problem that I have not found a syntax error or logic error to explain. It appears to be an obscure problem related to playing a sound file and graphic positioning in the same file. My next step is to look for any known bugs. I have posted the file at. URL] When the page loads you will see a list of selections. Do not click any of the html Play buttons In the graphic arrow pointing to the right is the play button click it and a default file will start. Click the pause button (which will be green while the selection plays) Then click the play button again. The knob that moves while the song plays, will begin moving from the position it was at the time pause was clicked.
Click the stop button (arrow facing left with vertical line at tip) Choose a selection from the html list by clicking the Play button next to it. Then click the play button in the player display. The title of selection will appear in the title area. repeat the original steps (play, pause, play) This time the knob that moves while song plays, snaps back to the start and moves from start, rather than from the pausedposition.
[Code]...
View 7 Replies
Aug 27, 2009
i'm trying to play flv file using programming but problem it's only work with only html file.when i play with stand alone SWF File it's not playing flv file? what should i do to run as a stand alone application do i've to desing into Adobe AIR ?
View 2 Replies
Apr 7, 2009
i have a button that when it is pressed plays and loads an external flv file. this part works fine but directly after the flv video is finnished i want to load in an swf file. does some one have an idea how to do this? first show flv and then load swf?
this is the code as it looks now..
[Code]...
View 16 Replies
Mar 14, 2011
I'm trying to show a question from a list of 10 question at random that also has a timer set for 2 secs. After the 2 secs are up, another question is selected from an array. Below is my code. Is there sometime I'm missing or forgot to add? I keep getting the error 1120: Access of undefined property changword.
PHP Code:
//Randominzes Arrayvar randomizedwords: Array = new Array;var num:int = new int;var i:int = new int;for (i=0; i<10; i++) {while (words[num]== ""){num = Math.ceil(Math.random()*10);}randomizedwords.push(words[num]);
[code]....
View 2 Replies
Jun 27, 2003
using AS, on loading a movie a solid shape is there with alpha at 100% then over a period of 5 secs its alpha is reduced to 0.
i'm new to this......please help if you want to if you don't have a good weekend but think of me struggling onwards and upwards...
View 14 Replies
Jul 17, 2004
This is my first post as i m just beginner in Flash JavaScript. I want to prepare a FLash Movie in which all the images r dynamic and the images should change after a time say every 30 secs the image changes.
View 1 Replies
May 20, 2009
Does an FLV need an accompanying javaScript file in order to play within an HTML page? How do you generate this or get a hold of this javaScript file if that is the case? I'm told you do not actually publish the file in order to get it to play / work.
So far, I have the FLV, the HTML page (where it's been inserted), the "skin" SWF and the movie in SWF also.
View 1 Replies
Aug 24, 2009
I am fairly new to Flash and working with MX 2004 with Flash 2. I have tried several methods to play an external .FLV file. Some ideas from this forum and some from the Flash help system. Either I don't understand them and/or I am not implementing them correctly but nothing has worked. I have read of an FLVPlayback component and my system has a MediaPlayback component in the Component window. I have also seen yards of actionscript to play such files. Can anyone supply me with a basic/simple method, with code/example or buttons-to-push if necessary, to have an .SWF play an external .FLV via my MX 2004 system?
View 3 Replies
Sep 8, 2010
I am using Dreamweaver CS$ version 10 and have embedded a flash video on a web page but it is not playing/showingwhen I put it on a test page it works, but not when I place it in my production page.
View 2 Replies
Mar 31, 2011
I am trying to create a flash file out of a .flv movie to behave similar to what you can see in [url]ca.gov[/url]. The nice thing about the flash in ca.gov is that before the whole movie loads the flash starts playing it. You can easily see this if you have httpfox or httpwatch installed on your browser [URL] that loads only the flash). The file [URL] loads first and loads [URL] while playing it.
I'd like to create a similar .swf from my .flv file. I use Adobe Flash to publish the .flv file into .swf but what I see in my page is that it loads the whole movie (.flv) file before playing it.
What I am wondering is how I can create my .swf so it starts playing the .flv file while it is loading it. I understand that the movie file I'm using is of type .flv and the one on ca.gov is of type .f4v; but as far as I understand this shouldn't be why it's not working the way I want.
Also, it would be ideal for me to detect the bandwidth of the user and let the flash loads different versions of the .flv file based on the user's bandwidth.
View 1 Replies
Aug 2, 2011
I have a flash file developed by an ex-colleague, to load and play a flash file, however after moving the website to OVH server, the mp3 stopped playing[code]...
View 2 Replies
May 5, 2009
stop();var pausePoint:Number = 0.00;var isPlaying:Boolean;
var soundChannel:SoundChannel = new SoundChannel();var sound:Sound = new Sound(new URLRequest("Sounds/Music_File_2.mp3"));
[Code]...
I am trying to play the .mp3 file called "Music_File_2.mp3" the music file is in a folder called "Sounds" 2buttons called Play_btn and Stop_btn plays and stops the music. Once the music playing if i click on the play button the music will pause.
Everything works fine when i launch the program though "Flash Player 10". but when i right click and open the .swf file with Internet explorer the whol project works fine, but the sounds would not play.
View 5 Replies
May 18, 2009
I need to play a FLV file on a web page, but I don't want it playing in a visible player. That is I don't want there to be the usual Play button and no frame. I want it to work and look much like this link: [URL]. It is similar to those infamous "Mac vs PC" videos which occasionally play on the home page of [URL]. My flash ability in this area is limited. (I'm a Joomla pro but not a flash pro.) Looking at the source code, I see various swf controller file links, and some javascript, I think.
I have no idea what is in the swf files that may or may not be making it all work. First of all I don't even know if it is possible for a FLV file to play above html and then disappear revealing the html when it is finished playing. I assume with the swf and javascript and divs this is possible, but am not sure.Ideally I would love the complete code if possible. Or links to where I can find out how to do it.
View 1 Replies
Aug 16, 2009
I have embedded an automatic slideshow as a swf file into a website I'm designing for my parents. When I test the swf file, it performs exactly as expected but when I embed it into the html, it just sits there and doesn't run/animate/whatever.
The slideshow (should) automatically run through a group of 7 photos, with a fade transition and was all done with actionscript, loading the external jpeg files into alternate movieclip containers etc etc.
The web page where it doesn't work is here: [URL] - you can see that the swf just sits there, doing absolutely nothing.
The location of the swf file is: [URL] - as you can see, it works fine on its own!!
View 1 Replies
Oct 31, 2009
If I published several separate SWF files from several FLA files (because they were too large to work in one FLA document) is there a way to play them automatically one after the other? I looked online and somebody suggested www.swfmergeI tried placing on the last frame of each FLA file the actionloadMovie but I don't know how to define it so that once one SWF file is done, the next one starts.I just open the SWF with explorer on windows so that I can view them full screen (they are for a slide presentation, architecture and I am showing a little bit of animation)
View 5 Replies
Feb 23, 2010
How adobe plays the AS2 SWF file so beautifully, including being able to go to next frame or prev frame or zoom functions? I have tried many different ways to play an AS2 SWF in my flex (AS3) SWF loader and it is a very difficult problem. I use a AS2 Shell as a proxy and I use local connection to communicate between the two AVMs. The result is quite a horrible one because, I am not able to scale the swf very well and also have a torrid time with the debugger. Any special methods used by Adobe to achieve that in CS4 Flash or do they also use LocalConnection to play the AS2?
View 2 Replies
Jun 1, 2010
I just upload a new flash site to the air and i have one problem.My site have 9 different gallerys, so i made a main swf file and 9 more.
the main file is "calling" to the others.my problem is that it takes forever to play the gallerys.
View 1 Replies
Feb 22, 2011
I have a problem with a swf file which will not play in web browser.It played fine until I updated my site.I tried typing the absolute path to the swf file in the browser address bar and found it straight away. When I clicked on it the screen stayed blank.I checked the path to the file and the flv file was relative to the document and not the site.
swf plays fine in flash player, flash, and locally on dreamweaver.I moved the swf up the file tree and changed the links accordingly but still would not play.I also tried saving it as a new swf from flash, but that doesn't play either.I added another swf to the containing folder and that played fine in the browser.When I open the fla file in flash it only shows a flv playback movie, not the elements, I think this is because it was created in after effects.Here is the link to the containing folder, the swf file is Home_page_movie_V2.swf
[URL]
View 19 Replies