crop focus area in action script / Flex

22 views
Skip to first unread message

abhishek

unread,
Oct 22, 2009, 2:28:23 AM10/22/09
to ActionScript 3 Core Library
hey frnds,
I'm using 1 transparent image and showing 1 big image (uploaded by
user) behind of transparent image.
Some part of transparent image is not transparent thats why user
can see only that part of uploaded image which comes exact under the
transparent image.
Now i want to cut only that part of uploaded image which is exact
behind the above transparent image and visible to users.
Plz tell me how can i crop only that part of uploaded image which user
can see.
I want to crop only that part which is visible.
is any function which allows me to crop only focus area of image ?
Is any idea there ?
thx in advanced,
:)

Paul Feakins

unread,
Oct 22, 2009, 1:24:13 PM10/22/09
to as3co...@googlegroups.com
Hi,

I think using "blendMode" on one of your images might do what you want.

Take a look at the "erase" blendMode in this Adobe example:

http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001898.html

Cheers,
Paul.
www.AntropyConsulting.com


2009/10/22 abhishek <abhishe...@gmail.com>
Reply all
Reply to author
Forward
0 new messages