Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Mask Does Not Work On Text



Hi
I am testing a mask effect. I found that the mask layer worked over a graphic object in the masked layer but if the layer that is masked has text it would not display the text.
Can anyone tell me why?
Myo



FlashKit > Flash Help > Flash MX
Posted on: 07-06-2002, 06:38 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Dynamic Text Do Not Work With Mask
Somebody may explain me how can I input a Dynamic Text into a mask and it´s work?

Dynamic Text Won't Work Behind Mask
Help! I have a dynamic text box that is used to load external texts and scroll them. Everything works fine as normal, but if I put the dynamic box behind a mask it won't work. I want the text box to be "abnormal" shaped. So I created a background for the box, copied the background to another level above the box and made it a mask. I can see the background through the mask, but not the text box.

Does anyone know why??

thanks

Does Dynamic Text Not Work Under A Mask?
ive got some dynamic text, just coming from a button. when you click on the button it puts a string into a textbox.

its in a movie clip and works fine but when i put a mask over the movie clip it stops working? anyone know?

Mask And Input Text Not Work
Hi from Italy.
This is my problem.
http://www.rossionline.net/form/esform.swf

I have created a MC with any Input Text and any Input Area.
In main Stage , if I apply a mask level on this MC , UI Components in MC not work! Is not possible to view or edit text.

I don't know the solution. please help

Bye.

P.S.
To understand is possible download .fla file http://www.rossionline.net/form/esform.zip

--
MS

Is Mask Work For Dynamic Text Field ?
Hi

1) I have tried to apply mask for dynamic text field but it doesn't work.

2) Only through script the mask is working for dynamic textfield.


ActionScript Code:
myTextfield_mc.setMask(my_mc)
//converted dynamic text field as a  movieclip name "myTextfield_mc".

3) Static text field with normal mask working.

Is there any way to apply mask for dynamic text field without script ?

Thanks in advance.

Scrolled Text Form With Mask Doesn't Seems To Work
Hi everybody,
I wonder if you could help me with this:
I have a MC with a text form with several input and combo boxes (flash <=> php) it as a scroll and it works fine, except when I put the MC under a mask.
It still scroll's but nothing shows inside the input boxes when I type on it.
Is this "normal" procedure for flash or It's a bug of some kind?

Thank's

Dynamic Text + Mask + Mc Button Dont Work
I have in this layer position the following

--------
mc button
--------

--------
dynamic text which i set as a mask
--------

--------
pattern that i want the text to loook like
--------

now the mask is set property and looks good but where the mask is my MC button is not registering a hit . the buttonMode = true is set on the mc button and the hand dissapears when its around the mask..

FONTs are embedded.

Scrolled Text Form With Mask Doesn't Seems To Work
Hi everybody,
I wonder if you could help me with this:
I have a MC with a text form with several input and combo boxes (flash <=> php) it as a scroll and it works fine, except when I put the MC under a mask.
It still scroll's but nothing shows inside the input boxes when I type on it.
Is this "normal" procedure for flash or It's a bug of some kind?

Thank's

[CS3] Can Get Mask To Work
Howdy,

IM trying to get my masking to work and I have done everything I know how to do...

can someone please give me some direction?

Thanks,
-Robert

The fla is located on my server because its to large to upload here.
http://www.myrealestateira.com/social/states.fla

MY MASK WONT WORK...
I have a simple bar preloader that has % loaded on the top layer and a movieclip of the bar that is scaled on the x axis on the second layer (underneath the first). Underneath the bottom layer is the content that i want to reveal as the bar scales...
the layer with the bar is a mask layer and the layer underneath with the content i want revealed is masked. In the FLA when i purposely scale the bar it reveals the content as it should, but when i view it online, nothing shows up in the area (no bar and no content)
what is goin on?

Mask Doesn't Work :(
Hey could someone please tell me why this mask in my movie doesn't work? The mask is in the menu. Just edit it and you should be able to find it.

http://www.rosemountata.com/filehost...RidesMovie.zip

Thanks for your time
Furry

Why Mask Does'nt Work In Button
I am making button and inside the button I am masking graphic when I check this in swf mask does'nt work why its like that?

Why Wont My Mask Work?
im attemptting to edit anothers Flash movie (hate it).

In it, there is a jpeg. to make a transition to a new jpeg, the creator took black slices and animated them moving back and forth until the old jpeg is covered in black, then fades in a new jpeg. the client wants the black slices to actually be the new jpeg (in slices) until it covers the old jpeg, eliminating the black altogther.

