Groups | Blog | Home
all groups > flash (macromedia) > june 2004 >

flash (macromedia) : Masking a dynamically generated movie clip


Reynmaker
6/30/2004 5:07:38 PM
Hello,

I'm trying to mask a movie clip which is comprised of several
dynamically attached movie clips( data from xml source and movie clip is
a series of buttons with just a label from xml data). The mask is a
simple rectangular mask with no animation. It seems to work however the
text labels (TextField) do not show. When I remove the mask the labels
do in fact show. If anyone is willing to help me with this I can provide
the .fla and .xml files if necessary. Thanks in advanced.

Reynmaker
7/1/2004 8:58:33 AM
[quoted text, click to view]
urami_
7/1/2004 10:04:02 AM


[quoted text, click to view]

In order for flash to render text under the mask it has to contain font Outlines.
By default dynamic texfield does not include outlines.
You must set it up in text field properties panel or if you use text object to dynamically
create the text field you will need to define font used in library and provide it with linkage
than define that linkage in your text object actions.


--


Regards


urami_*

<hol>
http://flashfugitive.com/
</hol>


By The way:
If you try to mail me , DO NOT *laugh*
urami_
7/2/2004 8:58:10 AM

[quoted text, click to view]

Give the font a linkage than than define the linkage ID in text object using

myFormat = new TextFormat();
myFormat.size = 22;
myFormat.font = "FONT ID NAME HERE";
myFormat.color = 0xFFFFFF;

etc...




--


Regards


urami_*

<hol>
http://flashfugitive.com/
</hol>


By The way:
If you try to mail me , DO NOT *laugh*
AddThis Social Bookmark Button