Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1053133
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T17:12:19+00:00 2026-05-16T17:12:19+00:00

Well i have the custom flv player which reads an XmL and draws circles

  • 0

Well i have the custom flv player which reads an XmL and draws circles on Flv video. Position and time is specified in the XML. I did calculation with as3 getTimer() function. It works fine, no matter how long u pause and then play again. Circles are shown at right time.

Now i have two problems

1- How getTimer can be reset?? it is required when user is allowed to play another swf..
2- Is there any other way besides getTimer calculation. I am not using Timer Class as it is Dependant on Frame-Script Execution time and may yield wrong result so this is not as accurate as getTimer() function.
3- As i am using Custom Slider , so i have to do calculations each time when user click or drag slider w.r.t getTimer() function and then subtracts seconds and all that. but again it goes very hard when user plays another swf as my calculations are based on getTimer() Function.

If any open-source project is available , kindly forward me link but i want it to run at Flash Player and air player too?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T17:12:20+00:00Added an answer on May 16, 2026 at 5:12 pm

    I’ll try to point you in the right direction, but first answers to your questions:

    1. No
    2. No (besides using a Timer)
    3. It shouldn’t be any more difficult

    To expand on number 3, because this is where your solution lies, it really shouldn’t be anymore difficult. What you need to do its track the time that the current FLV started. As long as you have that the math really is no different. The simplest thing would be to introduce your own reset function, and wrap getTimer in a custom function to add the rest functionality needed. Something like this:

    var startTime:int;
    
    function resetTimer():void {
        startTime = getTimer();
    }
    
    function getTime():int {
        return getTimer() - startTime;
    }
    

    In the above example, you would always access the current time from getTime rather than getTimer, beyond that everything is the same. Just make sure you call resetTimer when needed.

    I hope that helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a custom iterator (TokenIterator to be precise, which iterates, well, tokenized php
I have a custom UserType which stores a date/time value in a TIMESTAMP field
I have a custom FMS app and Flash Player broadcaster which uses bandwidth detection
I have a custom ListView in which each row.xml looks like this: <LinearLayout xmlns:android=http://schemas.android.com/apk/res/android
I have custom UITableViewCell s as well as headers and footers. Each of them
I have a custom memebership provider that has served us well for asp.net web
I have written a few MSBuild custom tasks that work well and are use
I have a custom subclass of a UITableViewController which has a editable cells in
I Have a custom TabControl with a custom DependencyProperty named SelectionChanging. Well, I want
We have a custom master page that is deployed to My Site, as well

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.