ActionScript 2.0 :: Make An Eraser Which Will Reveal A Picture?

Aug 20, 2005

get the zip file which will be very helpfull. I made some screenshots in photoshop for help.

1). map jpg: That's the map

2). the map is covered with a black layer

3).the user changes (somehow) the _alpha property (before starting revealing the image) to -let's say- 60% and reveals with the eraser the path of the map up to some point.

4).the user sets the _alpha of the cover back to 100% in order to get the picture shown in the example.

View 2 Replies


Similar Posts:


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

Reveal And Un-reveal Text Upon Clicking With Animated Transition?

Mar 1, 2010

I want to create a simple script in AS2 that can reveal and un-reveal some text upon clicking (and any additional graphic), preferably with a simple transition (likely a tween). How would I go about achieving this?

View 1 Replies

ActionScript 3.0 :: Make A Eraser Tool?

Nov 11, 2010

I simulate a pencil tool in my application, now i want simulate a eraser tool, but no success. how can i eraser that lines draw by pencil in as 3? i try removeChildAt(0); it work's but all draw is erased. [code]...

View 1 Replies

ActionScript 1/2 :: Make A Custom Eraser Tool Using Flash?

Sep 26, 2010

I did make a eraser tool. But once I begin to erase a layer, the background layer is visible. I want the layer just below the topmost layer to be visible.
 
For eg consider 2 layers. Layer2 is above Layer1. When I perform erase on Layer2, I see the stage background. I want to actually see Layer1 when I erase from Layer2.
 
Here is the code I used: The comment entry shows that, I have tried that possiblity.
 
import flash.display.BitmapData; 
var linkageId:String = "myimage";
var myBitmapData:BitmapData = BitmapData.loadBitmap(linkageId);

[Code]...

View 3 Replies

IDE :: Make A Banner That Expands Over The Website It Sits In To Reveal More Content?

Sep 20, 2007

i have to make a banner that expands over the website it sits in to reveal more content. i've never made one before so i was wondering a few things.

1) is there anything special i'd have to do to the flash to make it work?

2) it looks like the banner sits in a css layer that's over top the rest of the site, is that correct? [URL]

View 8 Replies

ActionScript 3.0 :: Make Every Picture Go To A URL When The Picture Is Clicked?

May 27, 2011

I made a simple picture slideshow with a timer, prev/next buttons, pause/play buttons and jump buttons. Everything went good so far.Now i'm trying make every picture go to a URL when the picture is clicked but only the link on the first frame goes to the URL when clicked the other 5 buttons do nothing when click.(FYI: I made alpha 0% buttons in a layer above pictures)I tried two different codes but both have no effect.

as layer

Code:
stop();
var nextImage:Timer = new Timer(3000);
nextImage.addEventListener(TimerEvent.TIMER,playNext);
nextImage.start();

[code]....

View 1 Replies

ActionScript 3.0 :: Make A Slider Bar Reveal Movie Clips On Stage As Drag It Along And Alpha Values

Feb 25, 2010

I'm looking to make a slider bar reveal movie clips on my stage as you drag it along. I've written some sloppy code that works, but isn't smooth by any means. I basically put MCs on different frames on the timeline, and I want those MCs to fade in or out relative to where the pointer is on the bar. This was a workaround, what I think I need is a boolean solution, but I'm not familiar enough with AS to write one from scratch. Here is the code I have so far. Does anyone have any ideas?

[Code]....

View 5 Replies

Make A Button With Picture?

Sep 3, 2010

I'm trying to make a button with a picture I made in photoshop.. but the problem is that the background is transparent, I just want the main part to be clickable.
 
Here is an example.. I just want the purple part to be clickable. The box around that is the actually whole image. So how can I fix this?

View 2 Replies

How To Get A Bigger Eraser

Jun 7, 2010

i see there are various choices in the dropdown, but i still need it bigger. can this be done?

View 3 Replies

Make A Picture Available To Be Used As A Fill For A Shape?

Jun 4, 2009

How do I make a picture available to be used as a fill for a shape?

View 2 Replies

Make A Picture Gallery Run Automatically?

Feb 16, 2010

I have a gallery that shows pictures when yo hit a next and previous button, but id like to make it go automatically.[code]...

View 6 Replies

ActionScript 2.0 :: Make A Picture Gallery?

Nov 28, 2005

I just tried to do a picture gallery.But It has to have around 21 pictures.In 3 sections(this is around 7 pictures per section)

I would like to look like file 1. It must have 21 buttons (on which when you click to see the picture bigger) on the same window,now there are only 13.[url]...

View 1 Replies

Make A Video/picture Gallery In Flash?

Jul 31, 2009

how to make a video/picture gallery in flash? If not in flash then something else. I just need like a video gallery that i can put into flash!

View 11 Replies

ActionScript 3.0 :: Make The Picture Aligned In The Page?

Mar 16, 2009

I made the this tutorialhttp:[url]....and align the movie clip instance to the stage.The problem is when I test the movie the picture is loaded like the movie clip instance is the top left "insertion point" so the picture is not centered. How can I fix this to make the picture aligned in the page?

View 11 Replies

Make A Picture Show Up On Hover Over / On Click?

May 1, 2009

I have inserted in an image and a button and tried both ways.  When you click on the image I want a picture to appear.  I am using this on a map of a building I want to be able to show pictures of what you would see if you were in the building.  The only problem I am running into is that when you click where the picture shows up it will appear.

View 15 Replies

ActionScript 1/2 :: Make A Some Object Or Picture Got To A Color?

Jun 30, 2010

