IDE :: Two Movieclips Overlaying Each Other?

Sep 12, 2010

So i have two graphics one on top of the other inside a movieclip . I am tweening there alphas and i want the graphic on top to cover the one underneath . I also need to seperately tween them on the timeline so merging them isn't an option .

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Overlaying 1 Bitmap Image On Another On A 3d Sphere?

May 24, 2009

The basic concept: I want to at runtime overlay (or paste or whatever) one bitmap image asset onto another. The original image asset is a texture on a 3d sphere.Example:3D Sphere with earth texture applied to it. Put a cloud on the earth texture and have cloud move along the earth.

Caveats:Can't use any composite materials because I take a serious perf hit. Want to try working only with bitmaps to see if it is faster.I've gotten this far but don't know how to fill rectangle with jpeg file and certainly have no idea where to go from here..earthBitmap= new BitmapData( 256, 256, true); fillRect will only do a color ... I need what fills a rect with jpeg image and how to edit a bitmap on the fly.

View 2 Replies

Flash :: AddChild Is Overlaying A MovieClip On The Stage?

Oct 25, 2011

How do I make sure that a movie clip that starts on the stage has a higher zindex then when I addChild and add a linked movieClip from the library.

Really my code is pretty simple

background_image = new Sprite();
main_container.addChild (background_image);

But I have a movieClip "message_box" that I dragged onto the main timeline. When i add the background_image which is the full size of the stage it overlays the "message_box"

I know you can set the childs index but how do I set the "message_box" index?

View 2 Replies

Media Server :: Adding Overlaying Mask On The Live Stream

Dec 28, 2009

Can I add overlaying graphics upon the live stream by server-side ActionScript before publish the stream? For example, suppose in case of video conference, I want to put a mask graphic on peoples face to hide them, and change the mask on the fly by server-side code, such as moving it or making it transparent.

View 1 Replies

Html :: Css Menus Not Overlaying On Top Of Flash Piece / Internet Explorer Only

Jan 20, 2012

The site I'm working on uses the age-old CSS "suckerfish" menus to do drop downs rather than Javascript or some other CSS solution. On some of these pages there are flash pieces, and for Internet Explorer 8 only, the menus get "blocked" by the flash area. After seeing questions related to this issue, i.e. here and here, I tried both wmode="opaque" and wmode="transparent", which solved the problem for Chrome, Opera, and Safari. Firefox worked without any wmode specification.However, IE 8 isn't working with either of these ... the css menus don't overlay the flash. These flash elements don't have a position assigned to them, so assigning a z-index won't help as far as my understanding goes.How do I make this work for IE 8?URL...

View 2 Replies

Google Maps - Overlaying Other Objects In Flash Full Screen Video

Jul 7, 2010

Is there a way to overlay other objects on top of fullscreen video in Flash Player?

i want to put a googlemap over a 'full screen' flash video player, is it possible?

View 1 Replies

Flash :: Create A Video Overlaying Another Video

May 25, 2011

I am trying to make a nice pretty video.I have a AVI video from a GOPro video camera, and I hae some info I want to overlay on top of the video. Like Time, GPS, Speed, G-Force etc.I got my raw data, and ActionScript coded it up into a Flash movie, but then worked out I have two issues.Flash export to AVI is pretty crap, and basically does a screen capture.The export to AVI cant be transparent or anything but spare/rectangle.Should I use something other than Flash to create my speedometer, that is more friendly for overlaying on a AVI?This is the sort of thing I am trying to create.

I have a CSV of all my raw data, and am trying to find a way to overlay it and look as professional as that link above. I can make the dials in actionscript, but then exporting to AVI with a 'screen capture' type program, they look pretty crap. But on the other hand, inporting my HD video info Flash, and it becomes pretty crap quality, and still have the export issue at the end.

View 1 Replies

ActionScript 3.0 :: Comunicating Between Loaded Child Movieclips And Parent Holder Movieclips?

