Question
Actionscript help on semi-advance flash
So I'm trying to create a flat carousel similar to the one
located here
http://www.square-enix.com/na/index_f2.html
(as a side note before reading the 2nd half, my trouble is with the thumbnail loop buttons)
I have created all the graphic elements, now I'm in the planning stage of the actionscript, and this is where I'm hitting some trouble, so if I could barrow some actionscript pro's mind that would be awesome.
My thought process is to create a movie clip and have it be replaced with images imported through an XML file (for easy updating). After this part I run into trouble, I'm planning on taking the MC that got replaced and duplicating it and running the MC's side by side, and when one goes too far to the left or right move it to the other end of the other MC, this way I create an infinite loop.
My Questions:
so like how would you make one of the MC's reposition it's self on the X axis to the end of the other movie clip once it has moved far enough left or right ? (also what is the method you would use to tell flash the limit that the MC is far enough left or right and it should reset it's self?)
How would you make each thumbnail button change the image on the main stage upon clicking the thumbnail button when all the images are imported through the xml document?
Thank you for help and time spent reading this.
if you have any questions, please ask.
thanks once again.
-Mark
(as a side note before reading the 2nd half, my trouble is with the thumbnail loop buttons)
I have created all the graphic elements, now I'm in the planning stage of the actionscript, and this is where I'm hitting some trouble, so if I could barrow some actionscript pro's mind that would be awesome.
My thought process is to create a movie clip and have it be replaced with images imported through an XML file (for easy updating). After this part I run into trouble, I'm planning on taking the MC that got replaced and duplicating it and running the MC's side by side, and when one goes too far to the left or right move it to the other end of the other MC, this way I create an infinite loop.
My Questions:
so like how would you make one of the MC's reposition it's self on the X axis to the end of the other movie clip once it has moved far enough left or right ? (also what is the method you would use to tell flash the limit that the MC is far enough left or right and it should reset it's self?)
How would you make each thumbnail button change the image on the main stage upon clicking the thumbnail button when all the images are imported through the xml document?
Thank you for help and time spent reading this.
if you have any questions, please ask.
thanks once again.
-Mark
