Thanks for checking this out. I am doing an auction lister in Flash for a client to run off his custom script and database, and am running into a problem with doing a seamless scroller. That is, one that scrolls seamlessly back to the first menu item/row. Here is an example of a seamless scroller I did for Jeff Nyman:
Here there are 3 duplicates of the menu, side-by-side, and if you go way to the right it instantaneously jumps back to the left.
But with this new project, I am dynamically generating each row based on one of two initial rows (one grey and the other white). Alternating grey & white. Then data is loaded in to dynamic text boxes in each row.
I found a tech note at macromedia explaining that you cannot duplicate dynamically generated MC's, the way I initially tried to do it. One thought I had was to make a large number of rows initially, then delete the MC's with the script based on the number of rows returned by another script. This way I could duplicate them since they already existed at load. But I am thinking it will duplicate the initial state of the parent MC (all the rows contained) instead of after some have been deleted.
Any ideas for workarounds? Other approaches that you can think of to this problem? Thanks in advance!
thanks a lot. i reviewed your code and it looks great. i in fact do that as well in my code, and in reading your reply, i noticed i wasn't completely accurate in my question.
what i meant to say was that once i have created an MC dynamically, and that MC and other copies of that MC are inside a parent MC, if i want to duplicate the parent MC, the initial state of that parent MC is duplicated, not with all the dynamically added child MCs in it. here's that article i was talking about. thanks again for your response and let me know if you or anyone else has any ideas. i think i have one and am going to try it out (load in a few extra rows at the beginning and end that are duplicate rows, then skip back to beginning/end as needed).
this article talks about loaded movies but i have found the same to be true (and i thought another article talked about it but i can't find it now) for dynamically generated MCs.
Hi, Pheck
I am not sure whether I understand you clearly enough or not but I hope these examples will give some fresh ideas to you. I've not done completely this example (I used part of your scripting and it needs some work on it) but I just wanted to give you some new direction. In this example you can duplicate as many clips as you wish, it depends only on variable that you can define dynamically.
I hope it'll help. If not, I'm sorry.
Sorry for my English.