Flex-based podcast player sample

I'm looking for sample code for working with sound in Flex 3.
The Podcast Player example referred to in the docs and downloadable
as the zip Programming_ActionScript3.0_samples.zip seems to be
geared to flash and doesn't include the .mxml files and possibly
other necessary files. Is there a complete Flex-based version of
this sample available?
Any pointers to other Flex sound coding samples would be
great as well.

Hi- In my AIR-in-FlexBuilder beta demo I write a little music
player from scratch. My voiceover cuts out midway through but you
can see how I write the code, including how to use Sound and
SoundChannel. This is all applicable to web-based Flex apps as
well, except for the local filesystem part.
http://labs.adobe.com/technologies/flex/videos/airinbuilder
Does that help?
-Tom

Similar Messages

  • Help!  Does anyone know the best framework for delivering an enterprise-quality Flex-based reporting system?

    Background
    We need to build a commercial-quality, Flex-based reporting system for the corporate customers who use our English learning system.  Ours is a multi-tenant web-based Saas solution.
    he solution must include:
    >  a slick, professional design, including Flex/Flash UI and charting and graphing
    >  a full suite of serverside functionality such as report management, scheduling, export and delivery
    >  strong security in a multi-tenant environment
    >  can be integrated seamlessly with our existing Flex/.NET application
    >  data sources are MS SQL Server database and/or OLAP cubes
    >  scalability/performance to serve tens of thousands of users
    >  no per-user license fees (we need to own this system)
    The initial focus is on "canned" reports with some parameter controls, while future releases will include more freeform report designer/builder capabilities.
    Do you know of a good example/approach?  Please reply here, or to [email protected]
    Thanks in advance!

    Hello,
    The recommended way is with JCA Connector.
    Adaptive RFC is included from NW7.1,
    See "Creating an Adaptive RFC2 Sample Application without using Web Dynpro"
    in the SAP HELP of NWCE7.1 or NWCE7.2.
    Seems to be based in JCo 3.0 and Java5 so it will not work in NW70.
    For older Versions like EP 5 there is also a JCo ClientService available.
    Regards
    Johannes

  • Wanting to Embed gothicCentury into our Flex based web app

    First,  please excuse my ignorance as I don't have a lot of expereience with Emedding fonts into a web application.
    I am looking to embed a Gothic Century font into our Flex based application that will be used by our customers via web.   We also my possible use it as a Air application. 
    If I want to do this,  how do I go about it in the flex world.   The font is available in our Designer's tools but we need to be able to have it accessiable in Flex legally. 
    Any guidance here would be very much appreciated.
    Thanks in advance for your suggestions

    Thank you for the quick response.
    It is understood that SWF and its content is intended to be rendered client-side. However, we were wondering if anyone has had any success with wrapping flash-player (such as Adobe AIR) around a SWF in such a way that the player could be called by a script server-side to generate graphs/images, which are then saved to disk and returned via a regular web service.
    I gave embedding the image on the HTML page, but the specific use we are most interested in is embedding the static thematic map into a report in the Word document format.  Since much of our content can already be accessed interactively using a browser and a flash-plugin, we are investigating methods of leveraging our SWFs to generate images server-side for the purposes of automated report generation.

  • Using FMS v4.5.5 with a browser-based audio player running on iPad/iPhone

    Hello,
    I’m seeking some clarity/guidance on using FMS v4.5.5 (Streaming Edition) with a browser-based audio player running on iPad/iPhone (i.e. under iOS).
    Background
    I have a Microsoft Windows 2008 R2 Web Server running IIS v7.5 and supporting a website built using ASP.NET and C#. Parts of the website allow a visitor to play a selection of audio clips from our bespoke MP3 library. Due to UK music licencing constraints, we must stream the clip to the client browser – we must not download either part or all of the source MP3 file(s). We therefore had a custom audio player built for us some time ago using Flash/AS3. This has and continues to work very well, and uses RTMP to stream the clips from FMS to the client browser.
    As our site has become more established the number of visitors has steadily grown. In the early days the number of visitors from the iOS platform was relatively small but, last month, it had risen to 40%! As Flash is not supported on the iOS platform, this growing group of visitors are unable to fully maximise the benefits offered by the website, which I am now trying to address.
    What I’m Trying To Do…
    From what I’ve researched and read, I believe that FMS v4.5.5 supports HLS and I need to use this (instead of RTMP) over HTTP between FMS and the iOS Safari client. I have been experimenting with an Open Source player (JPlayer) and a commercial player (JWplayer) and appear to have these playing a MP3 file as a “progressive download” (I think that’s the right term) as all I’m doing is specifying the file path (no HTTP prefix etc.), i.e. the audio is not really being streamed as I require. Unfortunately, I’ve not found / worked out how to configure my FMS to respond to a path request along the lines of:
    http://www.myserver.com/live/audio1.mp3
    Hopefully someone reading this who is much more expert on FMS, HLS, HDS, HTML5, etc. than me can point me in the right direction!
    What I’m confused about…
    1) Can all my MP3 assets stay as is and still be streamed to the iOS Safari client? To the best of my knowledge, the key properties of my MP3 files are CBR, 44,100Hz, 320Kbps.
    2) If not, can they be converted on-the-fly by FMS or do I need to create additional audio assets to support HLS etc.?
    3) If I have to manually create additional audio assets, how do I do that (I’ve seen references to tools from both Adobe and Apple but not actually found the kits)?
    4) Some of the Adobe documentation I’ve read implies that FMS support for HLS etc. is only available when FMS is used in conjunction with the bundled Apache web server. As stated earlier, my entire site runs on IIS so does that mean to achieve what I want I’ll have to run two web servers on my physical server – IIS for the website itself and Apache for RTMP/HLS/etc.?
    5) What changes do I need to make to my current FMS configuration to get HLS to work? I’m sure someone has been here already and can enlighten me with their experience and hopefully point me to some straight forward documentation to follow!
    6) Lastly, and really part of (5), once I’ve got FMS configured correctly, what would be the typical path to a given MP3 audio file that I would give the iOS Safari browser to make this all work.
    I appreciate this is rather a lengthy first post but hopefully the background puts my questions (and confusion!) in context. Bottom line is… I simply want to be able to stream audio clips only (no video) to iOS Safari browsers from FMS v4.5.5 running on a Win2K8R2 platform with IIS v7.5, and with no audio content being stored (even temporarily) on the iOS platform.
    My thanks and appreciation in advance to anyone who can help me achieve this.
    Steve Barker
    Business IT Solutions

    Hi Apurva,
    Thank you for your reply. Unfortunately I am not much further forward, despite having read more Adobe documentation (FMS v4.5 Configuration and Administration Guide, FMS v4.5 Developer’s Guide) and trying different configuration options.
    First to confirm a point you made when answering point 4 yesterday. Yes, in my current RTMP scenario I have several MP3 assets (let’s call them Audio1.mp3, Audio2.mp3, Audio3.mp3, etc.) that are made available to a bespoke Flash/AS3 player via the LIVE application. I understand that as I purchased the Streaming Edition of FMS v4.5, a Flash-based player is restricted to using the LIVE application. You go on to say that I “publish” these assets to the LIVE application. I set this up a while back but do not recall having to “publish” anything. All I recall doing was to ensure that all the assets (the .mp3 files) were in a single folder and that the folder was identified by the <Streams> tag in the following file (example shown):
    Flash Media Server 4.5\applications\live\Application.xml
                    <StreamManager>
                                    <VirtualDirectory>
                                                    <Streams>/;C:\MP3Library</Streams>
                                    </VirtualDirectory>
                    </StreamManager>
    To the best of my knowledge, I didn’t have to do anything else to make the current solution work. Having read more of the documentation I am still none the wiser as to what I need to do (step-by-step) to “publish” my converted MP3 assets (see next paragraph) to the LIVEPKGR application. Please could you explain these steps to me by way of an example.
    WRT your answer to point 1 yesterday, I wish to clarify the exact output I need to create when converting my MP3 assets. Am I expected to produce a Audio1.aac file, or a Audio1.mp4, file, or a Audio1.m4a file, etc.? Or am I meant to be using ffmpeg (either directly or indirectly) with a much more sophisticated command line that somehow generates stream-rated info/files as well? An example of how you would use ffmpeg to convert one of my MP3 assets would be very much appreciated.
    Lastly, the coexistence of IIS and Apache (ref your answer to point 2 yesterday). That all made sense but given all the testing/changes I’ve been making I thought it wise to start afresh! So I completely removed FMS from my dev server and re-installed Flash Media Streaming Server v4.5.5 with the bundled Apache v2.2 server. When presented with the dialogue “Would you like for Apache to listen on port 80. If not FMS will be using port 80 instead.” I answered NO. When presented with the dialogue regarding FMS server ports, I entered 1935 NOT 1935,80 (should I have done that as the preamble makes reference to HTTP webserver proxy and HTTP Dynamic Streaming origin services?). I then modified the Application.xml file as described above.
    To test the new set-up, I did the following. First, the test environment…
    DEV Server
    Windows Web Server 2008 R2 SP1
    IIS v7.5
    ASP.NET v4.0
    Flash Media Streaming Server v4.5.5
    Apache v2.2
    IE v9.0
    Adobe Flash Player 11 ActiveX v11.5.502.146
    TEST Client
    Apple iMac (Intel)
    Mac OS X v10.6.8
    Safari v5.1.7
    Adobe Flash Player 11 Plug-in v11.5.502.146
    On DEV Server… launched IE and loaded the home page of my website, which has two elements on it – one to load/run our bespoke Flash player, the other to run JPlayer (configured to use HTTP). I selected our bespoke Flash player and it played a MP3 audio file. I verified this in real-time via the FMS Admin Console on the server.
    On TEST Client… entered http://192.168.20.250:8134 into Safari – it comes up with the FMS install completed / test your server page. In the middle of the video display area a black box appears saying “10000 OK” – I clicked OK. I then clicked HDS Single Bitrate – the video plays (Not Using Hardware Acceleration is briefly displayed). There is NO activity logged in the FMS Admin Console back on the DEV server under “live”, “livepkgr” or “vod”. I assume this is because I’ve gone straight to the Apache Server via the port reference – is that correct? Next I tried the HLS Single Bitrate – same results.
    The HDS Single Bitrate logs the following in the Apache access_log file:
    "GET /hds-vod/sample1_1500kbps.f4v.f4m HTTP/1.1" 304 - "-" "Apple Mac OS X v10.6.8 CoreMedia v1.0.0.10K549"
    The HLS Single Bitrate logs this:
    "GET /hds-vod/sample1_1500kbps.f4v.f4m HTTP/1.1" 304 - "-" "Apple Mac OS X v10.6.8 CoreMedia v1.0.0.10K549"
    "GET /hls-vod/sample1_1500kbps.f4v.m3u8 HTTP/1.1" 304 - "-" "Apple Mac OS X v10.6.8 CoreMedia v1.0.0.10K549"
    "GET /hls-vod/sample1_1500kbps.f4v.m3u8 HTTP/1.1" 200 816 "-" "Apple Mac OS X v10.6.8 CoreMedia v1.0.0.10K549"
    "GET /hls-vod/sample1_1500kbps.f4vFrag1Num0.ts HTTP/1.1" 200 1143416 "-" "Apple Mac OS X v10.6.8 CoreMedia v1.0.0.10K549"
    "GET /hls-vod/sample1_1500kbps.f4vFrag1Num1.ts HTTP/1.1" 200 873072 "-" "Apple Mac OS X v10.6.8 CoreMedia v1.0.0.10K549"
    "GET /hls-vod/sample1_1500kbps.f4vFrag2Num2.ts HTTP/1.1" 200 1591984 "-" "Apple Mac OS X v10.6.8 CoreMedia v1.0.0.10K549"
    etc…
    At this point I’m stuck once again since I’m not clear how to construct the JPlayer HTTP reference. You have suggested:
    http://192.168.20.250:8134/hls-live/livepkgr/_definst_/livestream/livestream.m3u8
    That produces the following in the Apache error_log file:
    [error] [client 192.168.20.4] File does not exist: D:/Program Files/Adobe/Flash Media Server 4.5/webroot/hls-live
    If I change the JPlayer HTTP reference to:
    http://192.168.20.250:8134/hls-vod/sample1_1500kbps.f4v.m3u8
    the audio from the video plays.
    Also, if I look in the applications\livepkgr folder structure there is only \events (with sub-folder _definst_ and sub-sub-folder liveevent) – there are no _definst_ , livestream , streams folders etc. So besides me not quite understanding the logic/flow here, I seem to be missing a few folders/files too! I’d be very grateful for any light you can shed on all this. Plus an example of what my HTTP string should ultimately look like; for example:
    http://192.168.20.250:8134/hls-live/livepkgr/_definst_/livestream/Audio1.m3u8
    Apologies for such a long reply but I’ve been at this for over 10 hours today! I feel I’m getting closer but clearly there are still some gaps and configuration errors.
    Thanks again for your time, support, patience and understanding.
    Kind Regards, Steve

  • Contract Job - Flex based S3 (Amazon service) Browser

    Greetings all,
    (My apologies ahead of time if this is the wrong forum.)
    I posted a while ago on some of Amazon's forums looking for
    Flex (Actionscript really) libraries for interacting with Amazon's
    S3 service, but unfortunately received no responses. Fortunately
    for someone else, however, supply and demand has kicked in and my
    company has now posted a job for a Flex based S3 Browser on Elance.
    If you're interested, take a look:
    http://www.elance.com/c/rfp/main/jobInfo.pl?jobid=12099197&catId=10216
    Though the end product is intended to be closed source, I'm
    working to open up as much of it as I can.
    -Sean

  • Flex based Offline File Upload Application

    Hi,
    I am developing a flex based desktop client application,
    which provides capability for offline and online file upload.
    I want to achieve following functionality.
    It detects whether user is online or not, If not online then
    it saves data to somewhere on local file system folder
    and as soon as it detects that user is online, it uploads
    data from local file systm folder to HTTP based server.
    I explored FileReference object in flash.net API, Apparently
    it does not provide any capability to store content to local file
    system.
    Is above mentioned offline file upload possible using action
    script ?
    Pls. help.
    Regards
    Tarun

    hi,
    for all offline working applications you need an offline swf
    to exe maker. i use mdm zinc. it is fantastic for the type of
    problem you mentioned. visit www.multidmedia.com and download a
    trial version. it will provide you with the necessary tool.
    gaurav

  • Flex Based AIR application & remote HTML

    The question is ....from a flex based AIR application do you
    always have full access to all of the HTML content loaded from a
    remote site via the DOM (htmlLoader.window.document), or is the
    'context' of what you can see limited to what the initial url
    requested can see - i.e. the context is as if it were javascript
    running in the page corresponding to the initial URL.
    As far as i can see if i request say the page
    http://www.abc.com/page1.htm
    and it has content along the lines of
    <IFRAME src="
    http://www.xyz.com/page3.htm"
    id="remoteframe" />
    <IFRAME src="
    http://www.abs.com/page2.htm"
    id="localframe" /?
    then using the htmlControl.htmlLoader.window.document i can
    successfully navigate the DOM for the initial page loaded and
    localframe, but
    not remoteframe.
    I've seen various comments about sandboxes, bridges and
    applicationdomains in the documentation but i don't see how this
    can help me.
    Can someone please shed some light on this? Can i from the
    AIR application access all of the DOM, or am i restricted to the
    initially loaded page and pages referenced from the same domain in
    the page?
    Thanks
    Jamie

    Hi,
    From your AIR application, you can only access "exposed
    properties" in remoteframe.
    You expose a property by using the sandbox bridge mechanism:
    http://livedocs.adobe.com/air/1/devappshtml/help.html?content=security_5.html#1092959

  • Any Flex based wiki's available?

    I was wondering if there are any packages available in Flex
    that add a Flex based interface to a Wiki. It seems like it's an
    ideal environment for WYSIWYG wiki entries. It's difficult to
    search Google for one. I get tons of Wiki's about Flex but nothing
    about a Wiki written in Flex.

    What I'm looking for is a way to edit Wiki entries using a
    true WYSIWYG editor. I guess it doesn't really matter what the Wiki
    is written in on the server side but it seems like you could do a
    better job with the user interface if it used Flex. I know there
    are a number of interfaces that use Ajax to do what I'm looking for
    but I haven't had much luck getting them to work across web
    browsers.

  • Need Podcast player app for 4.2.1

    I'm looking in the app store for good podcast player.  Everything I find says I need 4.3 or higher, but my ipod can't be updated.  Any ideas how to find an older app  that will work on this ipod?

    Ah well...! (There is a limited function already on your iPod. See below.)
    I think the chances of you finding such an App are slim frankly. Apple and (it seems) all the developers, are opting for iOS 4.3 as a minimum, completely ignoring those of us with older iPods. Unfortunately, most users with older iPods seem far too preoccupied with slating Apple, and not spending enough effort on trying to get the issue resolved.
    Currently, there appears to be no method for searching for Apps by iOS version. You could try the site www.appshopper.com, and search for Podcast Apps. However, my attempt at this produced some very odd results, with strange omissions.
    Appshopper doesn't even show which version of iOS is needed for an App. That's ridiculous and quite how such a site stays in business is beyond me! At least the iTunes Store does tell you which version is required, even if it's easy to miss.
    I have to be honest; if I were seriously looking for a Podcast App, I would cut my losses after the tests I did with Appshopper and iTunes. I would have to check each one for the iOS requirements, and then check the suitable ones for the actual features I wanted.
    On the iPod already:
    Although it's limited, you can get Podcasts over Wi-Fi on the Touch.
    The iTunes App on your iPod Touch (which takes you to the Store) does have a Podcast section (it may be on the More menu). If you find a Podcast you want, you can download it over Wi-Fi directly to the iPod. However, as far as I can tell, you cannot subscribe to Podcasts from the iPod Touch. In addition to that, if you already have at least one episode of a Podcast series on your ipod, then beneath the last episode is a Get More Episodes... button. Once again, it's not that good a tool. It means that you would have to manually look for new episodes of all of your podcasts in order to download the new episodes. That surely, defeats the purpose of Podcasts. (This may have been addressed with the "Podcast App" available to iOS 6 users, but that doesn't help us with iOS 4.2.1)
    So, good luck in your quest. Sorry I can't be the bearer of better news.

  • Flex based app to html

    I have a current Flex based application and my boss want it to transfer to html/css based.
    Is it possible to do that easily? I mean if there is a plug-in or tool can do this conversion quicker. Already google but could not find one.
    What do you think the level of effort estimate to make this conversion?
    I don't know how to report to my boss...if it can only be converted manually and it is huge...
    Thanks

    If the app is huge and your boss wants HTML/CSS, better suggest he gets his story straight with the accountant as to why he is spending all that money degrading a perfectly good application.
    There are no automated tools, just hard work ahead. Think of the overtime.

  • I Need a Pageflip Book for Flash AS3 Website (non-flex based)?

    Hello,
    I am rebuilding my website from a simple html based website to a Flash AS3 website. The problem I've run into is that I can not get my flex based flipbook onto my Flash AS3 website.
    Apparently AS3 is not flex base compatible. Does anyone know a pageflip book program I can use in Flash AS3? Oh, one more thing. I do not know computer code. I need something like Bannerzest. Thank you.

    for example , I have a book ..
    which has these chapters....
    Introducing Adobe Flex 2
    Working with MXML in Adobe Flex 2
    Working with ActionScript in Adobe Flex 2
    Nowhere , in this book ...integration with J2EE application has been described .
    can we really use it for J2EE application ? or I am chasing in wrong direction ?

  • HT5295 The old podcast player in the music app allowed you to rate the podcast which later gets uploads to iTunes. Is this feature still in the new app?

    It's a pretty straight forward question, the podcast player that is built into the music player in iOS has a star rating feature that allows users to rate everything from music to podcasts which is than transfered to iTunes. Since Apple seperate podcasts with it's own app, I have been unable to find the star rating feature in the podcast app. Does anyone know if this is hidden somewhere in the app or can be turned on? It was a really useful feature and I'm surprised Apple didn't expand it further to allow listners to transmit their ratings to podcast producers.

    It's a pretty straight forward question, the podcast player that is built into the music player in iOS has a star rating feature that allows users to rate everything from music to podcasts which is than transfered to iTunes. Since Apple seperate podcasts with it's own app, I have been unable to find the star rating feature in the podcast app. Does anyone know if this is hidden somewhere in the app or can be turned on? It was a really useful feature and I'm surprised Apple didn't expand it further to allow listners to transmit their ratings to podcast producers.

  • #2032 error observed while launching flex based application from the standalone machine.

    We trying to launch flex based application deployed on weblogic on RHEL 6.4 OS with flash version 15.0, found #2032 error on UI. Request help us on this scenario.

    hi all,
    UPDATE:
    i have some how managed to handle my error at both REQUEST MESSAGE peoplecode and at HANDLER peoplecode. Tested the webservice using SOAPUI tool. After passing all inputs required, the customer is not created and i am getting a blank response message which should contain the SETID and CUST_ID as response. Please help me out whether i am missing any Key part in creating a CUSTOMER. Note, i haven't written any Peoplecode for creation and i am also not aware how to do the same or where to write the logic for it.
    Kindly bare with me and do help me out as i m struck with it for long. Thanks in advance

  • Flex based PickList component?

    Anyone know of a Flex based PickList component? Cant find one
    myself and want to be sure that I'm not just missing it before I
    make my own.

    quote:
    Originally posted by:
    Sreenivas R
    What exactly you are looking for? Flex has comboBox and List
    components. So I am unable to understand the exact requirement you
    have.
    Looking for an all in one pick list object with the required
    UI objects to move selections between lists. Easy enough to do with
    the existing tools, but was just wondering if there was anything
    better floating around out there.

  • Creating a flex based editor.

    I have to built a flex based editor like
    this one. I was wondering
    whether these people used a library for various components or they
    build everything themselves. In other words is there a library for
    building editors in flex?

    I have to built a flex based editor like
    this one. I was wondering
    whether these people used a library for various components or they
    build everything themselves. In other words is there a library for
    building editors in flex?