i think, no problem! so, i take the black slices in several layers, make them a separate clip, bring them back in as one clip, and drop in the new jpeg underneath that layer... then i choose the black slice movie to behave as a mask, assuming it will now reveal the new jpeg in the moving slices, right!

wrong! nothing happens. kaput. however, if i create a new movie altogether, and cut and paste these 2 layers in a new movie, testing it shows it working perfectly... however it will not run in the pre-existing movie.

does this make sense to anyone? im pulling my hair out.

Gradient Mask Won't Work
I have a logo in PNG format that I have imported into MX. I made the PNG a symbol and then created a new layer above it that was a block with a gradient with alpha, similar to the tutorial here: http://www.newtutorials.com/cool-masking-effect.htm

This will not work for me. It always just works as a regular mask with sharp edges. Any help would be greatly apprecaited. I have went through about 4 tutorials for this and it just won't work.

Got Xml And Duplicate To Work, But I Cant Mask It?
can any one help, im loading images dynamically from an xml file. i now want to mask the duplicated movieclip holders, but it doesn't seem to want to with movieclip.setMask(mask_mc);

any ideas?

cheers

ps code ->


Code:
myxml = new XML();
myxml.ignoreWhite = true;
var imgURL:Array = new Array();
var path:String = "";
var i:Number = -1;
var xmlWidth;
var imgWidth = _root.holder_mc._x;
myxml.onLoad = function(sucess) {
if (sucess) {
_global.numPics = myxml.firstChild.childNodes[0].attributes.numImgs;
_global.numPics = Number(_global.numPics);
while (++i<_global.numPics) {

xmlWidth = myxml.firstChild.childNodes[0].childNodes[i].attributes.Width;
xmlWidth = Number(xmlWidth);

newName = "item" + i;

holder_mc.duplicateMovieClip(newName,i);

_root[newName]._x = imgWidth;

imgURL[i] = myxml.firstChild.childNodes[0].childNodes[i].attributes.imgURL;
Name = myxml.firstChild.childNodes[0].childNodes[i];
_root[newName].loadMovie(imgURL[i]);

_root[newName].setMask(mask_mc); // here the set mask bit

Text.text = Name;
imgWidth = imgWidth + xmlWidth + 30;

}

}


}


myxml.load("booknums.xml");

Dynamic Mask Won't Work
this is really killing me, please help...

I have an external xml file in which has 3 attributes: 1) thumb; 2) nav (for nav button label); 3) url;

I have already successfully fetched the "nav" and "thumb" data from xml and line them up vertically the way I want on the stage. Now I want to setup a mask for those thumb movie clips (namly "thumb0", "thumb1", "thumb2" ...), so that when users rollover the nav, the mask will follow the _ymouse and also show the corresponding masked thumb movie clip.

my old flash site does exactly the same thing, but I did that the extremely silly way, no xml, no dynamic mask, everything is hardcoded with some simple equations.

Here is the link: http://beta.keyframe1.com (after loaded, just click on "4", then load, then rollOver, you can see the exact masked-follow-mouse-thumbnail effect I am talking about.

How do I achieve that using xml?

Blow is the code:


Code:
var menut:Number = 30;
var menul:Number = 300;
var home:MovieClip = this;
var mlh:Number = 25;
var tlh:Number = 60;
var speed:Number = 7;

//xml
var myx:XML = new XML();
myx.ignoreWhite = true;
myx.onLoad = function()
{
var nodes = this.firstChild.childNodes;
numMenu = nodes.length;
for(var i=0; i<numMenu; i++)
{
//create thumbnail holder clips
var thumb = home.createEmptyMovieClip("thumb" + i, i+1);
thumb.moveTo(0, 0);
thumb.lineStyle(1, 0xcccccc, 100);
thumb.beginFill(0xcccccc,100);
thumb.lineTo(50, 0);
thumb.lineTo(50, 50);
thumb.lineTo(0, 50);
thumb.lineTo(0, 0);
thumb.endFill();
thumb._x = menul - 70;
thumb._y = menut + (tlh * i);
thumb.loadMovie(nodes[i].attributes.thumb);

//create masks
var mask:MovieClip = home.createEmptyMovieClip("myMask" + i, i+100);
mask.moveTo(0, 0);
mask.lineStyle(1, 0xcccccc, 100);
mask.beginFill(0xcccccc, 100);
mask.lineTo(50, 0);
mask.lineTo(50, 50);
mask.lineTo(0, 50);
mask.lineTo(0, 0);
mask.endFill();
mask._x = menul - 70;
mask._y = menut + (tlh * i);

//mask them (but won't work)
eval("thumb" + i).setMask("myMask" + i);

//create nav label clips
var menu = home.createEmptyMovieClip("menu" + i, i+20);
menu._x = menul;
menu._y = menut + (mlh * i);
menu.moveTo(menul, menut);
menu.createTextField("btxt", 0, 0, 0, 150, 600);
menu.btxt.html = true;
menu.btxt.wordWrap = true;
menu.btxt.text = (nodes[i].attributes.nav);
btntf = new TextFormat();
btntf.color = 0x666666;
btntf.font = "verdana";
btntf.leading = 10;
btntf.size = 10;
menu.btxt.setTextFormat(btntf);

}
}
myx.load("xmlMenu.xml")
I didn't add any rollOver actions to teh nav since the mask can't even show up.

