mask

Working with Masks in Flash.

I'm having a hell of a time trying to get a custom mask to work on a project I'm creating. The mask I'm trying to use is applied as a pixel mask on a layer in the photoshop doc I'm working off, but I can't seem to figure out the proper way to get that layer mask imported into flash, to then compile into my .swc and be called from action...

Flash - Using a mask that is bigger than the 'maskee' layer

Hi, I am seeing some weird behavior from flash. I created a test symbol ('SquareMask') of a square with a mask layer above it. The mask layer exceeds its size like so: (green: object, yellow: mask) next object: Duplicate as the previous one, deleted the mask layer. After that I dragged both symbols into the main scene, Now inside ...

Assembly mask logic question

This is very simple, but I haven't been able to figure it out yet. This question is regarding a assembly mmx, but it's pure logic. Imagine the following scenario: MM0: 04 03 02 01 04 03 02 01 <-- input MM1: 02 02 02 02 02 02 02 02 MM2: 04 03 02 01 04 03 02 01 <-- copy of input after pcmpgtw MM0, MM1 MM0: FF FF 00 00 FF FF 00 0...

jquery plugin local variables between methods

I'm with trouble with a jquery plugin i've quickly playing around. Its fades in when a start handle event of ajax is called and stops with complete handle. Exemple: start : function (e,o) { target.mask(); target.showMaskAjax(); }, complete : function (e,o) { target.hideMaskAjax();.... }, The question is..when I fire 2 ...

How to cut a "hole" inside a rectangular Sprite to see the Sprite underneath? (ActionScript 3)

Everytime I google this question I see confusing information about masks and blends, none of which seems to directly apply to what I think should be an easy thing... There are three Sprites involved here...the lowest layer sprite is pretty much a background. I want to overlay a translucent Sprite on top of the background and then I want...

Use a CoreGraphic Stroke as Alpha Mask in iPhone App

Hi All. I'm basically looking to create something akin to a very simple version of iSteam/iFog alebit for a different purpose. In effect there will be two images, one of the subject matter and the other an image of condensation or some such. The user can then wipe their finger over the screen and it will "cut" that from the top layer to ...

Flash inverted mask

I've been looking for a simple way to invert a mask in flash. Its just amazing how it doesn't have this feature. I just really need to paint shape and whatever is below (in layers) wont show up. Any suggestions? ...

Win Forms text box masks

Hi everyone How can I put mask on win form text box so that it allows only numbers? And how it works for another masks data, phone zip etc. I am using Visual Studio 2008 C# Thanks. ...

Masking a CALayer - iPhone

I'm creating a custom on / off toggle switch for the iPhone (similar to the standard switch) and i'm at the point where I'm setting the mask of the slider, but calling [[myView layer] setMask:maskLayer] sets the position of the mask layer relative to the layer it's masking, not relative to the container layer of the mask layer. For this...

Programatically Rewinding Movie Clip Removes Gradient Mask (FlashCS4/AS3)

i'm trying to created a auto-rewind movie using a gradient mask in Flash CS4 using AS3. the only problem i'm having is when the movie clip reaches the end of the time line, the maskingLayerMC looses it's gradient. so while the movie rewinds, the maskingLayer has no gradient. it regains it's gradient when the playhead reaches the first...

What is the Oracle date formatting mask for time zones?

I need to insert a date format from an outside source which includes the three letter code for time zone, but the TZD formatting mask does not seem to work... insert into blah values (to_date('Thu, 18 Feb 2010 08:37:00 EST','Dy, DD Mon YYYY HH24:MI:SS TZD')); ORA-01821: date format not recognized If I remove the "TZD"... insert ...

Make mask visible in ActionScript 3.0

I have Loader object containing loaded swf. I don't know how the shape of this swf looks like - it's not necessarily rectangular. I want to add some light reflection on it. I need to mask this reflection with Loader, but in the same time I need this Loader to be visible. I don't want to load swf twice, because it may contain some dyna...

How do I clip or change alpha of an image (pixels) in Quartz?

Hi, I'm working on making an iPhone App where there are two ImageViews and when you touch the top one, wherever you tapped, the bottom one shows instead. Basically what I want to do is cut an ellipse/roundedrect out of an image. To do this I was thinking on either clipping the image, or changing the alpha pixels in the rect to zero. I a...

Blind down animation on CALayer using a mask

Hi there, I want to create a "blind down" effect on an image so the image "blinds down" and appears. Sort of like this JavaScript transition: http://wiki.github.com/madrobby/scriptaculous/effect-blinddown The mask is setup correctly because if I manually change it's position it hides and reveals the image behind it, but it doesn't ani...

How to Define Custom MaskCharacter for MaskFormatter

Hi, I want to define a custom mask character to use with MaskFormatter. Lets say the letter B will correspond to the numbers 1, 2, 3. For instance when I define a mask format like "B.##", it should accept only 1, 2 and 3 for first digit. How can I achieve this. Thanks. ...

Flash AS3 boids mask

How to use these class for a mask on bitmap : http://blog.soulwire.co.uk/laboratory/flash/as3-flocking-steering-behaviors I want use the shape to mask a bitmap. ...

How to mask credit card numbers in log files with Log4J?

Our web app needs to be made PCI compliant, i.e. it must not store any credit card numbers. The app is a frontend to a mainframe system which handles the CC numbers internally and - as we have just found out - occasionally still spits out a full CC number on one of its response screens. By default, the whole content of these responses ar...

jQuery input mask length

Hey all, I have an input field and I want to limit it to alphanumerical (A-Z, a-z, 0-9) characters only, with a MINIMUM field length of 5, and a maximum length of up to 15 characters total. Does anyone know how I can do this using jQuery? I'm trying to use the jQuery input mask by digitalBush - http://digitalbush.com/projects/masked-i...

.Net - using FileIOPermission with mask in file name

Hello! I would like to apply FileIOPermission on set of files using mask in file name, ex. on all txt files in folder C:\TMP: [type: FileIOPermission(SecurityAction.PermitOnly, Read = @"C:\TMP\*.txt")] class SomeClass { static void testPermissions() { Console.WriteLine("allowed action"); File.OpenRead(@"C:\TMP...

Combine Text with a Draggable Mask AS3.0

So I have an image that is the size of the stage: img_mc. Then I drew a small rectangle: mask_mc. The idea is to make a "window" of the small rectangle, view img_mc through the window, and be able to drag the window around. The following code works fine but I want to add text to the mask - "Drag Me!" or whatever. But if I group text wi...