Aug 6, 2010

I m trying to make sense of how to load a swf into a parent MovieClip and allow them to communicate.I ve attached two zip files � one which works fine and the other doesn�t. Unfortunately (for me), the one which doesn�t work is closer to my current project.I need to load movieclips into the parent movieclip. The parent movieclip has controls which rely on values parsed from the child movieclip.In the parent movieclips I wait until the loading is complete and so the values should be passed. However, the values aren�t passed unless I use a button (or timer), to pass the values (see the working exampes).The code which doesn�t work is:

Parent movieclip:

ActionScript Code:
stop();
var myLoader:Loader = new Loader();[code].............

View 5 Replies

ActionScript 3.0 :: Cross Using Of MovieClips And Externally Constructed MovieClips In 2 SWF-Files?

Dec 19, 2009

I have two SWF-Movies. One is exported into eht other as Child.Can I instance the Objects of the two libraries in all places, where ActionScript is possible? (In Keyframes of the MovieClips and in external class definitions.)

View 3 Replies

ActionScript 3.0 :: Stop All Movieclips On Stage And It's Nested Movieclips?

Sep 9, 2011

Looking for a way to stop all movieclips both are the stage and that are children of the ones on the stage.
 
I toyed with looping thru stage's children so I can first target clips on the stage. But I am getting error.
 
for (var i:int = 0; i < this.numChildren; i++)     if (this.getChildAt(i) is MovieClip)
{
this.getChildAt(i).stop
}}

View 5 Replies

ActionScript 3.0 :: Treat 5 Movieclips In Each Row As A Group Of Movieclips?

Feb 5, 2009

I have created 25 MovieClips on the stage in 5 X 5 matrix.How can I treat 5 movieclips in each row as a group of movieclips so that I can apply same set action to them?(Similar to RadioButton functionality. )

View 6 Replies

ActionScript 3.0 :: Printing Movieclips With Movieclips Inside?

Sep 15, 2010

Printing an MC is easy enough. But I am having trouble printing an MC which has multiple MCs inside of it. They just don't get printed.
 
I am trying to avoid printAsBitmap.

View 5 Replies

Professional :: Testing Movieclips That Have Nested Movieclips?

Oct 21, 2010

I want to test mc animations without having to hit F12 to see if they work correctly. For instance, if I have an animation movieclip and then I make another movieclip and drop that aforementioned movieclip within, and animate [via the timeline or library preview] I'm unable to see on-the-fly what my animation looks like... it only shows the top most nest, unless I F12 it.

So if I have a character blinking eyes (one movieclip) and then I create another movie clip of the face, and put that aforementioned movieclip within, the preview animation within the library does not show how it'll be viewed when F12'n it.,,,, it'd be great to see your animations on the fly.

View 1 Replies

ActionScript 2.0 :: Why Do Movieclips Inside Movieclips Have Different _x And _y Than The Timeline

Oct 30, 2007

why does a MC inside another MC have different _x and _y values than the main timeline?What I am trying to do right now is animate a MC inside another MC then get the main MC holding everything to move where that new MC ended animating at (it's part of a game I'm making.)

I know it's confusing but Flash shows the cursors current X and Y in the info panel, which is the same as the main timeline. Yet inside the movieclip, an x of 76 and a y of 277 on the timeline is -195 and -30.9 (respectively) inside the MC.How do I fix it so I can get the _x and _y values to match up so I can tell the main MC to reposition itself to the new X and Y (of the inside MC)

View 1 Replies

ActionScript 2.0 :: MovieClips Inside Other MovieClips - Detecting All

Mar 27, 2008

I have a movieclip called mapWindow, inside mapWindow are dynamically created movieclips of various sizes. The movieclips inside the mapWindow don't take up the entire space of the mapWindow and thus I use a startDrag on the mapWindow upon detection of a mouse press. The problem is, I don't want the start drag to start if the mouse is detected over any of the child movieclips inside mapWindow.

