Microphone sound recording,saving,playing flv file is saved but not working

Please help me,
          While recording the flv is saved inside applications/stream/samples/audio.flv. But it is not working properly.
Mycode
stop();   
      var count:Number          = 0;
      var timestamp:Date    = new Date();
      var nc:NetConnection       = new NetConnection();
      nc.connect("rtmp://localhost/audiotest/samples");
      var ns:NetStream          = new NetStream(nc);
        ns.setBufferTime(2);
      var mic:Microphone    = Microphone.get();
      mic.setRate(22);
      ns.attachAudio(mic);
      ns.onStatus = function($info:Object):Void
          trace($info.code);
      // record the audio to the stream
      function recordAudio():Void
          var fileName:String = String(timestamp.getTime() + (count++));
       ns.publish(fileName, "record");
      // stop the recording of audio to the stream
      function stopRecordingAudio():Void
          ns.publish(false);
      // plays back the audio that was recorded
      function playRecordedAudio():Void
          ns.play(currentFileName);
      // record button
      recordBtn_mc.onRelease = function():Void
          recordAudio();
      // stop button
      stopBtn_mc.onRelease = function():Void
          stopRecordingAudio();
      // play button
      playBtn_mc.onRelease = function():Void
          playRecordedAudio();

Try changing the fileName:String to a simpler string name like "myAudio"....then try playing it.....if it works doing that....then the issue is with you converting that date variable to a string.......and if thats the problem try converting the value with   .toString() seperately and adding

