ActiveDen

Flash Cart

How do I add this file into another movie clip within my existing Flash File or Application?

If your product button is in another MC then you use _parent.CartItem and _parent.additem to move up to the movie clip that has the Cart. Here is my code and it works.

on (press) { var item = new _parent.CartItem

// -> Change each product’s Name and Price on the line below.

(“Adobe Illustrator – CS3 ”, 1695.00, 1);

// -> Don’t do anything below unless you’re a pro. ;)

_parent.additem(item); }

If your cart is up two levels just use _parent._parent and so on.

by
by
by
by
by