I have a PHP script returning a list of variables to flash. The variables are named something like this:-
photo1
photo2
photo3
price1
price2
price3
modelnum1
modelnum2
modelnum3
there is also a variable n returned to flash which is the maximum number of movieclips required i.e
if n = 7 then there needs to be 7 movieclips and in the seventh movie clip there variables would be something like
photo7
price7
modelnum7
What I want to do is replicate the same movie clip with the necessary graphics and layout etc but show a the different variables in each so it would look something like this:
(movieclip 1)
price1
photo1
modelnum1
(movieclip 2)
price2
photo2
modelnum2
upto
(movieclip n)
price (n)
photo (n)
modelnum (n)
How can I create n number of identical movieclips with say three dynamic text boxes in each to show the three variables price, photo and modelnum but will vary with the value of n for each one.
Thanks for you help