ActionScript 1/2 :: Create An Easteregg That Will Reveal An Image?
Jun 13, 2009
I created a flash movie which resembles a control panel. I created a image of the group of people that worked on the project and I want the image to be hidden until the user types a key combination that would trigger the image to appear and dissapear when clicked. This url is something like what I was looking for,but I want an image to appear instead, can this be customized? The only problem is, I'm not really good at actionscript. Is there any tutorials out there that may show an easy way to do this. The attached file is a sample of my interface
View 1 Replies
Similar Posts:
Mar 20, 2010
I'm trying to create a preloaded that reveals an image. Example of what I mean is: when 10% is loaded 10% of the image is visible when 50% is loaded 50% is visible.
View 1 Replies
Oct 6, 2010
What i want is: A slider that can be pulled by the user across an image to reveal a second one underneath. The same as this example, only I want a vertical scroll button not a horizontal. [URL]
View 7 Replies
Oct 6, 2010
I am very new to Flash and have been trying to figure this one out for myself. Sadly i can't. What i want is:A slider can be pulled by the user across an image to reveal a second one underneath. The same as this example, only I want a vertical scroll button not a horizontal
View 2 Replies
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
Mar 8, 2011
I need to re-create the red reveal scratchcard displayed in the link below but am not sure how to go about achieving it. [URL]
View 2 Replies
May 25, 2011
I have a question, and I find it hard to find resources on it. I have two layers, and another layer with an image of a broom on it. I want to use the broom to move over layer2, and reveal the layer beneath it. Kind of making a sweeping game. Frankly my search efforts on google have only come up with alot of masking, but I am sure you need actionscript to make the broom move with the mouse.
View 1 Replies
Jan 16, 2010
I'm trying to create a simple image player that tweens from one image to the next every 5 seconds. The data is being pulled from xml.
So far, I have managed to load the image onto the stage, but am now stuck as to how to get it to remove the child showing, the add the next child every 5 seconds.
My Code:
Code:
var tweenTimer:Timer;
var imageLoader:Loader;
var xml:XML;
[cod]...
View 1 Replies
Jan 13, 2004
What would you use to create buttons which when pressed load an image in an image area within the same flash document?
View 1 Replies
May 5, 2010
I am trying to learn about Custom Components at the moment. As a task I'm hoping to create a component that I can drop on my stage beside a couple of movieclips. Then using the component inspector I would like to set one clip as a button and the other as the response. So basically, when i click on the button, it reveals the other clip. Click and reveal!
View 2 Replies
Jan 3, 2012
Is there a way to hide all unwanted movieclips and reveal only those you need? From my understanding, if i do not want a particular movieclip on the stage, i will use scene1.visible = false; but it becomes very complicated when i have different scenes appears at one time, so i need to
[Code]....
View 3 Replies
Jun 23, 2010
I want to have a text field that, if a certain letter is typed in it, shows (visible = true) a certain movieclip. I need to cause 26 separate movie clips, (or one movieclip with 26 frames, one per letter), to respond to each letter of the alphabet when letters typed in the text field.
View 1 Replies
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
Dec 6, 2006
I have a button that when hovered over scrolls out to reveal the page. I then want it so that when someone rolls out from the button, it then scrolls back in to how it started. This seems to work ok, with just one small problem, the page doesn't necessarily always stay scrolled out, even if you don't move the cursor away from the hit area of the button. I have a flash file which contains a simplified version of the button as I would to achieve it working, and then on a separate layer my faulty button. Its too big to attach, but if anyone can help i would gladly email the file
View 5 Replies
Oct 6, 2003
The tutorial I am working on is at: [URL]. I have no problem with the fade grid effect itself but... I'm trying to make one of the squares (which is a guy in the middle of a scenic landscape) visible first giving the effect that you can only see him first, then the grid squares fade in to reveal the landscape that he is standing in.
So I tried just cropping the square out in photoshop, then just placing it in the exact same spot above the original image, but everytime the movie gets to the portion in the timeline with the actionscript, the little square with the man in it disappears. I want the square with the man in it, to remain on the stage from beginning to end, as top layer.
View 5 Replies
May 3, 2005
Code:
for (i=0; i<200; i++) {
circle.duplicateMovieClip("circle"+i, this.getNextHighestDepth());
randX = Math.floor(random(Stage.width));
randY = Math.floor(random(Stage.height));
this.banner.setMask(this["circle"+i]);
this["circle"+i]._x = randX;
this["circle"+i]._y = randY;
}
Circle is a movieclip that has a circle starting at 2px by 2px and expands to 100 by 100. Banner is just a movieclip, but I would like these expanding circles to act as a mask to reveal the banner. This should work, but isn't, I know I am overlooking something.
View 2 Replies
Jan 6, 2011
This has been bugging me for a little, and some of the examples I have tried to find throw me in loops and they have been wrong. [url]...
Or if you have ever played "Scorched Earth" you will see that when some part of the terrain is destroyed, it punches out the pixels perfectly when a shot is fired into the ground, to reveal the picture behind the main picture with the terrain.
View 9 Replies
Feb 16, 2012
I would like to create a image and content slider in Flex. There are many jquery plugings available [URL].. but i can't find an alternative for Flex.
View 1 Replies
Apr 7, 2009
I have plenty of ways of creating falling snow like effects, but a client has just comitted me to an effect as a test of my ability without talking to me first, that I am a little stumped by. use AS2 or AS3 for this project because of the filters and tween effects available to me.I need to have a top down falling snow effect (its actually supposed to be flour falling from a sieve but hey...). All the snow effects I know, fall down sideways on, from top to bottom, and then they disappear off the page (the flakes).I need the particles (movieclips) to fall downwards from a birds eye view, and 90% of them to disappear, but the remaining 10% to gradually (over about 5 seconds) build up a white logo (shape) in the middle of the screen.So I am guessing that I am going to have to be clever with dynamic masks to get the shape appearing a little bit at a time, and then I also need some random motion, and scaling as the particles fall downwards (and away) from the eye.
View 1 Replies
Nov 25, 2008
I have a preloader using a mask, set to slowly reveal the target object from the bottom up as the movie loads. But there is something off with the code and I'm not a programmer.
View 8 Replies
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
Nov 9, 2010
I have created a sliding rollover panel so that a user can hover over an invisible button to reveal the panel itself. The panel itself is under a movie clip which basically motion tweens the panel to slide in and out effectively. Then there is the panel_mc inside the movie clip which contains an img. The one panel can slide out but for some reason cannot slide back, even when you rollover the button(popUp_btn)!!!! The compiler errors does not even display this error!!!
Here is the code for the main AS timeline in the site:
stop();
panel_mc_arrangement.panelInner_mc_arrangement.popUp_btn.addEventListener(MouseEvent.ROLL_OVER,rollFarrange);
function rollFarrange(event:MouseEvent):void{ if(panel_mc_arrangement.currentFrame <<2){
panel_mc_arrangement.play();
}else{ panel_mc_arrangement.gotoAndPlay(20); }}
View 1 Replies
Apr 8, 2009
I have plenty of ways of creating falling snow like effects, but a client has just comitted me to an effect as a test of my ability without talking to me first, that I am a little stumped by.I need to have a top down falling snow effect (its actually supposed to be flour falling from a sieve but hey...). All the snow effects I know, fall down sideways on, from top to bottom, and then they disappear off the page (the flakes).I need the particles (movieclips) to fall downwards from a birds eye view, and 90% of them to disappear, but the remaining 10% to gradually (over about 5 seconds) build up a white logo (shape) in the middle of the screen.So I am guessing that I am going to have to be clever with dynamic masks to get the shape appearing a little bit at a time, and then I also need some random motion, and scaling as the particles fall downwards (and away) from the eye.
Before I jump in at the deep end, has anyone got any ideas on this, even just part of it (the falling particles or the revealing dynamic mask part) would be a great help.Please let me know if you can help with ideas and input in anyway, and I'll give you credit on the final project when complete, as well as much help as I can with game related scripting and deisgn/URL...
View 2 Replies
Sep 20, 2007
i am creating a simple set of a few rectangles stacked on top of eachother (going to be like a stack of postcards) and i want to have the user click on the top rectangle and it moves to reveal the one underneath it. i have it all set up to work except i can't think of a way to stop it from being clickable after it's been moved to the side and the 2nd rectangle is revealed. does this make any sense? here is my code:
[Code]...
View 2 Replies
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
Sep 17, 2009
how to create an image maker like the one on the High Scool Musical 3 profile on Bebo http:[url].....
View 1 Replies
Dec 10, 2009
I have created an animation (see attached) where the stage can be dragged from left to right to reveal hidden areas off the edge of the stage. Unfortunately I need to add buttons containing links to websites within the dragable movie symbol and I can't work out how to do it.
View 2 Replies
Feb 5, 2010
I have an image 300 x 400 and want to reveal it 100 x 100 at a time in a cascading flow. I can create a 300 x 400 triangle & tween it to fade the image in, but I want to reveal small portions at a time like puzzle pieces coming together. Since masking only works for the layer below it, I apparently can't make 12 layers that each reveal only 100 x 100 segments.how I can get this effect?
View 5 Replies
Aug 27, 2002
have designed a menu that opens into a sub menu that in turn opens up to reveal another menu .the menu is split 5 times too reveal the submenu's the script to do this is a tween that at frame 6 opens the menu and 11 closes it.
This is replicated to form another sumenu
I have declared the menu instance as "menu"
I have declared the submenu instance as "subsect"
I have declared the button to open the submenu as "expander"
using the with action i have told the expanders to tell all the other submenu's to play the closing sequence so that the open menus close when a new menu is opened .this fails to work as the with action cannot find the target .the code on the expander button is as follows
on (press) {
gotoAndPlay(5);
with (_root.menu.subsect2) {gotoAndPlay(11); [code]............
View 6 Replies
May 3, 2011
I'm Trying to develop a small game where the user chooses from a range of boxes of the left of screen and can drag 3 of them separatley to 3 holding boxes on ther right. each box can be dragged to any location and the order is not important. Once the 3 holding boxes are all full I want a new button to appear. I completed a tutorial and I've got one box working perfectly but no matter what i try I can't get it working with multiple boxes and locations. Below is a list of the instance names of the movie clips plus my actionscript. I've attached a link to the flash file.
[URL]
INSTANCE NAMES
box 1 = "circle_mc"
box 2 = "circle_mc2"
both the grey boxes are called = "targetCircle"
[Code].....
View 6 Replies