ActionScript 3.0 :: Playing Video With Alpha Channel - Objects Behind Clickable
Jul 30, 2011
I have a Video object which plays a video with an alpha channel. There are objects behind the Video object which I'd like to allow the user to interact with, so if someone mouses over the playing video nothing happens but if they mouse over objects in the background, something happens. Is this possible?
View 3 Replies
Similar Posts:
Jan 20, 2010
I am experimenting with video using the alpha channel capability of the FlashCS3. I followed the tutorial on the gotoandlearn website on how to create chroma keyed video. I exported an avi video file having removed the background. Ive used Flash video encoder for VP6 and flash player 8 with encode alpha channel ticked. However my swf is not showing the video, just a white blank where it should be. It puts out the audio only.
This is the log file.
FILE SUCCESSFULLY ENCODED
- Source file: C:downloadsflash greenscreenvideoscreentestalpha.avi
- Output file: C:downloadsflash greenscreenvideoscreentestalpha2.flv
- Video codec: On2 VP6
- Alpha channel encoded: yes
- Deinterlace: no
- Frame rate: 25 fps
- Key frame interval: 50 frames
- Video data rate: 40 kbps
- Width: 720 pixels
- Height: 576 pixels
- Audio codec: MPEG Layer III (MP3)
- Audio data rate: 16 kbps (mono)
- FLV duration: 00:00:10
- Encoding time: 00:01:00
View 1 Replies
May 9, 2007
I have a little video showing a text animation on a black background. The alpha channel is encoded. I want to integrate that video under flash but I want the alpha channel to be taken into account and I don't know how I can do that. After integrating the video, I get always that black background, how can I remove it?
View 4 Replies
Jul 15, 2009
How to use a video's alpha channel to define its hitspace for a button.
View 11 Replies
Mar 24, 2009
How is a movie clip programmatically alpha'd? I've tried everything in my .as script, I run the movie, and nothing happens.
View 4 Replies
Aug 8, 2011
I need to send a live streaming to Adobe Flash Media Server encoded with on2 VP6 8 bit alpha channel (chroma key) so all clients see only the speaker with no background.what hardware or software support realtime encode VP6 alpha channel
View 1 Replies
Jun 7, 2007
i can now getPixel() from a external jpg but what i finallly want to achieve, is getPixel32() the alpha value is always FF(255)
[URL] take a look on this sample~ in this sample the photo is partially transparent, i can see that in photoshop if i put my code in this file, the color picker can tell the alpha changes. that why i still think there is a chance for getting the alpha value from external .png~ just don'y know how to achieve it T_T (i've try transparent png and also alpha channel added png, doesn't work like the sample)
Code:
import flash.display.BitmapData;
import flash.geom.ColorTransform;
import flash.geom.Matrix;
[Code]....
View 2 Replies
Nov 3, 2009
I have some png images which were converted to movieclips and exported. I would like all clicks on the transparent parts of the png to be ignored by a movie clip on a closer layer and have a movie clip under the transparent parts receive the event. Is there a way to do this? When I convert the symbol to a movie clip, the authoring tool automatically puts a bounding box on it so all clicks in the bounding box are detected. I tried searching mouse events and alpha channel stuff on the forum.
View 3 Replies
Sep 24, 2009
Using Flash CS4. I have some images with transparent backgrounds that I'm putting into Flash. Placed in Flash at original size, transparency looks great. However, when I scale the images to any different size, the edges of the alpha channel get real rough, not smooth and aligned to object. I've experimented with png, targa, gif, but all seem to have this problem. Is this some issue with Flash? I don't remember seeing this problem in say Powerpoint.
View 3 Replies
Jun 25, 2011
I have this FLA with animation and when played, the animation has alpha channel. I cant understand why when I look in the library I see the frames without the alpha channel and also when I try to export/extract the image again the image dont have alpha channel. How is it that in flash this image has alpha channel and how to get it out like that into PNG? Here is the link to download the FLA:[URL]..
View 1 Replies
Nov 29, 2011
Is there any SWF to Video converters can convert flash to AVI with 32-bit RGBA transparency? Whats good?
View 3 Replies
May 6, 2010
is there a way to add alpha channel to an image that is imported to a library and doest have alpha channel? e.g if i use setPixel32 to set a pixel of an image, the alpha channel is ignored. do i have to copy the entire image data into a new bitmap or is there a better and faster way?
View 1 Replies
Dec 6, 2010
I want to check a hit test between a point and a png bitmap with an alpha channel. I know bitmaphittest is for 2 bitmaps. Hittest is for 2 bounding boxes and hittest point is for a point and shape, but it doesnt work with a alpha channeled bitmap. So what do I use to test a point against an alpha mapped bitmap?
View 6 Replies
Jun 1, 2009
When I load a PNG image onto my stage using AS3, Flash ignores its Alpha channel???
View 7 Replies
Jan 21, 2010
I am having problems dealing with the alpha channel of an image. Basically I do this:
1. I load an image (.png) and keep it in a bitmap:...
[Code]...
View 4 Replies
Nov 8, 2011
Is it possible to import a QuickTime movie with alpha channel into an FLA and have the FLA recognize the Alpha channel? When I've done this, it just shows opaque black instead of an alpha channel. I need that black to be transparent so I can see the layers below the video layer.
View 6 Replies
Sep 21, 2010
What is the best way to create a video with an alpha channel, suitable for flex/flash? Does it need to be FLV, or can it be MP4/MOV as well?
View 1 Replies
Aug 23, 2011
I have this FLV movie file that's got a premultiplied alpha channel and I want to insert it into a webpage to play as an animation, I imported it into flash and that's where I'm a bit lost as to how to make it appear transparent
The video looks to be inverted so background is black and the animation is white so if I try to publish it like that it just stays the same so it doesn't look right
View 1 Replies
Jun 21, 2010
I'm building a custom UI for a program and I'm having trouble with a mouse event on an object that is visible, but is |. Imagine the top object being a frame and the lower object being a photo. I want to detect mouse events on the photo. So what happens currently is that only mouse events on the top object are detected. Thoughts on how to get around this?
View 3 Replies
Feb 1, 2011
I want two sliders with the first I can controll the time line and with the second the alpha of an Video.
I tried this:
HTML Code:
gotoAndStop(slider.value);
video.alpha = (slider2.value / 10);
but it doesnt works.
View 1 Replies
May 14, 2009
I have a strange issue with the FLV files i imported to my site.These FLVs were imported with Alpha channels.In my site there is a button, that when its pressed for each FLV it starts playing.The Problem is after its been playing for awhile there is a strange Noise at the background that starts appearing slowly. (Please see attached file)The only code i have on each FLV is for transparety and a Loop (Plaese see below):
onClipEvent (load) {
this._alpha = 0;
this.dir = -1;
[code].....
View 1 Replies
Jul 25, 2011
I'm trying to import an image and assign it to a Loader object, which works just fine, though I want to use the PNGEncoder rather than a the JPGEncoder, because if the source image has an alpha channel (transparency) I want that data preserved. The code, or the encoder, or something is preventing or deleting the alpha channel data. What should be transparent is showing as white.
[Code]....
View 2 Replies
Oct 17, 2011
I'm trying to accomplish a similar effect as seen on :[URL].. I suspect its just perlin noise displacement with a loop on the DisplacementMapFilter to decrease/increase the distortion over time as well as an alpha tween. I have been able to spy that they are using caurina tweener, which isn't of interest to me.
Its the principle I'm after, not a copy of their effect. I'm trying to assign an alpha value to say, the White/Black area of a PerlinNoise generated Bitmap. Where the White would be 0% and the dark 100%. And have that White value increase over time so that the entire image, the filter is applied to, gradually fades into view.
View 2 Replies
Jan 10, 2011
On my stage I have 2 empty MC holders, each of them in a seperate layer. In the bottom mc holder called 'map' a map image is loaded from my XML file using MovieClipLoader. This works fine.
What I want to achieve is that on top of the map, 24 PNG images with Alpha channels are loaded into seperate MovieClips attached in MC holder 'projects'. For every PNG image a MovieClip from my library is attached in order to determine the hit shape of the PNG image. This works fine too!
However all of sudden my first 2 MovieClips with the PNG images in it dissapear as soon as all of the images are loaded. But when I roll over on of the other MovieClips they suddenly show up again and when rolling out they dissapear again!
It has nothing to do with my XML file nor my PNG images, because when I move my first 2 XML nodes (the ones that are dissapearing) to the end, 2 different MovieClips dissapear! It worked absolutely fine before but since I added 2 more MovieClips the problems started. It almost looks like I can't load more then 22 PNG images, but that would be extremely weird.
I tried creating the first half of the MovieClips in one MovieClip and the second half in a different MovieClip, but that doesn't change anything. But when I create the first half of the MovieClips in the _root and the second half in a MovieClip, only 1 MovieClip dissapears instead of 2!
I really don't get it. I'm totally confused and lost since I don't know what else I could try.
Here's my AS2 code:
Actionscript Code:
var pimage = new Array();var pmc = new Array();var ptitle = new Array();var phit = new Array();var ptooltip = new Array();var pmenu = new Array();var ptotal:Number;var phalf:Number;function fillProjects() { nodepath =
[Code]....
View 21 Replies
Oct 23, 2010
I tried to playing around with the augmented reality. Therefore I watched the tutorial (http:url....) and all works like a charme to me. I replaced the kramer.m4v with my own video. It works perfectly.But I want to have my own video on a transparent layer.So that I can see myself not within the background of my video.Therefore I did a video on a greenscreen and keyed the background. All seems to be ok!I exported the video in an .mov with the alpha channel. It works so far, but the black background is still there if i hold the marker to the camera.so my question is: Is it not possible to export a mov with the alpha channel to let the background go away?
Any hints or workaround? I just want to have a video with me speaking on a transparent background and not with teh black background. I changed the kramer.m4v in the HELLOFlar.as to kramer.mov (its with my own video, just the name is the same) but the background isnīt gone
View 11 Replies
Sep 15, 2007
i have a problem with Interactive Image Panning & Alpha Channel Masking. without panning codes masking is working but with panning i can't see my masked area. code is below and icant find where i am wrong or what i am missing
[Code]...
View 2 Replies
Oct 23, 2010
[URL] i want the object to fade out but in the object there's a lot of overlapping pictures and each becomes half transparent. how to make the movieclip to change the alpha as it was without objects?
[Code]....
View 2 Replies
Sep 23, 2009
Does anybody know a way to detect what audio is currently being played through a sound channel. i.e. if I set a sound name to "_hitting", and attach this to "mySoundChannel", then mySoundChannel = _hitting.play(); is there any request that will tell me that "_hitting" is being played?
View 2 Replies
Jan 13, 2011
I have made a little mashup mixing maps, translate api and flickr. I get the directions from my map and make mp3 files on the fly to play them at the same time but they only play in firefox and for the rest of the browsers I only get my first sound channel with background music. can't figure out why.
[Code]...
View 1 Replies
Feb 2, 2010
I have two BitmapData objects with alpha channels. I'd like to combine them into a single one by using max(channel_image_one, channel_image_two) for each channel, including the alpha. Is there an easy way to achieve this result?
View 2 Replies