1 person found this helpful
use different movieclips that you add and remove from the display.
Hi, thanks for the reply, i will create different movieclips that display different color, but do i need any specific code to allow that color remain the same when they trying to change the rim?
I will create many seperated layer for car body, tyre, rim, and accessories part for it. Is it correct that i put this script on the car body?
assign linkage ids to your movieclips and use attachMovie and removeMovieClip to add and removed those movieclips.
to assign a linkage id, right click a library symbol>click properties>tick 'export for actiionscript'>assign a linkage id (eg, rim1_id)>click ok>click ok.
to add that rim to car_mc and remove the previous rim,
current_rim = car_mc.attachMovieClip("rim1_id","current_rim",car_mc.getNextHighestDepth());
// you may need to position current_rim
Thank you so much! Finally i have the idea to get this done! Thanks!