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




Masking Issues.....



Uh, I was just wondering if it's possible to to control a mask's "x" and/or "y" posistion with the mouse? I can make a regular movie clip do it, but it seems that when I make said clip a mask, I can't set the "x" or "y" property to dependant on the mouse.

All help is REALLY appreciated.

Thanx

dave



FlashKit > Flash Help > Flash Newbies
Posted on: 09-20-2001, 12:49 AM


View Complete Forum Thread with Replies

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

More Masking Issues.
hello again !

I have a text mask with a flame type effect underneath it. (I picked up the FLA (Called Blue smoke) from the movies on this site and have modified it a little )

What i am trying to do is have an outline around the text with the flame effect inside it.

How is this possible ?
Should it appear under the masked layer ?

The SWF and FLA can be found here....

http://www.gtc17.dial.pipex.com/JKB/FLASH/ODA-Flame.swf

http://www.gtc17.dial.pipex.com/JKB/FLASH/ODA-Flame.fla

(I am using the PC version of Flash MX)

Any help greatly appreciated.

Thanks

BM

Masking Issues
i have an issue here i am attempting the mask and things are not working. the mask shows ok in the timeline but when i am test movie it does not show...what is the problem????

Flash MX USER....HELP!!

Masking Issues..
I've not seen this problem before.. been using Flash for a while.

Basically, I'm making some masks inside buttons.. BUT, for some reason the PNG images won't mask on the final export, even though they look like they will in the authoring environment.

Any ideas anyone?

Masking Issues
Whenever I mask my Dynamic or Input text it doesnt show, whats the deal!! -Flash 8 pro

Masking Issues
Using AS to apply a mask to a series of thumbnail images....

thumbs_mc >> thbct_mc >> [Image Go Here, Created using createEmptyMovieClip and MCL Class]

My mask is applying fine. The issue manifests with the event handlers for the image mcs.

My mask is applied to the thbct_mc after the final thumb image loads. Each image is designed to be draggable. When I drag the images outside the area of the parent clip, the mask is physically moving (or at least appears to be)....and the images in the mask are gradually hidden as I drag my image. I've supplied partial sections of code that I would think are responsible for the issue.

If you'd like to see the problem in action because what I'm saying just doesn't make sense.... just let me know.








Attach Code

// The Masking Function -- called by my build function inside the class constructor

private function pcMWMask( ):Void {
thbmk_mc = thumbs_mc.createEmptyMovieClip("pcmask_mc", 3);
pcBox(thbmk_mc, Array(0, 0, 1000, 150), 0x000000, 50);
thbmk_mc._x = 5;
thbmk_mc._y = 30;
}

// onLoadInit function -- called by mediaLoader, a standard MovieClipLoader

public function onLoadInit( target:MovieClip ):Void {

var pcObj:PCenter = this;

var tname = target._name;
var sName = tname.slice(0, 3);

// Thumbnail Clips
if(sName == "img"){
pcDShadow( target, 2, 2 );
pcScaleImage( target, 25, 25 );
pcPlaceImage( target );

target.onPress = function() {
thumbx = this._x;
thumby = this._y;
this.startDrag(false);
}

target.onRelease = function(){
trace(this);
this.stopDrag();
var tname = this._name;
var mp = tname.slice( tname.lastIndexOf("n") + 1 );
mp *= 1;
if(eval(this._droptarget) == pcObj.fav_mc) {
pcObj.mini_mc = pcObj.favct_mc.createEmptyMovieClip("min_"+mp, pcObj.favct_mc.getNextHighestDepth());
pcObj.mediaLoader.loadClip( pcObj.imagePaths[mp], pcObj.mini_mc );
pcObj.favsNames.push( pcObj.imageNames[mp] );
this._x = thumbx;
this._y = thumby;
} else {
this._x = thumbx;
this._y = thumby;
}
}
}

// Apply The Mask
thbct_mc.setMask(thbmk_mc);
}

Masking Issues
Does anybody know why this isn't working?

Masking Issues
I want to know how it is possible to use a second moving mask at the same time as another mask. My instance is that of a spotlight effect uncovering an image as it moves past. Originally I wanted to motion guide the mask but I can't see how this is possible because the option to do so disables when you are using the layer as a mask (annoyingly).

Instead I decided to have the spotlight move past in straight lines, but I wanted more than one to do this at the same time as another mask is moving.

The mask only seems to mask the layer directly below, so if I add a second layer to mask the image layer, it doesnt work as it is above the first masking layer.

Are there ways around this?

Any help would be appreciated. Cheers

