To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here


A Flash Developer Resource Site

Go Back   Flash Kit Community Forums > Flash Help > Flash 8

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 10-03-2005, 02:35 PM   #1
Ray Beez
Senior Member
 
Ray Beez's Avatar
 
Join Date: Jun 2000
Posts: 2,692
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?
Ray Beez is offline   Reply With Quote
Old 10-03-2005, 04:03 PM   #2
cancerinform
Mod
 
cancerinform's Avatar
 
Join Date: Mar 2002
Location: press the picture...
Posts: 12,312
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. -
| www.Flashscript.biz | Help a little girl, Ana, who has cancer. | Flashscript Biz Classes/Components | The new Event design pattern | Clothing for Haiti |
cancerinform is offline   Reply With Quote
Old 10-03-2005, 06:08 PM   #3
Ray Beez
Senior Member
 
Ray Beez's Avatar
 
Join Date: Jun 2000
Posts: 2,692
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 06:10 PM.
Ray Beez is offline   Reply With Quote
Old 10-03-2005, 07:27 PM   #4
cancerinform
Mod
 
cancerinform's Avatar
 
Join Date: Mar 2002
Location: press the picture...
Posts: 12,312
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. -
| www.Flashscript.biz | Help a little girl, Ana, who has cancer. | Flashscript Biz Classes/Components | The new Event design pattern | Clothing for Haiti |
cancerinform is offline   Reply With Quote
Reply

Go Back   Flash Kit Community Forums > Flash Help > Flash 8

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:20 PM.


internet.commerce
Be a Commerce Partner
 »  »  »  »  »  »  »
 »  »  »  »  »  »
 

    

Acceptable Use Policy


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.