ActionScript 2.0 :: Possible To Make Objects Solid?

Dec 27, 2010

I've trying to make blocks solid so my character can walk across the blocks and not go straight through it ive looked around for around 12-13 hrs at the moment and im still stuck.

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Make This RGB Value Not A Solid Black?

Feb 2, 2005

How to make this RGB value not a solid black... but rather say a 20% shade of black?

View 6 Replies

IDE :: Make A Flash Background Go From Solid To Transparent?

Jun 9, 2009

how to make a flash background go from solid to transparent? I know how to make it transparent all of the time, but I want the SWF to play, the background is there, and when it's done I need it to fade away...

View 1 Replies

Professional :: Solid Red Box In SWF?

Apr 5, 2010

I am making a flash video game. You will have control of a spaceship that is going to go to space. I made a 550x30,000 JPG file in photoshop to use in flash as the background for the game. 30,000 pixels is about what I need to make a good scale of the earths atmosphere because earths atmosphere is about 36,000 feet high and I was goign to use a scale of 1 pixel = 1 foot.

When I import the jpg to flash and test the movie instead of my background all I see a a plain red box in the movie window. It fills the whole stage. This led me to think that there could be a pixel limitation. If so what are the limitatoions and how can I get around them?

View 11 Replies

ActionScript 2.0 :: Fading A MC As A Solid?

Dec 16, 2007

I have a few movieclips that I am fading out alpha with actionscript

The problem is the MC is not a solid shape, it has layered shapes in it, so you can see all the shapes within it fading indivually

Is there a way of fading an MC as if it were a solid (bitmap?)

Is there an easy way of converting a vector mc into a bitmap in actionscript?

View 5 Replies

ActionScript 3.0 :: Drawing API - Solid Overlap?

Feb 15, 2007

I'm trying to simply draw a solid shape consisting of various other shapes, however, when I overlap two shapes, the overlapped area becomes transparent again. For instance:

Code:
var myShape:Shape = new Shape();
myShape.graphics.beginFill(0x000000);
myShape.graphics.drawCircle(10, 10, 25);
myShape.graphics.drawCircle(20, 10, 25);
myShape.graphics.endFill();
this.addChild(myShape);

The above code is AS3, but I believe the same thing happens for AS2 as well. The overlapping area between the two circles is not clack.

View 1 Replies

ActionScript 3.0 :: Collision With A Solid Object?

Mar 30, 2010

I am currently creating a game in which the character is stationary in the middle and the world moves in relation to the character. When the character is not moving and not touching anything, I need the world to shift upward to meet the character and stop on collision detection. The problem is I have no idea how to conceptually make this work.

making assets "fall up" and stop when colliding with an object (basically reverse gravity).

View 2 Replies

Professional :: Get The SWF To Have A Solid Background When Opened By Buttons?

May 23, 2010

I have buttons that load SWF files. when i test the SWF they have a solid background. However, if i use a button to open the swf they have transparent/no background, yet you can still see the contents of the swf.
 
How do i get the SWF to have a solid background when opened by buttons?

View 1 Replies

Actionscript :: Fill A Polygon With A Solid Color?

Oct 8, 2009

I'm building a map editor for a project and need to draw a hexagon and fill it with a solid color. I have the shape correct but for the life of me can't figure out how to fill it. I suspect it may be due to whether the thing is a Shape, Sprite or UIComponent. Here is what I have for the polygon itself:

