Add a button to a FLV Playback skin

I'd like to add a button to an FLVPlayback skin. This button
should shrink the size of the VideoPlaceholder and display a menu
to the right of it (I'll need help with this too, but one step at a
time). I've been able to put a button into the skin, but it'll only
show up when I vies the skin file itself, not when I use it AS a
skin for the FLVPlayback component. How do I get it to appear?
[edit]I'm using a normal button, but I've noticed that the
buttons in the skin are individual graphics tied into the skin
using actionscript. Do I have to do something like this?
[edit2] I've got Flash CS3 and am trying to use AS3

I don't clear your questions
Regards,
nha khoa
nhua
gia cong
nhua
gia cong chi
tiet
khuon mau
thiet ke web
do dung cho be

Similar Messages

  • AJAX and Actionscript to Control FLV Playback Skin

    I have AJAX running on an application that opens up a new panel displaying a flash video. The flash video uses one of the FLV Playback skins. When I play the video on the panel, everything is fine. But, when I close the panel with the javascript-enabled button, the video would still play even though the panel and video are "gone" from the html page.
    I was looking into using javascript to talk to actionscript to control the FLV Playback skin's stop function so that when the close panel function is activated, the video play's stop function would be called. How do I find out the path to and the name of the stop function inside the playback skin? Is it possible to call the stop function inside the FLV Playback skin? Or, would it be easier to create my own video controller?
    I hope this is clear. Any help is appreciated. Thanks.

    I don't clear your questions
    Regards,
    nha khoa
    nhua
    gia cong
    nhua
    gia cong chi
    tiet
    khuon mau
    thiet ke web
    do dung cho be

  • Actionscript to add to buttons to control flv

    Hi,
    I'm trying to create the following:
    1.A play button that plays an flv.
    2.A pause button.
    3.Actionscript that makes movie go to a certain frame on
    timeline when flv finishes playing.
    Any help with the actionscript for these will be much
    appreciated.
    Cheers

    here's the code
    var nsVideo:Netconnection = new NetStream(ncVideo)
    ncVideo.connection(null);
    var nsVideo:NetStream = new NetStream(ncVideo);
    nsVideo.play("video.flv");
    vFlv.attachVideo(nsVideo);
    var nDuration:Number = 0;
    mPlay.press = function():Void {
    nsVideo.pause(flase);
    mPause.onPress = function():Void {
    nsVideo.pause(true);
    mStop.onPress = function():Void {
    nsVideo.pause(true);
    nsVideo.seek(0);
    create buttons for play pause and stop

  • How do I add a FullScreen button to Project Playback Skin?

    How do I add a fullscreen button to the project playback skin? I know how to load another skin (using Project -> Skin Editor) and how to add a custom playback skin (paste custom skin SWF into C:\Program Files\Adobe\Adobe Captivate 5\en_US\Gallery\Playbars) but I'm having a little trouble figuring out how to add a fullscreen button when editing the Flash AS3 so that it will show up in my custom playback skin when loaded into Captivate via Project->Skin Editor. Any ideas?

    Hi there
    I might assume that seeing as you were able to work the magick with the CC button it would be a simple task to pick apart the other elements and add the desired button without hijacking the CC button.
    I mean, if you are that deep in Flash territory and all, it doesn't seem like much of a stretch to figure out how the buttons are added, no?
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcererStone Blog
    Captivate eBooks

  • I am using strobe media playback but i want to add new button for subtitle in control bar,Can anybody tell me how can i do it.

    I am using strobe media playback but i am not able to add new button for subtitle in control bar.
    I have imported assets.fla file in Flash professional but i do not understand how add new button in this fla and then link with action script method to show subtitle.If anybody know about it please tell me.

    Hi,
    Yes you can add video subtitle and I can give you the details how to do
    that. Can you please advise which type of files you have for video
    subtitile and how many language you want to add. i.e. text files or xml
    files.
    Best regards,
    Sunil Kumar
    On Thu, Jan 15, 2015 at 5:22 PM, Add Subtitles to OSMF and <

  • Best method for flv playback in flash 8

    group,
    i am currently trying to get to grips with flv playback with
    flash 8. i have come across a number of methods for flv playback
    within flash 8 and am curious to know the difference between
    methods and ultimately if there is such a difference discover which
    is best. I have had a few issues with some methods and was
    wondering if it was because that method sucks.
    In particular i am looking for the best method for allowing
    custom skinning of the player with the ability to have a player
    somewhere on stage without it being stapled to the darn flv file.
    METHOD1:
    var nc:NetConnection = new NetConnection();
    nc.connect(null);
    var ns:NetStream = new NetStream(nc);
    theVideo.attachVideo(ns);
    ns.play("testmovie.flv");
    METHOD2:
    import mx.video.*;
    this.attachMovie("FLVPlayback", "my_FLVPlybk", 10,
    {_width:360,_height:240,x:0, y:0});
    my_FLVPlybk.skin = "SteelExternalAll.swf"
    my_FLVPlybk.contentPath = "testmovie.flv";
    my_FLVPlybk.autoSize=true;
    my_FLVPlybk.autoPlay=false;
    what are the differences??
    any help would be much appreciated. Thanks for your time and
    expertises,
    Flash fan.

    Adobe has announced that it has ceased development of Flash for mobile phones (in favour of HTML5, and due to the opposition of both Apple and Microsoft to allow support of Flash for their mobile operating systems), so from that direction neither Microsoft nor Nokia is going to get any help.
    If the Adobe Flash Video format specification is publicly available to use or to license (I don't know if it is), then at least Microsoft could implement support for it, if they wanted to (Nokia might not have sufficient rights from Microsoft to add new codecs to Windows Phone).
    So, you might direct your question primarily to Microsoft, rather than Nokia (of course, a Microsoft representative will probably read this, too, but whether they'll response or not is another matter).

  • FLV Playback Component - specifying an image before it plays

    I am using the FLV Playback Component to play a video.
    Instead of playing automatically, I want to be able to set an image
    (or a frame of the movie) to display and only play the movie after
    the user clicks the play button. I can't find anything anywhere to
    explain how to do this or a workaround for it. Can anyone point me
    in the right direction? thanks.

    Actually, I'm just trying to access the movie controls in the
    FLV Playback component, so I can adjust how the work.
    This does not work:
    this.movie.forward_mc.addEventListener(MouseEvent.MOUSE_DOWN,someFunction)
    Neither does this:
    MovieClip(this.movie).forward_mc.addEventListener(MouseEvent.MOUSE_DOWN,someFunction)

  • How to add Print button on Webhelp in Robohelp 10?

    Can someone please provide step-by-step instructions to add Print button on Webhelp. I'm currently using Robohelp 10. I saw some suggestions using javascript in skin, but there isn't a step-by-step procedure available.
    I have been seraching for this from past many days. It'd be of great help to me. Thanks!

    Thank you very much for your quick reply. It was really helpful. However, I still can't see the button the webhelp output. 
    1. Created a new skin
    2. In the new skin, I added this print button and followed all steps explained (adding inline javascript and calling the function in the action tab under onClick, etc)
    3. I could see the preview of this being perfectly fine.
    4. But, when I generated the output by compiling it again, I could not see the changes I made in the webhelp
    4. I am thinking I am missing a crucial step. Is the new webhelp using the new skin? How to know this?
    5.  I carried out all the steps as explained, except this "Don't forget to tick the Print button in the second page of the wizard". Could you please let me know which wizard this is and where is the check box to tick the print button?
    I am eagerly waiting for your answer. Thanks!

  • How to add a button in the view at a specific position

    Hi Gurus,
    We have a requirement :
    To add a button or image at a specific position in the view which is like an indicator showing different color
    based on another field .
    Example :
    Adding a button next to a drop down flield and changing the color of the button based on the name of the color choosen in the drop down .
    or Adding an image which can be changed based on the dropdown value or the value entered in the input field .
    Thanks ,
    Naval Bhatt.

    Hi,
    Create an Attribute ZINDICATOR , in the same context node in which the dropdown(picklist) attribute,exists.
    Let it be a CHAR 1 field.
    Implement GET_P and GET_ method.
    Pull this field beside the dropdown fields in view configuration.
    Now the code =>
    Implement the Get_P_ZINDICATOR for this attribute as explained by Robert
    Implement  Get_ZINDICATOR method as follows
      DATA:
         lr_current   TYPE REF TO if_bol_bo_property_access,
         lr_entity TYPE REF TO cl_crm_bol_entity,
         coll      TYPE REF TO if_bol_entity_col.
      lr_current ?= collection_wrapper->get_current( ).
    IF lr_current IS NOT BOUND.
       value = cl_thtmlb_util=>get_icon_url( 'check_empty.gif' ).
       RETURN.
    ELSE.
       dref = lr_current->get_property( 'ZINDICATOR' ) .
    ENDIF.
    IF dref IS NOT BOUND.
        value = cl_thtmlb_util=>get_icon_url( 'check_empty.gif' ).
        RETURN.
    ENDIF.
    TRY.
        value = if_bsp_model_util~convert_to_string( data_ref       = dref
                                                                                attribute_path = attribute_path
          IF value IS INITIAL.
            value = cl_thtmlb_util=>get_icon_url( 'check_empty.gif' ).
    *      ELSEIF  value EQ 'R'
    *        value = cl_thtmlb_util=>get_icon_url( 'check_overdue_status.gif' ). " gives RED LIGHT
          ELSEIF  value EQ 'Y' .
            value = cl_thtmlb_util=>get_icon_url( 'check_due_status.gif' ). " gives YELLOW light
          ELSEIF  value EQ 'G'.
            value = cl_thtmlb_util=>get_icon_url( 'check_nodue_status.gif' ). " gives GREEN light
          ENDIF.
    CATCH cx_bsp_conv_illegal_ref.
          CLEAR value.
          RETURN.
    CATCH cx_root.
          CLEAR value.
          RETURN.
    ENDTRY.
    Generally check_overdue_status.gif and other images are std. and are present in all skins.
    You need more colors then you have to add those images in the MIME repository in the images folder of the SAP SKIN folder.
    You must implement the eventhandler for Dropdown field. For this in the GET_P method of dropdown, use
    CASE iv_property
      WHEN  if_bsp_wd_model_setter_getter=>fp_server_event.
          rv_value = 'COLOUR_SELECTED'.
    ENDCASE.
    and then implement the event handler EH_ONCOLOUR_SELECTED.
    In this event handler, you must set the ZINDICATOR value as ' ' , 'R','G','Y' etc depending upon what is selected in dropdown.
    This ensures that a server roundtrip is triggered and so the GET method of indicator field is called as soon as dropdown value
    is selected.
    Hope this helps.
    Thanks & Regards
    Suchita

  • AS 2.0 FLV playback multi videos

    I've set up FLV playback for one video, but need to allow
    users to choose the next movie they want to view (non linear), as
    well as allow them to click through each movie in a linear fashion.
    Not sure what code to attach to buttons to:
    1. Allow non-linear video playback
    2. Allow the if/then/else option of going through each video
    in a linear manner--thinking should attach code to fwd button
    Code below, any help would be much appreciated! thx
    //------NETCONNECTION SETUP--------------------
    var nc:NetConnection = new NetConnection();
    nc.connect(null);
    //------NETSTREAM SETUP--------------------
    var ns:NetStream = new NetStream(nc);
    ns.onStatus = function(info) {
    if(info.code == "NetStream.Play.Start") {
    progressBar.onEnterFrame = videoUpdate;
    ns.onMetaData = function(info) {
    ns.duration = info.duration;
    //------ATTACHING NETSTREAM--------------------
    video.attachVideo(ns);
    //------PLAYING EXTERNAL FLV--------
    ns.play("sample pics.flv");

    The person above is correct but assure you enter into component inspector, and change the the parameters of the component.

  • Auto/Hide with Flv playback doesn't work with javascript lightbox, need help?

    Hi everyone,
    i created some swf loading a flv file in a flv playback and
    check on the auto/hide parameter. When i test the movie it works
    very well. BUT, in my website, i put those swf files in Lightbox
    (javascript computed) and when the mouse goes Over the flash video,
    it shows the Skin player and when the mouse goes Out, the Skin
    player stays over the video!? Why? Does someone has an idea on how
    to force the auto/hide paramater in this case?
    Thanks for your help
    Orlenka

    Found this post when searching for an answer, but didn't find much elsewhere so I'll post my quick and ugly solution here. I'm sure it can be vastly improved, but I didn't have much more than 5 minutes. Note - setting .visible to false just ended up causing the autohide transition to occur over and over, so instead I'm just temporarily moving the whole sprite offscreen.
    (AS3, using CS5 component... note that 'player' is the FLVPlayback instance):
    //### force 'autohide' when mouse inactive
    var timer:Timer = new Timer(1500, 0);
    timer.addEventListener(TimerEvent.TIMER, onTimer);
    timer.start();
    var skinSprite:DisplayObject;
    var prevMouseX:Number;
    var prevMouseY:Number;
    function onTimer(e:TimerEvent):void {
      //get skinSprite if we haven't already
      if(!skinSprite) {
        var child:DisplayObject;
        for(var i:Number = 0; i < player.numChildren; i++) {
          child = player.getChildAt(i);
          if(i == 2) { //this is the skinSprite
            skinSprite = child;
      //check to see if mouse hasn't moved since last timer event
      if(skinSprite && mouseX == prevMouseX && mouseY == prevMouseY) {
        skinSprite.y = -1000;
      prevMouseX = mouseX;
      prevMouseY = mouseY;
    stage.addEventListener(MouseEvent.MOUSE_MOVE, stage_onMouseMove);
    function stage_onMouseMove(e:MouseEvent):void {
      if(skinSprite) {
        skinSprite.y = 0;

  • Mp3 playback skin

    Does anyone know where I can find a controller skin for
    playing an mp3 in a swf - just like the flv playback component but
    for sound only?

    The playback time would vary based on any number of factors:
    Temperature, volume, other operations, how long the screen is on, how many times you change the volume, eq settings, if airplane mode is on or off, any calls, e-mails, push on or push off, how often to fetch mail, screen brightness, 3g on or off, wi-fi on or off, location service on or off,etc.
    The 24 hours is based on a specific situation and is not likely to be reproduced with normal use.
    Just use it and see what you get.

  • Get rid of rounded corners in Flash flv player skin?

    Hi,
    I'm using Flash CS3 on Mac OS X creating a couple of clips.
    Regretfully,
    the default flv player skins in CS3 all have rounded bottom
    corners. As
    the site's entire layout is very "square", these corners are
    standing
    out like sore thumbs.
    I suspect that there has to be a parameter somewhere within
    the swf-file
    that takes care of this, but I haven't a clue, really.
    Can someone please explain how to make the corners square
    shaped?
    TIA
    Macaroni

    From the Flash help:
    The best way to create a skin SWF file is to copy one of the
    skin files that come with Flash, and use it as a starting point.
    You can find the FLA files for these skins in the Flash application
    folder in \en\Configuration\FLVPlayback Skins\FLA\ActionScript 3.0
    To make your finished skin SWF file available as an option in the
    Select Skin dialog box, put it in the Configuration/FLVPlayback
    Skins/ActionScript 3.0 folder, either in the Flash application
    folder or in a user's local \en\Configuration\FLVPlayback
    Skins\FLA\ActionScript 3.0 folder.
    Or, you can completely make youre own buttons and asign them
    to the FLVplayback as controlls with actionscript. For example:
    myFLVplayer.stopButton = myStopButton;
    myFLVplayer.playButton = myPlayButton;

  • Make flv playback exact fit to window project not desktop

    hi , first i want to say i use Flash Cs5 - flash player 10 - As3
    i want when i click on full screen button on flv playback component my flv player window goes to exact fit my flash window not my desktop or even better if i can set resolution for full screen mode ....
    i have strange problem the full screen function not work in any third party flash protection and projector tools ...
    finally i found some component that use some As2 script to make full screen button function to exact fit window and it`s interensting cause this flv player works well in  test movie mode !!!
    as the full screen function in default Flash Cs5 not work in test mode and you must run swf directly from local or run projector ...
    i realize that when the full screen function works in flash test movie ( ctrl + enter ) mode it work in another third party tools too ...
    i don`t now why but maybe some security reason in As3 dont let it run from test movie and another third party tools ...
    what can i do about it ??
    how can i write script for my flv playback component to read new function for full screen mode and set it to exact fit window ( project ) not my desktop ( the size of project not chang at all and only flv player resize to my window )
    is this possible to set resolution for Resize mode  ?!?
    is this possible to create a button for this ??!?
    i know i ask many Questions and maybe u confued as i am now , but i have spend a week to solve this problem , checking all third party tools and no success , even i post my problem to many forums ...
    pleaseeeeeeee help me

    use:
    fs_btn.addEventListener(MouseEvent.CLICK,f);
    var flv_pb_x:Number=flv_pb.x;
    var flv_pb_y:Number=flv_pb.y;
    var flv_pb_h:Number=flv_pb.height;
    var flv_pb_w:Number=flv_pb.width;
    var fs_btn_offsetX:Number=flv_pb.width+flv_pb.x-fs_btn.x;
    var fs_btn_offsetY:Number=flv_pb.height+flv_pb.y-fs.btn.y;
    function f(e:MouseEvent):void{
    if(flv_pb.width<stage.stageWidth){
    flv_pb.width=stage.stageWidth;
    flv_pb.height=stage.stageHeight;
    flv_pb.x=0;
    flv_pb.y=0
    fs_btn.on_mc.visible=false;
    fs_btn.off_mc.visible=true;
    } else {
    flv_pb.width=flv_pb_w;
    flv_pb.height=flv_pb_h;
    flv_pb.x=flv_pb_x;
    flv_pb.y=flv_pb_y;
    fs_btn.on_mc.visible=true;
    fs_btn.off_mc.visible=false;
    fs_btn.x=flv_pb.width+flv_pb.x-fs_btn_offsetX;
    fs_btn.y=flv_pb.height+flv_pb.y-fs_btn_offsetY;

  • The Add Printer button on the eprintcenter website on my screen is not working.

    I just registerd on the eprintcenter.com site and now I am trying to click on the +Add Printer button/icon to add my printer and it is not working. I have tried it in all different web browsers and it doesn't take me anywhere on any of the browsers. Sometimes I get the "javascript&colon;void(0)" message down in the left hand bottom portion of my screen when my mouse goes over that button. What is wrong? Is it your site or my computer?

    I'm having same problem

Maybe you are looking for

  • Disable Manual  Numbering Series

    Dear Experts, I'm trying to disable the Manual Document Numbering Series in SAP 2007 B1 PL 49. I would like SAP to use only Primary numbering Series for all its documents. Kindly advice. Regards, Feroz

  • Use TaskQueryService via Axis2 Client - unrecognized operation: credential

    Trying to use the TaskQueryService via an Aixs2 client results in 'Unexpected subelement credential'. org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement credential      at org.apache.axis2.AxisFault.makeFault

  • Cs3 media offline constantly

    Hey I've read posts on this but I still can't fix my problem. Every time I open my project and I have to re-link (and find) every video clip. I just found all the clips, relinked them and moved them into more organized folders. But I just opened the

  • Image processor in OSX looses its settings.

    I recently switched from Windows to OSX. I use the image processor a lot (CS6). On Windows my settings were remembered. On OSX they are not and I have to save them and later load them again. Is this normal behavior or am I doing something wrong?

  • JDBC preparedstatement

    Hi all, I am getting a exception when I run the following code: "not all variables bound" public void insertValues(Map values) throws SQLException{ String insertQuery="Insert into Music1(BandId, bandName, vocals,leadG, drums) values(?,?,?,?,?)" ; pSt