Need advice for adding a seekbar bar timer!

I would like to add a timer that keeps track of the total time and also today's time who works next to my seek bar component to my flash movie. How can I do this? For example: 01:11 | 02:04, 01:11 shows the current time of the movie and the 02:04 would represent the total duration of the video.

You are welcome.

Tags: Adobe Animate

Similar Questions

  • Guard application launch at the start of the appliance, also need advice for the implementation of network methods

    Hi all

    I'm new to the development of Blackberry and I'm writing a relatively simple application to run on 7.1.

    So far the development was interesting, I managed to create my user interface using resources online (mainly this forum), but today I tried to implement some of the network classes that I need and now I just met constant problems.

    I use Eclipse SDK 3.7.2 (the one that comes with the plugin RIM)

    First question:

    I'm not sure what I changed, but today I noticed that whenever I start the Simulator (by sim 9360) my application is started during the initial startup process. I don't think he did this before, but to be honest, I wasn't paying much attention. I think it starts at the start of the device is because I put a breakpoint in the constructor for my class from the main screen, which is hit before the Simulator happens even to the point where it is ready for user interaction. In addition, once it is ready, if I press the BB button, I see my registered application.

    I don't have it set to automatic start in .xml descriptior enforcement.

    I started this application on the HelloBlackBerry sample, here is my main method for the entry of the application:

    public static void main( String[] args ) {
            appSettings = AppSettings.fetch();
            // Create a new instance of the application and make the currently
            // running thread the application's event dispatch thread.
            HelloBlackBerry theApp = new HelloBlackBerry();
            theApp.enterEventDispatcher();
            //openConnection();
    
        }
    
    
    

    As far as I know, this is the only entry point for the application.

    More code

        public HelloBlackBerry() {
            // Push a screen onto the UI stack for rendering.
            mainScreen = new ScreenHelloBlackBerry();
            pushScreen( mainScreen );
        }
    

    Here is the method of. my class AppSettings fetch()

        // Retrieves a copy of the effective properties set from storage.
        public static AppSettings fetch()
        {
            AppSettings savedSettings = (AppSettings) _store.getContents();
            return new AppSettings(savedSettings);
        }
    

    Some of this code that I wrote myself, the persistence store cause the launch of my car?

    I tried to reset the Simulator to the factory settings, no change.

    All applications initialized during the startup of the device and then closed shortly after?

    Part 2: Need advice for the implementation of functions of network in the application

    I need to implement some methods that will retrieve data from a web service, and I also need to send data to this service. What I've read, the ConnectionFactory is the way to go. I want my application to make a request when the application is open and can check on a set interval. I didn't know exactly how to go about adding another thread for networking, I understand that network connections should not be created on the thread main event, so I tried to do this:

    The constructor of my class that implements screen (ScreenHelloBlackBerry), I use the following to create a modal dialog box to prompt the user for a username, I also try networking wire in the same segment of spawning:

            public ScreenHelloBlackBerry(){...initialize fields and managers, add it all together...then near the end
    
    //This will open the confirm dialog when the application is launched
            UiApplication.getUiApplication().invokeLater(new Runnable() {
                  public void run() {
                      openConfirmDialog();
                    //start connection - Possibly broken
                      ConnectionThread ct = new ConnectionThread();
                      ct.start();
                  }
            });
    

    I don't know if it's somehow OK to do, but it seems to work for what I need. I want a user who launches the application at the prompt, and if a user switch applications, when they come back they wondered again (unless they close the app and reopen it).

    Here is my ConnectionThread:

    public class ConnectionThread extends Thread
    {
    
        public void run()
        {
    
              ConnectionFactory connFact = new ConnectionFactory();
              ConnectionDescriptor connDesc;
              connDesc = connFact.getConnection("http://www.google.com");
              if (connDesc != null)
              {
                  HttpConnection httpConn;
                  httpConn = (HttpConnection)connDesc.getConnection();
                  try
                  {
                      final int iResponseCode = httpConn.getResponseCode();
                      UiApplication.getUiApplication().invokeLater(new Runnable()
                      {
                          public void run()
                          {
                              Dialog.alert("Response code: " +
                                            Integer.toString(iResponseCode));
    
                          }
                       });
                      httpConn.close();
    
                   }
                   catch (IOException e)
                   {
                     System.err.println("Caught IOException: "
                          + e.getMessage());
                   }
              }
        }
    }
    

    At the moment it has basically unmodified code from a sample that I found, I'll be retooling to meet my needs whenever I can make it work. I HAD this work to the point where, after the closed user confirm this dialog, a few moments later a an alert dialog appears with the 302 response code. I don't know what changed, but now it doesn't work at all, and if I try to scroll with the debugger, I can't past the httpCon.getResponseCode (). I've seen some mistakes earlier on "no record of service was set up", and I also had once a timeout exception.

    I'm sure I'm doing this wrong, but at the same time as I said WAS working, and now it is not. If someone has done this far, thank you very much for your time and advice are much appreciated.

    Also, should I try to start the thread of the network of the UIApplication class instead of the screen? There is currently very little happening in the class that extends UIApplication, do I spend most of my business logic out of the class of the screen and in the UIApplication class?

    Thanks in advance!

    Hi all

    Just to conclude this topic for those who are interested, I found an excellent guide to the implementation of networks in applications of BB, click here for a link.

    About my application being started at the start of the simulator of the device, I found that on a device real this behavior is not complied with, and in addition, the behaviour seems to have stopped after uninstallation and reinstallation of my Simulator.

    See you soon,.

  • Need advice for installing Win7 on Satellite A300

    Hello

    I intend to buy Satellite A300-1MT (PSAGCE), and before I do I just check if there are still some problems with drivers for W7 for this model?
    On other forums, I saw that there are some problems with drivers like music keys, webcam, touchpad and FN keys and so on...

    So, can someone confirm me that all drivers are now available and everything works?

    And also until I started installing drivers is there anything I need to know (wait used?) Or perhaps better: does anyone have a special notice?

    Please, find the will to respond! Thank you very much!

    Hello

    I have the Satellite A300 running Win7 32 bit, but my model is PSAG8E.
    To be honest I have very good experience with installing Win7 on Satellite A300 and I can recommend you to install on this Satellite.

    If you visit the Toshiba support page under http://eu.computers.toshiba-europe.com > support & downloads you will see that your laptop model is supported Win7 and it shouldn't be problem to install all the necessary drivers and other stuff of Toshiba.

    Here is the list how I did this exactly:
    atellite A300 (PSAG8E) and clean Win7

    -Win7
    -chipset driver
    -Storage Manager
    -display driver
    -driver sound
    -modem driver
    -utility supervisor
    -infrared
    -patches 1.2
    -configfree
    -VAP
    Hardware - toshiba
    Control - HDMI
    -WLAN driver

    Everything works well but lacks some drivers

    Added Vista tips:
    Toshiba - help - working properly
    -Card reader - installed correctly
    -Webcam driver for A500 - tested with Skype - works correctly.
    Driver - Synaptics

    Win7 works well and I am very satisfied. No problems with the feature keys FN.

    If you are going to buy this laptop start installation Win7 following this order of installations. Please inform us of problems and I hope that we can help you about this.

  • Please I need advice for deployment with multiple screen resolutions

    Hello

    Sorry for my English

    I am developing a project in labview with a PC (screen resolution 1920 * 1080) and I need to deploy to run on a PC with (screen resolution 1024 * 768 10 "), I use several spliters for this so I need some advice to make sure my exe not working

    very well in this PC target so I need to know how to configure my principal vi; size of the window in the execution; etc... in my PC all work fine I can reduce window and blow it up when the project is running and all the objects have been scaling very

    well I don't know what will happen in this target pc.

    advice and assistance please

    Hey Broutchoux,.

    Here are some links of the knowledge base that relate to this issue.

    http://digital.NI.com/public.nsf/allkb/7567EF257B9CFDF986256F630073228F?OpenDocument

    http://digital.NI.com/public.nsf/allkb/4C03BE7BFD1D00948625670B0061CB6A?OpenDocument

    I hope this helps!

  • Help, please! I need advice for choosing what Photoshop CS I need?

    Hello

    I have a problem with importing photos from my Nikon D60 RAW in my Photoshop.

    I need to know that Photoshop CS will be the best and work?

    I have Windows XP, enough RAM and hard drive space, which should not be a problem.

    But I need the most recent version and the best possible Photoshop CS that will allow me to work on my photos in RAW.

    Any advice?

    You probably want to Photoshop CS5, but you can check yourself what version of Camera Raw supports your camera by doing this:

    1. go to this page:

    http://www.Adobe.com/support/downloads/product.jsp?product=39&platform=Windows

    2 find the Camera Raw updates listed in the directed blocks with names like 'Version CS5' and 'Version CS4'.

    3. click on the last being a given block (for example, 'Update Camera Raw 5.7' for CS4).

    4. click on Camera Raw ReadMe x.x link on the page that is displayed for this version.

    5. search the list of supported cameras and see if yours is in it.

    You probably want CS5 because even if your D60 seems to be taken in charge by Photoshop CS4, it is quite difficult to buy a copy of Photoshop CS4 new more, I said.

    -Christmas

  • Need advice for the new graphics card

    I have a desktop HP Pavilion a6610t with HP w1907 monitors. Windows 7 32 bit.  I want to upgrade to a graphics card that supports two monitors.  Games isn't a factor, but I'd like a card that does not become the neck of the bottle when you surf or work remotely.  I have a PCIe - x 16 available slot.  My price range is around us $100.

    What should I look for another as the PCIe - x 16 and the ability to support two monitors when you shop for a graphics card?  I think the AMD Radeon HD 6570 is a good starting point.  What do you think?

    Any information will be appreciated.

    Here are the specifications and the configurable option for your desktop HP Pavilion a6610t CTO. According to specifications, your system came from the factory with a 250 watt power supply. Most retail graphics cards require a power supply minimum system assessment of 300 watts or greater. The Radeon HD 6570 you noted requires a 400 watt or a bigger power supply. The CX500, CX600 Corsair are highly recommended, are favorites of the forum and are known to adapt to most cases of HP. For useful information on the selection of a graphics card that fits your computer and meets your needs, read Guide of Big_Dave of a discrete video card selection .

    Frank

  • Need advice for speakers or sound system for Satellite L series

    Please advice or speakers acoustic system for L-series satellites

    Hi Svetlana

    It will be interesting to know what model of laptop you have exactly. Anyway, it is not easy to make good suggestion because in the market, there are many good external sound systems and especially the good one are a bit expensive.

    In my opinion, you should talk with your dealer and see in what price you want to buy speakers. Without a doubt, my favorite system is Logitech Z3.

    Good bye

  • Need advice for the purchase of a mini PCI Wireless

    Hello

    I have a laptop Toshiba I bought nearly two years ago. This laptop has an Intel 2200BG wireless chipset, which works, but the quality of connection is quite low. Sometimes, the connection speed climbs, sometimes it falls in total. I tried all the updates driver, power management tips and everything that could be found on the net. Some of these help, but there is always something that doesn't work as it should.

    Long story short, I decided to buy a mini pci wireless card. The problem is that these cards are nowhere to find. There is nothing on the Toshiba site, and apart from a few offers on eBay, there is almost nothing to choose. I know there are other options, but I prefer a mini pci card.

    Can someone help me on this issue?

    Thank you

    Peter.

    Hi Peter

    Can you please tell us which laptop model you have?

    In any case, the network without WIRE Intel 2200BG card is good enough and works very well on my Satellite M70 (with the latest driver). Download speed is very good and I do not need a wireless network card. I don't know what is the problem with WLAN connection in your case, but please try to test with another router WLAN (maybe your friends have all other routers). Also, install the latest WLAN driver for this card.

  • Need help for adding printer in virtual XP mode

    Windows 7 64 bit

    HP Laserjet 4250

    I have the XP mode installed for a legacy program that only runs under XP. The integration settings that the printer is shared, but XP mode do not recognize. When I go in the USB menu and click on the name of the printer, nothing happens.

    Hello Matthew,.

    Thank you for keeping us posted.

    I imagine the inconvenience that you are experiencing. However, I appreciate your efforts to resolve the issue.

    I suggest you to send your query on the TechNet forum.

    Please post your request in the below link to find a community that will provide the best support.

    https://social.technet.Microsoft.com/forums/Windows/en-us/home?Forum=w7itprovirt&filter=AllTypes&sort=lastpostdesc

    I hope this information is useful.

    Please let us know if you need more help, we will be happy to help you.

    Thank you.

  • Need advice for controller Ethernet Intel X 540 - AT2

    Hello

    I'm having no chance whatsoever, get a map of X 540 - AT2 running on ESXi 6.0.0U2.  I tried several different pilot plants, the last of them being net - ixgbe_3.21.6 - 1OEM.600.0.0.2159203.vib.  It is a new facility, said the driver.

    esxi6: / # esxcfg - NICS - l

    Name PCI Driver link speed Duplex MAC address MTU Description

    vmnic0 0000:01:00.0 e1000e up to 1000Mbps Full 00:25:90:2 has: 9e:82 1500 Intel Corporation 82574 L Gigabit Network Connection

    vmnic1 0000:02:00.0 e1000e up to 1000Mbps Full 00:25:90:2 has: 9e:83 1500 Intel Corporation 82574 L Gigabit Network Connection

    esxi6: / # lspci | grep vmnic

    0000:01:00.0 Network controller: Intel Corporation 82574 L Gigabit Network Connection [vmnic0]

    0000:02:00.0 Network controller: Intel Corporation 82574 L Gigabit Network Connection [vmnic1]

    0000:05:00.0 network controller: controller Ethernet Intel (r) X 540 - AT2 [vmnic2]

    0000:05:00.1 network controller: controller Ethernet Intel (r) X 540 - AT2 [vmnic3]

    The driver has been downloaded from VMware.  Do I need a different driver, or does this card at all?

    Thank you

    Jack

    Update: I ran across the compatibility matrix after execution of these:

    [root@localhost:~] lspci - v | grep-A1 ethernet-i

    0000:01:00.0 Ethernet controller network controller: Intel Corporation 82574 L Gigabit Network Connection [vmnic0]

    Class 0200: 8086:10 d 3

    --

    0000:02:00.0 Ethernet controller network controller: Intel Corporation 82574 L Gigabit Network Connection [vmnic1]

    Class 0200: 8086:10 d 3

    --

    0000:05:00.0 Ethernet controller network controller: controller Ethernet Intel (r) X 540 - AT2 [vmnic2]

    Class 0200: 8086:1528

    --

    0000:05:00.1 Ethernet controller network controller: controller Ethernet Intel (r) X 540 - AT2 [vmnic3]

    Class 0200: 8086:1528

    [root@localhost:~] lspci - n | grep 8086:1528

    0000:05:00.0 class 0200: 8086:1528 [vmnic2]

    0000:05:00.1 class 0200: 8086:1528 [vmnic3]

    I found myself here:

    https://my.VMware.com/group/VMware/details?downloadGroup=DT-ESXI55-Intel-IXGBE-4.4.1&ProductID=353

    I installed the driver on 5.5.  Verification of vmkernel.log I found this:

    2016-05 - 05 T 05: 23:50.921Z cpu13:33463) loading module IGB...

    2016-05 - 05 T 05: 23:50.924Z cpu13:33463) Elf: 1861: module IGB a GPL license

    2016-05 - 05 T 05: 23:50.927Z cpu13:33463) bunch of module: initial heap size: 102400, max heap size: 68476928

    2016-05 - 05 T 05: 23:50.927Z cpu13:33463) vmklnx_module_mempool_init: Mempool max 68476928 used for the module: 4124

    2016-05 - 05 T 05: 23:50.927Z cpu13:33463) vmk_MemPoolCreate passed for 25 pages

    2016-05 - 05 T 05: 23:50.927Z cpu13:33463) skb_mem_info mempool for IGB module created - size max 134217728

    2016-05 - 05 T 05: 23:50.927Z cpu13:33463) bunch of module: using memType 0

    2016-05 - 05 T 05: 23:50.927Z cpu13:33463) vmklnx_ixgbe bunch of module: creation succeeded. ID = 0x410a03ab1000

    2016-05 - 05 T 05: 23:50.927Z cpu13:33463)<6>Intel(r) 10 Gigabit PCI Express Network Driver - version 3.7.13.7.14iov - NAPI

    2016-05 - 05 T 05: 23:50.927Z cpu13:33463)<6>Copyright (c) 1999-2011 Intel Corporation.

    2016-05 - 05 T 05: 23:50.927Z cpu13:33463) PCI: IGB driver is looking for devices

    2016-05 - 05 T 05: 23:50.927Z cpu13:33463) DMA: 612: DMA engine ' vmklnxpci - 0:5:0.0' created using the Mapper "DMANull."

    2016-05 - 05 T 05: 23:50.927Z cpu13:33463) DMA: 612: DMA engine ' vmklnxpci - 0:5:0.0' created using the Mapper "DMANull."

    2016-05 - 05 T 05: 23:50.927Z cpu13:33463) DMA: 612: DMA engine ' vmklnxpci - 0:5:0.0' created using the Mapper "DMANull."

    2016-05 - 05 T 05: 23:50.927Z cpu13:33463) DMA: 657: DMA engine ' vmklnxpci - 0:5:0.0' destroyed.

    2016-05 - 05 T 05: 23:51.109Z cpu13:33463)<6>ixgbe: ANC toggle the value 1

    2016-05 - 05 T 05: 23:51.109Z cpu13:33463)<6>ixgbe: 0000:05:00.0: ixgbe_check_options: active ANC, queues 1

    2016-05 - 05 T 05: 23:51.109Z cpu13:33463)<6>ixgbe: 0000:05:00.0: ixgbe_check_options: split package is not supported.

    2016-05 - 05 T 05: 23:51.143Z cpu13:33463)<3>0000:05:00.0 ixgbe: the EEPROM Checksum is invalid

    2016-05 - 05 T 05: 23:51.143Z cpu13:33463) WARNING: vmklinux: pci_announce_device:1488: PCI: probe IGB driver failed for device 0000:05:00.0

    There you have it.  Looks like a bad EEPROM/card.

  • Need advice for learning R12

    Hi all

    I work as a consultant Tech apps and having a 1.6 years exp. Now, I want to learn R12. I worked on the AP, AR, PO, OM, INV and some what GL
    in the 11.5.10.2.Is version it all documents, Web sites with you, which will be held the self-learning of the R12 of the bases full from, please send to my mail id [email protected] for your support staff.


    Thank you
    Gopi.

    Hey Gopi;

    I work as a consultant Tech apps and having a 1.6 years exp. Now, I want to learn R12. I worked on the AP, AR, PO, OM, INV and some what GL
    in the 11.5.10.2.Is version it all documents, sites Web with you, that will be a help full for self-learning of the R12 of the bases from the, please send to my mail id [email protected]staff. Thank you for your support.

    First of all, I suggest you check out the link below:
    https://blogs.Oracle.com/stevenChan/entry/ebs_training
    http://oraclearea51.com/browse/Theatre/3573-oratutor/video/141-Oracle-EBS-R12-self-study-tutorial-DBA.html

    Second, you can get all the guide, info etc links below:

    For r12.1.1:
    http://download.Oracle.com/docs/CD/B53825_01/current/HTML/docset.html

    For r12:
    http://download.Oracle.com/docs/CD/B40089_10/current/HTML/docset.html

    For r11:
    http://download.Oracle.com/docs/CD/A60725_05/r11_doc.htm

    PS: Please don't forget to change the status thread answer whether it is possible when believe you your thread replied, he pretend to wasting time in other forums users while they are looking outstanding which is not answered, thank you for understanding

    Respect of
    HELIOS

  • Need advice for the graphic shape on the image display

    I would like to help plot a circle above an image that is displayed in the get in JLabel, the purpose is, when you click on the image, the image with a small circle apperas instead, we clicked. I used JLabel to display image in get by using imageLabel.setIcon (new ImageIcon("default.jpg"));

    I need to draw the circle/rectangle when I click on the image that I need to select the different points of the image by drawing rectangles circles above the image.
    If you understand my problem, please guide me for the same thing.

    Thank you

    Create your own class that extends JPanel, substitute the paintComponent() method to draw the background image, then go through a list of points where the user has clicked (you'll need to track clicks too) and draw circles it.
    Stick this Panel in your get the label place.

    That's how I'd do it (then again once, I'm not big on Swing these days).

  • Need advice for a SIMPLE how EP 10

    I know that Premiere Elements is a powerful program, but sometimes they are too cute and it is difficult to understand how to do the most basic tasks.  I have PE 10 and here's what I'm trying to do:

    • split an AVI file of 60 minutes in 10 segments of six minutes - I do with the scissors tool and see the 10 clips separated in the timeline (although)
    • now, I want to record each of the segments in its own separate MPEG file (instinct would be to right click on each item in the timeline and select "save under", but that would be too simple)
    • the only solution I see is to remove everything, but the clip alone, I feel like the timeline, click the tab share save as MPEG, then press the "Cancel" button until all the clips are back on the scene line and repeat the process with clip2, clip3, etc..

    Am I missing something here?  Seems a lot of work for a task as simple.

    Thanks for any help,

    Bob

    Above the timeline is the workspace toolbar. In order to cover the clip that you want to export (share thanks to the tab) and select the Bar only the box canvas set.

    Bill wrote this article: WAB - work area bar - what is it? you won't be useful fiond.

    See you soon,.
    --
    Neale
    Insanity is hereditary, get you your children

  • Need advice for this approach

    function loadComplete(e:Event):void {}

    removeChild (old_mc);

    addChild (DisplayObject (LoaderInfo (e.target) content));

    trace (e.currentTarget.Content.x);

    trace (e.currentTarget.Content.y);

    trace (e.currentTarget.Content.Width);

    trace (e.currentTarget.Content.Height);

    trace (stage.stageWidth);

    trace (stage.stageHeight);

    track works very well, but its only good for once...

    }

    Having main.swf object.swf loading (so for so good).

    now, I need to learn to use this "e.currentTarget.content" (the object.swf who is responsible) for what I want out of this function loadComplete approach...

    It would be nice if I could name and able to use... (so that I could use it to create other functions I want... but I don't know how > <)

    can some1 teach me a good approach to solve my Riddle?

    You should be able to simply declare a variable outside the onComplete function and assign the loaded object when the file is loaded...

    var loadedSWF:MovieClip;

    function loadComplete(e:Event):void {}

    removeChild (old_mc);

    addChild (DisplayObject (LoaderInfo (e.target) content));

    loadedSWF = MovieClip (e.currentTarget.content);

    }

    function doStuffToSWF() {}

    loadedSWF.something...

    }

  • Need help for adding a child to a separate component

    I know the solution to this problem is going to be stupidly simple or complex foolishly...

    So I'll try to reproduce features of windows to aid SuperPanel of Wietse Veenstra.

    The main Application contains a menu bar that opens successfully the panels on the 'bureau '. An example of the code for this is:
    Quote:
    private void changeHandler(event:MenuEvent):void {}

    If (event.item.@label == 'Create a new provider') {}
    this.createdWindows += 1;
    var pHeight:Number = 460;
    var pWidth:Number = 710;
    var label: String = "window no.: «;»»
    var curNum:Number = this.numChildren + 1;
    var SFchild:SupplierForm = new SupplierForm();
    SFchild.title = label + curNum;
    SFchild.width = pWidth;
    SFchild.height = pHeight;
    SFchild.x = this.createdWindows * 50;
    SFchild.y = this.createdWindows * 50;
    this.addChild (SFchild);
    }

Maybe you are looking for