ActionScript 3.0 :: Record More Than 2-3 Seconds And Then Listen Saved Mix?
Oct 27, 2011
check this code: [URL]
Try to record more than 2-3 seconds and then listen saved mix. Mixed sound is distorted after couple of seconds of recording Wav encoder is working ok...
View 1 Replies
Similar Posts:
Nov 3, 2009
I am facing a scenario where I would like the user of my page record their voices from their login where they will purchase certain minutes for recording and as well as for listening. How do I manage the audio frames sent back to the server? Is that possible to only stream audio for a length of 10 minutes, while actual length of audio is 1 hour?
Questions:
- Do I have to write or develop a flash player completely?
- Is there any already developed solution?
- Do I have to use Media Server in this scenario
View 3 Replies
Apr 11, 2012
I develop failover fms application with server-side action script. But i have a problem that FMS can't continue to record stream with record mode "append".
Environment: FMS 4.5.1 r484 on CentOS 5.5/6.0
Goals:
I have 2 same data streams in failover application and republish primary to livepkgr application.
I have to store of last 10 hours intact recorded video (DVR).
Failover app logic:
1. I create NetConnection and NetStream to livepackager;
2. When primary stream is connected it attach the primary stream to livePackager NetStream
3. If primary stream is disconnected it reattach the backup stream to livePackager NetStream
Problem: I have testing environment. It stop primary stream every 5 min, and started primary stream 5 min after stopping.
It work's, fine, but after a few hours testing LIVEPACKAGER falls. It can't record a stream, NetStream.Record.Start -> NetStream.Record.NoAccess -> NetStream.Record.Stop
Search a solution: I try to relaunch recording process and have no success. try to shutdown/start livepackager, it's same, try to restart server, same no success.
I cant stream.clear() or record with mode "record" cause it clears my dvr cache, I cant clean stream directory in livepackager application.
[Code]....
View 5 Replies
Jan 25, 2012
I'm getting a data which contains a certain number.
I need to find how many hours, minutes and seconds it stands for.
for example:
I'm getting the number 248 which means:
00 hours : 04 minutes : 08 seconds
View 3 Replies
Jun 10, 2010
When i use time varaible and then minus the time. Ive noticed that flash does not count down in seconds, but the speed of light. My maths are not very strong so how can i get flash to count in seconds
var time =60;
sprite.onEnterframe = function(){
time -=1; ( this counts faster than seconds)
}
View 5 Replies
Jun 10, 2007
I'm trying to figure out how I can make the sound file that I load into Flash start at x seconds and end at x+30 seconds.So basically, I just want a 30 second sample to play starting at a specific time position. Does anyone have any advice on how to do this or have links to somewhere I can read up on it?
View 4 Replies
Apr 2, 2012
I'm working with the youtube API and I'm getting the current time on the video as seconds.What I want to do is to convert them into this: MM:SS.I've tried to google and try different things by myself but nothing seemed to work and be efficient.
View 4 Replies
May 23, 2006
I am currently using the following code to display the secconds of a FLV being played:
ActionScript Code:time_txt.text = Math.round(_root.video_mc.videoZ.playheadTime*100)/100;I need to change this to display MM:SS (minutes:seconds) rather than just seconds and decimals.The javascript people here at work suggested something like this:
ActionScript Code:
function strPad(str, places, pad, side) {
while (length(str) < places) {
[code].....
View 9 Replies
May 9, 2008
I have a video player and trying to make a time indicator of minute and seconds.
View 3 Replies
Sep 12, 2011
I have an issue with Flash CS 5.5When creating content and publish the swf and then save the fla file , all seem fine.When closing the fla and reopen it later, the last changes I made are not saved??This happens NOT every time.At first I thought it was me that I didn't save the document before closing, but no this really happens!
Menno
running Win7x64, 24 GB Ram, GTX 580
View 20 Replies
Jul 19, 2010
1) I want a 60 seconds video to start playing after 40 seconds have been downloaded - to do that I set the NetStream.bufferTime to 40 seconds and retrieve "NetStream.Buffer.Full" event causing the video to really start playing. This step is OK.
2) However, the "NetStream.Buffer.Full" causes data to stop downloading. So the remainder of the video begins to download no sooner than after the 40 seconds have been played. This step is my issue. Can anyone tell me how to avoid this unintended effect? (i.e. playing a video and downloading data at the same time?)
View 2 Replies
Feb 28, 2009
I only get this error when publishing in CS4 ''The parameter is incorrect' if I save the document. I really like saving my work,
View 9 Replies
Jun 10, 2009
I am testing Flash CS4 at the moment, but something is wrong with it. What I did hundreds of times in CS3, here it just doesn't work.I used Adobe Media Encoder to make F4V from AVI. Then I imported that file to flash (load external video with playback component). Then I previewed it (ctrl+enter) and everything was fine, but once I saved (or published) it, the movie didn't play anymore. There was just background and no movie nor playback component.I tried encoding that file to FLV, even for older flash versions (I have the newest one installed), but that didn't help.
View 5 Replies
Sep 3, 2009
How do you increase the size of an entire movie into an actual swf file? I note that increasing the stage size increases the "frame" that the movie opens in, but does not increase the size of the movie itself. I find a lot of stuff on the internet about sizing a flash movie using html embedding, and perhaps that is what I need...but what I really mean is change the size of the whole movie before it is saved as an SWF and within Flash itself. Is there a simple way to do this? I mean, once you have the movie in place but have simply not saved it to SWF yet. Again, I note that cghanging "size" on document properties enlarges the frame that the movie opens in but not the movie itself.
View 4 Replies
Mar 26, 2010
I have a client who has a Flash project that was used for a cd rom. The flas are 1000 x 1043. I need to know the best way to be able to save the entire presentation for the web. I already tried re saving the flas publishing in percentage that doesn't work. If I make the actual stage smaller the mc's and all dimensions would have to be made smaller manually am I correct.
View 1 Replies
Aug 23, 2011
I have downloaded the latest flash pro cs5.5 package and installed it on 3 different windows XP machines and I get the same bad result. This is Flash Pro 11.5.0.325 on XP SP3.
I made a small slideshow swf consisting of two jpeg images and nothing else. No music or other bells or whistles.Just 2 images converted to symbols, some keyframe/tween definitions with altered alpha channels.The slideshow runs perfectly and as I expect.
I save the slideshow as a .fla file.I need to add some more functionality from this plateau to show that the product can do what we need to the boss.
When I later load this .fla file, I don't see my graphics on the stage anymore. I right-click on the images and click on the option in the dialog to update the images. I see that the white stage now has the image I expected. When I close the dialog that lets me update the image flash pro abends and I get the crash dialog from microsoft.
Why can I make this slideshow and have it run perfectly, save it successfully (so I think) and then it won't load properly or let me work on it after one save?I have downloaded the latest flash pro cs5.5 package and installed it on 3 different windows XP machines and I get the same bad result. This is Flash Pro 11.5.0.325 on XP SP3.
I made a small slideshow swf consisting of two jpeg images and nothing else. No music or other bells or whistles.Just 2 images converted to symbols, some keyframe/tween definitions with altered alpha channels.The slideshow runs perfectly and as I expect.
I save the slideshow as a .fla file.I need to add some more functionality from this plateau to show that the product can do what we need to the boss.
View 3 Replies
Oct 14, 2011
if I created a customized class and I saved it as a "*.as" file, and now, I want to create a new "*.FLA" project and to use inside the "FLA" project at my customized class. how do I import my class into this project?
View 8 Replies
Jul 13, 2010
I am trying to use (sIFR) version 3, revision 419 When i test the defaults SWF files( that came whit the package ), it works fine. But when i edit with my own fonts, it does not work properly. Is there any issue, or something that i must to do?
View 1 Replies
Oct 30, 2008
i have files (.pdf, .doc or whatever) that i have to save from a CD projector to the user's computer.My problem is that the saved file is not the same as the original.[code]
View 4 Replies
Jun 7, 2010
I just started working CS4 and finished my firest simple web page([URL]), nearly the way I wanted. Having little or no action code experience, I did what I could. Then CS4 was upgraded to CS5. When I opend the CS4 project and saved it to CS5 (making it irreversible), the preloader that worked in CS4 did not work in CS5.
View 2 Replies
Jul 2, 2010
I am trying to drag and drop a text field. So I have created a text field, and saved it as a swf. I then load it in using xml and the loader class. When I go to pick it up, I get the error
TypeError: Error #1034: Type Coercion failed: cannot convert flash.text::TextField@10d59b51 to flash.display.Sprite. at GalleryNew_fla::MainTimeline/pickUp()[GalleryNew_fla.MainTimeline::frame1:81]
It is specifically pointing to
function pickUp(event:MouseEvent):void {
getPosition(event.target);
stage.addChild(event.target as DisplayObject);
Sprite(event.target).startDrag(true);
}
View 7 Replies
Jul 17, 2010
- I create a new fla file in Flash CS5 Professional,- I go to publish settings and select AIR2 as the target- I click the Settings button on the rightThese settings are supposed to be saved with the fla file, since all of them are related to the project.Application name, icons, files to include, etc, are all preferences related to the fla file of which you are editing the settings.However, when you go to the "Signature" tab and select a digital certificate to sign the air application with, this setting will NOT be saved into the file.Instead, whenever you publish ANY air application, it will use by default the lastcertificate you have used, even if you used it to publish _another_ application.That is absurd, because this is a tab within the "publish settings" and all publish settings are specific to a fla file.
View 2 Replies
May 16, 2011
FLV files are not getting saved at the particular location mentioned in the application.xml file on FMS. Instead we are getting log in the log folder and instance which is joined to the FMS in the http folder on the FMS. Is their any way to find out why we are not getting saved those files at that location?
View 2 Replies
Jan 24, 2012
I have a simple popup menu in flex, a mx Menu, and I use e Menu.initMenu to create the menu relying on an XML List defined as the data provider.The menu has check box items, and every time I call a load(values:Array) function in the class which contains the menu's instance, I want to check the relevant items.
View 1 Replies
Sep 19, 2009
I'm using AS3 in timeline. I can't make a SharedObject display saved information. I have several frame labels (parte1, parte2... parte20). On parte8 I have a movie clip (whole_master), which contains three children movie clips placed on a separate frames (level_1, level_2, level_3). I would like to save the level of a game a user ends up with or exits the game. Then, we user returns and be able to go to the level he/she was playing.PROBLEM: The movie clip is on frame parte8, which isn't the first frame. However, when the user re-starts the game, the Shared Object should be read on frame 1.[Code].....
View 0 Replies
Nov 2, 2009
I'm now able to create a .sol file which stores the variables required to continue a game where a player left off.
Now, I don't know how to retrieve the saved information back into the game.
I'm using Flash MX.
Here's my situation:
The game stores six vaiables when a button is pressed:
SaveFile = SharedObject.getlocal("gameinfo");
SaveFile.data.str = player.str;
SaveFile.data.fir = player.fir;
SaveFile.data.end = player.end;
[Code].....
Now, I have a button, named "LoadButton_bt", which, when pressed, I wish to have the game load the saved variables in "gameinfo.sol". The tutorial on the web site by Jesse Stratford doesn't explain how to retrieve the data from a .sol object. I'm sure there's a simple code to accomplish this. Can someone help me with the script?
Remember, I'm a novice non-programmer who just managed to learn this much by self-education and research and asking questions like this which probably have obvious answers to pros like you guys, so talk down to me!
View 0 Replies
Jan 18, 2005
Is there any ways to prevent the swf from running when someone tries to save the swf out from the website or from the Internet cache, retrived the swf and execute it?
I heard there is some codes to prevent it from happening, either to look for a web address or something.
View 1 Replies
Sep 27, 2007
Does anyone know how to generate a jpeg in Flash that can be saved, printed and sent via e-mail?
View 1 Replies
Feb 18, 2009
I have a flash audio player, and need to load a .mp3 file saved in a database. How can I do that?
I put the swf in the php file; I tried to insert some parameters, but nothing happens. I�m lost...
The connection in the php file is ok. I can see the data from the database.
View 2 Replies
Mar 21, 2009
I made a small .GIF file to show my abilities to my friend and what I can do but when I save it and I open it up on my desktop little red dots appear on the image. I go to import>movie file(to save as an animated gif.) then the red dots appear on the image.
View 1 Replies