ActionScript 2.0 :: Add An Overlay Graphic To A MovieClip?

Dec 8, 2009

is there any way to add an overlay image dynamically over a MovieClip? Sort of like a watermark... except that I'm not trying to make a watermark.Let me explain: I'm trying to program a gallery of videos that will be loaded dynamically through XML. Each video will come with a JPG of the same size, which will be the poster frame for said video (and will also be loaded via XML). The user will see a scrollable horizontal strip of "videos" (actually the pictures), and when he clicks on one of them, the poster frame will disappear (_visible=false) and the FLV player underneath will start playing the chosen video.

So far so good. I load the pictures via XML and put each of them in a MovieClip. I distribute the MovieClips in an horizontal strip. I add to each of them an event handler so that they start playing the video when pressed. The only thing that I don't know how to do is: how do I add to each of the MovieClips a semitransparent "Play" button? They are generated dynamically, and I don't know how many of them (i.e. how many videos) will be there beforehand, so I can't simply add them in a layer on the Stage;

View 7 Replies


Similar Posts:


ActionScript 3.0 :: Create Graphic Overlay For Video?

Dec 13, 2011

I need assistance creating an graphic overlay that is a movieclip which is played simultaneously with the video, however the overlay is supposed to be hidden when the video is being played and should be visible when the video is paused.[code]...

View 0 Replies

ActionScript 3.0 :: Aligning And Overlay Of Movieclip

Apr 28, 2009

I'm just trying to load a videostream, align in the center of the stage and put it on the first visible layer.This code just loads it but align it on top-left of stage and under some layers that forbid it to be seen.[code]

View 5 Replies

Overlay Movieclip On Fullscreen Flvplayback

Jul 22, 2009

I'm coding a flash video jukebox. In this movie there will be a small box with subtitles for the flv playing at the moment. The problem is that, when I press the fullscreen button, the text overlay dissapears. I think that what is really happening is that the overlay is "hiding" at the back of the video.
 
Is there any way to put this overlay on top of the video so it remains even if I press the "fullscreen" button on the flvplayback component?

View 1 Replies

Flash :: Overlay Text Onto A Movieclip Object?

Mar 13, 2011

flash, actionscript, and the class/method/static/instance paradigm. I do have one class that I use, it loads a png file and adds it to the stage, I can then manipulate it with the mouse. What I want to do is add some text on top of the png file. When the user clicks and drags the png file around, I want the text to stick with it, basically make it part of the png, overlay it, combine them, group them, whatever.Here is the class I am using to load the png.