RR

Masking Issues
Does anybody know why this isn't working?

[F8] Masking Issues - Alternatives
Hello all. I'm facing a vexing problem regarding masks. It appears I'm going to need an alternative method of revealing content through a "window". I have a movie clip that contains another movie clip which has an input text box inside it.

The user can click an up or down button to scroll through the masked movie clip's contents. I've noticed that despite what I'm shown on stage, when I export to a swf, all of the text becomes invisible, and the input textbox can not be clicked inside so the user can enter their own text. I'm guessing that something about the mask is denying the user the ability to interact with it. The funny thing is, my other buttons that are behind the mask can be clicked and they will function as they should, it's only the text and text box that become invisible and inaccessable.

I posted the .swf and the .fla at

http://www.multimediablitz.com/encha...n/FLAFiles.htm

if anybody can offer their insights, or some other approach to accomplish the same goal for what I need to do, I'll be eternally grateful, this is related to a final project for a class so time is of the essence. Much thanks.

Having Masking Issues? Anyone Seen Anyting Like This Before?
Here's the scenario...

I'm building a splash page/interface for a website. The splash page was created using Actionscript 3.0 and TweenFilterLite. I'm also creating a lot of faux reflections using gradient masks. I've made a mockup you can view here. The problem is when you rollover over one of the tabs on the right and then rollover the text links to the left some of the tab reflections on the left plane almost disappear. Any ideas?

Masking Issues - Antialiasing?
Hello to whoever reads this,

I have just recently done up a simple animated logo. The logo is a representation of the "Triple Goddess" not that you all need to know that, but the idea is that the three layers of the animation are not simply one on top of the other, but interlocking so layer 2 is above layer 1 but below layer 3...

(I think I have attached the .fla for those interested)

A link to the .swf is here:
http://www.maidenenterprise.com/flashExample

THE PROBLEM

The Issue is when the animation runs there is a flickering where the mask below is travelling. I have tried changing the size of the mask but that doesn't seem the effect it at all.

Does anyone else have any idea how to fix this?

PS. Im using Flash MX 2004 Professional

Masking Issues. Wanna Read About It?
Hey guys 1st post here woo hoo!!! The flash forum on LiveJournal.com too_swf refered me here and since i found a couple of answers here of some time i wanted to join and now I have a question i didnt find previously answered. I have a movie clip that is moving accross the screen via this action script

onClipEvent (enterFrame) {
if(this._x >=-620){
this._x = this._x - 3;
}
if(this._x < -620){
this._x=800;
}
}

now when I mask the layer with the movie clip on it the whole clip disappears. I traced this._x and it is changing so the script is still running but the actual clip isnt showing anylonger. I am confused with this. I think its a stupid simple masking problem i just cant figure out. Anyhelp is worth while.

Masking Issues (visible Mask)
I've never cared enough to look it up or try to fix it before but i think it's time for me to figure it out.

When i used a mask. For example:


PHP Code:



myClip_mc.mask = someMask_mc 




I can still see my mask (barely) but it's there and it's annoying. It does it's job of masking the right stuff but i can clearly see the outline of my mask. It kinda has a stripe pattern.

Also, it only happens if i set my monitor setting to 16bit colors.It's fine in 32 bits.

Would someone tell me how to get rid of it or explain why it happens?