Thanks a lot for your help.


- mark

Dynamic Mask Won't Work
this is really killing me, please help...

I have an external xml file in which has 3 attributes: 1) thumb; 2) nav (for nav button label); 3) url;

I have already successfully fetched the "nav" and "thumb" data from xml and line them up vertically the way I want on the stage. Now I want to setup a mask for those thumb movie clips (namly "thumb0", "thumb1", "thumb2" ...), so that when users rollover the nav, the mask will follow the _ymouse and also show the corresponding masked thumb movie clip.

my old flash site does exactly the same thing, but I did that the extremely silly way, no xml, no dynamic mask, everything is hardcoded with some simple equations.

Here is the link: http://beta.keyframe1.com (after loaded, just click on "4", then load, then rollOver, you can see the exact masked-follow-mouse-thumbnail effect I am talking about.

How do I achieve that using xml?

Blow is the code:


Code:
var menut:Number = 30;
var menul:Number = 300;
var home:MovieClip = this;
var mlh:Number = 25;
var tlh:Number = 60;
var speed:Number = 7;

//xml
var myx:XML = new XML();
myx.ignoreWhite = true;
myx.onLoad = function()
{
var nodes = this.firstChild.childNodes;
numMenu = nodes.length;
for(var i=0; i<numMenu; i++)
{
//create thumbnail holder clips
var thumb = home.createEmptyMovieClip("thumb" + i, i+1);
thumb.moveTo(0, 0);
thumb.lineStyle(1, 0xcccccc, 100);
thumb.beginFill(0xcccccc,100);
thumb.lineTo(50, 0);
thumb.lineTo(50, 50);
thumb.lineTo(0, 50);
thumb.lineTo(0, 0);
thumb.endFill();
thumb._x = menul - 70;
thumb._y = menut + (tlh * i);
thumb.loadMovie(nodes[i].attributes.thumb);

//create masks
var mask:MovieClip = home.createEmptyMovieClip("myMask" + i, i+100);
mask.moveTo(0, 0);
mask.lineStyle(1, 0xcccccc, 100);
mask.beginFill(0xcccccc, 100);
mask.lineTo(50, 0);
mask.lineTo(50, 50);
mask.lineTo(0, 50);
mask.lineTo(0, 0);
mask.endFill();
mask._x = menul - 70;
mask._y = menut + (tlh * i);

//mask them (but won't work)
eval("thumb" + i).setMask("myMask" + i);

//create nav label clips
var menu = home.createEmptyMovieClip("menu" + i, i+20);
menu._x = menul;
menu._y = menut + (mlh * i);
menu.moveTo(menul, menut);
menu.createTextField("btxt", 0, 0, 0, 150, 600);
menu.btxt.html = true;
menu.btxt.wordWrap = true;
menu.btxt.text = (nodes[i].attributes.nav);
btntf = new TextFormat();
btntf.color = 0x666666;
btntf.font = "verdana";
btntf.leading = 10;
btntf.size = 10;
menu.btxt.setTextFormat(btntf);

}
}
myx.load("xmlMenu.xml")
I didn't add any rollOver actions to teh nav since the mask can't even show up.

Thanks a lot for your help.


- mark

Mask Doesn't Work
I'm afraid I might have problems explaining my problem, but I'll try:

I've created a mask in PS as seen here:
PIC1

When importing it to flash I can get everything to appear right when on the stage:
PIC2

BUT, when I play the movie, the mask-layer is completely gone...:
PIC3


Any ideas as to why this happens?

Hope you can help!

