Newbie qs. how to find duration or set position (in time) of a flash movie from Javascript?

I am trying to control the Flash player browser plugin from
Javascript.
- I need to set the start position to play, based on time.
example, setPosition(10 seconds)
However I notice that the flash player API is based upon
number of frames.
for example, the methods TotalFrames() and GotoFrame() are
based on frame number.
How do I convert it to time? I don't see a frame rate
variable.
I don't see a call to access this - but the duration of a
clip is always shown near the slider
- can I also query the duration from the player?
- I also need a callback into my Javascript object when an
event occurs - for example,
when the player stops playing because it is stopped by the
user. Should work on earlier versions than Flash 8.
Any help appreciated.
thanks,
Anil

no replies?

Similar Messages

  • How to find the materials set for forecasting in APO..?

    Dear Experts,
    Could anyone please help me out in letting me know how to find the materials set for forecasting in APO, BY either using pegid or by using matid & locid combinations...? Please help me out ASAP as Iam severly stuck at one place.
    Thanks in advance..
    Regards,
    Sanjay.

    Hi Sanjay,
         Please have a look at the table /SAPAPO/PEGKEY.
    If u have any questions in APO goto the APO forum and raise ur doubts.
    Thanks,
    Siva.

  • How to find the Last modified date and time of a package

    Hi,
    We need a clarification on how to find the Last modified date and time of a package in Oracle. We used the example below to explain our scenario,
    Lets consider the following example
    Let A, B be two packages.
    Package A calls the package B. So A is dependent on B.
    When A is compiled the TIMESTAMP,LAST_DDL_TIME in USER_OBJECTS gets updated.
    Now there a modification in package B so it is compiled. There is no modification in package A.
    Now when the package A is executed the TIMESTAMP,LAST_DDL_TIME in USER_OBJECTS gets updated but we did not make any change in Package A. Now we need to find last modified date and time of the package A . So we can not rely on the TIMESTAMP,LAST_DDL_TIME in USER_OBJECTS . Can u please tell us any other solution to get last modified date and time of the package A .
    Regards,
    Vijayanand.C

    Here is an example:
    SQL> SELECT OBJECT_NAME,CREATED,LAST_DDL_TIME,TIMESTAMP,STATUS FROM USER_OBJECTS
    2 WHERE OBJECT_NAME = ANY('A','B');
    OBJECT_NAM CREATED LAST_DDL_TIME TIMESTAMP STATUS
    A 20-MAY-2004 10:57:32 20-MAY-2004 10:57:32 2004-05-20:10:57:32 VALID
    B 20-MAY-2004 10:58:22 20-MAY-2004 10:59:04 2004-05-20:10:59:04 VALID
    SQL> CREATE OR REPLACE PROCEDURE A AS
    2 BEGIN
    3 NULL;
    4 NULL;
    5 END;
    6 /
    Procedure created.
    SQL> SELECT OBJECT_NAME,CREATED,LAST_DDL_TIME,TIMESTAMP,STATUS FROM USER_OBJECTS
    2 WHERE OBJECT_NAME = ANY('A','B');
    OBJECT_NAM CREATED LAST_DDL_TIME TIMESTAMP STATUS
    A 20-MAY-2004 10:57:32 20-MAY-2004 11:01:28 2004-05-20:11:01:28 VALID
    B 20-MAY-2004 10:58:22 20-MAY-2004 10:59:04 2004-05-20:10:59:04 INVALID
    SQL> EXEC B
    PL/SQL procedure successfully completed.
    SQL> SELECT OBJECT_NAME,CREATED,LAST_DDL_TIME,TIMESTAMP,STATUS FROM USER_OBJECTS
    2 WHERE OBJECT_NAME = ANY('A','B');
    OBJECT_NAM CREATED LAST_DDL_TIME TIMESTAMP STATUS
    A 20-MAY-2004 10:57:32 20-MAY-2004 11:01:28 2004-05-20:11:01:28 VALID
    B 20-MAY-2004 10:58:22 20-MAY-2004 11:01:53 2004-05-20:11:01:53 VALID
    Note that the date under the column 'created' only changes when you really create or replace the procedure.
    Hence you can use the column 'created' of 'user_objects'.

  • My iphone 4s lost positioning is not opened, and my iphone 4s and ipad2 a registered account, how to find iphone 4s ipad2 positioning?

    My iphone 4s lost positioning is not opened, and my iphone 4s and ipad2 a registered account, how to find iphone 4s ipad2 positioning?

    Welcome to the Apple Community.
    You can only locate your device when it is logged into iCloud and 'Find My Phone' is enabled, additionally the device will need to be switched on and connected to a wifi or cellular network.
    Unfortunately, you cannot activate iCloud or 'Find My Phone' remotely.
    If the device is wiped by you or another, you may not be able to locate the device (although some have reported they can)

  • How to find when and what date my iphone was first switched on from a retailer

    how to find when and what date my iphone was first switched on from a retailer

    Depending on the Code version you are running you can look for this output . It will show when a SFP was removed and inserted.
    module-2# show port-config internal all  (This command wil differ of earlier versions of SAN OS )
    Mar 20 08:53:45 2011  00449361  fc2/20         ---   DOWN   Xcvr inserted          
    Mar 20 08:53:32 2011  00829429  fc2/20         ---   DOWN   Disable                
    Mar 20 08:53:32 2011  00826403  fc2/20         ---   DOWN   Disable                
    Mar 20 08:53:32 2011  00818936  fc2/20         ---   DOWN   Xcvr removed  

  • How to find a sub-set of bytes in sequence of bytes.

    I want to know if it's posible to find a sub-set in a sequence of bytes.
    Let me explain me:
    I have the following sequence of bytes
    45 44 43 42 41 00 00 45 44 43 53 44 45 43 42 41 00 00
    ����������������� ��������������
    And I want to know how many times the sub-set "45 44 43 42 41" is at that sequence, of course in this example the answer is two. I know that I can use and automata but I'm trying to find another solution.
    -Daniel

    zkropotkine wrote:
    Hunter, thanks a lot a use my own algorith (an automata but very simple and manteinable one). The problem is that I evaluate your help as useful but at the end of the day your idea help me to resolve the problem. So if you wan't your "dukes" please put a new message in order to give you the dukes (I can't do that in your previous post).
    Thanks everyone... again.Ha, I'm glad it was helpful. I'll tell you what, I just need one more point to get my yellow star, so how about you give me one, and split the rest between the other people who helped. :)

  • How to find out the SET PARAMETER ID for FB02 transaction

    hi masters,
    i m working on a alv report and in that i have to make a BELNR field as a interactive field. i m using the 'user command' for this.
    FORM user_command USING ucomm TYPE sy-ucomm
                        selfield TYPE slis_selfield.
      IF selfield-value IS NOT INITIAL.
        CASE selfield-fieldname.
          WHEN 'BELNR'.
            SET PARAMETER ID 'FBAS'  FIELD selfield-value.
            CALL TRANSACTION 'FB03' AND SKIP FIRST SCREEN.
          WHEN OTHERS.
            MESSAGE text-000 TYPE 'W'.
        ENDCASE.
      ENDIF.
    ENDFORM.                    "user_command
    i used this code using this. using this code my program goes to FB03 tc but it don't shows the data of BELNR what i was clicked. it always shows first BELNR no. in the table. plz anyone help me for this..
    the  SET PARAMETER ID 'FBAS'  i m using is right? if not plz suggest me how to find out correct one?

    Hi Vicky,
    To know the Parameter Id of any field in a transaction ,
    you just press F1 onthe particular field then in technical settings under Field data
    you can see the PARMATER ID.
    So if you check like this you can see 'BLN' as parameter id for Document number in FB03
    transaction
    Regards,
    Manoj Kumar P

  • Newbie Question: How to find Forms/Reports Server Version

    Hello,
    Is there a way to easily find out what is the patchset installed for the Forms and Reports Server. I know that presently using AS 9i rel1 and Forms 6i, but how do you find out more information on the installed patches on Windows? thanks

    Please see these threads.
    how to find the developer version
    Re: how to find the developer version
    Report Builder version
    Re: Report Builder version
    Form patch set level
    Re: Form patch set level.
    Always search the forum before posting similar questions.
    Thanks,
    Hussein

  • How to find out which data control do the page layout components come from?

    hi,
    work in Jdev 11.1.2.3
    After have drag and drop data control into pages designer, how to find out which data control do the page layout component (such as a field in form layout) come from?
    --i cannot find data control related information in the property pallete for the page layout component.
    Regards.

    This information can be found in the page definition file.
    Select the field in the page and then click the binding tab.

  • Newbie stuck - how do I change the file type of a photo I am formatting from a TIFF to a JPG?

    I am new to Aperture and struggling to figure out some of the basics, even with the tutorials.  I need to submit a photo for an art competition - the master is a TIFF and I need a JPG under 1.8 MB - how do I change the new version's file type and keep it with the master?
    Thank you in advance.

    I can't recommend the method proposed by Carolyn Samit; in fact, I recommend ignoring it.
    Aperture is large, complex, and can take some time to learn to use.  It is also quite powerful, and can handle nearly all -- or all -- common tasks you throw at it.
    I have written a very short guide to Aperture which was intended to provide some firm footing for those getting started.  I humbly suggest that you start with a quick review.
    One of the things that presents a bit of disorientation for new users is that, in practice, Aperture keeps your pictures in a kind of limbo.  There are good reasons for this -- suffice it for now to accept that you import image-format digital files into Aperture, you use Aperture to organize and optimize these as Images, and then when need a file to use outside of Aperture, you export you Image.  It is at export that you format your Image: you select the file type, the compression amount, the file name, the file size, and more.
    In your case, then, you will export your Version, and set the file type to TIFF (recommended above JGP whenever quality is paramount). There is no way to know the file size in bytes prior to creating it.  Start with a full-size TIFF and, if necessary, knock it down by percentage until the exported file is less than 1.8 MB.
    There is no reason to attempt to keep this file with the Image in Aperture.  Send it on its way.  Any time you need another file from your Image, you can create it fresh via "File→Export→Version".
    HTH.  If it doesn't, ask more. 
    Message was edited by: Kirby Krieger -- expanded a bit.

  • How to find obsoleted tablespace? (scn or time of last change or access)

    Hi,
    there are many tablespaces in the database which are probably not yet used by applications...
    Please, how do I find which of these can be dropped? That means, how to find last update time or scn of last change or access (last used select for that tablespace)?
    Many thanks in advance in any info how to get forward.
    Pavol

    user10858565 wrote:
    Hi,
    there are many tablespaces in the database which are probably not yet used by applications...
    Please, how do I find which of these can be dropped? That means, how to find last update time or scn of last change or access (last used select for that tablespace)?
    Many thanks in advance in any info how to get forward.
    PavolI suppose you meant tables (in that tablespace)
    There is no direct way where you can find this information if auditing is not enabled.
    To check if insert/update/delete has been performed on table you can use function ora_rowscn to check when it was done last.
    Regards
    Anurag

  • How to find these values fall in what time?

    Post Author: newcruser
    CA Forum: General
    From 9 AM to 5 PM time range..how to find these values fall where?.
    Is that done using group selection method?.  Please give me idea and direction
    UserId   Type      login                               logout1           1          2008-04-13 09:30:42         2008-04-13 10:30:122           2          2008-04-13 09:30:12         2008-04-13 11:00:323           1          2008-04-13 10:30:32         2008-04-13 12:56:234           2          2008-04-13 10:30:42         2008-04-13 12:00:345           2          2008-04-13 11:30:34         2008-04-13 13:40:236           1          2008-04-13 12:30:43         2008-04-13 13:00:437           1          2008-04-13 13:20:43         2008-04-13 14:45:218           2          2008-04-13 14:30:42         2008-04-13 15:15:599           1          2008-04-13 15:00:42         2008-04-13 16:30:4210         1          2008-04-13 16:20:42         2008-04-13 17:00:00

    Post Author: newcruser
    CA Forum: General
    In my case minimum (login) time changes and maximum(logout) time changes everyday.
    I want to create from minimum (login) to  maximum(logout) for every hour, how many people are online. How to do?.
    UserId          login                               logout1           2008-04-13 09:30:42         2008-04-13 10:30:122           2008-04-13 09:30:12         2008-04-13 11:00:323           2008-04-13 10:30:32         2008-04-13 12:56:234           2008-04-13 10:30:42         2008-04-13 12:00:345           2008-04-13 11:30:34         2008-04-13 13:40:236           2008-04-13 12:30:43         2008-04-13 13:00:437           2008-04-13 13:20:43         2008-04-13 14:45:218           2008-04-13 14:30:42         2008-04-13 15:15:599           2008-04-13 15:00:42         2008-04-13 16:30:4210         2008-04-13 16:20:42         2008-04-13 17:00:00
    i found minimum (login) and maximum(logout) using below formula. Now i want to find every hour from minimum (login) to maximum(logout) , so i can use each hour value in formula to calculate how many people are online for that particular time. How to do that?.
    @Minimum
    DatePart("h",(Minimum ()))
    @Maximum
    DatePart("h",(Maximum()))

  • How do I change the "Set Date and Time Automatically" server

    Is there a way to change System Preferences/Date & Time/Date & Time/Set date and time automatically from "Apple Americas/U.S. (time.apple.com)" to another time server instead?

    sig wrote:
    The menu has a drop down. But if you know the address of another time server I would think you can type it in.
    Yeah, that's not really a menu, but a "combo box", which is a combination of an edit field and pop-up menu. So you can choose from existing items or just type in whatever time server you want.
    charlie

  • How do I change a name of a button in a Flash movie?

    Hello everybody,
    I'm newbie with Flash and I have a problem.
    I have a flash movie, which I want to use as a header for a website. When I play the movie, I have 5 different buttons on it. When I open through Flash the .fla file it shows me that there is one button copied 5 times.
    How do I change the name in one of the buttons in the movie, I want when I play the movie, to have a different name on the button, but I don't understand from where do I change the name, if all the buttons I have in the .fla file has the About me name, I suggest the name is the same because all the buttons does the same effect when you go over them.
    I would appreciate some help!

    I'm assuming you mean you want to change the label that displays on the button when you run the file.  Flash allows for a variety of ways to approach a design, so there is no ready-made answer.  If all of the buttons appear to be the same in the fla file, then chances are they are getting their labels from actionscript code.
    What you probably need to do is look thru the actionscript code that might be in the first frame or so of the timeline.  You can identify frames containing actionscript because they what appears to be a lower case "a" in them.  If you click on such a frame and open the Actions window, you will see the actionscript code.  Look for any code that has the button labels you see when you run the file.
    You might also have some other file(s) that came with the fla, such as an .as file or a .xml file.  If so, you may need to look in these files also.

  • Can I set up a password for when renting movies from my Apple TV without having to sign out?

    Can I set up a password when renting movies from my Apple TV without having to sign out?

    Is there an issue just signing out?  It's a chore entering itunes store password sometimes I agree but there's no way to set a local password on AppleTV - though it's a good idea as you could have a simpler one than for itunes store.
    Ordinarily I enter my password for rentals though AppleTV ususally asks if I want it to remember it automatically.  If you sign out and sign back in you should get the option. 

Maybe you are looking for