ScrollPane Issues: Masking, Content Overflow
I looked all around this forum about my issue. I found many topics on it (most didn't even receive one response), so that tells me it's either a known issue, or there are other variables affecting it. The main issue is using a ScrollPane component and loading different content into it (in this case my issues come up when loading images - same domain). Sometimes the scrollbar appears, sometimes not, sometimes appears and works, sometimes the image loaded overflows the boundaries of the ScrollPane (as if the masking failed).

I'm going to give two links: one link contains the main swf file that eventually loads another. example 1 You will need to click on Auctions, then go to Scheduled Auctions. There is only one auction link for now. Once you click for more information, many tabs will appear. The tabs that load external images are "floor plan", then on the next screen (right arrows flashing), the "plat map", "purchasing contract", and "directions". If you click back and forth, you will see how it fails at times (if not all).

The other link example 2 is the individual swf file that loaded into the main one mentioned above. I troublshooted enough to know it's not an AS path problem or anything like that, but I noticed this particular link will have less failures with the external images loading.

I don't know what else to say/ask because it seems to have been said/asked before, but I didn't see any resolutions. Does anyone know what might be happening or a way to correct this issue?

Masking Issue - Image 'pops' Out Of Masking
ok i been attempting to fix this tiny, but obvious glitch for hours...

3 layers on timeline

bottom layer has 6 different images at regular intervals (every 26 frames).

middle layer is masking the bottom layer. it contains a movie clip of animation of a square shrinking to basically nothing then expanding again (with a 3 frame pause before it expanding again). Basically like a shutter closing then opening.

the top layer is empty except for the action script calls in key frames at intervals to start the animation of the mask. just uses gotoAndPlay('label') to the movie clip in middle/mask layer.

PROBLEM:
The change of pictures if offset in the timeline so the change occurs during the closing of the shutter (mask hiding all of the image).
so the mask movie clip is in layer 2 frame 1.
the first image is in layer 3 frame 7.

for some reason the very first image just pops over the closed shutter i.e. it is visible even though it should hidden. The subsequent 5 image changes behave as they are supposed to.

whiskey tango foxtrot....

edit note:
this movie clips is then placed on the main time line and itself one of a few a masked layers.

Masking Tricks And Masking Designs
Hi,

I am wondering if someone could direct me to any Flash technique websites that focus solely on a variety of masking tricks and techniques. My vision is to create Flash animations that employ the same design effects as Adobe After Effects..and I've seen plenty of that on TV commercials.

So far I'm checking out Kirupa.com www.kirupa.com

Thanks! I have Flash MX

Loading Movie IsSues And Other Issues
i have a main movie and i when an name is cliked on the navigation bar i would like the new movie to load. so there are seeral issues i am having..

1. i am not sure if i am doing this correctly - i am trying to use tutorials.
2. when i load the "services" movie my text will not show up either.
3. i need help by some one that has a lot will be nice i am in a learning phase

CAN SOME ONE PLEAE HELP

THIS IS THE LINK - GIV EIT AINUTE I HAVE NOT PUT ANY PRELOADERS UP YES. I CAN SEND THE FLA FILES FOR MORE HELP

Masking Not Completely Masking
i'm masking stuff but there are some artifacts. here's a screen shot:

http://filebox.vt.edu/users/jizietz/seethroughmask.jpg

i drew red arrows pointing to the artifacts. i've got a mask over the rectangle on the left, and things are scrolling into view from right to left. unfortunately, things are showing up outside of the mask. is this because my background color isn't white? any ideas here?

Masking On Masking - A Dynamic Jpg
Hi Fk'ers.
I've got a problem.. I want to mask a a dynamic jpg, but I can't seem to make it happen.
Please help me.. Quite desperate!

Masking On Masking - Dynamic Jpg.
Hi Fk'ers.
I've got a problem.. I want to mask a a dynamic jpg, but I can't seem to make it happen.
Please help me.. Quite desperate!
I've attached the file, so it's easier to see what I mean.

Browswer Size Issues + New "FlashObject" Detection Kit Sizing Issues
Hi,

After a few years of trying to learn Flash there is one aspect that really still remains a grey area to. What size to publish a movie.

Do I look to make my movies a set size on publishing – by using “Match Movie” & if so what should that set size be – 800 x 600?

I know of 3 other ways to get round the browser size issue

1.) Use the “Stage Object” in conjunction with onResize to allow some clips to fill a screen while keeping others to a set size.
2.) Ascertain a users browsers size & direct them to an appropriate version of your site.
3.) Scale your movie according to an ascertained browser size so if the movie was designed @ 1020 x 760 & the user has an 800 x 600 you scale the main movie accordingly using x & y scale.

The problem has been somewhat complicated for me by the introduction of Geoff Stearns brilliant “FlashObject” detection kit. With that you have to specify the size of the element that the Flash movie will load into & also set a fixed size for the Flash movie. From what I can see this will cut out the option of publishing a movie @ 100% & resizing or not resizing using the stage object.

Could someone please advise me of what is best practice as far as sizing is concerned.

Loading Issues & FLV Issues
Sooo, I've finally, after fours days (including two on the weekend), managed to build a .swf that will play FLVs within the Crisp Template....however, I have come across two problems:

1. the FLVs continue to play when you click on other menu items. How can I stop the FLV from playing with a command from the _root timeline to a timeline in a completely different swf? and where would that code be placed within the menu button actionscript?

