FLVPlayback component connection

I would like to specify my own NetConnection instance for
FLVPlayback connection to Flash media Server 2. Is this possible,
perhaps by using the FLVPlayback.ncMgr property?
Thanks in advance as this is really stalling development of
my application, which uses multiple instances of FLVPlayback over
multiple pages... therefore I really need just one NetConnection to
FMS2.
Please note that I'm looking into the FLVPlayback component
as a more robust player inplace of my NetStream setup.
I really am stuck on this and need some help.

apologies, but in the code above gives these errors:
Scene 1, Layer 'Scripts', Frame 1, Line 105 1061: Call to a possibly undefined method toString through a reference with static type fl.video:VideoError.          (line 105 is :  trace("3 - VideoError: " + e.toString());)
Scene 1, Layer 'Scripts', Frame 1, Line 108 1061: Call to a possibly undefined method toString through a reference with static type fl.video:VideoError.          (line 108 is :  trace("3 - VideoError: " + e.toString());)
Scene 1, Layer 'Scripts', Frame 1, Line 96 1067: Implicit coercion of a value of type uint to an unrelated type String.                                                                     (line 96 is: V1.addEventListener (VideoError.NO_CONNECTION, sourceFailed);)
The issue seems to be in the VideoError listener, even leaving just something like:
          V1.addEventListener (VideoError.NO_CONNECTION, sourceFailed);
          function sourceFailed (e:VideoError):void     { trace ("VideoError") }
Still gives the eror: Scene 1, Layer 'Scripts', Frame 1, Line 96 1067: Implicit coercion of a value of type uint to an unrelated type String.

