Adding a toolTip to FLV seekbar component

Does anyone know how to add a toolTip to the FLV seekbar
component? I have been banging my head against the wall far too
long for something as simple as this...
It's a quick an easy fix for the play/pause, stop buttons. I
added in a movie clip that appears on the rollover state of the
button. The seekBar is handled differently and there is not a
rollover state in that component. I tried adding in an invisible
movieClip over the handle that contains a my toolTip button. I feel
like the code is blocked out and I can't get an AddEventListener to
work within the component. I ran trace statements for willTrigger
and hasEventListener and both came up positive for being able to
handle a mouseEvent. I am not sure why this will not work.
Any thoughts would GREATLY be appreciated.
Thanks.
descin

To my knowledge, the rollOver event will not work if the clip
is invisible. Instead, try changing it's alpha to 0. With it's
alpha at 0, the clip will still appear invisible but the events
will fire. This will present another problem though. When you click
on the seek area to seek somewhere else in the movie, you'll
actually be clicking on your alpha = 0 movieclip. So, if you want
the clip to still seek, you'll have to add a seeking function
yourself to a click event on your alpha = 0 movieclip.

Similar Messages

  • 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)

  • Attaching a mouse event to the SeekBar component's SeekBarHandle

    Hi, I'm trying to attach a MouseEvent to the SeekBarHandle inside the SeekBar component.
    I've tried this and it doesn't work:
    flvPlayer_mc.seekBar = seekBar_mc;
    flvPlayer_mc.seekBar.seekBarHandle.addEventListener(MouseEvent.MOUSE_OVER, doSomeThing);
    and I've also tried this and it doesn't work:
    flvPlayer_mc.seekBar = seekBar_mc;
    seekBar_mc.seekBarHandle.addEventListener(MouseEvent.MOUSE_OVER, doSomeThing);
    Thanks!

    May be this can help you:
    http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Liv eDocs_Parts&file=00000585.html

  • Changing Color of seekBar component

    hi,
    i m creating a video player, in which i m using control of
    play, pause, seekbar etc.
    i want to chnage the color of prograss of seekbar at runtime
    as user select different color from colorPicker component.
    and i know how to apply the color at runtime using colot
    transfor class.
    The problem is i m unable to refer the movieclip of seekbar
    which contain the shape of pregrass.
    and if entered the reference then it throug error.
    i m using AS3.0 version. so please help me to how can i refer
    the prograss shape inside of seekBar component to change the color
    at runtime.
    Thanks in Advance.

    Once you drag it to the stage, look for it in your library.
    When you open it from the library you can edit the appearance to be
    whatever you want.

  • Assiging tooltip to a JSF component

    Hello all,
    How one assigns a tooltip to a JSF component using the Studio-Creator ?
    thank you,
    Rami

    You need to add your tooltip to the "title" property
    From the button component documentation
    title. Type: String
    Advisory title information about the button, which is readable by a screen reader and can be displayed as a tool tip.

  • FLV Player Component seemingly not working in Firefox

    I've set up an swf where I have an FLV Player component on stage, pointing to an external flv.
    Offline (on my drive) it works, but online (on my website) it loads the entire flv before displaying anything (..I get the animated barber shop sign scrub bar thing).  Is there any additional coding or setup I need to do for it to allow me to play it even while it is downloading, as it's supposed to?
    I don't get it... I can't seem to get progressive downloading working in ANY format.  I just spent a week trying to get my Quicktime .mov's to Fast Start, and it just isn't happening, despite everything I try.  I had it work ONCE now using QT Pro, but now they aren't working again.
    I gave up on QT, and am trying the FLV route using the FLV Player component... which looked promising, but is now giving me the same issue.
    Any solutions that work would be hugely appreciated.  I've been at this for over a week, and found no answers online so far.
    All I want:
    Clip thumbnails (embedded movies) on my HTML page that don't download until you click play... and when you click play, it starts playing as soon as it has a good enough head start in the load.
    I've tried Fast Start QT's....as well as external FLVs loaded via a swf with a FLV Player component inside.... and neither are working for me for some reason.

    [UPDATE]  Okay, now I got it working for now (...no idea what changed, or if it will continue to work).  Only issue currently is that it's loading the clip right away (on entry of the HTML page),as opposed to when I click Play... so I'll still have the bottlenecking of all the clips loading at once.  Is there some setting in the FLV Player component (or HTML) where I can have them only start downloading the clips when I click play?
    I only want the clips downloaded if the visitor chooses to view the clips.
    Would setting a preview in the FLV Player component do that (...load only the preview frame, and hold off until play is hit)?

  • Adding different tooltip for a column in table??

    Hi here,
    I have read the similar title "Adding ToolTip for individual cell in the table".
    The method that use "tableModel" and "override getToolTipText" for individual cell is useful for individual cell with tooltip that i have tried.
    How could i get the tooltip for each columns and show every row value on each tooltip.I wish when mouse moved above a column and the column could show all of that column's row value.
    Please help me.
    Thanks..

    your explanation sounds a bit confusing but if i got you right
    you could do something like this in your table
    public String getToolTipText(MouseEvent me)
          int row = this.rowAtPoint(me.getPoint());
          StringBuffer tooltip = new StringBuffer();
          for(int i=0; i<getColumnCount; i++)
             tooltip.append(getValueAt(row, i).toString());
          return tooltip.toString();
       }

  • Adding Hyperlinks to a .flv

    I'm looking for some help in adding a link after my .flv
    finishes playing.
    Right now I have my .flv loaded into flash using a
    FLVPlayback. Inserted into Frame1, Scene 1 and it plays just fine.
    What I would like it to do is at the end of the movie go to scene 2
    and start playing (which is where I plan on putting my text for an
    external link)
    How do I get the movie to play in it's entirety and then move
    onto scene two... keep in mind that I'm not a programmer, so I
    could really use specific code if you have the time. Right now my
    movie is labeled videoplayer.
    Thanks for any help. Jess

    Hi Richard,
    Were you able to figure out what's wrong with your report. I am having the same problem and i am using a scatter graph. If i use one column in a bar chart the URL works fine and it doesn't work with 2 columns. I am using reports 9.2.0.2.1. Any help appreciated!!
    Thanks

  • Add custom hint text/tooltip for disabled "selectOne" component.

    Hi All,
    I was trying to get some custom tooltip or hint text on selectOne component.
    But any text that I add is not visible if the component is disabled.
    I need to tell the end-user why this control is disabled when s/he moves the mouse over it.
    Thanks
    Ajay

    Why don't you choose the 'Help in Attributes' ADF support?
    I think It would be more appropriate than a custom dialog.
    Look this: http://docs.oracle.com/cd/E17904_01/web.1111/b31973/af_message.htm#ADFUI374
    Regards,

  • Adding an Icon to a JButton Component - Not working

    Hi all,
    Please help me by saying, why the below gevon SSCE doesnt work.
    import java.awt.Color;
    import java.awt.Component;
    import java.awt.Container;
    import java.awt.Dimension;
    import java.awt.event.ActionEvent;
    import javax.swing.AbstractAction;
    import javax.swing.AbstractButton;
    import javax.swing.Action;
    import javax.swing.BorderFactory;
    import javax.swing.Icon;
    import javax.swing.ImageIcon;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.UIManager;
    public class CreateWindow {
        public CreateWindow(String module, String id){
             if(module.equals("mail")){
                  JPanel mail = new JPanel(null);
                  mail.setPreferredSize(new Dimension(500, 350));
                  //Color colr = new Color(222, 236, 255);
                  mail.setBackground(Color.WHITE);
                  JLabel file = new JLabel("File Name:");
                  file.setBounds(18,25,75,50);
                  // Retrieve the icon
                 Icon icon = new ImageIcon("ei0021-48.gif");
                 // Create an action with an icon
                 Action action = new AbstractAction("Button Label", icon) {
                     // This method is called when the button is pressed
                     public void actionPerformed(ActionEvent evt) {
                         // Perform action
                 // Create the button; the icon will appear to the left of the label
                 JButton button = new JButton(action);
                  mail.add(button);
                  buildGUI(mail,500, 350);
        public void buildGUI(JPanel panel, int width, int height)
            JFrame.setDefaultLookAndFeelDecorated(true);
            UIManager.put("activeCaption", new javax.swing.plaf.ColorUIResource(Color.LIGHT_GRAY));
            JFrame f = new JFrame("Propri�t�s:");
            f.setIconImage(new ImageIcon("save.gif").getImage());//need an image file with black background
            changeButtonColor(f.getComponents());
            f.getContentPane().setBackground(Color.WHITE);
            f.getContentPane().add(panel);
            f.getRootPane().setBorder(BorderFactory.createLineBorder(Color.PINK,2));
            f.setSize(width,height);
            f.setLocationRelativeTo(null);
            f.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
            f.setVisible(true);
          public void changeButtonColor(Component[] comps)
            for(int x = 0, y = comps.length; x < y; x++)
              if(comps[x] instanceof AbstractButton)
                ((AbstractButton)comps[x]).setBackground(Color.LIGHT_GRAY);
                ((AbstractButton)comps[x]).setBorder(BorderFactory.createLineBorder(Color.LIGHT_GRAY));
              else if (comps[x] instanceof Container)
                changeButtonColor(((Container)comps[x]).getComponents());
    }I call the above given class constructor as given
    public class Test {
         public static void main(String args[]){
              CreateWindow cw = new CreateWindow("mail","Test.doc");
    }Rony

    RonyFederer wrote:
    I have the images and class files inside
    F:\Testing3\Application\src\booodrive
    Do you have the class files or java files here?
    You should put the gif where the .class files are located, and use getResource as Encephalopathic wrote, or:
    Icon icon = new ImageIcon(ClassLoader.getSystemResource("ei0021-48.gif"));
    When I did as you said using System.out.println(new File("ei0021-48.gif").getAbsolutePath());, I got the following output.
    F:\Testing3\Application\ei0021-48.gif
    That's the current running directory.

  • Error when adding Spry Tooltip to page with footer library

    I'm using Dreamweaver CS4 and the Spry menu to apply widgets.
    I was able to create a brand new page, import an image, and apply the Spry Tooltip widget successfully (as well as edit the CSS etc.).
    But I run into problems when I applied it to an image on my real page, which is pretty busy, and in columns etc. I select the same image and apply the Spry Tooltip. I get this error message:
    "Making this change would require changing code that is locked by a template or a translator. The change will be discarded."
    Searching online, it seemed to have something to do with a region that is not editable, like a template or library item. I'm not using Templates, but I did have a few library items. The Library for my footer, which included the script for Google Analytics, was what was causing the problems.
    It seems what Tooltip was trying to do was insert its script INSIDE the existing script in the Footer library - which is not editable. I needed to remove the Footer Library, apply the tooltip, then re-insert the Footer Library. This is how it needed to flow:
    <!-- close container div --></div>
    <!-- #BeginLibraryItem "/Library/footer.lbi" -->
    <div id="footer">
       <p>footer copy here</p>
    </div>
    <script type="text/javascript">
    blah blah google analytics stuff...
    </script>
    <!-- #EndLibraryItem -->
    <div class="tooltipContent" id="sprytooltip1">Tooltip content here.</div>
    <script type="text/javascript">
    <!--
    var sprytooltip1 = new Spry.Widget.Tooltip("sprytooltip1", "#sprytrigger1");
    //-->
    </script>
    </body>
    </html>
    I think if the footer library didn't have a script in it, it would not have been an issue. It's just that the </script> was right before the </body> and it figured it could just insert the Spry code there.
    I wasted an hour troubleshooting this - I wish Dreamweaver was smarter when it inserted widgets and would know where Library items started and stopped.

    Select your external drive in finder.
    press CMD and i
    an info windows will open - what is reported as "Format" ?
    anyway scroll down to the very bottom: "Sharing & Permissions"
    set everyone's privilege to "Read & Write" and choose to "Apply to all enclosed items"

  • Best practices for adding components in a composite custom component

    Hello,
    I am developing a custom, composite JSF component need to dynamically add child components in my renderer class. I've noticed that people add components to a custom component in many different ways. I'd like to follow JSF best practices when developing this component - of the following approaches, which would you recommend? Or is there yet another approach I should be using?
    1) in the encodeBegin method of my renderer class, create a new component, add it to the component tree, and let the page life cycle take care of the rendering:
    HtmlDataList dimensionStateGroupDataList = (HtmlDataList) app.createComponent( HtmlDataList.COMPONENT_TYPE );
    //set properties on dimensionStateGroupDataList
    component.getChildren().add(dimensionStateGroupDataList);
    2) in either the encodeBegin or encodeEnd method, create a component and encode it:
    HtmlDataList dimensionStateGroupDataList = (HtmlDataList) app.createComponent( HtmlDataList.COMPONENT_TYPE );
    //set properties on dimensionStateGroupDataList
    dimensionStateGroupDataList.encodeBegin();
    dimensionStateGroupDataList.encodeEnd();
    Both of these methods are functional, and I prefer the first (why encode children if you don't have to?), but I am interested in other people's take on how this should be done.
    Thanks for your help.
    -Christopher

    My bad, sorry, wasnt concentrating, Im afraid I have no experience with portlets, but I would have thought that you can mimic the outputLinkEx in you renderer by encoding your own links?
    If you were to bind a backing bean variable to an outputLinkEx what would it be? Not understanding portlets, or knowing what an outputLinkEx is may be hindering me, but you should be able to create an instance of it in code like (this example uses HtmlOutputLink, you would need to know which component to use):
    HtmlOutputLink hol = new HtmlOutputLink();
    hol.set....Then set any attributes on it, and explicitly call its encodeStart, encodeEnd functions. Is that way off the mark.

  • Adding new column in production order component overview

    Hi Experts,
    Please let me know any enhancement or badi available to add a new column to production order component list. There is a business requirement to display the fixed bin in component list.
    THanks
    RIjil

    Sudhakar,
    Check the MRP parameter 'Individual/Coll' in MRP4 view for the components. This should be set as 2 for collective planning. If this flag is left blank then planning will be based on the parent material (If the parent material is planned for special stock then the components will also be planned for special stock)
    Let me know if this helps.
    Thanks,
    Jaison

  • Adding Parameters (Inspectable) to a Custom Component?

    Hi --
    I am attempting to build a custom component just to learn a
    little more
    about AS 3.0. I can not figure out where / how in my package
    declarations I
    can "expose" parameters that will be visible to the user in
    the Flash IDE
    when using my component.
    Thanks
    Rich

    Hi Richard ,
    there is a pretty cool livedoc about component creation in as
    3 :
    http://www.adobe.com/devnet/flash/articles/creating_as3_components.html
    setting up the inspectables is the same as it was in as2
    i am doing it in my controller :
    [as]
    package mat3d.yugopReel {
    import flash.display.*;
    import flash.text.TextField;
    import flash.events.Event;
    import flash.events.MouseEvent;
    import fl.core.InvalidationType;
    import fl.core.UIComponent;
    import fl.data.DataProvider;
    import fl.events.ComponentEvent;
    import fl.containers.UILoader;
    import mat3d.yugopReel.model.MainModel;
    public class ScrollReel extends UIComponent {
    public var dataProvider : DataProvider;
    public var RIG : Sprite;
    public var LeftBTN : Sprite;
    public var RightBTN : Sprite;
    public var myModel : mat3d.yugopReel.model.MainModel;
    private var _background : Sprite;
    private var _tf : TextField;
    public var _AutoScroll : Boolean;
    public var _StepControl : Boolean;
    private var _FileType : String;
    public var _File : String;
    private var _text : String;
    public var _ScrollInit : String;
    public var _StepBehaviour : String;
    public var _PictureSize : String;
    public var _ScrollTime : Number;
    public var abstand_x : Number = 90.3;
    public var abstand_y : Number = 125;
    public var ConfigData : Array;
    public function ScrollReel() {
    super();
    alpha = 0;
    myModel = new mat3d.yugopReel.model.MainModel(this);
    >> start get set INSPECTABLES
    AutoScroll start
    public function get AutoScroll() : Boolean {
    return _AutoScroll;
    myPropInit.AutoScroll = true;
    public function set AutoScroll(value : Boolean) : void {
    _AutoScroll = value;
    myPropInit.AutoScroll = true;
    [Inspectable(name="AutoScroll",defaultValue="false",type="Boolean")]
    AutoScroll end
    FileType start
    public function get FileType() : String {
    return _FileType;
    myPropInit.FileType = true;
    public function set FileType(value : String) : void {
    _FileType = value;
    myPropInit.FileType = true;
    [Inspectable(name="FileType",defaultValue="XML",type="String")]
    FileType end
    Filestart
    public function get File() : String {
    return _File;
    myPropInit.File = true;
    public function set File(value : String) : void {
    _File = value;
    myPropInit.File = true;
    init();
    [Inspectable(name="File",defaultValue="",type="String")]
    File end
    Width start
    public function get Width() : Number {
    return width;
    myPropInit.Width = true;
    public function set Width(value : Number) : void {
    width = value;
    //trace("setWidth >>>" + width);
    myPropInit.Width = true;
    [Inspectable(name="Width",defaultValue="250",type="Number")]
    Width end
    Height start
    public function get Height() : Number {
    return height;
    myPropInit.Height = true;
    public function set Height(value : Number) : void {
    height = value;
    trace("setHeight >>>" + height);
    myPropInit.Height = true;
    [Inspectable(name="Height",defaultValue="50",type="Number")]
    Height end
    ScrollTime start
    public function get ScrollTime() : Number {
    return _ScrollTime;
    myPropInit.ScrollTime = true;
    public function set ScrollTime(value : Number) : void {
    _ScrollTime = value;
    myPropInit.ScrollTime = true;
    [Inspectable(name="ScrollTime",defaultValue="0.2",type="Number")]
    ScrollTime end
    ScrollInit start
    public function get ScrollInit() : String {
    return _ScrollInit;
    myPropInit.ScrollInit = true;
    public function set ScrollInit(value : String) : void {
    _ScrollInit = value;
    myPropInit.ScrollInit = true;
    [Inspectable(name="ScrollInit",defaultValue="_x",type="String")]
    ScrollInit end
    PicSize start
    public function get PictureRatio() : String {
    return _PictureSize;
    myPropInit.PictureSize = true;
    public function set PictureRatio(value : String) : void {
    _PictureSize = value;
    myPropInit.PictureSize = true;
    [Inspectable(name="PictureSize",defaultValue="",type="String")]
    PictureSize end
    Step Controll start
    public function get StepControl() : Boolean {
    return _StepControl;
    myPropInit.StepControl = true;
    public function set StepControl(value : Boolean) : void {
    _StepControl = value;
    myPropInit.StepControl = true;
    [Inspectable(name="StepControl",defaultValue="false",type="Boolean")]
    Step Controll end
    Step Behaviour start
    public function get StepBehaviour() : String {
    return _StepBehaviour;
    myPropInit.StepBehaviour = true;
    public function set StepBehaviour(value : String) : void {
    _StepBehaviour = value;
    myPropInit.StepBehaviour = true;
    [Inspectable(name="StepBehaviour",defaultValue="easeInOutQuad",type="String")]
    Step Behaviour end
    DataProviderstart
    public function get DataProvider() : Object {
    return DataProvider;
    public function set DataProvider(value : Object) : void {
    DataProvider = value;
    myPropInit.StepBehaviour = true;
    [Inspectable(name="DataProvider",defaultValue="",type="Collection")]
    DataProvider end
    >> end get set INSPECTABLES
    private function init() : void {
    myModel .handleData();
    public override function toString() : String {
    return super.toString();
    [/as]
    bw
    matthias

  • Adding UI elements to Abstract Portal Component??

    Hi,
    I want to create an abstract portal component in PDK with a textarea and a submit button..On clicking the submit button I want to store the textarea content in a file..So can anyone provide me the solution to this soon??
    Regards,
    Udit

    Hi Udit,
    take a look at
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/ce/e0a341354ca309e10000000a155106/frameset.htm">this</a>
    example.
    Mofify the OutputSuccessText.jsp in away, that it will not print the given text to the screen but stores it in a file. This can be done with standard java coding.
    HTH,
    Carsten
    P.S.: Please consider rewarding points for useful answers in SDN. Doing so the question will be remarked as answered and the assistance will be rewarded!
    Message was edited by:
            Carsten Buechert

Maybe you are looking for