[flashpro] Help with timeline controller (simple maths?)
santinilox
santinilox at yahoo.es
Fri Oct 28 16:19:58 EDT 2005
Hi all!
I have a little bar for the _root timeline (such as the one you can find in
any kind of audio/video player). Eg:
|----o--------------------|
If, for example, I have three frames in the _root movie, it would be three
"checkpoints". Eg:
|------------|------------|
When the user clicks in the 40% of the bar:
|---------x--|------------|
I would like the little-ball go to the second "checkpoint" (ie, the second
frame in the _root movie):
|------------o------------|
If the user clicks in the 20%:
|---x--------|------------|
The ball (and also the _root movie) would travel to the first "checkpoint":
o-------------------------|
Actually, I know all the values. Eg:
User clicked at = 40%
_root's _totalframes = 3
I know this is a very stupid question, but I've spent 3 hours with this
issue. When all works fine with my 3-frames test movie, it won't work with
my 7-frames test movie, and so on...
Help, please ;-)
~s
______________________________________________
Renovamos el Correo Yahoo!
Nuevos servicios, más seguridad
http://correo.yahoo.es
More information about the FlashPro
mailing list