Similar Messages

  • FLV files run locally but not on website

    My flash video plays back when I do a preview, but after uploading the FLV files and the new page to the web site all I have are blank squares, not videos. What's up?

    Your welcome

  • How to create a .f4m manifest files to play .FLV files

    I typically use .f4v files for my on demand playback media files, however I converted a .mov to a .flv file...  How do I create a .f4m and .m3u8 manifest file that plays .flv files?  Below is the code I normally use for the .f4m and .m3u8 files.  This works great with .f4v files.  I also included my player code.  What am I doing wrong?  The only difference is I'm using a .flv that I didn't use the f4vpp cleaner on..  That shouldn't give me the parse error I'm getting.
    022714.f4m is the name of my .f4m Flash manifest file.  Below are the contents.
    <manifest xmlns="http://ns.adobe.com/f4m/2.0">
      <baseURL>http://IPaddress/hds-vod/</baseURL>
      <media href="02-27-14-640-480.f4v.f4m" bitrate="1000"/>
      <media href="02-27-14-320-240.f4v.f4m" bitrate="450"/>
      </manifest>
    022714.m3u8 is the name of my HTML 5 manifest.  Below are the contents.
    #EXTM3U
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1000000
    http://IPaddress/hls-vod/02-27-14-640-480.f4v.m3u8
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=450000
    http://IPaddress/hls-vod/02-27-14-320-240.f4v.m3u8
    Flash multi bit rate player
    <object width="448" height="336">
    <param value="http://IPADDRESS/strobeplayer/StrobeMediaPlayback.swf" name="movie">
    <param value="src=http%3A%2F%2FIPADDRESS%2Fvod%2F022714.f4m&amp;streamType=recorded&amp;autoPlay =false" name="flashvars">
    <param value="true" name="allowFullScreen">
    <param value="always" name="allowscriptaccess">
    <param value="direct" name="wmode"><embed src="http://216.37.94.194/strobeplayer/StrobeMediaPlayback.swf" type="application/x-shockwave-flash" flashvars="src=http%3A%2F%2FIPADDRESS%2Fvod%2F022714.f4m&amp;streamType=recorded&amp;auto Play=false" wmode="direct" allowfullscreen="true" allowscriptaccess="always" height="336" width="448"></object>
    HTML5 player
    <p style="text-align: center;"><a href="http://IPaddress/vod/022714.m3u8"><img alt="" src="/portals/0/Silver-Play-Button.jpg" style="width: 150px; height: 151px;" />

    to create a file in appl server you have to use open dataset and close data set..
    see the sample code
    REPORT zanid_test MESSAGE-ID zz .
    parameters:  FULLPATH(128) obligatory lower case
                          default 'E:\usr\sap\put\file.txt'.
    *you change the appl sever path as per your config.
    DATA : BEGIN OF list_asc OCCURS 0,
            msg(300) TYPE c,
           END OF list_asc.
    start-of-selection.
    *---populating data
    list_asc-msg = 'abcdefghijkl'. "your sample data
    append list_asc.
    list_asc-msg = 'faagoaagiagig'. "your sample data
    append list_asc.
    OPEN DATASET fullpath FOR OUTPUT IN TEXT MODE.
    LOOP AT LIST_ASC.
          TRANSFER  LIST_ASC-MSG TO fullpath.
          CLEAR LIST_ASC-MSG.
    ENDLOOP.
    CLOSE DATASET fullpath.
    now if you go to appl server , you will find that file in that specified path..
    to create a directory yu can go to transaction AL11 and click the 'konfigurieren'button, you then you can specify the directory attibutes to create a directory
    and to load a file from your loacl pc to appl server you can use transaction CG3Y also, instead of the abap code.
    plz rewrad points if it helps you.

  • Flash CS5 unable to play .FLV files on Macbook Pro

    I have a colleague who is trying to put together a Flash package for me  on her macbook pro.  It needs to play an flv file. She is unable to play  flv files on her computer either in Flash or using the Adobe Media  Player. I have no problem playing the same files on my macbook pro,  we're both running the latest OS and have version 1.8 of Adobe Media  Player.
    She went to the Adobe site to download the latest version of Adobe  Media Player, hoping that might include whatever component is missing on  her system. Because of Adobe's decision not to distribute AMP that  didn't help.  She has Flash Professional CS5 11.0.2 on her system.  When  she imports an flv video into a Flash project and tries to play it she  gets an error message saying it can't stream the video. Note that the  video is on her hard drive, it is NOT on the internet so no streaming  should be required.
    The actual error message is: "the video player is in the connection  error state. It enters this state when a video stream attempted to load  but was unsuccessful. There are two possible reasons for the error: no  connection to the server or the stream was not found."
    Since it's a file on her hard drive, and she has loaded the file  into the Adobe development environment successfully, the one thing we  know for certain is that neither of these reasons is correct. Something  is obviously missing on her system, what is it and what can we do to fix  it?

    I'm getting error too (Error #2044: Unhandled NetStatusEvent:. level=error, code=NetStream.Play.StreamNotFound). I'm getting this with CS5. This file was previously made in CS4 and never got this error.
    Everything (fla and flv too) is on external hard disk.
    As this work requires to be exported to mov, I've found out that everything needs to be on the mac (don't know for pc), like on desktop.
    So, let me wrap up disadvantages I got with Flash CS5:
    - TextField.embedFont makes the font disappear in CS5, so I can't use it, so I can't "play" with text in a comfortable way (in CS4, with embedFont = true, I was able to rotate and stuff). Now I have to make a bitmap out of it. It means 3 lines of code and a new variable, instead of just an easy one.
    - I have to rebuild my entire source path structure for AS classes, as my old one (that took me years of effort to be reasonable and used to work just fine in CS4).
    - I have to move stuff from my hard drive to the desktop, to make flv be played and to make a mov out of my animation.
    CS5 is making my job harder and making me lose a lot of time to find out errors that have no good reason to exist (it was not error. just "place CS5 doesn't like").

  • Flash Player 10.2.152.32 won't play FLV file

    I seem to be having similar problems to several others here.
    I am running Windows XP, SP3, 32 bit on Dell Pentium 4, 2Gigs of RAM, 3.0Gig HD.
    Since the March 8, 2011 update I have not been able to play FLV files.  Previous to the upgrade, I was able to play these same files.
    I have checked - Shockwave Flash Object (VS 8.0.24.0) is apparently installed and enabled, although it DOES NOT show up in the file list (that I can tell at least) in the System32/Macromedia folder.  It may be called something else perhaps?  These are the files that show as updated on March 8, 2011.
    Flash10n.ocx - Active X Control
    FlashInstall - text file
    FlashUtil10n_ActiveX - application
    FlashUtil10n_ActiveX.dll - application extension
    Files with previous dates are:
    flashplayer.xpt - XPT file, install - text document - dated Feb 17, 2010, NPSWF32.dll - dated Nov. 20, 2007, and NPSWF32_FlashUtil - also dated Nov. 20, 2007.
    I can play stuff from YouTube.  I am able to see the Flashy thing turn on the link you supplied to others here.
    My security is set to "Medium".  I have had NO virus issues, and run a VERY tight anti-virus protocol with AVG, AdAware and SpyBot all active, updated either daily (automatically) or weekly (manually).
    Should I uninstall and then re-install, so the SFO will be included, or is there a way to retrieve the (apparently) missing Shockwave Flash Object file on its own?  This issue has now taken up my entire evening, and I am ready to PERMANENTLY delete Flash from my life!
    Thanks,

    Hi, you don't need to scream at me. I've been on the Forum 12 hours today and 12 hours yesterday helping users with their problems. This past week I had over 1,000 email notifications in my email account and 90% were from the Flash Player Forum.
    And this:Let's try again..........arrrrrrrghhhhhhhhhhhh!!!!
    Please don't insult me and act like I don't know what I'm doing or talking about.
    The Shockwave Flash Object is not supposed to be in the System32 ...Flash file location. It is never there. It is always in the addons of the browser, it must be since it is the Flash Player Control. Without it and without it being the correct version(which yours is not) Flash Player cannot work! I repeat, Flash Player is a browser plugin and works thru the browser.
    The fact that you have a 32bit OS doesn't tell me anything about what browsers you use. I have a 32bit OS, but I use IE6 on one and the other PC I use IE8.
    I know you checked some of my posts, I'm not so dumb that I don't recognize my own writing.
    Yes, you need to Uninstall and Install again, that is the only way you are going to have the correct SFO Installed.
    If you'd tone it down some, I may give you the best way to do that in order to be successful in that.
    However, it won't be tonight. Maybe you'll be in a better mood tomorrow.
    Regards,
    eidnolb

  • Playing FLV files on the timeline in a secondary scene?

    I'm currently working on a project where I mix animation sequences with short videos. My project also has two scenes and the FLV will be placed on the main time line of the second scene. The problem I am having is, if the movie is previewed from the first scene, or exported, the FLV on scene 2 won't load. the timeline on the playhead will just spin. I'm currently using "Load external video with playback component" as the method for importing the flv file.
    I have already worked with this video multiple times in other flash files and have never had a problem loading the video. Is there a limitation to FLV playback in multiple scene movies?

    The first scene doesn't contain a video just graphic animation. The second scene contains an flv video on the main timeline. When I preview, publish or export the video in the second scene won't load. And if I make the playhead visible it appears as if the video is trying to load but won't.
    If I just preview the second scene the video will play immediately with no problem, but it won't play at all when if the second scene starts after the first. The way I have it set up is, on the main timeline of the first scene there is actionscript in a frame at the end of the animation that tells flash to gotoAndPlay the second scene.

  • C7: How to play .FLV files on Nokia C7

    Can I ask how do you play .FLV files on Nokia C7? I searched for FLV player in the Ovi Store and nothing is returned, whereas on Android Market loads of FLV players are available.

    I couldn't find an FLV player either. But you can download freemake video converter from internet. Its really a very good converter and I transfer my vids to C7 only after converting to C7 resolution because it makes the processor to do less work. If you transfer an HD vid directly to phone it will play fine but will cost u battery life. (more processor usage)

  • How to play flv files on n8 belle

    is there any trick or video player to play flv file on n8 belle

    @gudboy52
    Hopefully Belle Refresh should shortly be available to you.
    Happy to have helped forum with a Support Ratio = 42.5

  • Nokia 5800 won't play flv files

    I've had my 5800 for about half a year. My Software version is V31.2.101 (this is the most up-to-date version I can have according to my Nokia Software Updater)
    For some reason when I try to play flv files (approx. 30-100mb), a completely white screen shows up with a "broken" flashplayer symbol in the upper left corner.
    What's wrong? How do I play flv files on my Nokia?
    I've read in lots of places before that the 5800 can play flv files straight out of the box. =/ mine can't
    btw, I can play mp4 files, but it's a pain because I have to convert the flv files first
    and I have Adobe Flash Lite 3.1 installed. (atleast that's what it says when I select a video and go to "Options" - "About application")

    As far as I was aware, the 5800 didn't play FLC - it certainly isn't listed here:
    http://www.forum.nokia.com/Devices/Device_specifications/5800_XpressMusic/
    However, even if it was possible, it may depend on the way the FLVs were encoded - things like the frame rate could cause playback incompatibilities.

  • Print to PDF - using Snow Leopard (Saving a PDF file when printing is not supported. Instead, choose

    i have a PDF form that i created that is used as a custom proposal that my company sends out to potential clients. the form in its editable state is only used internally. we recently upgraded to snow leopard, but prior to the upgrade, we were able to fill the custom proposal form out using adobe reader, and, as you well know, we weren't able to save that edited document as a PDF with the custom form fields filled out. our work around using adobe reader was to print to a pdf using the adobe pdf printer in the printer dialog. with the addition of snow leopard, however, instead of choosing the adobe pdf printer, we were to choose PDF from the bottom left corner, then Save As PDF, and it would spit out an uneditable pdf that then allowed us to email it to the potential client without them being able to edit it as well as have an internal, digital copy for our records instead of having lots of paper floating around (i know this is also doable using security that disallows the client certain editing privileges, but printing to a pdf is much quicker and more efficient, and the pdf security isn't really that secure at its best).
    in any case, i came across this gem of a post here on the support forums that installs another option from the PDF drop down on the bottom left of the print dialog menu that reads Save As Adobe PDF and is supposed to do exactly what i am trying to get it to do...print to a pdf file from adobe reader.
    http://kb2.adobe.com/cps/509/cpsid_50981.html    
    once i updated to acrobat 9.2 (as the link above suggests 9.1), however, the Save As Adobe PDF does appear in the print dialog menu, but it still gives me the same error that acrobat 8 - 9 gave me while using Snow Leopard — Saving a PDF file when printing is not supported. Instead, choose File > Save — and as i've already explained, you can't save an edited pdf form in reader (as i am the only one in the office with acrobat) and still keep the fields as you've entered them in. the only work around is to print to a pdf but is apparently having some recent problems.
    using acrobat, however, i know that i can save the editable pdf as a new file with the fields customized as i have left them, but it still saves it as an editable pdf and the print to a pdf option still remains the best option...that way we have digital copies internally that are uneditable that can be printed at any time or emailed to the client.
    how can i do print to a pdf, based on what i've written above, using snow leopard and acrobat and reader?

    A simple way is to flatten the form fields, which converts the field appearances to regular page contents. You can do this with JavaScript or PDF Optimizer (Advanced > PDF Optimizer > Discard Objects > Flatten form fields). A very nice script that adds a custom menu item can be found here: http://www.uvsar.com/projects/acrobat/flattener/

  • I purchased flip player to convert wma files i have from a previous laptop and it played some of my music but not some of the others this error msg came up, i payed 30.00 so it could convert? The operation couldn't be completed. (OSStatus error -19000.)

    I purchased flip player to convert wma files i have from a previous laptop and it played some of my music but not some of the others this error msg came up, i payed 30.00 so it could convert? The operation couldn’t be completed. (OSStatus error -19000.)

    Dear Nay2000,
    I have the same problem, my girl-friend saved a bigger Gigabyte library from her old laptop before she sold it, then at some point she realized that she couldn't play many songs that she had transfered. Now, I paid those 30 quid as well, and it doesn't play 99% of the files, that is very frustrating, is there any way you got it revived?
    Regards.

  • Saving a PDF file when printing is not supported. Instead, choose File Save.

    I am using Mountain Lion (10.8.2) and I was using Adobe Reader version 9. In the past, I've always been able to print to file using the File -> Print dialogue but all of a sudden it stopped working. I read somewhere that installing the latest version of Adobe Reader (version 11) would remove the old printer, so I did so. It took me about an hour on version 11 to even find the pdf print to file option, but I am getting the same message. For what it's worth, when I try print to file from Microsoft Word, I have no problem. I have no idea why things changed all of a sudden, but does anyone have any idea how I can get this working again?

    I checked with Adobe.  No luck. 
    Allow me to clarify my problem: 
    I have Adobe Reader XI. I also use a Mac--imac and a MacBook Pro.   My adobe was updated on 12/24.  Prior to that point, I could open my print dialogue box and there was a PDF tab on the bottom left.  In the drop down menu there were many choices, including but not limited to Open in PDF Preview, Print PDF, Save PDF, email PDF.  If I selected one page of 30 pages from a document saved in Adobe, I could extract just that one page and save it or email it, without having to send the entire document.   After the update, when I open a PDF file using ADOBE READER XI, and then open the print dialogue box, and follow those same steps, I get the message "Saving a PDF file when printing is not supported. Instead, choose File > Save."   My question is why is this feature now unavailable and is there a way to fix it? 
    The answer I got from Adobe was that Adobe never had this function, so it must have been via my print or preview programs..which are apple.  Does anyone have any thoughts?
    Thank you.
    https://forums.adobe.com/message/7124567 

  • Saving a PDF file when printing is not supported.

    Hi Guys,
    I upgrade from leopard to snow and now I don't have the possibility anymore to to print PDF as a PDF.
    Before I was going to print and then choose save as a pdf and everything ok.
    Now after the upgrade to snow every time that I am going to print a pdf from a pdf (acrobat 9 and X) I received this msg "Saving a PDF file when printing is not supported. Instead, choose File > Save "
    Why that happened ? how can I fix it?
    The thing is that I have a pdf form (contract) that I have to fill up and print it as a pdf.
    Now I can't do that I can save only the form with the fields unlock.
    thanks you in advance for your help.
    Xoxo
    Fotis

    Ah.. this is so annoying filled in a long form.. which doesn't allow saving.. I assumed as normal with this type of form I could print to PDF and at least get a electronic copy.. but no, I made the mistake of installing Adobe Reader.. and it has screwed up the print options.. when I try to save as PDF from the print menu I get the helpful suggestion
    "Saving a PDF file when printing is not supported. Instead, choose File > Save."
    When I do as suggested.. it helpfully tells me that it will only save a "blank form"..
    Adobe has badly messed up their reader.. I now need to print out and then scan this document to get the electronic copy I need.. I will be uninstalling promptly after this fiasco..

  • AcroPro9, snow leopard, "Saving a PDF file when printing is not supported"

    Hi,
    I have AcroPro9.1.3 (and 8 and 7 and Dreamweaver CS3, and probably other stuff too) on Snow Leopard (10.6.1).
    I've read about de-installing the Acrobat printer and using "save as Adobe PDF" from the PDF button on the print menu.  However, when I try this, I'm told "Saving a PDF file when printing is not supported".  Note that this is AcroPro9, not AcroReader.  I get the same message when I try any of the other options under the PDF menu on the printer menu in Acrobat.  In other applications, tho, (eg powerpoint), the PDF button works fine.
    Before the upgrade, the PDF button on the print menu didn't work either (same message), so I used the Adobe printer, but now I can't.  I had always assumed that AcroPro was stopping me from using Apple's PDF generator in favour of the Adobe one.  But maybe some of my settings are wrong.
    I now cannot print to PDF from Acrobat.  Help.  There are 120 fourth year software engineering students who will appreciate any help I get, as I can then post my recent lecture notes for them.
    (What I really want to do is to take my powerpoint slides and print 4-up versions directly.  But the PPT idea of 4up wastes a lot of space, so I generate 1up PDF, and the 4up PDF from that using Acrobat.  At least, I used to.  It was so much easier in the old days with Latex and psnup ...)
    -- Mike G.

    My current solution is to print from Preview instead (which will let me use the Adobe print facility, unlike Acrobat itself).
    In fact, I pretty much have no need for Acrobat at the moment.
    Adobe and Apple between them seem to have some real problems with Snow Leopard.  I can't get Dreamweaver to run anymore without immediately crashing (yes I looked through the help forums, deleted settings, etc etc).  So I'm now looking for a replacement tool for Dreamweaver and will likely use that from now on.
    Adobe is not looking very good to me at the moment.  YMMV.
    -- Mike

  • Message error: "Saving a PDF file when printing is not supported. Instead, choose File Save."

    I have 2 problems creating a .ps file.
    As i know, there are 2 ways of creating a Postcript file from a PDF.
    The first is from the Print monitor. I go through menu File/Page Setup i give the exact dimensions from my spreaded pages and after that i go to Print and when this window opens,
    i go down and left and i open the pop-up menu on"PDF" and i choose "Save PDF as Postscript"
    There is where i get the above error message :
    "Saving a PDF file when printing is not supported. Instead, choose File > Save."
    And the second scenario, i get an equal problem.
    If i go to Page setup and give the right dimensions of my spreaded document, after that i go to the File/Save as command, there is choose from the bottom pop-up menu, the option at Format: Postscript
    If i do that i get the following message:
    "The document could not be saved. An internal error occured."
    What is wrong with all this?
    Can anyone help me out?
    System preferences.
    Mac OS X 10.4.11
    Acrobat professional 8.1.2
    Thank you

    Jon Bessant asked:
    "Does this occur on every PDF file? The internal error message that is ..."
    Yes, it happens on every PDF

Maybe you are looking for