brgds,
Lars

9scale Will Not Work With Mask
Hi all
been trying to use the 9scale feature on a moviclip that change its size
according to an image being loaded
and then setting it as a mask to the content

the clip 9scale feature works as expected
as long as it's not a mask

did any of you tried any of the sort ?

for example
a gallery
loading an external image into a clip
i want the frame of the image to be a rounded edges rectangle
therefore i use a clip to set the mask
which suppose to scale itself according to the image being loaded
9scale will not work niether with a ui layer mask
nor with a setMask( ) unfortunatly
here is the code
on the stage are the clips
set to 9scale mode in the properties via the library

thanks
yariv


//set width according to the image loaded
//setMask doesn't work
var mcl:MovieClipLoader = new MovieClipLoader();
var l:Object = new Object()
l.onLoadInit = function(target:MovieClip) {
//trace(target._width)
target._parent.bg_mc._width = target._width + 15;
target._parent.mask_mc._width = target._width ;
target.setMask(target._parent.mask_mc)
}
mcl.addListener(l)
mcl.loadClip("collaborate.jpg",container_mc)

How Do You Mask Line Work...
just wondering how to mask line work where it looks as if the art is being "drawn" or "painted" out?

Dynamic Mask Won't Work
this is really killing me, please help...

I have an external xml file in which has 3 attributes: 1) thumb; 2) nav (for nav button label); 3) url;

I have already successfully fetched the "nav" and "thumb" data from xml and line them up vertically the way I want on the stage. Now I want to setup a mask for those thumb movie clips (namly "thumb0", "thumb1", "thumb2" ...), so that when users rollover the nav, the mask will follow the _ymouse and also show the corresponding masked thumb movie clip.

my old flash site does exactly the same thing, but I did that the extremely silly way, no xml, no dynamic mask, everything is hardcoded with some simple equations.

Here is the link: http://beta.keyframe1.com (after loaded, just click on "4", then load, then rollOver, you can see the exact masked-follow-mouse-thumbnail effect I am talking about.

How do I achieve that using xml?

Blow is the code:

Code:

var menut:Number = 30;
var menul:Number = 300;
var home:MovieClip = this;
var mlh:Number = 25;
var tlh:Number = 60;
var speed:Number = 7;

//xml
var myx:XML = new XML();
myx.ignoreWhite = true;
myx.onLoad = function()
{
        var nodes = this.firstChild.childNodes;
        numMenu = nodes.length;
        for(var i=0; i<numMenu; i++)
        {
                //create thumbnail holder clips
                var thumb = home.createEmptyMovieClip("thumb" + i, i+1);
                thumb.moveTo(0, 0);
                thumb.lineStyle(1, 0xcccccc, 100);
                thumb.beginFill(0xcccccc,100);
                thumb.lineTo(50, 0);
                thumb.lineTo(50, 50);
                thumb.lineTo(0, 50);
                thumb.lineTo(0, 0);
                thumb.endFill();
                thumb._x = menul - 70;
                thumb._y = menut + (tlh * i);
                thumb.loadMovie(nodes[i].attributes.thumb);
               
                //create masks
                var mask:MovieClip = home.createEmptyMovieClip("myMask" + i, i+100);
                mask.moveTo(0, 0);
                mask.lineStyle(1, 0xcccccc, 100);
                mask.beginFill(0xcccccc, 100);
                mask.lineTo(50, 0);
                mask.lineTo(50, 50);
                mask.lineTo(0, 50);
                mask.lineTo(0, 0);
                mask.endFill();
                mask._x = menul - 70;
                mask._y = menut + (tlh * i);
               
                //mask them (but won't work)
                eval("thumb" + i).setMask("myMask" + i);
               
                //create nav label clips
                var menu = home.createEmptyMovieClip("menu" + i, i+20);
                menu._x = menul;
                menu._y = menut + (mlh * i);
                menu.moveTo(menul, menut);
                menu.createTextField("btxt", 0, 0, 0, 150, 600);
                menu.btxt.html = true;
                menu.btxt.wordWrap = true;
                menu.btxt.text = (nodes[i].attributes.nav);
                btntf = new TextFormat();
                btntf.color = 0x666666;
                btntf.font = "verdana";
                btntf.leading = 10;
                btntf.size = 10;
                menu.btxt.setTextFormat(btntf);
               
        }
}
myx.load("xmlMenu.xml")

I didn't add any rollOver actions to teh nav since the mask can't even show up.

Thanks a lot for your help.


