ActionScript 2.0 :: Make A Different Layer For Each "falling" Piece?
May 13, 2009i want to create a tetris game.should i make a different layer for each "falling" piece..
View 2 Repliesi want to create a tetris game.should i make a different layer for each "falling" piece..
View 2 RepliesI found a actionscript for falling snow. Problem is, I have some art that I want in front of the falling snow and can't figure out how or where to put the mask layer. Also, the more the test scene runs, the more snow gradually starts falling until I have a blizzard and can't see anything.
View 3 RepliesI saw the snow tutorial on this website and i plan on using it for 20 seconds (500 frames) in my introduction. It works perfectly fine, but after that time, it doesn't stop. It keeps on going and going and going... how to make it stop or make it go into the background? used the code provided by the tutorial. I know this is sudden by can someone answer today because i have to put it together before thursday.
View 1 RepliesI'm trying to develop a SWF Api that consists of a game that makes random objects fall from the top, each of them has different points, and then the points the player gets should be stored into a dinamic text called score, when the player doesn't take the ball, loses a life. Then, if the player catches it, the ball disappears and gives the points to the player.
View 3 Repliesim making a platformer with this code...
import flash.events.*;
import flash.utils.*;
import flash.display.MovieClip;
import flash.ui.Multitouch;
[Code]....
And i want to make the screen to follow the character when falling.. for the side horozontally i made the Boundries go the opposite way and keep the character in the center but how can i do that with falling and jumping up off screen?
I want to make the falling snow effect, but i need leaves instead of snow....
View 1 RepliesBeen working with the Falling Snow 2.0 tutorial (great stuff), and am trying modify it to duplicate different types of snowflakes (separate mc's with different designs), but am having no success. Also, I'd like to make the flakes rotate, perhaps at random rates of speed, and could use some pointers there as well.
View 5 RepliesI am trying to make a game where you have random objects falling vertically and must land in a bucket. The bucket is controlled by the mouse(it follows the mouse).
View 5 RepliesI'm using the tutorial to create falling snow for flying pollen but I can't make the particles move horizontally. They go straight on from the bottom to the top of the stage.This is the code:
onClipEvent (load) {
//specifies the size of the movie stage
movieWidth = 900;[code]......
Don't know if the flash layer on the view stack contain only the compiled flash swf file
View 1 RepliesI have some code here for some falling leaves. I was wondering how it can be altered so there is a delay between a group of leaves falling and the next group falling? also to slow down at the end of the fall? [code]
View 9 RepliesMy question is what needs to be done in order to make a .swf file go into full screen without falling to a black screen when a movie is played? I have tried coding it, however I come up with the following error.
[Code]....
What should I do to fix this? This is not going to be an HTML file, however, so the initial thought of changing the publish settings does not seem to work this time.
Is there a way to make a layer transparent?
And is there a way to make a symbol transparent?
ok i'll try and explain this best i can, on my site i have a menu that takes up the whole of the content area.. the plan is that when the user clicks the menu button within a content page the menu would appear over the top however with a slightly transparent background so you can still see the last visible content page in the layer underneath.. i've got this to work however the buttons within the content page are still active.. is there a way i can make the menu layer 'solid' so the content below is only visible but not accessible?
View 5 RepliesI wonder how it is possible to do a working link on a .swf file to open a new URL. The link is working but it seems that the second Blue layer where the "button" is created is not transparent as this is on top of the animation. So the only thing that is seen is this blue layer when presented in the HTML. I think the problem is that the 2:nd layer isn�t transparent and I dont know how to make it transparent? I think the problem is on step 2?
1. Import the .flv file.
2. Create a new layer wich in this case is Blue (How to make it transparent ?)
3. Draw a rectangle the same size as your banner
4. Go to the Modify menu and select 'Convert to Symbol'
5. In the pop up window make sure the behaviour is set to 'button'
6. Then in your Behaviours panel click on add behaviour (+ symbol at the top) and select option web/goto web page
7. enter url of page, in this case [URL]
i have three layers on frame 1 of a swf.in all the three layers i have a different movie clips. my question is that is it possible to show only one movie clip when the swf loads initially ..? i mean when the swf loads initially , i need to hide tow movie clips and show only one..?
View 4 RepliesIs there a piece of code that will make always make an object the top layer? I have a three types of buttons on two layers (about 15 in one, 4 in the other) and a banner comes up when you roll over them. The banner will cover some of the buttons, but be overlapped by others. I want the banner to completely cover all buttons during the roll over.
[URL]
I have a shape on a layer and I have used a bunch of motion tweens on it. I need to dynamically move that shape but I can not figure out a way to accomplish this. Have I painted myself into a corner with this one?
View 1 RepliesOn one layer I have a gallery loading the content from an xml file. On the layer above I have two square blocks on either side of the screen, with a gap in the middle for where the main picture will be displayed. The two blocks are 50%percent alpha. This is because the gallery thats loaded, loads the images in a line, which is movable, whereby the user can click either the left or right image and the gallery moves along, displaying the next or previous image into the middle spot where there are no blocks shading it.
View 0 RepliesI'm creating a simple shooter game and I've replaced the mouse cursor with a custom one. It works good but my monsters appear above the cursor. How do I make the cursor always remain on the top most level/layer?
View 15 RepliesHow i would go about making a sort of increasing transparency layer..
say i have a movieclip which is scrolling back and forth horizontally ..
as it reaches its extremes ( were i want it to start being hidden) i do not want it to be completly hidden right away .. but i want it to look more and more hidden the further into the extreme it goes , so it looks as if its fading when it scrolls to the side.
I'm making an interactive map of the U.S. The layer with the outlines of the U.S. states sits on top. It has to sit on top because otherwise the outlines don't show up above the color fills for each state. I want a popup balloon to appear when you roll over each U.S. state. However, when I turn a state, say, New York, into a button, the button layer sits below the outline layer. So when I create the popup box for the button's rollover state, the popup box is *under* the US state outlines. How can I make the button rollover state exist on the highest layer?
View 2 RepliesI have created a webpage with a html menu and flash embedded underneath it.The problem is, the flash movie is in an index layer of -1 and the html menu needs to sit above it in index 1 for example.If the menu sits behind the flash the buttons are inactive, if the flash sits behind the html menu, its buttons are inactive.I have a div layer for the html menu and it not as high as the flash movie, but it doesn't make a difference, its seen as sitting behind and therefore the buttons don't work.
View 2 RepliesWithin my flash file, some of the layers/objects go off of the sides of the document as I want them to. When I play the file within the test movie function within flash, the file plays fine and none of the layers that extend of the document cause problems(the samething happens when I play it in flash player). But when I open the file in a web broswer the layers that extended off the edges of the document show up. Is there anyway to get rid of this without having to redo the whole file? (ie, crop around the main document size, or set it to export only everything within the document and nothing that extends off of it?)
View 1 RepliesI am doing some research on creating clcikTags. I read a few places that the clcikTag should be on the top layer. That has been fine, but now I want to loop it and I usually put my actions in the top layer. Will this cause a problem? Am I better off just putting my loop action on the last key frame of the clcikTag layer?
View 3 RepliesIm creating a program that is designed to allow the used to select 3 pictures (movie clips) and print them off on a single peace of paper.
The program works by allowing the user to select 3 graphics (the graphics are actually instructions for various exercises) and then moving the desired movieclips onto the stage. This all happens on a layer named "Content"
So far the program will allow the user to select the movieclips and will move them into place on the Content layer as well as move smaller versions of the pictures into a preview box the only thing it does not do is print. (the most important bit)
Is it possible to create multiple layer masks over a single layer using Actionscript3?Below is the flash effect I wanted to create with masks.First it starts from A and goes to B and C simultaneously.Then from B it goes to H and D simultaneously (the same applies to C).This is how the end result will look like.ps. I need my background to be transparent. I'm embedding it into a web page later.
View 2 RepliesInside movieClip container, there are colored buttons on layer1 and on layer2 there is movieClip square which covers the buttons. I want to use the color efffects and blending options of movieClip square to make layer 1 alpha. There are some blending options called alpha, difference, lighten and substract but Im not getting the right combinations. I want to make layer1 alpha only by using layer2.
View 1 RepliesI can't seem to go to a master edit file that is supposed to show both the body (layer 1) and wing (layer 2) of a flying bird animation. Is there a way to merge these two since I'm planning on shrinking it down and making a lot of birds?He merged the two layers at 14:24 of the video without even explaining how he went to this so called "Edit Master Movie Clip" that seems non-existent on Adobe Flash CS4.
View 1 RepliesI want to create a simple mask. A white oval on a second layer on top of a bottom layer that just has a word of type. I want the oval to travel from the upper left down to cover up the type. When I create the second layer, create the oval, and choose a distant frame for the "end" of the oval's positioning, my type in the first layer disappears as soon as I press F6 on that second layer. Why? Why is it nuking my first layer?
View 3 Replies