i have attached a movie on the main scene & i want it do duplicate into multiple copies (it is a faded text mc). How to go about this issue?
Please Help
Thanx in advance
Rgds
Bhaskee
Printable View
i have attached a movie on the main scene & i want it do duplicate into multiple copies (it is a faded text mc). How to go about this issue?
Please Help
Thanx in advance
Rgds
Bhaskee
Why not mulitple attachments? Give each a unique name, and thers no need to duplicate.
max_depth=11
for (i=1;i<max_depth;i++){
duplicate("yorattachedMC","new_name" add i,i)
this["new_name" add i]._x=10*i /// set Xpos of the new MC
this["new_name" add i]._y=10*i /// set...
/// etc
}
this code dupl. Ur attached movie in 10 new MCs..and set the x,y pos
max_depth=11
for (i=1;i<max_depth;i++){
duplicate("yorattachedMC","new_name" add i,i)
this["new_name" add i]._x=10*i /// set Xpos of the new MC
this["new_name" add i]._y=10*i /// set...
/// etc
}
this is right code...
:o
Thanx for the script but Nothing seems to work Stoc. I was able to see a lot of errors in the script on loading it in the mc. unable to duplicate it.
That seems interesting Scud, Can u be a bit elaborate on that
Thanx
Bhaskee
http://www.s-toc.com/f_kit/attachMC.fla
...code was good ...but was html tags problem ...
I wrote there
for (i=1;i"lower" than something;i++)...
and was considerated a html tag...
that's why ...
now U have the fla.
hope it help U
:cool:
and this is what scudsucker told U
http://www.s-toc.com/f_kit/attachMC2.fla
Thanx pal, That was very nice of u to have uploaded the fla. Thanx a lot. This has reduced a lot of work for me. Thanx once again
Rgds
Bhaskee
after using the script, MY MOVIE HAS STARTED TO RUN AT A VERY LOW SPEED!!!!!. how will i fix that? & the mc appears to be overlapping too much on one another. Where shud i change the values to make it farer & more visible. PLEASE HELP
Thanx
Bhaskee
after using the script, MY MOVIE HAS STARTED TO RUN AT A VERY LOW SPEED!!!!!. how will i fix that? & the mc appears to be overlapping too much on one another. Where shud i change the values to make it farer & more visible. PLEASE HELP
Thanx
Bhaskee