FLVplayback Seekbar

Hello,
I'm having issues with the seekbar handle for FLVplayback
components. I have separate videos in separate movieclips and when
I click to a new one the seekbar handle gets left from the previous
one. I've noticed other people having the same problem but haven't
found a solution as yet, can anyone help? Is there code to prevent
this and if so would it go into the button, component or AS frame??
Any help would be greatly appreciated.
David

Oh! Okay!
So, I did try your solution. Changed the code to that :
import fl.video.*;
import fl.controls.ProgressBarMode;
var flvDisplay : FLVPlayback;
var flvSource : String = "videos/P01_Intro.flv";
var flvCaption : FLVPlaybackCaptioning;
var flvCaptionSource : String = "intro.xml"
flvDisplay = new FLVPlayback();
flvDisplay.skin = "SkinUnderPlaySeekCaption.swf";
flvDisplay.source = flvSource;
flvDisplay.width = 757;
flvDisplay.height = 530;
flvCaption = new FLVPlaybackCaptioning();
flvCaption.source = flvCaptionSource;
flvCaption.showCaptions = true;
addChild(flvDisplay);
addChild(flvCaption);
I temporarily put the code related to the progress bar in comment, so I didn't add it to the post.
You know what's bizarre? The caption button still doesn't appear! The captions do work though. I just can't turn them off since the button isn't there. :/
So basically, I return to my first problem : is there any way to "access" the seekbar scroller trough code? Then my first solution would "work".

