473,406 Members | 2,371 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

on(release) jump current frame with programming

Fary4u
273 100+
Hi

hope anybody sort this problem i've got
-> progress bar which control with the coding & it's jumps into time line.
what i would like to do
-> on the same time it's jump into the particular frame too

Expand|Select|Wrap|Line Numbers
  1. if assume 
  2.  -> 30 Sec = 750 frames
  3.  -> 1 Sec = 25 frame
  4.  -> current time display ( var totalTimeText )
  5.  
progress bar coding

Expand|Select|Wrap|Line Numbers
  1. mc_progress.mc_buff.onPress = function() {
  2.     xpos = mc_progress._xmouse;
  3.     percent = Math.round(xpos/mc_progress._width*100);
  4.     seekTime = percent/100*FLVduration;
  5.     seekTime = Math.round(seekTime*100)/100;
  6.     stream_ns.seek(seekTime);
  7. //    gotoAndPlay(_currentframe(totalTimeText*25);
  8. };
only problem with last code which seems to jump into 25 frame
after checking time ?
Aug 26 '09 #1
1 2620
Fary4u
273 100+
right solution is

gotoAndPlay(_currentframe+Number(totalTimeText)*25 );

: )
Aug 27 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Jun | last post by:
How can I catch onMouseDown event on a frame/frameset? When I right mouse click at the border area of a frame, I can still get the Window's standard popup menu. How can I catch the mouse click...
10
by: Ruben Hoste | last post by:
Hello, I'm currently looking for more information on Genetic Algorithms and more specifficaly on how to program them in Java or C++. This is all concerning my thesis. A lot of general information...
1
by: matthewemiclea | last post by:
I have a subform, where in the "on current" event, I display code that is supposed to recognize which record I am pointing to, and then display more specific info in another subform based on that...
10
by: Brian Conway | last post by:
I have no idea what is going on. I have a Login screen where someone types in their login information and this populates a datagrid based off of the login. Works great in debug and test through...
3
by: RR | last post by:
I have a button on a form (form A) that opens another form. The form that opens (form B) has a listbox that is populated with a call to a function in the "on current" event. When form B with the...
5
by: christianlott1 | last post by:
I admit my form is pretty complex and may need a total overhaul - I have two subforms synchronized on a form through an unbound text box. When I enter a new record in the second subform it used...
1
by: Harry2007 | last post by:
Could somebody help to rectify why my subform, even though has successfully acquired focus while being called from the main form but does not invoke the On-Current (sub-form's) event. This is because...
0
by: Kiran | last post by:
All, I am currently in SOA based platform Services developement team. Could any one of you lead me into books on "Programming C++ (Design/Coding) for high performance systems." Many Thanks in...
0
by: Nariban Barkan | last post by:
Hi All, In my c# project, i use Microsoft.MSHTML.Dll as reference. It works perfectly fine on the development machine, but on the release machines that are in production use we gets error when...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.