2. I'm using Actionscript 2.0 and the FLV Behaviors "Set Video List" option. The FLVs are loaded dynamically, but I only want them to load upon request, otherwise it takes 10 minutes to load the page due to the number/volume of FLVs. Is there a way to code the "ready" event handler so that it doesn't fully load? The code I currently have in is:
// Set a 'ready' event handler to load the videos
videos.ready = function( evt:Object ):Void
{
if(!this.loaded){
this.loaded = true;
for( var n=1; n<this.list.length; n++ ){
if( videos.list[n].indexOf(".flv") != -1 ){
m.activeVideoPlayerIndex = n;
m.contentPath = videos.list[n];
this.length++;
}
}
m.activeVideoPlayerIndex = 0;
}
}
m.addEventListener("ready",videos);

// End Set Videos Behavior

What needs to change to make this happen?

Please see: http://www.kimiporter.com/hydeparktest/ to witness both errors in action

Masking But How
Can u mask an object on the main timeline through a Movie clip i.e. keep an image on the main time line and get an mc place it on the main movie in a way that the image appears masked

Help With Masking
Hi,
Thanks for at least looking at this problem I am having. What I am trying to do is have 3 squares ined up vertically with a 1/4 space between them and I have a JPEG I want to move behing the squares. I dont want the squares to move just the jpeg. For the life of me I cant get this simple thing to work. Any suggestions or need more information please respond. Thanks,
Tom

MASKING?
hey everyone, alright, ive been lookin through alot of tutorials here and theyre all great, but ive noticed the word "masking". can someone explain what it is and how to do it? thx
Italian_Stallion
Peace Out
Happy Flashing

Masking
i have 5 layers with images moving (letters) and iwant them all to mask over a motion tween. i can only get the bottomlayer to mask over the flag, every layerover the first one wont work. how do i get them to all be masks?

MASKING - PLEASE HELP
I pretty much know the basics of Flash, but I have run into some problems dealing with masking. I am not even sure this is possible. Similar to strobe writing (when pictures are flashed in your text), I was wondering if you could flash pictures through a regular image, picture, or symbol? Or is it just text? What are the restrictions? Please somebody help me.

Masking Help......
ok say i have a white box with just a black border..and i wanna put a pic behind it, i know how to insert pics into a flash thing but how would i put the pic so that it is inside the box masked behind it? i have trouble with masking so could anyone pls help it would be much appreciated..john

Masking With AS
Is it possible to control a mask with actionscript?
anyone developed a technique for this..?
m

Masking
rite i'm going to go mad if i can't sort this problem out...

i'm working on my website, i've got some vector artwork that i've imported from freehand.. i'm making a button from this artwork but it needs masking. i make a mask in the button and all is fine within flash, its when i publish it that it all goes horribly wrong in the file the masked layers appear as the vector picture but where the mask is its black (the mask layer is black)and when i put the cursor over the button the 'over' state is also black where the mask should be..

can any1 shed some light on this?

thanx, anymore info needed i'm sure ur shout for it

Masking In MX
I know how to mask I have been doing it in flash 5 for ages but now I try to do the same in MX and it doesnt work.

I'm trying to make a glint like in the spot light tutorial,
shape on top text underneath. Nothing happens. Now if I reverse it. Shape on bottom, text on top it works untill I publish the movie. This is driving me crazy. Could someone help me out please.
thanks

fin.

Masking
Hi pls help.
I have a fla movie, very simple. It has a background and I am creating an animated mask above it so when it moves it reveals the background. My problem is however I want various things to happen-ie multiple animations that are masked, I can't seem to do this though. It will only let me mask the one layer above. Do I need to create a movie clip. I can't seem to get that working either.

Any help appreciated.

Thanks

Masking Help Please
Hello All,
I have not played around with masking a whole lot, but I understand the gist of it. I know you can use shapes and text to mask bitmap images and vector shapes and so on.

I am trying to mask a bitmap image with gradiated edges to make the edges looked "faded" and soft.

I have tried using the gradient tool and the soften fill edges command to fade the edges but I still get a hard edge.

Any suggestions??

Thanks,
Brian

Masking Help ?
Hi all can any one help me im trying to get the same effect or similar to the loading effect on the http://www.designreactor.com site .
iy looks like firey blury thing ant help would be useful.
Thanks

Help With Masking
Ok This has probably been asked before but here goes.

I have a graph, white lines on a black background, it starts off as 50% transparent (or alpha). As I sweep across it from left to right with a rectangular mask, I need the mask to reveal a full brightness (100% alpha) version of the graph. I suspect it isn't as simple as a single mask. Can anyone help?

Thanks a lot

Luca

MX And Masking
This is a pretty slick site: http://www.bsfllp.com/flash.htm. Does anyone have an idea of how they did it?
Is it a movie clip composed of Layer One 'TEXT' masking Layer Two 'IMAGES'. And this clip masks all else?
Thank you,
Fred