- mark

Mask Within Button Doesn't Work...
Hi,
my first post and I guess this question has been answered many times before... so thanks for your patience!

I want to use parts of images as buttons. Masking those parts I want works fine but as soon as I convert the symbols (combined mask and image) into buttons - the masks don't work anymore when I test the movie - all I see is the black mask appearing over the larger image below.

Got me stumped!

Thanks

Why Doesn't The Mask Within This Button Work?
Hi,

Why doesn't the mask within this button work? (See attached). Also, how can I keep the movie consistant when you roll the mouse over it?

Thanks for your help.

I'm using Flash 5.

Blastbum

Why Layer Mask Is Not Work With Line Obj. ?
Why layer mask is not work with line object. ?
I try to use rectangle line in mask layer but It didn't work.
It can't mask anything in masked layer.

please help me

Mask Doesn't Work In Button
I am not exactly new to Flash, although I am still a very basic user. I understand how masks work. I have successfully used masks in other movies. But I can't figure this out...

I have a JPEG image that I want to appear on mouse over. My button has four layers. (from the bottom up)
Layer one is the frame of the button (rounded edges) and the up state background.
Layer 2, up=white shape; over=jpeg image (with square edges, that I need to round off); down=same as over
Layer 3, up=nothing, over=mask shape(solid, no lines); down=same as over
Layer 4 is the text label for the button

Both layers 2 and 3 are visible and locked. the layers reflect the appearance of having a mask applied (the layer has a maks icon). AND...it looks like the mask is working in the editing mode.

When I export the SWF, the "over" state of the button reveals the edges of the image (bad, because the edges are outside of the mask) and the mask becomes visible. I know this because the mask shape is a different color than my button background.

It is as if the masking function is disabled inside the button.

If anybody has a suggestion, it would be greatly appreciated.

Thanks!

Mask Won't Work When Loading External Jpg?
i'm loading jpgs from a text file into a movie clip but want to have it appear by the mask layer animation. won't work though. i'm stumped.

frame 1
loadVariablesNum("image.txt", 4)

frame 3
if (EOF != undefined) {
howMany = Number(howMany);
// pick random number
ran = Math.round(Math.random()*howMany);
// pick image
image.loadMovie("image"+ran+".jpg", 0);
} else {
gotoAndPlay (2);
}

in my masked layer i have an empty movie clip (image) which the jpg gets loaded into.

so i would imagine it would load that random image into the layer mask, and the corresponding mask would be applied to the loaded image, correct?

it doesn't though it just loads the image and it appears, without the masked animation.

any thoughts?
any other way around this?

thanks for your time and help.

Buttons Within A Mask Wont Work?
I have a masked layer and within that i have some buttons to direct it to another scene. How come buttons don't work within a masked layer? Any solutions?

thanks for all your help

Make This Mask Work...(or Tell Me Why It Wont)
LOL..the title says it all...


I am posting a demo file stripped down for anyone to look at..

I want to put a mask either in the _applicationX clip on the maskTest layer (masking the contentClip) under it..

or inside of the contentClip, on the maskTest layer.., hence masking the faceContainer clip under it...

can ANYONE get it to work.. and if not..what is wrong?


her is brief summary [pasted form old posts, that no-one tried to answer]



I am trying to use this method here:
http://www.adobe.com/cfusion/webforu...359546a572e3e3

to create an inversed mask of the shape I have drawn (lineTo) inside a movieClip..

my clip layout/nesting is as follows:

parent.parent clip (contentContainer)
---parent clip (faceContainer)--
-----lineContainer (holds the shape/object Im using for my source of the inverse mask
-----maskContainer (empty clip to hold the dynamically created clip from the inverse mask method above)
-----imageContainer (the place where the dynamically loaded image gets loaded into, and is 'masked' by the inversedMask method)

now this all works fine.. except I want to add a mask to the parent clip thats holding these 3 nested clips...(faceContainer).. or even to the parent clip of that (contentContainer)..

but when I do so.. and then invoke the inversedMask() method from above,...the whole imageContainer goes blank...

now since the only REAL masking is the maskContainer, masking the imageContainer.. why cant I add a mask manualy or through AS to the faceContainer or the contentContainer clips?

I cant seem to figure it out...

any ideas or suggestion is helpful..

this 'IS' AS2 by the way...

thanks

Shy Shining Mask Doesn't Work ?
Hi,

I don't understand why my shining effect on my text doesn't work...

see picture in attachment.

1) I applied a mask to the text.
2) The text layer is above the moving shape layer