I have a few ideas of how to proceed, but I'm not sure how to reference all child movieclips of a particular movieclip - or something along those lines.

It would be easy to use the hittest function if I knew how to reference all the movieclips I need to, but alas...

View 1 Replies

ActionScript 3.0 :: Controlling MovieClips Using Other MovieClips

Nov 20, 2009

Using Flash CS4 - AS 3.0

how to control a movie clip using a separate movie clip.

on scene 1 (2 frames long), i have 2 movie clips.

-bFind (24 frames long)

-textEffects (14 frames long)

i want to jump to frame 7 of the textEffect movieClip when i hover over bFind

i have my AS code in the first frame of the movieClip called "Bfind"

Code:
stop();
addEventListener(
MouseEvent.MOUSE_OVER,

[Code].....

View 5 Replies

MX04 With Movieclips Controlling Other Movieclips

May 5, 2010

I'm using flash MX 2004 Professional. What im trying to is the following: I have 9 movie clips, each has a "closed" and "open" state. Basically, when I click no.1 I want it to animate open, and then, when I click no.2, it must first check if any of the other clips are in their "open" state and if so, close them. I've worked with the following, but it doesnt seem to be working:

[Code]...

View 4 Replies

ActionScript 3.0 :: Accessing Movieclips Within Other Movieclips?

Oct 5, 2008

I am still transfering from AS2 to AS3 and right now i am having a very annoying problem. THE STRUCTURE:
Maintimeline contains 2 buttons that i want to use to access children in a bunch of movieclips. rectangle_mc has circle_mc circle_mc contains xx_mc xx_mc contains wtf_mc placed on frame 1 on maintimeline Why can't flash see my nested movieclips? I remember in AS2 you could go down the line:

[Code]...

View 15 Replies

Flash :: Accessing Movieclips In Movieclips?

Jul 30, 2010

I am starting with AS3 programming icm with Flash Builder 4.I have created a "Main" class which is the initial stage.On this stage there is a movieclip called mcMain.In this mcMain is 4 other movieclips: mcStats1 mcStats2 mcStats3 mcStats4 .How can I access these mcStats1-4 from the code to make them go to another frame?I tried:

var t:MovieClip = MovieClip(getChildByName("mcMain"));
t.getChildByName("mcStats1").gotoAndPlay(3);

But that just keeps giving me null reference errors:TypeError: Error #1009: Cannot access a property or method of a null object reference.

View 4 Replies

ActionScript 3.0 :: Can't Control Movieclips Within Movieclips

Nov 17, 2010

I used to work in AS2 and something like this worked:

mc1.mc2.onRelease = function () {
mc3.gotoAndStop(2);
}

But converting it to AS3, it doesn't work anymore.

function goMC (e:MouseEvent):void {
mc3.gotoAndStop(2);
}
mc1.mc2.addEventListener(MouseEvent.CLICK, goMC);

What am I doing wrong? I can't seem to control movieclips within movieclips.

View 2 Replies

ActionScript 2.0 :: Rollover Movieclips Overlapping Rollover Movieclips Hit Detection?

Jun 6, 2010

Basically what I'm trying to do is build an interface out of a fan of cards. I've got the the whole fan as a movieclip and then individual movieclips of the cards inside that have rollover animations.My issue is the rollover works on the cards arranged behind the cards that have the cursor over, which I don't want to happen.e.g see attachment.here's the rollover actionscript i've got on each card:

onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.nextFrame();

[code].....

View 3 Replies

ActionScript 3.0 :: Movieclips On Stage / List Of Movieclips That Are On Stage?

Jun 4, 2009

is it possible with AS3 to see the list of the movieclips that are on stage?

View 13 Replies

ActionScript 3.0 :: Controlling Variable Movieclips (within Variable Movieclips?

Nov 3, 2009

on my main timeline there is a movieclip ("sampleMc") which contains a number of labeled frames containing movieclips of gallery images (for example "dyerBikiniMc"). in turn, each of THESE movieclips contain a number of frames of detail shots of the main image (for example "dyerBikini00Mc, dyerBikini01Mc, dyerBikini02Mc, etc.").on the main timeline i have a gallery navigation bar with thumbnail buttons determining which image will be displayed. there's also a right arrow shaped button "detailsBtn" that i'd like to allow the user to click frame-by-frame through the detail shots of the image. i also have a before/after toggle button on the main timeline that needs to control the movieclip one level below that, where the before/after images of that particular detail shot are stored!

View 9 Replies

Printing MovieClips On Top Of One Another

Sep 2, 2011

I am building a map which has different layers on it, all on top of one another, all 700x700px and all movieclips. I have a print button (PrintUp) which sends the movieclips to be printed, however when I print, they don't sit on top of one another, they come out separately. How can I get them to print on top of each other like they are in the swf?

The two movieclips are "Background" and "Grass"
Both 700x700 and exactly the same X&Y.

Here is the code below:
PrintUp.addEventListener(MouseEvent.CLICK,Print);
function Print(e:MouseEvent):void{
var printJob:PrintJob = new PrintJob();
if (printJob.start()) {
if (Background.width>printJob.pageWidth) {
[Code] .....

View 2 Replies

Get Variables From MovieClips?

Jul 2, 2009

I have built a MovieClip called TestMovieClip.

The first frame includes the actionscript[code]...

View 2 Replies

ActionScript 3.0 :: How Should Movieclips Be Used

Jul 19, 2009

What I'm trying to do is have two separate movieclips that react differently, but with only one actionscript file controlling them. I can get this to work perfectly by putting the name of the AS file as the document class, but I can't get it to work by using the timeline.The AS file for the document class looks like this;[code]The problem with the second method is that I can only get it to treat both movieclips in the same way, while the first method can treat them differently.Is there anyway to get the second method to act like the first?

View 9 Replies

ActionScript 2.0 :: Get Movieclips Under Another One?

Oct 26, 2007

I have a one movieclip attached in the mouse, like a custom cursor, inside them, i have one movieclip hitMc.

In the stage i have many others little objects, and i want to remove then, when the hitMc in collision with one of these objects!

View 2 Replies

IDE :: Fade Movieclips In And Out?

Jan 15, 2010

I have 5 buttons and each one needs to fade in a movieclip3 of the movieclips are just static text2 are slideshowsthe problem i have is that I want each movieclip to fade in and then fade out when another is selected from the main menu buttons!I've looked all over the forums and cant find the answer anywhere in simple terms (I'm new at flash!)Is there an actionscript I can add to the buttons or movieclip to make it do this?

View 1 Replies

ActionScript 2.0 :: [CS3] Fading Between 2 Movieclips?

Feb 2, 2009

I've got two SWF files where one control what happens in the other using LocalConnect and would like to use opacity changes to make a nice transition between two movieclips in the receiving file. I want the two movieclips to fade nicely so I can't animate it because that would make a brake just as i hit the button.

This is the code in the SWF that sends the information.

Code:
btn01.onRelease = function() {
var sending_lc:LocalConnection = new LocalConnection();
sending_lc.send("lc_name", "methodToExecute", {targetName:"mc01", action:"play01"});
};

[code]....

View 1 Replies

ActionScript 2.0 :: Movieclips Move From One Swf To Another?

Feb 12, 2009

I have looked around for this but haven't found any that seemed close to what I am planning on doing. My question is: Is it possible to have movieclips move from one swf to another?

My problem: I have two swf's next to each other that are in an html page that simulate the look of one swf. I need to animate text here and it won't be user generated. I have looked at the local connection on Adobe but it seems as though it's user initiated. i would like to animate using tweener.

View 3 Replies







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