| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: May 2005
Location: New York, NY
Posts: 33
|
I am preloading multiple mp3's dynamically using a looping array and it is working very well. However, I would like to display the percentage of the last mp3 loaded by the array. Does anyone know how I would modify the code to do this:
ActionScript Code:
I'm working against a deadline so any extra help would be greatly appreciated. Many Thanks. |
|
|
|
|
|
#2 |
|
is my last name...
Join Date: May 2004
Posts: 964
|
For..in loops work backwards with arrays. So 3 is first then 2 then 1 then 0. So just loop using defined numbers. You don't want the function in the for loop because it only needs to be used once. You're code will look something like this:
ActionScript Code:
|
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|