Thanks

How To Make Attachmovie Work With Mask
I am working on one movie that attaching moive to the main time line, but when I add the mask on the top of the attached moive, it does not show up. Do anybody know the reason? Will it be the attached moive always on the top of everything?


Thanks in advance.

Any Idea Why My Mask Doesn't Work?
Its just a giant black picture frame shaped jpeg. I put it as the very bottom layer and set it as a mask by right clicking that layer in the layers window but some of my pictures still came through it as it went through the time line. So I Alt +click the mask layer and drug it above the layer I wanted to be masked off and when I move the time line manually it masks off the picture perfectly. But for some unknown reason it won't mask correctly when I preview it as a flash file.

Mask Doesn't Work When Exported? Please Help
Hi guys,

I have a big problem.. I've done this super long animation and all has been well untill i exported it. The masking worked fine when i preview it by playing the playerhead. But as a swf, the mask just doesn't show up. The masked area and the masked thing just "disappears", a blank space replaces the images. This is really fustrating as i have done masking before and this had not happened before. I am hoping that someone has encountered this "bug" before and could tell me how to solve it. I really don't wish to re-do the whole animation again as it will take a bloody long time. When i view the animation with my playhead, it still works and i can see the masking done.. Just when exported, it doesn't.. =[

Many thanks in advance!

Movieclip Button Does Not Work With Mask
Not very good at AS, so I am looking for help with a small problem. I have a movieclip that i have incorperated a "rewind" script from kirupa. My problem is that my MC button has a mask and does not respond due to the mask. Does anyone have an alternative solution that would allow my rollout by rewinding the timeline for a smooth transition on rollout. Thanks for any help...

Mask Doesn't Work All The Time
Hi,

I have encountered this weird problem that my mask sometimes work and sometimes
doesn't. I'm using an animated movieclip, then cache as bitmap. I tried a lot of ways to
see what's wrong, but I still couldn't find out the problem. Here's my code, thanks

I'll talk a little bit about my code,

I added a loader to the stage

Code:
addChild(animcontent2);
maskfunc1(animcontent2);
After loaded, the mask is triggered. The thing is that I have a button that reloads the loader
every time when someone clicks on it, but the mask doesn't show every time, it seems pretty
random....


Code:
private function maskfunc1(aa):void {
aa.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, loadProgress);
aa.contentLoaderInfo.addEventListener(Event.COMPLETE, loadComplete);

}

private function loadProgress(e:ProgressEvent):void {
var percent:Number = e.bytesLoaded/e.bytesTotal;
per.visible = true;
per.text = Math.ceil(percent * 100).toString();

}

private function loadComplete(e:Event):void {
per.visible = false;
mask1.gotoAndPlay(1);
mask1.cacheAsBitmap = true;
e.target.loader.cacheAsBitmap = true;
e.target.loader.mask=mask1;
}
thanks again!

Using Imported Vectors As A Mask Doesn't Work
Here's the problem,

I have a group of vectors in Adobe Illustrator, I imported them in Flash MX (just copy-paste).