Similar Messages

  • Load FLV into FLVPlayback component?

    I have an array of videos coming from an XML doc. I am getting the name of my video in the trace statement okay, but am not sure how to go about loading the FLV video into the player. I have an FLVPlayback component on the interface named "video". The video I'm going to load will be ("videos/" + videoArray[0])). What is the proper way in AS 3 to load this video?

    var start:Number = 0;
    var videoConnection:NetConnection = new NetConnection();
    videoConnection.connect(null);
    var aStream:NetStream = new NetStream(videoConnection);
    aStream.play("myvideo.flv");
    aStream.pause();
    I hope this will help you

  • New FLVPlayBack component and RTMP protocol

    hi all
    I'm using "FlvPlayBack" component that ships with Flash 8 to
    play a bunch of FLV's from an XML file. According to the
    documentation (given that my component on the stage is called X), I
    can do:
    X.contentPath = "rtmp://server/foo/bar.flv";
    and i should be set. The problem is that the above doesn't
    work
    now the same program works if i feed it an XML with paths to
    local FLV files (instead of over RTMP protocol) -- also I can
    stream the files using Netconnection/Netstream combo
    it's only when i do
    X.contentPath = "rtmp://server/foo/bar.flv";
    that i get into probelm

    Did you configure the FMS properly? Did you put the main.asc
    file in the application folder (check out this link:
    http://livedocs.macromedia.com/flash/8/main/00003495.html).
    Try to debug the issue. Start with FMS administration console
    and check if you get any incomming connection.
    If no, make sure your can access the "server" domain.
    If yes, check you have placed the files in the application
    folder as needed.
    Check the logs from the FMS.
    If still not working post some more details. My bet goes with
    the main.asc which handle the connection with flvplayback
    component.
    //Bomolete

  • FLVPlayback component -- NetStatusEvent

    I'm trying to get the status of a RTMP stream that is being
    played in an FLVPlayback component, and it's not working to well.
    Using the ncMgr, you can't really get any pertinent information...
    I'm looking to catch all the events, such as, connecting,
    connected, playing.. etc... Would it be possible to extend the
    FLVPlayback class to accept these events? Is there something I'm
    missing?

    I got it by editing the NCManager class, and recompiling the
    FLVPlayer.

  • A better way to determine the current state of the FLVPlayback component?

    Below is the AS3 code I have used to display images (MCs) over an instance of the FLVPlayback component.  These images (one for loading, one for the title) are to appear – or disappear – according to the current state of the FLVPlayback component. 
    It “works,” but when testing, I have noticed that it can be rather finicky.  The most common issue that arises is that many times the loadPoster movieclip will still be visible even though the video has entered the playing state.
    Also, I wanted a title placeholder image to appear whenever the user stops the video or if the video completes.  However, I had to add the conditional statement to the “stoppedStateEntered” case to make everything appear when expected.  When the video is first viewed (and has completed buffering), it seems that the FLVPlayback component enters the stopped state before entering the playing state.  Thus, the titlePoster would flash on the screen right before it and the loadPoster “should” disappear when the video begins playing.
    Even in my limited testing, these issues were very easily re-created.  I am definitely looking for a more reliable solution.  Is there a better (or more correct) way to go about all this?  If possible, I would like to stick with the FLVPlayback component, just for the simple fact of not having to code my own.
    Where am I going wrong?
    function updateMoviePoster(event:VideoEvent):void
                    switch (event.type)
                                    case "playingStateEntered":
                                                    loadPoster.visible = false;
                                                    titlePoster.visible = false;
                                    break;
                                    case "stoppedStateEntered":
                                                    if (loadPoster.visible == false)
                                                                    titlePoster.visible = true;
                                    break;
                                    case "complete":
                                                    titlePoster.visible = true;
                                    break;
    myFLVPlayback.addEventListener(VideoEvent.PLAYING_STATE_ENTERED, updateMoviePoster);
    myFLVPlayback.addEventListener(VideoEvent.STOPPED_STATE_ENTERED, updateMoviePoster);
    myFLVPlayback.addEventListener(VideoEvent.COMPLETE, updateMoviePoster);

    Any suggestions?  I would truly appreciate the help.

  • Need to stop playback of an FLVPlayback component when navigate away from page!

    I have an movieclip playing as auto start on the first page of my website.  The component continues to play when I navigate away from the page.  How can I stop the playback of the movie if it has not completed when navigation away from the page is invoked.  I have search and am unable to find such an event using an FLVPlayback component.  Presently there is no code in actionscript to display here.
    thanks

    Hi, this is the entire code that is placed on the timeline in frame 1 of the AS line.  There is now an error and the FLVPlayer component, which is also begin in frame 1. At this point there is one method that I thought should work when the vTinesDayBtn is clicked.  However, is not.
    The error is:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at ewddSite_fla::MainTimeline/vTines()
    ArgumentError: Error #1063: Argument count mismatch on ewddSite_fla::MainTimeline/stoppedVid(). Expected 0, got 1.
    The code is:
    stop();
    import flash.events.*;
    import flash.display.*;
    import fl.video.*;
    import fl.video.FLVPlayback;
    function stoppedVid() {
      vidPlay.stop();
    vTinesDayBtn.addEventListener(MouseEvent.CLICK, stoppedVid)
    function vTines(evt:MouseEvent):void {
    gotoAndStop(20);
    vidPlay.stop();
    function engagements(evt:MouseEvent):void {
    gotoAndStop(25);
    function weddings(evt:MouseEvent):void {
    gotoAndStop(30);
    function births(evt:MouseEvent):void {
    gotoAndStop(35);
    function birthdays(evt:MouseEvent):void {
    gotoAndStop(40);
    function graduations(evt:MouseEvent):void {
    gotoAndStop(45);
    function anniversaries(evt:MouseEvent):void {
    gotoAndStop(50);
    function specEvents(evt:MouseEvent):void {
    gotoAndStop(55);
    function memorials(evt:MouseEvent):void {
    gotoAndStop(60);
    //main.addEventListener(MouseEvent.MOUSE_DOWN, mainPg);
    vTinesDayBtn.addEventListener(MouseEvent.MOUSE_DOWN, vTines);
    engageBtn.addEventListener(MouseEvent.MOUSE_DOWN, engagements);
    weddingsBtn.addEventListener(MouseEvent.MOUSE_DOWN, weddings);
    birthsBtn.addEventListener(MouseEvent.MOUSE_DOWN, births);
    bDaysBtn.addEventListener(MouseEvent.MOUSE_DOWN, birthdays);
    graduBtn.addEventListener(MouseEvent.MOUSE_DOWN, graduations);
    annivBtn.addEventListener(MouseEvent.MOUSE_DOWN, anniversaries);
    spEventsBtn.addEventListener(MouseEvent.MOUSE_DOWN, specEvents);
    memorialsBtn.addEventListener(MouseEvent.MOUSE_DOWN, memorials);

  • I have an ipod classic 160gb and i also have the dock to connect it to my TV  using composite cables. I would rather use component then the composite cables. Does Apple sell a component connection to hook up my ipod to hook up to my TV?

    I have an ipod classic 160 GB and I also have the dock to connect it to my TV with composite cables. I would like to hook it up but using component av cables. Does Apple sell a component connection to hook up my Ipod to my TV?

    Yep, part number MB128LL. Got it from this KB page: http://support.apple.com/kb/ht1454

  • Is it possible to import YouTube videos into a flash FLVPlayback component...?

    Hi all,
    I'm now working on a flash website, i need to play a youtube video inside my flash movie.
    In this Flash file i have a FLVPlayback component and i tried to link the youtube video into this but did'nt work.
    Please help me...

    You should find what you need here: http://code.google.com/apis/youtube/flash_api_reference.html

  • FLVPlayback component skinAutoHide problem

    Hi guys!
    I have a problem with FLVPlayback component's skinAutohide
    property which works poorly when FLVPlayback component is the same
    size as your stage. The skin only hides when I move my mouse very
    slowly outside the FLVPlayback component.
    Also making the FLVPlayback component smaller isn't an option
    so what more options are there left?
    Is there anyway to hide the skin by yourself?
    I allready tried the following code, but I think this is very
    unreliable (I get some errors when I move my mouse very quickly
    over and outside the FLVPlayback component):
    video.addEventListener(Event.MOUSE_LEAVE, mouseLeaveHandler);
    video.addEventListener(MouseEvent.MOUSE_MOVE,
    mouseMoveHandler);
    function mouseLeaveHandler(event:Event):void {
    video.skin = "";
    function mouseMoveHandler(event:Event):void {
    video.skin = "SkinOverPlayStopSeekFullVol.swf";

    I am having the exact same problem. Thanks for info that this
    is caused by movie being the same size as the stage. I am also
    working on a solution and will let you know if I find one.

  • FLVplayback component problem

    my flash movie contains FLVPlayback component to play videos.
    In the begining of the movie( frame 1) I have a simple pre-loader.
    When I test my swf on a browser the pre-loader appear only after
    few second, not immediately. (my pre-loader start from 40%). I
    think the reason is that flash load the FLVPlayback component on
    the first frame although my component appears only on the second
    frame . Is there any work around this issue?
    Thanks

    I am having the exact same problem. Thanks for info that this
    is caused by movie being the same size as the stage. I am also
    working on a solution and will let you know if I find one.

  • Can HD Movies be viewed via Component connection?

    Does anyone know if an HD rental can be viewed over a component connection?
    If there's a need for HDMI to be connected, could I still do the actual viewing over component?
    (I have a TV with no HDMI port, but it will display HD resolution via component. I have a problem with my cable provider because it will only send HD through HDMI - regardless of what's plugged-in to the set top box.)

    you can use either HDMI or component.
    watching an HD movie over component will work fine.

  • Need Preloader for FLVplayback Component

    Hi,
    I'm playing external .flv videos using the 'FLVplayback'
    component. My client's complaining that they stall and stutter a
    bit when they start to stream, and wants to know if I can create a
    preloader for them.
    Can anyone help or point me in the right direction to create
    preloaders for this component? Since the .flv is not on the
    timeline, I don't know where to begin. I found some info on this in
    the Flash Help files, but it's a little over my head.
    Thanks very much

    Hey metrov,
    ActionScripting is the way to go for this situation. Try this
    link (hope it helps)...
    http://www.actionscript.org/forums/showthread.php3?t=105158
    Jaythan

  • Remove sound in FLVplayback component?

    How do you remove the sound from "specifically" from FLVplayback component? Since the sound wont stop playing when I'm on different page(assume that if the person didnt click the pause button and navigate to other pages)....Normally I would add SoundMixer.stopAll(); for every button in my main and loaded swf but this will stop my background music as well....
    The flvplayback component is located in another swf file and the code was added on the second frame of the movieclip call "scrollGroup"
    import fl.video.FLVPlayback;
    import flash.events.Event;
    var flvPlayback:FLVPlayback = new FLVPlayback();
    flvPlayback.fullScreenTakeOver = false;
    flvPlayback.autoPlay = false;
    flvPlayback.source = "video/Listening_to_Community_Voices.f4v";
    flvPlayback.skin = "MinimaFlatCustomColorPlayBackSeekCounterVolMuteFull.swf";
    flvPlayback.x = 31;
    flvPlayback.y = 123.8;
    addChild(flvPlayback);

    http://forums.adobe.com/message/2587415?tstart=0

  • JCA Binding Component connection issue in the Oracle Order Demo Application

    Hi,
    I setup the Oracle Fusion Middleware. I also deployed the Oracle Fusion Order Demo Application in the soa_server. I placed the order in the store front web.I initiated the webservice (OrderBookingService) and found the below error in the soa_server_diagnostic log file.
    =====================================================================================================================================
    Caused by: BINDING.JCA-12563
    Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Write' failed due to: JCA Binding Component connection issue.
    JCA Binding Component is unable to create an outbound JCA (CCI) connection.
    OrderBookingComposite:USPSShipment [ Write_ptt::Write(body) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510
    JCA Resource Adapter location error.
    Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/>
    The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/file/FODFileAdapter'.
    The reason for this is most likely that either
    1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or
    2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/file/FODFileAdapter. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR).
    Please correct this and then restart the Application Server
    The invoked JCA adapter raised a resource exception.
    =====================================================================================================================================

    Thanks Guys.
    I resolved the issue.
    The issue is that FileAdapter for FulFillment mediator is missing.
    Solution 1:
    File adapter connection factory needs to be created via the weblogic console
    The details below:     
         JNDI Name: eis/file/FODFileAdapter
         controlDir          java.lang.String     /tmp/control
         inboundDataSource     java.lang.String     jdbc/SOADataSource
         outboundDataSource     java.lang.String     jdbc/SOADataSource
         outboundDataSourceLocal     java.lang.String     jdbc/SOALocalTxDataSource
         outboundLockTypeForWritejava.lang.String     oracle
    Solution 2:
    seedFodFileAdapterResources target in $FOD_HOME/bin/common-sca-tools.xml needs to be executed to create the file adaptor.
    Thanks.
    Ilayaraja

  • FLVPlayback Component video and skin as one swf

    Is it possible when publishing a Flash CS4 file to have the Video swf and the Skin swf be in one swf file?
    I have a Flash CS4 (AS2) file that has a FLVPlayback Component. When I publish or test movie 2 swfs are output. I need only 1 swf as I am then going to insert this 1 swf into a Captivate 4 project.
    When I insert the video swf by itself into Captivate 4, I do not have a play bar/skin.
    If it is not possible to publish as one swf, can someone please tell me how I can insert the 2 swfs into a Captivate file and get them to work?
    Thanks in advance.

    My project is called JumpVideo.
    The only 2 items in my library are the FLVPlaybackComponent and a Combo box.
    I have imported a video using the FLVPlaybackComponent and have selected the SteelExternalPlaySeekMute skin to go with the playback.
    The video has defined cue points. The combo box has two values. When the first is selected it jumps to the start of the video. When the second is selected it jumps to the cue point.
    When I publish there are two swfs that are produced; the project swf itself (JumpVideo.swf) and the skin (SteelExternalPlaySeekMute.swf).
    I would like there to be only one swf published (i.e. the skin is within the JumpVideo.swf).
    Is this possible?
    The swfs will then need to be inserted into Captivate 4 as animation.
    If 1 swf cannot be published, then can you perhaps help with how I can insert the JumpVideo.swf and the skin swf into Captivate and have it work as it does in Flash CS4?

Maybe you are looking for

  • 4G LTE service on a galaxy 10.1 tablet

    I have a Galaxy tab 10.1 with 4G LTE.  When at work  I am in a Verizon 4G LTE Extended service area.  The problem, I am dropped from the network and cannot get a good signal(1 or 2 bars).  I have a galaxy 3 that connects via 3g with a full signal.  I

  • Handling of Down payments / advance payments retail POS interface

    Hi all, Does anyone know if there´s a best practice to handle down payments with POS interface? thanks in advance Mariana

  • Phone Reset and Sincing issue

    My main computer that my 3G iphone was set up on recently died, and I am now using a different computer. I updated my software on the phone, and when it had finished I had lost all of my music, apps, and ringtones. Is there a way to get everything I

  • IDM Database integrity checks

    Are there any routines or jobs that check / repair the integrity of the IDM database ? IOn particular the linkages between MSKEYVALUEs and MSKEYs In our development IDM instance in the MXIV_ENTRIES table we have some MXREF_MX_PRIVILEGE records which

  • Trying to return the size of the bag's range

    can some one help me with these... im not sure if i just need to do a return statement. if someone can give some advice that would be great.. thanks         public interface BagOverIntRange {       * Returns the size of the bag's range (high - low +