MKII
MKII

Reputation: 911

Make bitmap partially invisible AS3

I am trying to make a object (movie clip containing textfields and bitmaps) and I need to make it partially transparent at times (like making half of it disappear). How is it possible?

Upvotes: 0

Views: 245

Answers (1)

autumn
autumn

Reputation: 172

// only things inside the rect will be visible
DisplayObject.scrollRect = new Rectangle(...);

A MovieClip is also a DisplayObject.

Upvotes: 2

Related Questions