package {
import flash.display.MovieClip;
import flash.display.Loader;

[code]......

View 2 Replies

Two Movieclips Ignore Each Other And Only Apply Blend / Overlay To Background Movieclip?

Sep 17, 2009

I am using CS3, AS2.I have a background image that I am allowing the user to select multiple layers over the top of (layer 1: new pattern, Layer 2: design) and the movieclips have the Blend: Overlay applied to them. My problem is when they select a second option (or a second overlay is applied to the background) the overlay shows the layer belows pattern in the new layer.My question is, is there a way to have the the two movieclips ignore each other and only apply the Blend:Overlay to the background movieclip?

View 3 Replies

ActionScript 3.0 :: MovieClip That Represents Animated Overlay Of Entire Stage

Jun 29, 2011

Lets say I have 3 MovieClips. One that is animation that represents animated overlay of entire stage. Like falling leafs (for example)
One that represents character
One that represents background
I want to make character to be MouseEvent.CLICK interactive. The problem is when I create a particle Animation of falling leafs the single leaf that is an instance of MovieClip blocks Character mouse Interaction. Is there a qay to fix container that holds the particle animation of Leafs so that it will not block Mouse Interaction whit mc below?

View 1 Replies

CS4 :: Change A Graphic Within Movieclip

May 10, 2009

I am building an RPG type game in flash and have hit upon my first problem.I have created a character out of various different body parts (upper arm, lower arm, hand, head, etc..) I would like to make it possible to change the look of each of these body parts (different types of armor / clothing) whilst maintaining the whole body animations.I'm becoming confused about how many things are inside each other! Rather than recreate a whole new set of animations for every conceivable combination of armor and clothing it should be possible to simply change one of the graphics within the movieclip that is the character.

So the structure I have thought of is like this:Whole body > Changeable graphic > Base Body Part (bare arm for instance)What is a sensible way to go about doing this? I'd like to have a solution that is easily scalable and won't require notably more work if there are 10 different types of changeable graphic or 1000.I think that I need use the event that triggers the armor / clothing to change for that body part, to run a script that either somehow changes which graphic it is displaying, possibly inside the Base Body Part movieclip.

View 2 Replies

FLV: Display Graphic/movieclip At Cue Point?

Aug 3, 2009

I have a FLV playing (via FLVPlayback component), and I'd like to have a graphic/movieclip display on top of the video at one of the cue points.

The video is a person speaking, and I'd like to have his name and title fade in when he says it.

View 1 Replies

ActionScript 3.0 :: Add A Bitmap Graphic To A Movieclip?

Dec 1, 2010

I'm trying to add a bitmap to a movie clip in code. However, I'm having trouble getting the bitmap location to go where I want it because it's inside the movieclip and it just shows up at 0,0 of the movieclip instead of the coordinates I want it to be: Here's some of code so you can see what I mean:

imageBitmapData3 = new Lander(63, 53);
_player = new Bitmap(imageBitmapData3);
_gameLevel.addChild(_player);_player.x = 145;_player.y = 90;
-Instead of showing up at 145, 90 It just shows up at the movieclip, _gamelevel, 0,0.

how I could get it to do what I want it to do? I want to add it inside the mc because I need everything to move with the _gameLevel background when I move it.

View 2 Replies

ActionScript 3.0 :: Movieclip Convert To A Graphic

Jun 3, 2011

im trying to add to a movieclip called "movimiento"a graphic property.[code]Is there a way to convert the movieclip to a graphic object, or other is there other alternative to control mc movimiento with the faceRectContainer variable?[code]

View 6 Replies

Display Graphic/movieclip At Cue Point

Aug 3, 2009

I have a FLV playing (via FLVPlayback component), and I'd like to have a graphic/movieclip display on top of the video at one of the cue points.

The video is a person speaking, and I'd like to have his name and title fade in when he says it.

View 3 Replies

ActionScript 2.0 :: Change The Graphic In A Movieclip?

Jul 3, 2010

I have a blank movie clip that is loaded into my program 40 times. I have several different buttons that when clicked are supposed to change the graphic on these 40 objects to various different things. How do I code a button press to change the graphic in an object like that?

View 3 Replies

ActionScript 3.0 :: Draw Graphic Into Movieclip?

Feb 10, 2011

I have a movieclip, which I created with actionscript called canvas_mc, which is where the user can draw on and then export a jpeg. I would like to add a graphic (vector drawn in illustrator and brought into flash) into that canvas_mc as a graphics drawing..[code]...

View 1 Replies

ActionScript 3.0 :: Replacing This.graphic For A Movieclip?

Jun 12, 2011

At the moment I am busy editing a little flash game, but i was wondering if i could replace the part below for a movieclip

ActionScript Code:
this.graphics.beginFill(0x333333);
this.graphics.drawRect(0,0,25,25);
this.graphics.endFill();

View 2 Replies

ActionScript 3.0 :: Draw Inside Movieclip / Graphic With It?

Aug 13, 2009

How I can draw inside movieclip/graphic element with Actionscript?

If i have example movieclip-element in my project and want to draw a single dot in its coordinate (10,10), how I can do that?

View 2 Replies

Professional :: Changing A Graphic To A Movieclip Kills Swf?

Dec 14, 2010

I have a graphic sitting on my stage that I want to convert to a movieclip so I can change it's alpha with as3. If I change it from a graphic to a movieclip my swf stops working. I have a bunch of code which constructs a dynamic menu and it stops working when the graphic is changed to a movieclip. They aren't related in any way so why would this happen? As a graphic it doesn't have an intance name and nothing is happening to it. It's not animated or anything. It's just sitting on the stage.

View 1 Replies

ActionScript 3.0 :: Change The Graphic Of Movieclip Dynamically?

Jul 26, 2011

the only thing I found in the documentation was loadBitMapdata and methods of that type. Not sure if that's what I want.

In particular, I have an existing movieclip that is linked in my library. It has a graphic, a timeline, etc. However, I want to dynamically change it to another graphic and timeline.

Do i have to create a new movie clip with the new graphic and timeline? But I still want to keep all the attributes of my original movieclip, I just want the new graphic and timeline.

View 4 Replies

ActionScript 3.0 :: Tweening Graphic Instead Of Movieclip, Dynamically That Is?

Mar 31, 2010

the mouse_over state im doing tweens the alpha of a button to reveal more buttons underneath.The only problem with tweening the alpha of a MC is that I cant click on the buttons underneath, only a graphic. However, I cant figure a way of just using a graphic symbol instead of a movieclip.And I really dont feel like using more than one frame, that is accepting defeat in my oppinion. ha

View 11 Replies

ActionScript 3.0 :: Adding A Bitmap Graphic To A Movieclip?

Nov 30, 2010

I'm new to as3 and programming and I'm trying to add a bitmap to a movie clip in code.However, I'm having trouble getting the bitmap location to go where I want it because it's inside the movieclip and it just shows up at 0,0 of the movieclip instead of the coordinates I want it to be: Here's some of code so you can see what I mean:

imageBitmapData3 = new Lander(63, 53);
_player = new Bitmap(imageBitmapData3);
_gameLevel.addChild(_player);

[code].......

View 5 Replies

ActionScript 3.0 :: Adding A Bitmap Graphic To A Movieclip In Code?

Dec 1, 2010

I'm new to as3 and programming and I'm trying to add a bitmap to a movie clip in codeHowever, I'm having trouble getting the bitmap location to go where I want it because it's inside the movieclip and it just shows up at 0,0 of the movieclip instead of the coordinates I want it to be: Here's some of code so you can see what I mean:

imageBitmapData3 = new Lander(63, 53);
_player = new Bitmap(imageBitmapData3);
_gameLevel.addChild(_player);

[code].....

View 4 Replies

ActionScript 3.0 :: Convert All The Imported Keyframes To Graphic Or Movieclip ?

Oct 15, 2008

I imported a swf created in After Effects to Flash CS3 to make it interactive. Flash broke the "swf" movie into a number of keyframes (apprx 65 keyframes) which when previewed, plays all the keyframes one by one. I want it to stop at first keyframe and have a button over there, which when clicked will let the next 30 keyframes run without stopping. Then stop at the 30th keyframe which will have another button to be clicked to proceed to the the next 34 keyframes without stop. I have been trying the stop(), and gotoAndPlay nextFrame, but it stops at the next frame. One more thing, do I need to convert all the imported keyframes to graphic or movieclip ?

View 2 Replies

Actionscript 3 :: Remove Contents (graphic Line) From MovieClip?

Jul 31, 2010

I have an image gallery which loads a detail image, then draws a line next to the image on one side based on image dimensions. Clicking on the image returns one back to the main image thumbnail list, then clicking a thumb loads another image into detail holder. Everything works fine with it, except that the lines, rather than disappearing upon detail image unload, accumulate. Is there a way to clear the contents of the lineDrawing MovieClip without removing it from the stage, so that I can draw a new line in it? I've tried removeChild on the MovieClip, but then the lines disappear entirely, same with placing lineDrawing.clear() at the top of the setupDetail function.

var detailImage:Loader = new Loader();
var lineDrawing:MovieClip = new MovieClip();
setupDetail();
function setupDetail():void {

[Code].....

View 1 Replies

ActionScript 3.0 :: Bitmap Smoothing On A Graphic Already Placed Inside A MovieClip?

Feb 19, 2009

I have searched several threads, and no answer has been found to apply a bitmap smoothing to an image already inserted inside a movie clip on stage (not dynamically loaded). Any suggestions on what to do to apply smoothing to an image inside a clip? Trying to come up with an answer as I am getting a funny fuzz around a logo that I'd like to see disappear. It appears clean and crisp within the png file, but not in the compiled swf.

View 4 Replies

ActionScript 3.0 :: Character Class Has A MovieClip In It Called "graphic"?

Jul 17, 2009

My player character class has a MovieClip in it called "graphic". At a certain point the player gains an ability, which should be visually made clear by a graphic that's placed over the existing graphic.

[Code]...

View 4 Replies

Overlay Flash Onto HTML

Nov 24, 2010

What I have is a simple flash movie displaying text. I want it to play covering the whole screen, then once it's finished disappear and then thats where the home page is.

View 1 Replies

ActionScript 1/2 :: Buttons In An Overlay

Apr 28, 2010

Recently I created a simple flash text card animation with arrows allowing the user to scoll through the different cards. I wanted to go a step further and make an overlay so when the user rolls over it, it would expand showing a variety of buttons for them to click and link off to in different places this is where my problem began. I created to overlay as a movie clip and when a small arrow is rolled over the movie clip overlay_mc plays and expands to reveal the buttons and the rollout function causes it to contract. The buttons however are un-clickable and after some research i discovered this is because the overlay_mc clip acts as a layer over the buttons.Is there anyway I can create an overlay with the buttons remaining active?

View 4 Replies

Actionscript 3 :: Add Layer Overlay On Top Of Everything?

Dec 19, 2011

I want to add some extra texturing for my current game, let's say an overlayed grunge texture on top of everything.My entire project (except background image) is set on a Main Class.

View 2 Replies

Demo Sites With A Flash Overlay?

Apr 17, 2009

How does this website enable a user to punch in any URL then see that site with a chosen flash overlay?

View 1 Replies

Dynamic Overlay On A Flash Video

Nov 22, 2010

I want to make some online courses in video format. I am wondering whether it is possible and what the best work flow and tools are for achieving the following. Once I have a video in Flash format (.flv) I grant users access to it via a login-in. At that point I want the user name to be overlaid to the video. This is to deter fraudulent exchange of the video (only the ones who paid for it should watch it). I am baffled by what I found in the internet. I looked at JavaFX, swfmill, SWFTools, MTASC, Ming library, haXe, FlashDevelop, Flex SDK... It is not clear to me:

- If what I want to achieve is possible (overlay the user name to the video).
- What the right work flow is.
- What the right tool is (the simplest and possibly free).

View 8 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved