Listen for stream with a poster frame

Hi,
I am a newbie... I just got the whole live RTMP stream going, using the Flash Media Live Encoder, Red5 and the strobe Player.
I have a poster Frame setup, now:
I would like the user to see the posterframe when he opens the webpage, when I hit start on the FMLE I want the player to start the stream without the user having to refresh the browser or clicking the play button. If the stream gets stopped I would like the player to display the Poster again...
I am using the player setup page.
Is it possible, thank you very much for your help!
Krisc

Okay in Frame 1 I have an AS layer I copied your code into, layer two is the movie clip with the image named 'myPoster' and the third layer contains the FLV playback named 'myVideo' so I changed the names in the code to:
mvVideo.addEventListener(MouseEvent.CLICK,f):
function f(e:MouseEvent):void{
removeChil((myPoster);
I get the following compiler errors and publish preview shows just the image:
Scene1,Layer 'Action Script', Frame 1, Line 1 1078: Label must be a simple identifier.
Scene1,Layer 'Action Script', Frame 1, Line 4 1084: Syntax error: expecting rightparen before semicolon.
So I tried modifying the code to:
mvVideo.addEventListener(MouseEvent.CLICK,f);
function f(e:MouseEvent):void{
removeChil((myPoster));
Which fixed the original errors but still only the image shows and I get new compiler errors.
Scene1,Layer 'Action Script', Frame 1, Line 4 1180:Call to a possibly undefined method removeChil.
Scene1,Layer 'Action Script', Frame 1, Line 4 1120: Access of undefined property myPoster.
Scene1,Layer 'Action Script', Frame 1, Line 1 1120: Access of undefined property myPoster.
Thanks for your patience and help!

Similar Messages

  • Please help with a Poster Frame

    I have imported an FLV into Flash using "Video Import" and selected a prebuilt skin that gives play, volume and caption control. The movie has autoplay turned off so when I viewed on the webpage it shows a black first screen and the skin beneath it. I would like to insert a poster frame that will hide when the user presses play on the skin. I was a novice with AS 1 and 3.0 is making me facepalm. Please help, I've already tried Flashkit and Actionscript.org and not gotten any answers. Thanks!!

    Okay in Frame 1 I have an AS layer I copied your code into, layer two is the movie clip with the image named 'myPoster' and the third layer contains the FLV playback named 'myVideo' so I changed the names in the code to:
    mvVideo.addEventListener(MouseEvent.CLICK,f):
    function f(e:MouseEvent):void{
    removeChil((myPoster);
    I get the following compiler errors and publish preview shows just the image:
    Scene1,Layer 'Action Script', Frame 1, Line 1 1078: Label must be a simple identifier.
    Scene1,Layer 'Action Script', Frame 1, Line 4 1084: Syntax error: expecting rightparen before semicolon.
    So I tried modifying the code to:
    mvVideo.addEventListener(MouseEvent.CLICK,f);
    function f(e:MouseEvent):void{
    removeChil((myPoster));
    Which fixed the original errors but still only the image shows and I get new compiler errors.
    Scene1,Layer 'Action Script', Frame 1, Line 4 1180:Call to a possibly undefined method removeChil.
    Scene1,Layer 'Action Script', Frame 1, Line 4 1120: Access of undefined property myPoster.
    Scene1,Layer 'Action Script', Frame 1, Line 1 1120: Access of undefined property myPoster.
    Thanks for your patience and help!

  • Can I export clips with the poster frame already set?

    Does anyone know how to do this? -
    I want to set custom poster frames in FCP and have them remain as the set poster frames in the mov clips that I export so I don't have to open the individual clips in QuickTime and re-set the poster frames from there.
    Thanks for any input!

    Apparently the low-resolution preview that InDesign creates on first placing the PDF does not store a transparent background. If I recall correctly, this is also visible in the UI.
    If you don't have access to the original image, you don't have access to its transparent bits,  so you have to think of something else. Would it be enough to treat all white pixels as transparent?

  • Mouse motion listener for JTable with JScrollpane

    Hi All,
    I have added mouse motion listener for JTable which is added in JScrollPane. But if i move the mouse, over the vertical/horizontal scroll bars, mouse motion listener doesn't works.
    So it it required to add mousemotionlistener for JTable, JScrollPane, JScrollBar and etc.
    Thanks in advance.
    Regards,
    Tamizhan

    I am having one popup window which shows address information. This window contains JTable with JScrollPane and JButton components to show the details. While showing this information window, if the mouse cursor is over popupwindow, it should show the window otherwise it should hide the window after 30 seconds.
    To achieve this, i have added mouse listener to JPanel, JTable, JButton and JScrollPane. so if the cursor is in any one of the component, it will not hide the window.
    but for this i need to add listener to all the components in the JPanel. For JScrollPane i have to add horizontal, vertical and all the top corner buttons of Scroll bar.
    Is this the only way to do this?

  • BADI FOR MIRO WITH FOREX POSTING

    Hi SAP team,
    While posting MM invoice through Miro transaction for PO with the account assignment K, we are getting Forex line for foreign exchange gain.
    So while posting we are getting cost center derived from the PO even to the Forex line.
    we would like to delete the cost center from the Forex line. kindly provide the BADI to avoid this.
    Regards
    Suni.

    Hi,
    try with badi MRM_HEADER_DEFAULT.
    Best regards.

  • Help with sequence settings in final cut for project with 2 different frame rates.

    I really need help with this one! I finished editing a wedding video and realized after exporting that it was filmed in two different frame rates. This has happened before but I converted the footage to match and fixed the problem. In this case, the footage is part 30fps and part 60fps. The majority of it was filmed in 30fps. I cannot convert the 60 to 30 without the slow motion effect which I do not need so I have to find a way to burn this to a DVD without it looking messed up! The video was shot with two Canon 7ds if that helps anything. The first sequence I set at 29.97 and exported as a quicktime movie and all the footage filmed in 60 looked perfect and the footage in 30 looked jittery. Then I tried the sequence at 59.97 and it switched. The footage filmed at 30 looked good and the 60 was cropped in. I am so confused! Any advice or suggestions would be greatly appreciated!!

    Thanks for your help Michael! The frame rates are 29.97 1920 x 1080 and 59.94 1280 x 720. I did a control click on the clips in final cut and viewed the item properties/format to find this info. The Canon 7d is a DSLR but we use it for video. As for my workflow, the first thing I do is import the footage onto my computer and then drag the clips into mpeg streamclip. I choose apple prores 422 and uncheck the interlaced box. Once this is done I import the .mov files into final cut. The sequence automatically sets itself to whatever clip I drag in first so it originally set as 29.97. When I finished editing wedding video, I export it to a quicktime movie and choose whatever settings match the sequence, in this case apple prores 422 1920 x 1080 30p. Once that is done I use iDVD to burn the discs.
    I knew something was wrong when I watched the quicktime movie and all the 30fps footage was jittery and most of the cross dissolves looked strange. That's when I figured out the footage was at two different frame rates. What I don't understand is why whatever the sequence is set at in final cut, the clips of the opposite frame rate look right but the clips set at the matching frame rate don't???

  • Register new listener for newDB(with new Home) in existing 10.2.0.2 cluster

    Dear Friends,
    UAT Instance:
    i have installed 10g cluster (10.2.0.2) and i have cretaed new 10g home and cretaed listener (with port ) and cretaed UAT database
    No issues on the above
    DEV Instance:
    Now we have another database DEV and for this i have differnt oracle home (not same as UAT) and i created databases and converted to RAC but i want this database to be registered in the 10g existing cluster and the listener also i want to have new one with different port (not same as UAT)
    so when we try to cretae new listener from new DB home it's throwing error.
    "CRS-0215: could not start resource"
    so please let me know how to
    creating new listener with different port for new database having new DB home
    and register it with the existing 10g cluster
    Regards,
    DB

    Hi,
    Is the database part of the cluster or not?
    srvctl config database -d ... to find out if not add it to cluster
    srvctl add database -d and then the instances
    srvctl add instance -d dbname -i instance name
    have a look in here for information related to listener/port
    Changing Default Listener Port Number [ID 359277.1]
    How to Create Multiple Oracle Listeners and Multiple Listener Addresses [ID 232010.1]

  • Credit memo for asset with depreciation posted

    HI,
    There is requirement to pass a credit memo for an asset.
    The asset was purchased on 01.04.10.
    And have been depreciated till 31.05.11.
    Now the client want to pass credit memo for the full acquisition value.
    My issue is when I am passing the entry through ABGF - ... in Next Year
    System is throwing error stating the value is going negative.
    Then we passed the write up for the depreciated value as on 01.04.10.
    Still system is giving the same error message.
    Please suggest on what date should I pass the write up to clear the whole posted depreciation and pass the credit memo.

    Hi,
    Go to asset master change, in depreciation are tab double click on depreciation are number  then select negative values allowed check box
    Hope this will help you.
    thanks!

  • LISTENING FOR BACKSPACE WITH A KEY LISTENER

    I have a key listener and I want to know how I find out if backspace has been pressed.
    Thanks

    I created a JTextField and added it to a JPanel which was added to the contentPane.
    When I add my key listener to a JTextField or the the JFrame, the code suggested above works fine. (JKD1.3, Windows 98)
    When I add the key listener to the JPanel it doesn't work.

  • Listen for HTTP Post in Flex

    Hello,
    I just have a simple question.  In my Flex program, I am trying to find a way to listen for an incoming HTTP POST message - something with functionality similar to that of the HttpListener class in C#.  I have not been able to find anything at all to help with this though, would anyone know of something like this?
    Thanks.

    My Flex program subscribes to changes that occur in a program on remote server.  The change notifications are sent back to my client in the form of an HTTP Post message.  The Flex program needs to be able to detect when these Posts are received.

  • IWeb - Poster Frame

    I just launched a new website and have had no problems except for getting the poster frame to work properly. I don't like the poster frame (frame of video to freeze) on three of the video, so I adjusted to the desired frame using the poster frame in the inspector. It saves and shows the adjusted shot that I just made in iWeb, but once I publish site changes (done this many, many times) it never shows on my web page. I reopen iWeb and it still shows the change I made, but I can't get it to change on my webpage. Any suggestions?

    Although I don't display movies this way due its severe limitations, it seems that there has been a problem with poster frames in the last two versions of iWeb. Does anybody report this?
    I spent a little time looking into other ways of displaying movies with a poster frame. This one calls up the QT plugin and loads a poster movie. It has the advantage that the "real" movie doesn't have to load with the page but is more complicated than most users would wish.....
    http://web.me.com/roddymckay/Movies-New/Poster-Movie.html
    It looks like HTML5 is going to be able to do this very simply someday. Unfortunately, in this example, the poster image only displays while the movie is loading and disappears when it is ready to play.....
    http://web.me.com/roddymckay/Movies-New/Video-Tag.html
    Most of the new players that use HTML5 and fallback to flash for browsers that don't support it have provision for a poster image - like this one...
    http://www.iwebformusicians.com/Website-Music-Movies/Video-Flash-Fallback.html

  • Listening for bubble-clicked event on trayicon

    i'm trying to listen to mouse clicks on balloon messages that are displayed when you call TrayIcon#displayMessage.
    i added an action listener (TrayIcon#addActionListener), which gets called, but it also gets called when you double-click
    on the tray icon itself, so i want to differentiate between clicking on a balloon message and double-clicking on the tray icon.
    its basically the same question as in two previous threads, but one of the administrators (DarrylBurke) said i needed to create a new thread.
    http://forums.sun.com/thread.jspa?threadID=5284529&tstart=0
    http://forums.sun.com/thread.jspa?threadID=5403857&tstart=0
    any ideas appreciated.

    a code sample doesn't help when the functionality of a balloon action listener doesn't exist.
    anyhow, it looks like the original jdesktop project had the concept of adding a balloon listener:
    http://download.java.net/javadesktop/swinglabs/releases/0.8/docs/api/org/jdesktop/jdic/tray/TrayIcon.html
    specifically method TrayIcon#addBalloonActionListener, which lets one listen for interaction with a balloon message.
    looks like that functionality was lost/not added to the java.awt version of the system tray class.

  • Hinting for Streaming w/ Podcast Producer

    Can I hint movies for streaming with a Podcast Producer 2 workflow. We have upgraded our Xserve from 10.5 to 10.6 and we are utilizing the QTTS to serve up our movie files to customers and employees. Our files produced by Podcast Producer need to be hinted. How is this accomplished? I don't see an option in Podcast Composer during workflow creation.

    I confess I do not know Podcast Producer 2 as much as I'd like. I do know that it maintains a catalog of content that is published through RSS and Atom feeds. In principle, it should be possible to create a tool that would delete content and kill any feed entries linked to it. Such a tool would have to understand both SQLite3 and XML. I don't "think" there is such a tool…it might be interesting to create one. Anyone who did create a catalog editor would come to understand a lot about how PcP 2 works under the hood.

  • IPad video poster frames white box with grey tv, looking for fix

    I have searched the forums and can not find a working solution.
    I have mpeg4 Apple TV/ iPad videos that I have added to my iPad through iTunes. 
    When they came in, all the poster frames were black, as that's the first frame of video.  I manually went though iTunes and set each poster frame. 
    I then sync and reboot on the iPad.  Poster frames are now white squares with grey tv.
    Repeated the above twice.
    Signed in and out of home share (as suggested by one forum) and reboots iPad.
    Have removed all files from iPad and then added back.  Back to black poster frames.
    I have no way to check if the poster frame are correct as in iTunes, I can only see files on the iPad in list view.  When I do get info, there is nothing about the poster frame.
    Any help or ideas would be appreciated. 
    Ipad2
    iOS 6.1.2
    iTunes 11.0.1
    MacPro OSX 10.7.5
    Thanks!

    BUMP.
    Still looking for an answer on this.  In addition to the above:
    I have tried setting the poster frames inside of iTunes
    I have tried setting the poster frames outside of iTunes and then importing onto the iPad though iTunes.
    Setting ratings made no difference.
    I can not add artwork manually, it is greyed out in the info pain and not accessible.
    Still same results.  Now all video files are a Grey Square with a different symbol depending on what "Media Kind" the file is set to.  And in fact, when I do this, the files disappear from iTunes and I can no longer find them.
    Apple, Please help!!
    Reading the Forums, this is a problem that has yet to be answered.
    Ipad2
    MC770LL/A
    ios 7.1.1

  • Poster frame for cover flow view with safari bookmarks?

    i have a friend on a pc who wanted to have his bookmarks display in a visual way so that he doesnt forget about them. so i told him to download safari for windows and use the cover flow view. he likes it, but some sites are not very recognisable by just the thumbnail of the front page. so i was wondering whether there is a way (or a workaround) to choose another image/icon for these bookmarks in the same way that it is possible to select any scene from a movie and have that be the icon/poster frame.
    i hope i havent expressed this unclearly. thanks.

    Since just moving all my music to a NAS I was here researching the same issue. I can see the other three (only when music is specifically selected) but not Cover Flow. I believe it has been disabled. I played around with grid view with 428 albums and iTunes for Windows loads the art fresh evertime you start it and, on the smallest art size in grid view, it took a bit of time to load all the art.
    If Cover Flow needs to cache up all the art work in advance then I could see how it would easily take my setup between 45 seconds to a minute to cache them all up.
    Perhaps that would feel too clunky for Apple especially if one were to aggressively swipe through a set that wasn't completely cached.

Maybe you are looking for

  • How to find the number of hits on a single query

    how to get the information for number of hits on a single query on single day in BI system, Regards Kumar..

  • Create a delivery note with bin locations and batch numbers

    Hello everyone, when sending this message to my b1if scenario i am receiving this error (which says nothing): Exception : DI Error: (-2010) Internal error (-2010) occurred This error only occurs when using a warehouse with bin locations. For regular

  • How do I overide the values in the text file

    I am reading a text file using loadvars, to get some values such as &yourid=123456 from the text file. How do I overide the values in the text file <PARAM NAME=movie VALUE="jamietrailer.swf?yourid=65432 <---- this doesn't seem to work So I can change

  • Swing doesn't refresh/repaint properly

    Hi, I'm trying to display a very simple dialog that just about says "Please wait" while I do i/o extensive processing, and can't for the life of me succeed. I tried many things, including Threads, SwingWorker, to no avail. Something seems fishy in th

  • Power button not working since 8.1

    I just updated my phone to the new iOS 8.1 and now my power button is not working...does anyone know a solution or a fix other than sending it into apple to get it fixed?