Answered
setInterval and attachMovie
I'm using setInterval to attach a variable number of movies.
When I input the code below, the call to the function works by
itself and within set interval, but the trace gives me:
_level0.blocksHolder.randomNumberDisplay
undefined
undefined
undefined
with undefined produced the correct number of times depending on the variable: zerothPos
The block movie clip appears once correctly when the function is called directly, but I don't want to call the function directly set I want the blocks to show up one after another instead of all at once.
I've tried this in both MX Flash 2004 and Flash 8 with the same results. Any advice would be appreciated.
Attached Code:
_level0.blocksHolder.randomNumberDisplay
undefined
undefined
undefined
with undefined produced the correct number of times depending on the variable: zerothPos
The block movie clip appears once correctly when the function is called directly, but I don't want to call the function directly set I want the blocks to show up one after another instead of all at once.
I've tried this in both MX Flash 2004 and Flash 8 with the same results. Any advice would be appreciated.
Attached Code:
