|
-
Senior Member
Duped MCs not inheriting BLEND
OK. Let's say you have an MC and it is set to 50% alpha and a color tint. If you duplicate this MC through AS, the newly created MCs will have inherited those alpha, tint settings (and more).
However, now we have BLEND settings. Duplicating an MC with a blend setting results in the new MCs having their blend set to NORMAL!
Is this a bug, oversight, or intentional?
-
Senior Member
There are a couple of things not duplicated since long time. It's easy to solve: Create the effect with AS and then add the effect back with AS. Here is an example. Make a movieclip and call it clip.
PHP Code:
import flash.filters.BlurFilter;
var blurX:Number = 30;
var blurY:Number = 30;
var quality:Number = 3;
var filter:BlurFilter = new BlurFilter(blurX, blurY, quality);
var filterArray:Array = new Array();
filterArray.push(filter);
clip.filters = filterArray;
duplicateMovieClip("clip", "clip1", 1);
clip1._x = 200;
clip1.filters = filterArray;
- The right of the People to create Flash movies shall not be infringed. -
-
Senior Member
Yup, I know you can set it after the fact. Your example is with filters. What about something as simple as MC.blendmode = x; Don't you think a duplicated MC should at least inherit the blendmode? It inherits alpha, so why not blendmode?
Anyways, no biggie. Here's what I did:
http://www.flashkit.com/board/showth...80#post3410680
Last edited by Ray Beez; 10-03-2005 at 05:10 PM.
-
Senior Member
It's not important what I think . The fact that it is not there may mean there will be Flash 9.
Personally I think as long as you can add these effects afterwards using scripts I don't see any problem. It's a bit inconvenient but solvable.
- The right of the People to create Flash movies shall not be infringed. -
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|