i am VERY new at adobe flash an i am trying to get a layer or a symbol or something (im not sure what the objects in flash are called) to go to a given color does anyone know how to do this? im trying to track motion from a webcam feed with a person wereing a blue colored shirt.

View 14 Replies

ActionScript 3.0 :: Make A Tween To Picture So That It Zooms Out?

Sep 4, 2009

I'm trying to make a tween to a picture so that it zooms out and back in to the center and back. There appears an error of placement depending on z coordinate: the picture moves a little bit towards top-left corner of the stage. How can I make it move to the center of the stage?

View 3 Replies

ActionScript 2.0 :: Make Text Field With Picture Within?

Jul 23, 2007

how to make text field with picture within like that

pic pic pic | txt txt txt
pic pic pic | txt txt txt
pic pic pic | txt txt txt

[code].....

View 1 Replies

ActionScript 2.0 :: Make A Picture Fade Into The Distance?

Apr 7, 2002

A while ago pom helped me with some script to make a picture fade into the distance. This is the script he gave me

onClipEvent (enterFrame) {
i++ ;
_xscale = _yscale = 100*Math.cos(i/60) ;
}

After seeing "dansflash2001" last weeks site of the week, it got me wondering how did he achieve his button effect. When you clicked on one of his buildings the whole site faded into a miniture version. Then when the small version was clicked it reappeared in it's normal state. I'm probably a mile of with the code pom gave me as it wasn't made for that effect anyway. Does anyone know how to achieve the effect Dan used?

View 7 Replies

Professional :: Stuck On Eraser Tool

Mar 13, 2010

Mac OS 10.4.11; Flash CS3.I cannot change the tool any more. It's stuck on the eraser. It doesn't erase anything, but I can't change it to another tool.I uninstalled Flash, preferences and all, and re-installed it, but the problem persists. Interesting is, my customized workspace is still there, even though I had all preferences and anything else that has the name "Flash" deleted.At the same time the computer opens both CD trays when booting up. Never did that before. So I re-installed the OS, but that didn't help either.

View 1 Replies

Professional :: Eraser Moving Over The Area?

Mar 31, 2010

however i'm not able to use eraser, when i select the eraser shape and mode i can see a eraser moving over the area i actually want to erase, but in the end the layer is still there...  i did search all criss cross the menu, cannot find, i'm sure it's something funny, how can i apply eraser fully?

View 3 Replies

ActionScript 3.0 :: Creating Eraser Over The Image?

Oct 25, 2011

My issue -I drawing with the pencile over the image and want to erase that graphic but not able to suucees please give some solution.My backgroud page is image and i am adding zoomIn/ZoomOut functionality to image. Is there solution to erase only graphic part and Image will remain as it is?

View 6 Replies

ActionScript 3.0 :: Eraser In Drawing Tool

Jul 4, 2011

I have a requirement to create a drawing tool. I have completed till where on mouse down i can draw and on mouse up i stop the drawing. Now i want a eraser in place; something very similar to what is there in paint. So on mouse down of the eraser and moving over the line segment should erase the portion of the lines.

View 5 Replies

ActionScript 2.0 :: Flash Interactive Eraser?

Sep 5, 2003

does any1 know how to do a flash interactive eraser?it's something like the other flash paint programs,but unlike those programs i have found so far,they only have a button for erasing the whole screen...i need a flash program that uses an interactive eraser tool...

View 9 Replies

ActionScript 1/2 :: Make The Slideshow So That Each Picture Transitions Into Each Other, Instead Of From White?

Jan 8, 2010

Forgetting about my last post: This code currently makes it so each picture will fade from white. What I'm trying to do is make the slideshow so that each picture transitions into each other, instead of from white.
 
p = 0;this.onEnterFrame = function() {    filesize = picture.getBytesTotal();    loaded = picture.getBytesLoaded();    if (picture._alpha<100) {            picture._alpha += 10;        }};[code].....

View 3 Replies

Make An Interactive Picture Scroll With Reflective Floor?

May 17, 2010

I WAS WONDERING HOW TO MAKE AN INTERACTIVE PICTURE VIEWER IN fLASH LIKE WHAT APPLE HAS IN LEOPARD AND SNOW LEOPARD.  FOR EXAMPLE, WHEN THE PICTURE IS IN FRONT OF YOU AND YOU CAN SEE OTHER PICTURES BESIDE IT BUT THEY ARE FURTHER AWAY AND YOU CAN SEE THE REFLECTION ON THE FLOOR OF IT  IS THIS A POSSIBILITY IN fLASH?

View 2 Replies

ActionScript 2.0 :: Make Visible The Webcam's Picture On The Stage?

Aug 18, 2009

I have problems with webcam streaming in AS2. In AS3 I can make it visible on stage with a Camera.get call and a Video object. Because of some reasons in one of my works I have to use AS2. Can anyone provide me a working code to make visible the webcam's picture on the stage? I use the following code, but it doesn't work:

var cam = Camera.get();
//it's okay I can see the real camera name in the name property
var vid:Video;
vid.attachVideo(cam);
//... and nothing happens on the stage Why?
trace(vid) returns "undefined" Why?

View 0 Replies

ActionScript 2.0 :: Make Picture Fade After Interval Completes?

Sep 30, 2009

I want the part labeled fade to happen after the interval completes. Right now it does it right away.[code]...

View 1 Replies

Make Game Keep Picture Quality When Browser Resized?

Sep 6, 2011

How do I make my flash game keep picture quality when browser is resized.I built a flash game combining using actionscript and whenever the player or browser is resized it loses quality. This really annoys me...Is there a way so, if the browser for example is made smaller the game's picture still keeps its display quality

View 1 Replies







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