ActionScript 2.0 :: Can't Get More Than One Drop To Mask Picture At A Time

Apr 12, 2004

I have a code that duplicates a movie clip that then falls across a picture. They are sort of like water drops on a window but I want the picture to only be seen through the water drops. My problem is I can't get more than one drop to mask the picture at a time. I have tried code in the duplicated MC and I have tried pasting a bunch of instances to the stage and creating a mask later. Please help me out. The following is the code of the duplicated movie clip where _root.drop is the falling mask and _root.bg is the picture I want to see through the drops.[code]

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Drag And Drop Mask - Mc Drag In The Same Time

Jan 31, 2011

Wen i drag mc2 i want mc1 drag in the same time.

View 1 Replies

ActionScript 3.0 :: Circles That Act As Mask For Picture

Jan 19, 2010

I've got the code for circle on an image (mask). I've got it in my first frame and I need do something else in 2nd frame but after the movie in 1st frame is finished.
Code:
//This container contains all the circles that act as a mask for the picture
var container:Sprite = new Sprite();
//Assign the container to be the image's mask
picture.mask = container;
//Add the container to the stage
addChild (container);
/*

This timer is responsible for creating a circle every 0.05 seconds. A total of 20 circles will be created.
*/
var timer = new Timer(50,20);
timer.addEventListener (TimerEvent.TIMER, createMaskBall);
timer.start ();
//The timer calls this function every 0.05 seconds
function createMaskBall (e:Event):void {
[Code] .....

View 5 Replies

ActionScript 2.0 :: Mask A Clip.loadMovie(picture.jpg); [FMX2004]?

May 8, 2004

Im loading several thumbnails from out of a database into flash, everything is stored as it should. Then i create a Rectangle called "mc_mask". This one is created as it should with the correct values. Then im looping through this for(){}. As you can see im duplicating a movieclip "mc_thumb_holder" then eval them to my array, there im loading in a Movie with .loadMovie(thumb); Now when i set the rectangle as a mask on each of the duplicated movieclips it wont work. So my question is:

[Code]...

View 2 Replies

ActionScript 3.0 :: Flash - Make A Mask And Apply It To A Picture

Aug 12, 2010

im going crazy with the simple matherfather task. i want to make a mask and applay it to a picture but i need to do it in actionsript. so what i do is create all necessery objs. at stage, acces them in class. set movie's clip mask and it's working but not the way i want. i want to have empty hole inside of mask which is a movie clip. that is not possible until i make a empty hole connected to the edge of mask with empty space. only then its showin the empty hole (and the connecting empty space aswell and) [URL]

View 3 Replies

ActionScript 2.0 :: Mask Over Script - Load A Picture And Centers It?

Apr 16, 2004

is it possible to have a mask over this script:

_root.createEmptyMovieClip("emptyMC", 1);
_root.emptyMC._x = 25;
_root.emptyMC._y = 25;[code]....

what it does is load a picture and centers it, what would be nice is to have a mask over it....

View 9 Replies

ActionScript 3.0 :: Cannot Drag And Drop Picture In Container

Nov 22, 2009

I am having this problem with my movieclips. One is container_mc and inside it is picture_mc. They both have drag and drop functions. Container drags when it is clicked...but when I try to drag and drop picture_mc, I end up dragging the whole container itself. picture_mc is inside container_mc.

View 7 Replies

ActionScript 3.0 :: Drag And Drop, And Then Picture Change?

Jul 30, 2011

I'm using Flash CS5, and was wondering if this situation is possible:

I want to drag and drop an object to a specific area (which is a picture), and then the picture will change if the object is dropped at the area of the picture.

And I have one more question. Must drag and drop an object be in movie clip? I searched for examples and almost all use movie clip, a concept I have yet to understand.

View 5 Replies

ActionScript 3.0 :: Drop Menus With A Mask?

Sep 3, 2009

if the mouse is under the button (outside the mask) the button still activatesis there a way I can create a shape &/or script to "mask" the EventListener much like how the graphic is masked?(the space under the buttons will eventually contain random photos)

currently the menu uses this script:addEventListener(Event.ENTER_FRAME,upyoga);
stop();
var speed:Number=.3;

[code]......

View 5 Replies

Actionscript 3.0 :: Make A Mask With A Drop Shadow?

Apr 29, 2009

How to make a mask with a drop shadow? Ive seen it on websites so know it is possible can't seem to find anything online .

View 1 Replies

Actionscript 3 :: Drag And Drop Display Objects With Mask And Filter?

Jun 13, 2010

i've created a sprite to drag and drop around the stage. the sprite is masked and has it's mask as it's child so that it too will drag along with the sprite. everything works fine until i add a drop shadow filter to the sprite. when the drop shadow is added, i can only mousedown to drag and mouseup to drop the sprite if the mouse events occur within the original location of the sprite when it was added to the stage.

var thumbMask:Sprite = new Sprite();
thumbMask.graphics.beginFill(0, 1);
thumbMask.graphics.drawRoundRect(0, 0, 100, 75, 25, 25);

[Code]....

View 1 Replies

ActionScript 2.0 :: Make A Picture Gallery And Use Buttons That Move You From Picture To Picture And Backwards?

Apr 22, 2002

I want to make a picture gallery and use buttons that move you from picture to picture and backwards, but I don't want to tell button 1 to go to frame 2 and button 2 to got to frame 3 and so on (I hope you know what I mean)Can I use on button on a separate layer with the same action set? I tried something like that, but it didn't work:

on (release) {
thisframe =+1
}
[code]........

but it didn't work. I'm kind of new to any action script other than gotAndPlay, easy functions and all that.

View 2 Replies

ActionScript 3.0 :: Type Picture In Run Time

Aug 5, 2009

what is the best type picture in runtime?JPG,GIF, AI, PSD

View 1 Replies

ActionScript 3.0 :: Change One Time (1 Picture) In 2 Second

Jun 21, 2009

i have four picture, i want to change one time(1 picture) in 2 second.

View 1 Replies

ActionScript 3.0 :: Slideshow Variable Time For Each Picture?

Apr 8, 2010

I've migrated from AS1 to AS3, and boy, a lot has changed... Anyhow, to learn and understand AS3, I'm modifying a slideshow I found through thetechlabs. I want it to play SWF as well as JPG. These files are passed through an XML file. I added an element called <delaytime> to the XML file that replaces the standard time a photo is shown in the slideshow.
 
I modified the onSlideFadeIn() function as follows:
 
function onSlideFadeIn():void {     slideTimer.removeEventListener(TimerEvent.TIMER, nextSlide);     slideTimer = new Timer(xmlSlideshow..file[intCurrentSlide].@time);     slideTimer.addEventListener(TimerEvent.TIMER, nextSlide);     if(bolPlaying && !slideTimer.running)     slideTimer.start();}
 
However, when I run it, I get this error message:
 
## [Tweener] Error: [object Sprite] raised an error while executing the 'onComplete'handler. TypeError: Error #1010: A term is undefined and has no properties.at slideshow_fla::MainTimeline/onSlideFadeIn()at Function/http://adobe.com/AS3/2006/builtin::apply()at caurina.transitions::Tweener$/::updateTweenByIndex()at caurina.transitions::Tweener$/::updateTweens()at caurina.transitions::Tweener$/onEnterFrame()
 
It stops at the first picture of my slideshow. When I push the 'next' button it displays the next pic, but I get the same error message again.When I comment out this line:

slideTimer = new Timer(xmlSlideshow..file[intCurrentSlide].@time);
 
the slideshow runs OK, but without the delaytime specified in the XML file.

[code]....

View 14 Replies

ActionScript 2.0 :: Changing A Background Picture With The Time?

Mar 9, 2007

writing a code that will change a picture base upon the time.

i want to have a picture of the sun rising between the time 6am to 11 am

then from 12pm - 5 pm a pic of the ocean showing

from 6 pm - 10 pm- a pic of the sun setting...

then from 11pm- 5am a picture of the northern lights..


ohh yeah i have the time being called in a # from 1-24, = var = hour

idk if u can write if statments with a range of numbers . ex. if (hour > "range of time/#'s") ....

or have a shape in the backround and have it change as the time changes??

View 4 Replies

ActionScript 2.0 :: Time Delay Picture Fading?

May 17, 2002

Im trying to fade 4 pictures in and out.I want a 30 second delay between each photo. From what it looks like in order to use timer function each photo would have to be in its own movie clip.

View 1 Replies

ActionScript 3.0 :: App For Run-time Transparency Mask Creation

Nov 23, 2009

This is a very complex question, and I reckon for the real gurus on the forum. Before reading the rest of this post, please take a look at the attached image. Basically, I need a dynamic system of masks to do these things:

1. Display six images of identical dimensions, with different fills and blanks. Fills represent 12% opaqueness, blanks represent full transparency.

2. From the first to the last image, there will be an "adding" effect, which results in the last image incorporating all the opaque fills of the previous images.

3. Hopefully, the filled areas' shapes can be modified at runtime, adding or deleting lines (like in Paint/Photoshop/SketchUp).

View 1 Replies

ActionScript 3.0 :: Cant Mask Those 2 Movie Clip At The Same Time?

Mar 3, 2011

i have a 2 recangle movie clip with w:500 h:400 named (p1 , bs) ,and a i wanted to Mask those 2 movie clip with action sctrip, with a w:1000 h:1300 Recangle, named(Mask)i can do it if using the layer Masking, but i wanted to use action stricp to mask.

code:
p1.mask = Mask
bs.mask = Mask

but i cant do it , i cant mask those 2 movie clip at the same time ,it only work on bs.mask = Mask.i intention is to Mask those both movie clip,any idea what is going on ?

View 1 Replies

ActionScript 1/2 :: Make MC (picture) Transition Each Time A New Photo Is Called

Jul 2, 2011

I've been trying to figure out a way to add a transition script to my existing AS2 code so I can make my MC (picture) transition each time a new photo is called. Using Flash CS4 and calling images through an XML document. The code works perfectly right now, except it only uses the "fade alpha" technique as an image transition. I need to use a different transition method. I prefer something a little funky if possible, but ultimately I need something like the built in "Blinds" compnent to work. Here is the current code:

[Code]...

View 13 Replies

ActionScript 2.0 :: Stop The Time And View It On The Winning / Losing Picture?

Oct 29, 2007

I have created a small game and i set up a time with it.. But when you win/lose you go to another 'picture' and then you no longer can see your final time.. My question is: How do I Stop the time and view it on the winning/losing picture? If you need any codes just ask And if there is some pro flash people and who are bored they might add me on MSN and teach me more?

View 11 Replies

ActionScript 2.0 :: Flash Actions - Get The Picture Menu To Keep Moving And Not Just For The First Time When Click On The Arrows

Jul 25, 2010

I have got the banner on this webpage [URL] made from a guy in India but i want to add an additional feature. When i click the left or right button multiple times how do i get the picture menu to keep moving and not just for the first time i click on the arrows.. Is there some action script that i can include??

View 3 Replies

ActionScript 2.0 :: Mask - Make The Curve Being Draw Real Time

Sep 21, 2006

Here is my code:

[Code]...

I have many layers in the main stage. on frame 20, I have this code drawing a curve between two countries in "Lines" layer . I have another layer right above this layer called "mask" in which in frame 20, I make a rectangle and until frame thirty, I move the rectangle with tween. I right clicked on the mask layer and set mask. Hoping that by masking the layer below it, I can make the curve being draw real time. But it is not working.

View 2 Replies

ActionScript 2.0 :: Picture Will Be Load Into Swf Files And With Turn Page Effect They Change When Some Time Will Pass

Apr 14, 2005

how do easy turn page. Picture will be load into swf files and with turn page effect they change when some time will pass

View 1 Replies

ActionScript 2.0 :: Mouse Movement - Put A Mask Over The Text To Only Show A Certain Area At Any Given Time

Dec 17, 2008

This will probably be simple for some of you. How do I make the "animation" stop? The text moves, based on the mouse movement, and I put a mask over the text to only show a certain area at any given time...

[Code]...

View 1 Replies

ActionScript 2.0 :: Video Editing Drag And Drop In A Time Line?

Mar 26, 2004

1. i am trying to drag and drop movie clips with a short video clips in it(inside movie cilp), on to another square target "tv" with buttons play stop etc.

2. on this square "tv" i want to be able to view the clip i just drag to the "tv" to (manipulate the clip with play stop on so on) and the same thing with the other clips

3. after that i want to drag the movie clips or another movie clip of the same to a time line with other movie clips and be able to play the time line with the editing movie clips as a new entire editable video clip

View 1 Replies

ActionScript 2.0 :: Calling A Picture Into A Target In The Movie Without Placing The Picture Inside An Swf File?

Mar 22, 2003

I recently used the loadMovie action to load a .swf file to a target in the movie which it was being called from. Then I tried calling a picture to another target in the movie, but it did not load the picture as intended. I read about it on my book, but it didn't seem to work. Is there anyways on calling a picture into a target in the movie without placing the picture inside an swf file?

View 7 Replies

ActionScript 2.0 :: When Each Picture Loads The Loading Frame Resizes To The New Picture Size?

Jan 5, 2005

I have just been to a really nice website that has some really nice use of Flash on it.... I'm totally wowed by the resizing picture effect though? When each picture loads the loading frame resizes to the new picture size.

View 3 Replies

ActionScript 3.0 :: Build A Site That Would Give Users The Ability To Upload A Picture To A Picture Frame?

May 12, 2010

I am trying to build a site that would give users the ability to upload a picture to a picture frame on my site. I would like AS3 to dynamically re-size, and upload the file from an upload bar under the frame.

View 1 Replies

ActionScript 2.0 :: Resizing Uploads - When Each Picture Loads The Loading Frame Resizes To The New Picture Size?

Jan 5, 2005

I'm totally wowed by the resizing picture effect though? When each picture loads the loading frame resizes to the new picture size.It must be some sort of actionscripting but how is it done?

View 3 Replies







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