ActionScript 3.0 :: Converting Webcam Video To Black And White
Nov 20, 2011
I am fairly new to Actionscript, and am only customizing an existing file. I'm using jpegcam to capture webcam video, and mirror it back to the user. I would like the video to have a black and white filter added to it. I've found a few tutorials on how to do it using fl.motion.Color, but I'm using Flex SDK to do the compiling. I do not own Flash. How would I go about adding the filter in the simplest way possible without using any classes that Flex SDK doesn't include?
Is it possible to convert an image (runtime) in Actionscript 3.0 from black/white to black/*color* ...Does someone know a solution? Matrix? Blending methods maybe? Pixel bender?
i am taking video input directly input from the webcam, what i want to do is to chroma key the input and run it over another swf, but the problem is i am getting a white background after chroma keying. i have been reading many blogs about how to get it done using bitmap/pixels.but i am just an interaction designer and very bad at coding and stuff
i have and opening sequence to an HTML site, that has two sides to it. basically you have two boxes that are buttons when you click on one of the boxs they load a flash sequence that goes into one or the other side of the site, but i need one side to have a black background and the other to have a white bg. I have looked into flash sending a variable to the HTML but have no real clue as to the correct syntax.[code]
I've been searching for almost 2 hours now and I couldn't find anything interesting on google. All of the tutorials are motion tweens using the timeline, but I want to apply this effect using Actionscript 3.0 code. So does anyone know of a good tutorial or could provide sample code to get me started.
I uploaded several intro slide shows onto a black background. They work fine, but take awhile to load (once viewed and go back-they load much quicker). While waiting to load, the stage area is white. However when I created them, I made sure the stage area was black.what I might do to correct this? I just think it would look much better if everything was black until the show appearsThe shows were created in Flash CS 4(ActionScript 3.0), & the site was created in Dreamweaver CS 4.
I uploaded several intro slide shows onto a black background. They work fine, but take awhile to load (once viewed and go back-they load much quicker). While waiting to load, the stage area is white.
However when I created them, I did make sure the stage area was black.
what I might do to correct this? I just think it would look much better if everything was black until the show appears. The shows were created in Flash CS 4 (ActionScript 3.0), & the site was created in Dreamweaver CS 4.
I am looking for a script, (modes ?), pixel bender ? that allows me to convert an movieclip/image into 2 colors (black and white). I don't want grey scales, but really 2 colors only picture.
how to describe what I want, but here goes. Assume I have 3 textboxes, and I enter some colour hex code in the first one, I want to apply a black layer on top of it, and have the opacity set to 50% and get the resulting colour in the second text box. Same thing, but with white on the third one.
Let me explain: consider this image below: In Photoshop, I have the base layer which is sort of sky blue in colour. I create two layers on top of it, one with black, one with white but both have an opacity of 50%. Now, I can use the colour picker (I) to simply select the two wanted colours.
I am having to do this an insane amount of times so I was wondering if I could produce it programatically.
I know, Ideally I should have tried out something, then give out the code which isn't working.. but this has stumped me enough that I don't even know where to start. The closest thing I've seen is Kuler so I think it is possible in flash at least, but then again, I don't know where to start.
Technology is not important to me, solution is - I am most comfortable with c# (at least I like to think I am) but I am a beginner in php, flash. Jquery, I am good at it with most stuff (well, who isn't?) - Php and Flash, I learnt it as a hobby just to familiarize myself.
I'm wondering if there are any nice ways of inversing a black and white / monochrome bitmapdata in AS3 which don't involve going through and setting each pixel by pixel?
I have got one movieclip that is a square it is 20 x 20 the movieclip changes from black to white when you roll over it and remains white. The problem I have is that I need 3000 of them and putting them in a grid format so the user can create there own black and white mosaic. But when I do it only the newest square added to the stage changes colour i think i have gone down the wrong path and I've hit a dead end.
This is my code (Which im 90% is all wrong): PHP Code: stop(); var sqreArray:Array = new Array(); for (var i:int = numChildren - 0; i >= 3000; i++) { var child:DisplayObject = getChildAt(i); [Code] .....
lets sy i have a movie with a black backgound with a white dot in the center. how do i make this dot invisible then visible again sort of flashing on and off using action script. i want it to be fast by the way.
Im trying to make a 10 minute countdown with white numbers and black background. just need minutes, seconds and milliseconds. sending a fla file or in telling me the easiest way to do this. I dont need a start button or anything else, just the countdown and when time is over just the numbers as 00:00:000
I have simple black line on white. It needs to crack like a whip. And it needs to recoil nicely. I'm not sure if top-notch tweening would do the trick. Or maybe a dense 'Inverse Kinematics' bone structure. Or if actionscript is the best course. I'm using a pen-tool/bezier-curved line right now and trying to shape tween with hints? I've never been bad at math, but I'm not a programmer and it's been a while.
I have seen numerous threads talking about Adobe Media Encoder producing black bars when converting videos. Some are saying it's a bug w/ CS4, others are saying its something to do w/ non-square pixels.My dilema is, I have some .mov files created in Final Cut Pro with a 4:3 aspect in NTSC. I need to convert them to .flv so I can stream them on a website. My current settings are:
FLV - Web Large, PAL Source (I'm using PAL because it seemed to create a better quality video when I was streaming)
Export Video Export Audio On2 Codec[code]....
When I export the files and try to play them in a web flash player (480x400) I get black bars on the top and bottom. I don't really have a lot of experience doing video editing so I'm shooting in the dark here.I have adjusted a lot of the pre-mentioned settings but still no luck.
I have a bitmap and it set to black and white using a colorMatrixFilter. Im trying to create an effect that will tween the bitmap from black and white to colour.
I am trying to get a bitmap to spit out just straight black and white for blob detection purposes.. but my image processing function (below) is spitting out black and transparent instead of black and white... can someone tell me what my pee brain is doing wrong
I am trying to load a colour image and then it is changed to black and white image. Here I am using a mask. But it is not getting worked. The code that i am using for this purpose is attached following: import