I can scale them and more, so that's not the problem, the problem is I want to use all those vecors as one mask. That doesn't work, only one of those grouped vectors (they're on one layer) is used as a mask.

Someone knows a solution?

Thanks in advance.

Greetz,
BruteD

Making A Mask Inside A Button Work
I created this fun little sound on and off button, but when i render it out, the little wavey thingies move substatially to the left. This is interesting because the button looks just fine in flash.

Any help here would be just awesome. thanks.

Mask Doesn't Work While Testing Movie?
i seem to be having an issue where my mask will functin inside my flash project, but once i try to test my movie, it no longer functions

i am masking a jpeg as well as a transparent object imported from illustrator... any ideas what would cause this?

Mask Doesn't Work With Desired Font
I have a postscript font which I would like to use for my scrolling text box. I have an up and down arrow buttons with AS like this:
on (press) {
mcText.onEnterFrame = function() {
if (this._y>-500) {
this._y -= 10;
}
};
}
on (release) {
mcText.onEnterFrame = null;
}

I have tried dynamic, static settings but the only way I can get the text into the mask is by breaking apart the font. Do not really want to break apart because this increases the size of the file. I can do this dynamically with a device font but want to use a better typographical approach.

Anyone have any clues for solving this?

Your help is most appreciated,
Gaz

Image Transition W/ Mask Won't Work If Loaded Into MC
I have a main movie that I would like to load an image transition effect into. I have used a movie clip to load it. It seems to work fine if i play the swf on its own, but once I load it into a movie clip the transition no longer plays. I also tried to load it into levels but i get the same problem. The transition uses a mask and it seems like this is the problem but I can't seem to figure it out.

This is the link to the transition the way it should look:
http://creativewedsites.com/image_effect.swf

when it gets loaded into a movei clip the masking part doesnt play and you just see the images go by without any effect. Here is the code for the effect if it helps. Thanks in advance if anyone can help.


//Create the picMask
_root/attachMovie("picMc", "picMask", 1000);
picMask._x = 215;
picMask._y = 129;

//Create the picBg which role as the background image.so called "preference object"
_root.attachMovie("picMc", "picBg", 500);
picBg._x = 215;
picBg._y = 129;

//Create the Mask
_root.attachMovie("maskMC", "myMask", 2000);
myMask._x = 215;
myMask._y = 129;
_root.attachMovie("bgMask", "bgMask", 700);
bgMask._x = 215;
bgMask._y = 129;

//Do the Mask job of setting picMask to Mask.
picMask.setMask("myMask");
picBg.setMask("bgMask");

//Create the animation pic loction array
picLocArr = [-2500, -1600, -2500, -690];

//animation MC of pic.
onEnterFrame = function () {
with (mode) {
mode = myMask._currentFrame;
if (myMask._currentFrame == 5) {
myMask.gotoAndStop(1);
}
}
if (picPlay != false) {
// trace(Math.abs(picLocArr[selectPicNum-1]-picMask._x));
picMask._x += (picLocArr[selectPicNum-1]-picMask._x)/6;
picBg._x += (picLocArr[selectPicNum-1]-picBg._x)/4.2;
if (Math.abs(picLocArr[selectPicNum-1]-picMask._x)<0.2) {
picMask._x = picLocArr[selectPicNum-1];
picPlay = false;
}
// end if
// trace(Math.abs(picLocArr[selectPicNum-1]-picMask._x));
}
// end if
};
//change pattern of mask.
mode.onPress = function() {
mode._x++;
mode._y++;
myMask.nextFrame();
};
mode.onRelease = function() {
mode._x--;
mode._y--;
};
//init;
var selectPicNum = 1;
var selectedPicNum = 1;
var picPlay = false;
contour.swapDepths(5000);

Mask In Attached Linkage Doesn't Work?
I'm dynamically attaching a movieclip linkage to my root timeline. The linkage has two layers inside -- a graphic shape mask and an empty movieclip for loading images. The empty movieclip is masked by the graphic shape mask.

I'm using a MovieClipLoader object to load and manage the preloader for the empty movieclip when it loads images.

Why does the mask sometimes work and sometimes not? Would the image type have anything to do with it? Or is it something to do with the act of attaching the linkage and then loading images into the empty movieclip contained therein?

Thanks,
IronChefMorimoto

Mask Doesn't Work With Desired Font
I have a postscript font which I would like to use for my scrolling text box. I have an up and down arrow buttons with AS like this:
on (press) {
mcText.onEnterFrame = function() {
if (this._y>-500) {
this._y -= 10;
}
};
}
on (release) {
mcText.onEnterFrame = null;
}

I have tried dynamic, static settings but the only way I can get the text into the mask is by breaking apart the font. Do not really want to break apart because this increases the size of the file. I can do this dynamically with a device font but want to use a better typographical approach.

Anyone have any clues for solving this?

Your help is most appreciated,
Gaz

Mask Over A Create Empty Muvi Clip Does Not Work
why my mask does not work over emply movie clip here i'm attachjing a
fla whre image is loaded dynamically and mask does not work over this
to make this work
mak atext file with loadvariables.txt


and past this



content=welcome to this site.Here is a message from your friend.Scroll the bar to read the message if the text is more.Get in touch wiht old friends and make new. The world is a happy place to live in. Enjoy!!!
welcome to this site.Here is a message from your friend.Scroll the bar to read the message if the text is more.Get in touch wiht old friends and make new. The world is a happy place to live in. Enjoy!!!
welcome to this site.Here is a message from your friend.Scroll the bar to read the message if the text is more.Get in touch wiht old friends and make new. The world is a happy place to live in. Enjoy!!!


&image1=image1.jpg
&image_centre=image1.jpg

Mask Doesn't Work Properly... File Attached
I cannot get this mask to work properly. It's a simple mask with a short movie clip behind it. If you view it in flash it works fine, publish it and it's just a white screen. Can someone please tell me what I'm doing wrong here?

I'm running Flash MX. Because I've read that I should be able to mask a movie clip I thought it might be a bug in MX. So I installed MX 2004 (I've been holding off) and it still doesn't work there.

HELP: Here's Another Stupid Prob That I Don't See: Scroll Mask Don't Work [MX04]
I just don't get that a mask scroll works fine. the scroll alone works fine but when I add a mask everything disappear, I don't understand, I've done it about twenty times...but adding a mask seem so easy that I just don't know where can be the mistake. it's on the section called "nos plats" of the attached fla. Please Help....before I jump through the window.

Panchoskywalker

here's the fla

[F8] External JPG Loads Into MovieClip, But Mask Doesn't Work, JPG Not There
It's all in the title!

I'm loading a JPG into a movieclip. This movieclip has an animated mask on it.

The picture definitely loads as the preloader percentage I have is working! But when it reaches 100% and is told to start the next frame of the movieclip, the animation works (2 lines crossing paths, mask rectangle grows to show photo) there is NO PHOTO!

What should I be looking for? Can this be done in Flash 8? (Mask Moviclip with external JPG)

Urgnetly need help! Thanks!

Mask Mouse Follow Problem - Tutorial Didnt Quite Work For Me.
Hi, I want to have a mask so that when I move the mouse over an area it is illuminated (or just revealed) I've done a tutorial for it and have it half working.

would someone mind having a quick look at my file and letting me know how to get the gradient / transition to work so that its not just a circle.

This wont make a lot of sense until you see the file!

The problem is its too big! i could send it on msn to anyone who could help (my msn email is:mail@illford.fsnet.co.uk)

or I upload to an ftp? it's 1.5mb.

normally i'd paste in a link but my dns isn't working! and my deadline is tomorrow!

Edit*** I'll be awake all night! So don't wait 'til the morning!

Mask Mouse Follow Problem - Tutorial Didnt Quite Work For Me.
Hi, I want to have a mask so that when I move the mouse over an area it is illuminated (or just revealed) I've done a tutorial for it and have it half working.

would someone mind having a quick look at my file and letting me know how to get the gradient / transition to work so that its not just a circle.

This wont make a lot of sense until you see the file!

The problem is its too big! i could send it on msn to anyone who could help (my msn email is:mail@illford.fsnet.co.uk)

or I upload to an ftp? it's 1.5mb.

normally i'd paste in a link but my dns isn't working! and my deadline is tomorrow!

Edit*** I'll be awake all night! So don't wait 'til the morning!

Dynamicly Attach Picholder, Load Jpg, Create Mask: Setmask Doesn't Work (AS2)
Hi, hope anyone can help with this:

In the code below:

The library holds 2 mc's: 'thumb' and 'mask', both linked for AS.
I attach both into a grid. Works fine.
Images are loaded into the thumb-mc's (for readability I left that part of the code out.) Works fine as well.

However, the masking doesn't work. Ive tried many possible solutions, read through several forums. In most cases the masking-mc is on the stage allready. I seem to understand from some posts that what I am trying to do is not possible, but I find that hard to believe.

I guess it is a simple syntax-error.

Another thing I have trouble with (syntax-wise again): How do I access the properties fo the loaded images?

Here is the code so far:


Code:

img_Arr = new Array("1.jpg", "2.jpg", "3.jpg")

// This function builds the grid of thumbnails (40x40)
for (i=1; i<img_Arr.length+1; i++){
var tn:Number = i
var tncalc:Number = Math.floor((tn-1)/5)
var NaDepth:Number = this.getNextHighestDepth()
mc = _root.attachMovie('thumb','thumb'+i, NaDepth);
myMCL.loadClip(img_Arr[i-1], mc);
mcMask = _root.attachMovie('mask','mcMask'+i, NaDepth+1);
mc.setMask(mcMask)
mc._x = mcMask._x = tncalc * 50
mc._y = mcMask._y = (i-(tncalc*5))* 50

}
Thanks a lot in advance !!

Papermouse

Mask Layer Hides Labels, Button Text, And Selected Text For Combobox
does anyone know how to get flash to stop hiding text that resides on movie clips that have a mask layer over them?  the masks appear to work fine but hide this text and i cannot figure out how to get it to stop.

thx

=========================================
Don't sweat the petty things and don't pet the sweaty things.

Copyright © 2005-08 www.BigResource.com, All rights reserved