import com.Polygon;
import mx.core.UIComponent;
public class greenFillOne extends UIComponent {

[Code].....

View 2 Replies

ActionScript 3.0 :: Creating A Series Of Solid Rectangles?

Jul 13, 2009

Fairly new to ActionScript 3. I am creating a series of solid rectangles which will be acting as butttons for my site, a new rectangle is created by looping through an XML List, 1 rectangle for each title in my List. They will be displayed 1 above another down the left hand side of my screen.

What I want to do, if possible, is create a vanishing point on the right hand side of my screen which the rectangles will use to alter their perspectives.Obviously the rectangles with a far different Y position to the vanishing points, will display with a greater perspective.

View 2 Replies

ActionScript 2.0 :: Drawing A Line In A Function, But Not Solid?

May 16, 2005

I have in a function a line to be drawn. I want the line to be not solid but like this ------. Can I code for that.line4.lineStyle(2,"0000FF",100);

View 4 Replies

ActionScript 2.0 :: Drawing A Line In A Function But Not Solid

May 16, 2005

I have in a function a line to be drawn. I want the line to be not solid but [code]

View 4 Replies

Flash :: Solid Deformed Shape Mouse Trail?

Aug 5, 2011

I'm trying to duplicate this type of mouse trail. I can't tell if it's deforming a movie clip or drawing separate objects on the stage. I can duplicate it at slow speeds, but at a fast speeds I have no idea how they're doing it.

The MouseEvent.MOUSE_MOVE is way to slow on the update to draw exactly where the mouse is going so I tried using curveTo to create a curve but unfortunately you still hit a point where you get a sharp angle.

View 1 Replies

ActionScript 3.0 :: Papervision3D - From Bezier Curve To Solid Model?

Aug 12, 2009

I have series of Bezier curves that I want to revolve about an axis to form a solid model in Papervision3D.How would I do this? Has someone created a class for Papervision that can revolve a curve to form a solid?

View 2 Replies

ActionScript 2.0 :: Using Arial For Content Font - Set It Up For Solid Edging?

Jun 17, 2006

I'm using Arial for my content font. I'm trying to set it up so that there's pretty solid edging.

Code:
var antiAliasEntry_1:Array = new Array({fontSize:12.0, insideCutoff:0.61, outsideCutoff:-3.43});
var arialTable:Array = new Array(antiAliasEntry_1);
TextRenderer.setAdvancedAntialiasingTable("Arial", "none", "light", arialTable);

I think it's that insideCuttOff needs to be smaller, and outsideCutOff needs to be further in the negative direction. But when I do that, there's no much of an effect. Here's what my text looks like now:

View 3 Replies

ActionScript 2.0 :: Solid Cube: Simulating Camera Movement?

Sep 6, 2006

I am just starting with 3d flash concepts and I was checking this tutorial:[URL]I wonder if there is a tutorial showing the same movement but with a solid cube. I fact, what I want to achieve is this effect:[URL]

View 2 Replies

Actionscript :: Fill Solid Color Into The Shape Of A Transparent PNG File?

Apr 11, 2012

For example, I have a transparent png file, the shape is a car.In the png file, I only draw the white border shape.Outside and inside the border are all transparent.

I want to use actionscript3 code to show the car object with different color, it means only fill color inside the border, and for the outside of the border, keep transparent.How to do that?

So far, the simplest workaround is to prepare many images with PhotoShop, but it's not good enough for me. When I have many shapes and use many colors, I've to prepare many many images.Add more details:(Because I'm using white border, you may not see the basic png file if your background of browser is white)

View 2 Replies

ActionScript 2.0 :: Use Bitmap Fills Instead Of Solid Colors For The Coloring Book By Zelwyn?

Feb 23, 2010

Is there way to use bitmap fills instead of solid colors for the Coloring Book by Zelwyn?I want to color shapes with bitmap fills. If the user changes his mind, then he could recolor the shape with a new bitmap.It would be the exact same as the coloring book, except using image bitmap fills.

View 4 Replies

ActionScript 2.0 :: Solid Backgrounds Showing Up Behing Transparent PNGs In Flash?

Jun 7, 2010

I'm having an issue with solid backgrounds showing up behing transparent PNGs in Flash. I know this isn't a lot to go on, but I have no idea what is going on here, My client sent me the attached image.. This is what they are seeing (the green box behind the top of the vehicle). I am not seeing this. Apparently this box, and other similar boxes show up during image transitions.

I am using Tweens to fade between different models and colors of the vehicle. I was originally using Caurina/Tweener, and experienced similar issues myself, but since switched to using the built in tween class, and am not seeing any problems anymore, but apparently my client is.You should be able to see the attached image. You can also view the demo link, to see if you see any issues yourself with the PNGs fading in and out....(you'll have to sit through the intro, then click EXPAND on the final frame)

View 1 Replies

ActionScript 3.0 :: Basic Physics Engine Including 1 Ball And One Solid Object?

Apr 8, 2011

Is there anyone that can write a really basic physics engine including 1 ball and 1 solid object?

So it should be 1 ball and then 1 solid object like a box. The box should be completely solid, the ball shouldn't be able to go through the box, it should just stop when hitting it at any angle.

View 13 Replies

Professional :: Collapse Multiply Layers With Different Transparency Into A Single Solid Filled Layer

Jun 3, 2010

i want to collapse a complex scene with all different layers and different transparency into a single layer (or as few as possible) to optimize the flash file for online (were experince proformance issues). I have tried the combine and manually copying pasting into one layer but it cuts the fill below and replace with transparent fill. I want to have a end file that is 100% solid.

View 1 Replies

ActionScript 2.0 :: Solid Fill Color For Several Irregularly Shaped Movie Clips With Different Colors?

Jun 25, 2007

I have several movie clips of the main character (one for each primary and secondary direction), each of which contains 7 or so layers, one for each body part, and each layer then has about 6 keyframes, each keyframe containing a different graphic of the body part.All I want to do is create a shadow of the character. Originally, I just duplicated the main character movie clip, changed the _yscale, _rotation, _alpha and applied a color via setRGB(). It sort of worked, but because I was applying the setRGB() to the collective group of graphics having multiple colors, the variances showed up in the shadow, so you could make out the character's features.

View 2 Replies

Make Objects Appear In Flash Intro?

Jun 3, 2010

im trying to make this intro and ive searched a bunch of tutorials, but i cant seem to find what im looking for..maybe im not searching the correct term, this is what im trying to do... i have a map and i want the dashes to appear one after another in sequential order so it shows movement.

View 3 Replies

ActionScript 2.0 :: Make Objects Fade Away Using AS?

Mar 18, 2011

If you go here: [URL] and click the first movie, it calls in an external swf. A dark gray overlay appears, and the text and buttons fade away.I did this using a pretty newb method: by simply fading in the background in the external swf.Makes me cringe though, 'cause it adds an extra 300kb to the file.There was to be a non-newb way to do this.

View 3 Replies

ActionScript 3.0 :: Make The Effect Of Dangling Objects?

Jan 21, 2010

How can I make the effect of dangling objects like in this site [URL]

View 1 Replies

ActionScript 3.0 :: Make Objects Appear And Then Disappear With Buttons?

Nov 20, 2009

Im currently try to construct a flash presentation that will have several different buttons on the same stage, and each button when clicked will make particular objects appear on the stage. Then once each button is clicked again it will make the particular objects connected to it disappear from the stage. Each button and the objects it makes appear / disappear is seperate from all the other buttons actions.
 
construct the actionscript for this presentation as im finding it quite complicated to have several things going off on the same stage at the same time. Im currently working in Flash CS4 actionscript3.
 
The closest example i have seen to the program i would like to create can be found using the following link...[URL] However my program would be simpler, e.g. clicking the bun in the program just simply adds the bun to the screen, it doesnt scroll through different types of bun.

View 1 Replies

Professional :: CS5: Two Make Objects Disappear That Are Off Stage In SWF?

Sep 24, 2011

lets say I have animated a car entering the stage area from outside the stage. When I render the SWF at first only the content on the onstage area is visible  but if I resize/enlarge the window I can also see the car(content) lying outside the stage just like in the flash file. How can I make sure that no off stage content is visible at all in the final SWF?

View 4 Replies

Make A Random Falling Objects Game?

May 10, 2009

I'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 Replies

Flex :: Make Objects With Key Names From Variables?

Dec 26, 2009

I would like to make an Object that has key names taken from a variable. Probably this is not clear enough, so let me make an example.

I have two variables var str1:String = 'firstKey'; and str2:String = 'secondKey';

How can I make an object that would look like:

var obj:Object = {firstKey: 'some value', secondKey: 'some other value'}, note that firstKey and secondKey are values of variables str1 and str2.

Doing obj = {str1: 'some value', str2: 'some other value'} does not yield a result that I would like

View 3 Replies

ActionScript 3.0 :: Make 2 Different Objects / Buttons Do Same Action?

Jan 31, 2010

Can someone tell me how to make 2 different objects/buttons do the same action?I am building a band flash site.I have a music player with basic controls/buttons: stop, play, pause and volume bar.I have a video section and few videos in it. (They are on youtube and I am using this lightbox script for flash to activate them so they play on top of the site / not going on youtube).I want to make that video thumbnail link automatically stop the music (or pause it) and also to open video: I've tried some stuff but I am not too good at coding.[code]

View 0 Replies







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