Masking
I'm having this odd and annoying problem -- I have four images, masked that animate over each other. Sounds ok, but for some reason the published movie comes out at weird opacities, sometimes its solid, sometimes it's semi-transparent. If you publish it ten times it looks ten different ways. Even the text and non-image elements are sort of ghosted. Has anyone else had this problem?

Masking
can anyone help with masking text.
every time i mask text it makes it invisble

Masking Bug?
Ehh.. I downloaded a couple of already made flash tutorial for "masking" but it wouldn't play right... The FILL is not masked even though it is checked. I'm also having problem making masks for my guestbook... it will NOT mask the freaking FILL i made...

Masking
All right, this is a simple problem.

Situation: I have 5 buttons coming from the right of the screen into the center stage. I want the buttons to show up when they are at a certain position on the stage. I put a mask where I want them displayed.

Problem: I can't get the mask to work correctly when I export the movie into a .swf file. In fact, I don't even see the buttons at all. However, it works just fine when I press "play" on the stage.

Any ideas on what I could be doing wrong?

If any of you don't mind, I would like to send someone my .fla file, it's too big to attach. I have just the buttons and the mask on there...if you're good you be able to figure it out in a synch.

Thanks.

Masking
All right, this is a simple problem.

Situation: I have 5 buttons coming from the right of the screen into the center stage. I want the buttons to show up when they are at a certain position on the stage. I put a mask where I want them displayed.

Problem: I can't get the mask to work correctly when I export the movie into a .swf file. In fact, I don't even see the buttons at all. However, it works just fine when I press "play" on the stage.

Any ideas on what I could be doing wrong?

If any of you don't mind, I would like to send someone my .fla file, it's too big to attach. I have just the buttons and the mask on there...if you're good you be able to figure it out in a synch.

Thanks.

Help With Masking
Ok i have a mask over a text in the background. It follows the mouse. But how do i make things actually show up? like this site for example: http://www.freshmedia.net/v3/frame.html
I cannot make it so the button actually shows up. It just shows up when tehres a BG but its the BG color. Do i need a black back ground PLEASE HELP lol

Masking
How Can I create a Semi Transparent Mask to overlay the main scene?

Masking Or RGB
I want a circle move over a text(symbol) and the text should change its color but just within the shape of the circle. Is it possible to do this with a mask or by changing the RGB color of the text. I really do not know how to manage this and as I am a real newby I am very grateful for any suggestions. Thanks in advance.cu.

Masking A Url
Hello,
I have a web site that has links that open in a new borwser window.
I want to have the adress bar show a different url that it does.

Is there a way to have the url masked, or chenged to something i specify.
Or, alternitively, can i have the adress bar not show at all?

Thanks
Ari

Masking ?
I have a site I have seen recently and want to know how to do the effect on the site in flash mx. The site is http://www.seanjohn.com/sj6/ enter the site and it writes out a S and a J. I want to know how to do this. I heard it is done with masking. I have looked on this site for a tutorial but none cover this. Am I wrong that this is masking? Can someone please help me out on how to do this, by a post here and include a example fla if posible.

Thanks

Masking
Hi,
I am trying to use a draggable mask that when dragged over a picture will show the masked Picture....
This is very Similar to the Magnifying Glass.. however, the Magnifying Glass Movie had one picture and I am trying to use 2 picture above an below the Masking.,....
The Mask Layer Does not move.... What Do I do??
I have attached the File... Please assist me with this...

Thank you...
Wishy

Masking
Hi,
I am trying to use a draggable mask that when dragged over a picture will show the masked Picture....
This is very Similar to the Magnifying Glass.. however, the Magnifying Glass Movie had one picture and I am trying to use 2 picture above an below the Masking.,....
The Mask Layer Does not move.... What Do I do??
Please assist me with this...
AM unable to attach the file so I have uploaded the here..
The Masking File
Thank you...
Wishy

Masking
I had downloaded the .fla file for one of the educational movies. The link for it is:
http://www.flashkit.com/movies/Anima...5164/index.php
I was trying to recreate that effect. I understand that masking is used to create the magnifying effect and I was able to achieve that. However, the smaller version is also visible when the magnifying glass passes over the stage, together with the enlarged version. Whenever, I put anything on different layers, all the layers are visible at the same time. How has the author managed to hide one of the layers, so that only one layer is visible?
Will somebody please view the movie at the above link and explain how I can do it? I had sent a mail to the author, sometime back, but received no reply. I would be grateful for any guidance.
Thanking You!

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