Similar Messages

  • FLVplayback Seekbar problem

    Hello,
    I'm having issues with the seekbar handle for FLVplayback
    components. I have separate videos in separate movieclips and when
    I click to a new one the seekbar handle gets left from the previous
    one. I've noticed other people having the same problem but haven't
    found a solution as yet, can anyone help? Is there code to prevent
    this and if so would it go into the button, component or AS frame??
    Any help would be greatly appreciated.
    David

    That is my plan to use playheadupdate. I have been able to add a mouse click to the seekbar itself and can seek the the correct place in the flv on demand. My problem is that I am unable to display the handle rectangle.  I am also unable to add a mouse event to the SeekBarHandle class I have.

  • FLVPlayback SeekBar and volumeBar conflict

    I am using the FLVPlayback component with the seperate play
    button, back button, seekbar, volume bar (instead of using a skin).
    The seekbar and volume bars worked perfectly individually, however
    used together they seem to conflict - when I click on the volume
    bar handle the seek bar handle flashes and the volume cannot be
    controlled. I have also had it the opposite way round too. I cannot
    work out how to fix this.
    I have read a few reports that this is a bug with Flash 8,
    and that the Flash 8 FLVPlayback Component Update 1.0.1 fixes this
    with replacement files. I have also read that this bug has not been
    resolved with CS3. However I started my project on Flash 8 and then
    moved on to CS3 so cannot use the update (the files to replace are
    all different).
    I would appreciate any help on this.

    I need to re-submit the entire code since it has to be
    something therein, since I did a document and I had no problem but
    when I use this code I have a problem with the seek and volume not
    working together.
    var xml:XML = new XML();
    xml.ignoreWhite = true;
    xml.onLoad = function() {
    var nodes = this.firstChild.childNodes;
    for(i=0;i<nodes.length;i++) {
    list.addItem(nodes
    .attributes.desc,nodes.attributes.flv);
    vid.play(list.getItemAt(0).data);
    list.selectedIndex = 0;
    list.backgroundColor = 0x000000;
    list.color = 0xffffff;
    xml.load("videos.xml");
    var lList:Object = new Object();
    lList.change = function() {
    vid.play(list.getItemAt(list.selectedIndex).data);
    list.addEventListener("change",lList);
    vid.playPauseButton = playPause;
    vid.seekBar = seeker;
    vid.muteButton = mute;
    vid.volumeBar = volBar;

  • Setting FLVPlayback parameters at run time

    Hello,
    Is there a way to change the parameters on the FLVPlayback at
    run time? For example, I create a swf file to play the video
    "my_video", and I set the parameter "autoPlay" to false. I then
    embed the following code into a web page:
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
    width="326" height="266" id="my_video" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="my_video.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#666666" />
    <embed src="my_video.swf" quality="high" bgcolor="#666666"
    width="326" height="266" name="my_video" align="middle"
    allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer">
    </embed>
    </object>
    The video is embedded in the page, and the user can click the
    controls to play the video.
    What I'm wondering is ... can I change the parameters at run
    time by using the above code somehow? For example, can I change the
    autoStart parameter to true, so now the video would start
    automatically when the page is loaded. Or, could I change the
    contentPath parameter so the code would now play a different flv
    file?
    Thanks for any help.
    Bob

    Hi,
    Thanks for the quick response. Your suggestion works almost
    perfectly. I can now change the flv to any flv I want, and it plays
    the video I want. However, even though I am specifying
    autoPlay=false, it still plays automatically when the page loads.
    Here is my actionscript:
    flvPlayback.playPauseButton = myplayPause;
    flvPlayback.seekBar = mySeek;
    flvPlayback.muteButton = myMute;
    flvPlayback.contentPath = newPath;
    flvPlayback.autoPlay = autoStart;
    and here is my html:
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
    width="326" height="266" id="xxx" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="pokflvplayer.swf">
    <param name="FlashVars"
    value="autoStart=false&newPath=holiday_message_2007.flv" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#666666" />
    <embed src="pokflvplayer.swf"
    FlashVars="newPath=holiday_message_2007.flv&autoStart=false"
    quality="high" bgcolor="#666666" width="326" height="266"
    name="medical_imaging" align="middle"
    allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer">
    </embed>
    </object>
    Any idea why it will not recognize the autoStart paramenter?
    By the way, I had to change your myFLV.autoStart - autoS to
    flvPlayback.autoPlay=autoStart. The actual name of the parmameter
    is autoPlay, not autoStart. My guess is that was just a typo on
    your part. Thanks again for your help.
    Bob

  • SWC and SeekBar

    Hello.
    I'm converting a Web (Flash Player) application to iOS. The Web application uses external SWFs. But in iOS I can't load external SWFs. I decide to convert the SWFs to SWCs and insert the SWCs in the "Library path" of the main SWF.
    All is OK except the use of the SeekBar.
    This is a link to an example of the problem (CS5.5): http://www.highresolution.it/SWC_SeekBar.zip
    The main SWF (Main 01.fla) play a video with FLVPlayback+Seekbar, close it and instantiate the "video" movieclip from SWC. The SWC (from "ForSWC 01.fla") have the "video" movieclip that play the video with FLVPlayback+Seekbar.
    The SeekBar in the SWC don't work. But if I compile the "ForSWC 01.fla" to SWF and load this SWF with a loader the SeekBar work. Or if I remove the FLVPlayback(and his skin)+SeekBar from the library of main SWF the SeekBar into SWC work.
    I don't find any solution to this problem...
    Thank you for help.

    I got the answer , I think. the following from flex
    reference:
    Change the default link type combo box from "Merged into
    Code" to "Runtime Shared Libraries". Click on the SDK folder to
    open it up and do the same on the "framework.swc" entry. Click on
    the "RSL URL" entry. Your dialog should now look like this:

  • FLV components work one at a time, but not in unison!

    I've done this before so I don't know why it's happening. I
    have an FLV component and 3 other FLV player components: Volume
    bar, play/pause button, and seek bar. They all have instance names
    and control the FLV correctly, but the seek bar and volume bar do
    not like each other.
    When the volume bar works, the seek bar doesn't and when
    clicking on the little black triangle to change the volume, a
    yellow rectangle appears briefly around the seek bar triangle. If I
    go and delete the seek bar and drag another seek bar component to
    the stage, it will work, but the volume bar will not. Again, a
    yellow rectangle now briefly appears around the volume bar. Are
    these triangle thingys connected somehow? My movie plays fine - the
    play/pause button always works fine.
    Any insight into this?
    Thanks bunches!

    I figured it out, but it isn't really intuitive:
    If you go to
    http://www.adobe.com/support/flash/downloads.html
    and download the 1.01 Flash UI playback update, the readme
    file states:
    "3. Both seekBar and volumeBar custom components will not
    work if a UI Component is in the library
    If certain UI Components are on stage or even just in the
    library, they will prevent the FLVPlayback SeekBar and VolumeBar
    FLVPlayback Custom UI components from both working. The exact
    symptom is that one or the other of the two controls will work, but
    the other one's handle will be unresponsive when clicked. There is
    a work around for this problem, which is to wrap one or both of the
    SeekBar or VolumeBar in an empty movie clip, because the bug only
    occurs when they are both on the same timeline.."
    I put my seekbar in a parent clip I called seekFix and it
    works fine now.
    FLVplayer.seekBar = vid_system.vid_ctrl.seekFix.seeker;
    FLVplayer.volumeBar = vid_system.vid_ctrl.volumer;
    Interestingly I didn't need to update my components to
    1.01.

  • Setting bind references at run-time

    Hi,
    I am working on a dynamic form,which will instantiate questions based on some instructions specified in XML when the form loads up, much like John Brinkman's example
    http://blogs.adobe.com/formfeed/2009/03/a_form_to_design_a_form.html
    At design time, it is not know which node in the data dom the field should be bound to, so I would like to be able to simulate a match="dataRef" ref="$.myNode" statement at run-time.
    However, my recollection is that the binding reference can't be changed at run time. Does anyone know if it can be done, and how to do it?
    John

    Hi,
    Thanks for the quick response. Your suggestion works almost
    perfectly. I can now change the flv to any flv I want, and it plays
    the video I want. However, even though I am specifying
    autoPlay=false, it still plays automatically when the page loads.
    Here is my actionscript:
    flvPlayback.playPauseButton = myplayPause;
    flvPlayback.seekBar = mySeek;
    flvPlayback.muteButton = myMute;
    flvPlayback.contentPath = newPath;
    flvPlayback.autoPlay = autoStart;
    and here is my html:
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
    width="326" height="266" id="xxx" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="pokflvplayer.swf">
    <param name="FlashVars"
    value="autoStart=false&newPath=holiday_message_2007.flv" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#666666" />
    <embed src="pokflvplayer.swf"
    FlashVars="newPath=holiday_message_2007.flv&autoStart=false"
    quality="high" bgcolor="#666666" width="326" height="266"
    name="medical_imaging" align="middle"
    allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer">
    </embed>
    </object>
    Any idea why it will not recognize the autoStart paramenter?
    By the way, I had to change your myFLV.autoStart - autoS to
    flvPlayback.autoPlay=autoStart. The actual name of the parmameter
    is autoPlay, not autoStart. My guess is that was just a typo on
    your part. Thanks again for your help.
    Bob

  • Only part of a Y/T video will load; NRK (Norway) streaming video won't start at all.

    When watching a YouTube video, the download works for a minute or so, then halts. Once the playing reaches the limit it pauses as if waiting for buffering. It never resumes playing.
    With streaming video, for example from NRK:
    http://www.nrk.no/nett-tv/hastighet.aspx?retururl=%2fnett-tv%2fklipp%2f630189%2f
    - the video will not load at all.

    you can use the seek method to start play from cp x.  unless you're using a streaming server likefms or redhat, you must wait until the video has loaded up to cp x.
    you can use a cp listener to check when cp y has been reached.
    you can control the seekbar if you make your own.  ie, you can't use the flvplayback seekbar.

  • What video format to export for Ipad Apps

    Hi,
    I am new in export flash to ipad. I tried to export my video as FLV for my ipad apps, it plays but its lagging or jerky.
    I had tried other formats like mp4, f4v, m4v or mov it just doesn't play
    Wonder if anyone knows what video format to export for my ipad apps?
    Bruce
    http://www.vmw.com.sg

    [email protected], on an iPad, here's what I did to get the FLV loading and taking up (most) of the screen. You can't use the FLV Component skins so you have to use the UI Components as markc888 suggested below your comment. My only gripe with this solution is that I can't get the fullScreen button to make the video go full screen.
    This is starts from a playVideo button on my stage.
    playVideo.addEventListener(MouseEvent.CLICK, playVideoClick);
    function playVideoClick(event:MouseEvent):void {
    var flvPlayback:FLVPlayback = new FLVPlayback();
    flvPlayback.x = 62;
    flvPlayback.y = 62;
    flvPlayback.width = 900;
    flvPlayback.height = 506;
    flvPlayback.fullScreenTakeOver = true;
    flvPlayback.autoPlay = true;
    flvPlayback.source = "yourMovie.flv";
    flvPlayback.bufferTime = .1;
    addChild(flvPlayback);
    flvPlayback.playPauseButton = playPauseBtn_mc;
    flvPlayback.stopButton = stopBtn_mc;
    flvPlayback.seekBar = seekBar_mc;
    var closeMovie:yourMovieClip = new yourMovieClip();
    addChild(closeMovie);
    closeMovie.x = 977;
    closeMovie.y = 77;
    closeMovie.addEventListener(MouseEvent.CLICK, closeMovieClick);
    function closeMovie(event:MouseEvent):void {
    flvPlayback.stop();
    removeChild(flvPlayback);
    removeChild(closePres);
    Hope it helps...

  • Scrubbing FLV Movies - Performance?

    Hi there Folks,
    I am currently using the FLVPlayback, seekBar component to
    scrub external FLV files. However I am finding the performance when
    dragging the seekHandle is poor. i.e. If I drag the seekHandle at a
    resonable speed, the movie seems to take a second or half second to
    update on screen. This gives a very disjointed feedback/user
    interaction which does not feel smooth when using.
    My FLV files are fairly small, average a few meg, ranging
    from 50 frames to 200, or 5 to 20 seconds.
    Is this a keyframe issue with my FLV's? If so what is the
    best settings when exporting FLV's of this size for use when
    scrubbing?
    All help is always greatly appreciated, Cheers Folks.

    I'll normally put a keyframe every 15 frames to get decent
    scrub
    performance...less is better, but then filesize goes up. 15
    works pretty
    good, IMO.
    Dave -
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • Retrieve java VM -X parameters at run-time

    I know we can use System.getproperties() to get back all the -D java arguments. Is there a way to get -X arguments e.g. -Xmx256M?

    Hi,
    Thanks for the quick response. Your suggestion works almost
    perfectly. I can now change the flv to any flv I want, and it plays
    the video I want. However, even though I am specifying
    autoPlay=false, it still plays automatically when the page loads.
    Here is my actionscript:
    flvPlayback.playPauseButton = myplayPause;
    flvPlayback.seekBar = mySeek;
    flvPlayback.muteButton = myMute;
    flvPlayback.contentPath = newPath;
    flvPlayback.autoPlay = autoStart;
    and here is my html:
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
    width="326" height="266" id="xxx" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="pokflvplayer.swf">
    <param name="FlashVars"
    value="autoStart=false&newPath=holiday_message_2007.flv" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#666666" />
    <embed src="pokflvplayer.swf"
    FlashVars="newPath=holiday_message_2007.flv&autoStart=false"
    quality="high" bgcolor="#666666" width="326" height="266"
    name="medical_imaging" align="middle"
    allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer">
    </embed>
    </object>
    Any idea why it will not recognize the autoStart paramenter?
    By the way, I had to change your myFLV.autoStart - autoS to
    flvPlayback.autoPlay=autoStart. The actual name of the parmameter
    is autoPlay, not autoStart. My guess is that was just a typo on
    your part. Thanks again for your help.
    Bob

  • Play only part of a video and set seek bar accordingly

    Is there a way to load and play clips from a larger video with FLVplayback in Flash CC AS3?
    For example, if my flv video is 5 minutes long and has 10 cuepoints, how do I play only from cuepoint x to cuepoint y?
    ALSO, I would like the seekbar handle to go to 0% at cuepoint x, and at 100% rest at cuepoint y. This way, the user can only seek through the current clip.
    This will let me load the video one time, and then use different parts of it as needed.
    I thought I had found a reference to flvplayback play() method that had a start parameter, but could not find examples.
    System: Windows 7, Adobe CC.
    Thanks.

    you can use the seek method to start play from cp x.  unless you're using a streaming server likefms or redhat, you must wait until the video has loaded up to cp x.
    you can use a cp listener to check when cp y has been reached.
    you can control the seekbar if you make your own.  ie, you can't use the flvplayback seekbar.

  • Animating Components

    Hi all.
    I've got a video interface happening with the following
    component instances:
    FLVPlayback
    SeekBar
    VolumeBar
    PlayPauseButton
    MuteButton
    The issue I'm having is that when the user clicks a button to
    close the video (the button isn't a component) and the interface
    closing animation happens, the instances of the SeekBarHandle and
    VolumeBarHandle stay right where they are even after the blank
    keyframes in the timeline forces the VolumeBar and SeekBar
    instances to disappear.
    How do I get the SeekBarHandle and VolumeBarHandle instances
    to disappear when the now non-existant SeekBar and VolumeBar
    instances within which they're nested disappear?
    Any help is appreciated.
    JP
    Donkey Ink Design

    Hi Folks,
    Donkey Ink have you managed to resolve this? I ask, because I
    also seem to have the same problem with the seekbar component.
    I have the seekbar attached to an FLVPlayback instance in one
    frame, when I progress the timeline to the next frame the
    seekbarhandle seems to remain on the stage (when testing the movie)
    even though all compenents seem to have been removed from the
    stage.
    Any help would be greatly appreciated.
    Thanks

  • Control two FLVPlayback by one seekBar or another controller

    Hii
    i have two FLVPlayback on stage i need to control the both videos by one controller when back or skip some second the both videos moved to the same second , i have created seekBar "seekbar_mc" at stage and typ the code
    myflv1.seekBar =myflv2.seekBar =seekbar_mc;
    it give me 2 slider on seekBar but i need one only can controlling the 2 FLVPlayback
    any one can help me please ?!

    1. add an EnterFrame eventlistener to the stage that checks if any seekbar is being scrubbed
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/fl/video/FLVPlayback.ht ml#scrubbing
    2.If yes:use
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/fl/video/FLVPlayback.ht ml#playheadTime
    to get the value the user scrubbed to
    3.use at last: the seek function on the other flvComponent:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/fl/video/FLVPlayback.ht ml#seek%28%29
    to synchronize both videos
    when synchronized the seekbars should be in synch to
    you should be able to translate that to the case were you have a third, central seekbar on stage:
    Caveat: its highly unlikely that this double streaming will work efficiently in a web based environment.
    If you want to have it functioning reliably you should abandon the flvplayback component (which is only good when it comes to streaming)
    and preloading both your videos in total, before you allow the user to scrub.

  • FLV Playback and Seekbar on different native windows in one Air application

    Hello Everyone.  I'm trying to make a simple video playback AIR application that utilizes the initial native window to house a transport control with a seekbar on it.  Once the application launches, it creates a second (new) window on my second screen and places a FLVPlayback instance on that new window.  Everything works just like it want it to except for one thing.  When the seekbar and FLVplayback instance are not located on the same window stage, the seekbar handle sticks to the mouse when trying to scrub through the video.
    I've added both the transport control and the FLVPlayback instance to the original native window as children and I have also added both of them to the new window as children and everything works just fine.  It's only when they are separated and located on different stages that the seekbar acts up.  When they are on the same stage, I can click on a point on the seekbar and the video jumps to that spot and continues to play and I can also scrub the seekbar, the video updates as I scrub, and when I release the mouse, the seekbar handle stays where I released the mouse.  When they on separate stages, the seekbar handle continues to follow the mouse movement without releasing it.  The video updates as the seekbar handle is moved due to it sticking to the mouse, but if I release the mouse, the handle is still moving with the mouse and the video is still being scrubbed.  Like I said, everything works great except for this and I have reached my limit with time spent on this issue.  Does anyone have any insight into this?
    Here's my code for the project.  This is my first AIR application, so I am coding it as I am learning, please be kind.
    import fl.video.*;
    import flash.display.*;
    import flash.desktop.*;
    import flash.events.*;
    import fl.video.MetadataEvent;
    import flash.geom.*;
    import flash.ui.Mouse;
    import flash.text.*;
    GLOBAL SETUP
    var flvControl:FLVPlayback;
    var MasterWindow = stage.nativeWindow;
    var screen1:Screen = Screen.screens[0];
    var screen2:Screen = Screen.screens[1];
    MASTER WINDOW SETUP
    this.loaderInfo.addEventListener(Event.COMPLETE,maximize);
    transControl.playPauseButt2.addEventListener(MouseEvent.CLICK, PlayButton);
    if (Screen.screens.length > 1){
              createVideoBKG();
              createVideoPlayer();
    GENERAL FUNCTIONS
    //Maximize the initial screen
    function maximize(e:Event) {
              MasterWindow.x = screen1.bounds.left
              MasterWindow.maximize();
              MasterWindow.stage.scaleMode = StageScaleMode.EXACT_FIT;
    //Hide Mouse Behind Video Window On Roll-Over
    function MouseRollOver(e:MouseEvent):void
              {          Mouse.hide()          }
    function MouseRollOut(e:MouseEvent):void
              {          Mouse.show()          }
    //Play-Pause Button Control
    function PlayButton(event:MouseEvent):void
                        if(transControl.playPauseButt2.currentFrame==1 ){
                                  transControl.playPauseButt2.gotoAndPlay(2);
                                  flvControl.play();
                        else {
                                  transControl.playPauseButt2.gotoAndPlay(1);
                                  flvControl.pause();
    function CloseWindow(e:MouseEvent):void
                        NativeApplication.nativeApplication.openedWindows[2].close();
    VIDEO BKG SETUP
    function createVideoBKG(e:Event = null):void{
              var newOptions:NativeWindowInitOptions = new NativeWindowInitOptions();
              newOptions.type = NativeWindowType.LIGHTWEIGHT;
              newOptions.systemChrome = NativeWindowSystemChrome.NONE;
              newOptions.transparent = true;
              var videoBKG:NativeWindow = new NativeWindow(newOptions);
              if (Screen.screens.length > 1){
                        videoBKG.x = screen2.bounds.left;
              videoBKG.maximize();
              chromeSetup(videoBKG);
              videoBKG.activate();
    //Video BKG Chrome Setup
    function chromeSetup(currentWindow):void {
              var vidBKG = new video_bkg();
              vidBKG.name = "video_bkg2";
              vidBKG.addEventListener(MouseEvent.ROLL_OVER, MouseRollOver);
              vidBKG.addEventListener(MouseEvent.ROLL_OUT, MouseRollOut);
              currentWindow.stage.addChild(vidBKG);
    VIDEO Player SETUP
    function createVideoPlayer(e:Event = null):void{
              var newOptions:NativeWindowInitOptions = new NativeWindowInitOptions();
              newOptions.type = NativeWindowType.LIGHTWEIGHT;
              newOptions.systemChrome = NativeWindowSystemChrome.NONE;
              newOptions.transparent = true;
              var videoPlayer:NativeWindow = new NativeWindow(newOptions);
              if (Screen.screens.length > 1){
                        videoPlayer.x = screen2.bounds.left;
                        videoPlayer.y = screen2.bounds.top;
                        videoPlayer.width = screen2.bounds.width;
                        videoPlayer.height = screen2.bounds.height;
                        videoPlayer.stage.scaleMode = StageScaleMode.NO_SCALE;
              videoPlayer.alwaysInFront = true;
              var DVR = new DVR_Player();
              DVR.name = "DVR";
              DVR.x = 0;
              DVR.y = 0;
              DVR.addEventListener(MouseEvent.ROLL_OVER, MouseRollOver);
              DVR.addEventListener(MouseEvent.ROLL_OUT, MouseRollOut);
              videoPlayer.stage.addChild(DVR);
                flvControl = DVR.display2;
              flvControl.width = 1280;
              flvControl.height = 720;
              flvControl.skin = null;
              flvControl.autoPlay=false;   
              flvControl.isLive=false;
              flvControl.fullScreenTakeOver = false;
              flvControl.align = VideoAlign.CENTER;
              flvControl.scaleMode = VideoScaleMode.NO_SCALE;
              flvControl.source = "olympics.f4v";
              flvControl.seekBar = transControl.seekbarContainer2.seeker;
              videoPlayer.activate();

    Does anyone have any ideas about this?

Maybe you are looking for

  • List Of Business Partner

    Hi friends,         I created a new for replacing List of business partners form.I need to display the newly created form when i press tab key from customer textbox of A/R Invoice form.For that my code is    if (pVal.ItemUID == "4") & (pVal.EventType

  • Is there a way to unblock html images in e-mail

    we're using comexp (sun messaging server 6.2-3.04). When our users receive e-mail with html content, the images are blocked. Is there a way to unblock the images? When the e-mail is forwarded to an external account that has the facility to unblock im

  • Using a file as a source of images for a slideshow in CS6

    I was wondering if someone might be able to help me create a slideshow that uses a file to pull images from rather than calling on an individual image source code. As it is right now, I have a basic working jquery slideshow. What I am wanting to get

  • What is this icon (a funnel)?

    Hi all, What is the use of the icon shaped like a funnel. If you click it, it asks to define the filters.. e.g. go to se04 you see this icon on the application bar. Please tell the usage in detail. Thanks, Charles. +++++++++++++++++++++++

  • Auto-start application on Container/Server restart

    What's the easiest was to have the container auto-launch a specific application whenever it is started/restarted? I assume this would also happen if the entire server were rtestarted? _mike