Maybe you are looking for

  • Copied Business Role in Solution Manager ITSM

    Hi All This is eunhwa. I have a question regarindg copied business role in Solution Manager ITSM. To copy business role, I copied technical roles Navigation profile, configuration key and PFCT Role ID. And then I copied a business Role. And assign co

  • My 24" iMac won't boot, what am I doing wrong?

    It starts and goes to a small window in multiple languages that says I must restart my computer. Tried to start in safe mode by holding down the shift key but wouldn't come up in safe mode. Second tried taking memory stick out and putting back in but

  • Getting #multivalue error

    Hi All, several records i was done grouping(HC,Product,W materails,s parts,t goods),rest of the records are others.after the grouping material type others is showing #multivalue error. Material Type+  Stock Quantity  HC  11,515,835  Product  3,400,01

  • HS.EXP does not take into account the Value member and the source

    Hello, The formula is put in the "Entity Curr Adjs" part of the Sub Calculate. The expression is the following and apply for one entity (Holding method) I filtered previously and the ICP Entity has proportionnal method with 50% rate: HS.Exp "A#5420.I

  • Password should not be displayed in Windows 64 bit machine

    Hi I am not sure whether this category is apt for my question. We have a requirement to mask the password entry in our utility in Windows 64 bit machine. I was trying to run the following from a 64 bit Windows machine . @echo off echo hP1X500P[PZBBBf