ActionScript 2.0 :: Make A Rotating Cube With Rounded Edges?
Sep 24, 2009I want to make a rotating cube with rounded edges. I already saw lots of cube sources, but i need one with rounded edges. My maths actionscript is not so good.
View 0 RepliesI want to make a rotating cube with rounded edges. I already saw lots of cube sources, but i need one with rounded edges. My maths actionscript is not so good.
View 0 RepliesRecently a client of mine decides he wanted rounded edges for his page vs. the typical square edges. This was after the initial design and at the point where it is almost complete.I told the client that in order to do this we would have to go to a full Flash web page meaning a full browser Flash page (everything is already flash).Now I told him that we could do this but because it was a new design and as you know that there is much involved in doing something like this i.e. all the paths will have to be changed because it will have to reside inside a mc etc.if there is an actual way to make the stage rounded only for future knowledge.I know I can make a round edge square or rectangle but it still has square edges at outer edge of the stage.
View 5 RepliesI want to make a rotating cube with rounded edges.I already saw lots of cube sources, but i need one with rounded edges.My maths actionscript is not so good.
View 1 RepliesI want to make a rotating cube with rounded edges. I already saw lots of cube sources, but i need one with rounded edges. My maths actionscript is not so good.
View 3 RepliesI got a problem with a nice rotating cube(from ericlin) on the mac. This is the link: [URL] When i click outside the swf movie(in html) the cube becomes nuts and rotates very very fast. I only have problem on mac. I already tried things like this, but no succes
[Code]....
I'm trying to make a simple cube menu. The rotation is done by buttons. After finishing my code, im having some troubles with some rotations of the cube.
[Code].....
I have the 3D rotating cube. Each panel of the cube is an image pulled in through actionscript. When you click on one of the panels, the cube straightens itself to show only the face you've clicked on. This is all great. However, I want to be able to click on that face again and have it link to a URL. This is where I get lost.
I feel like I'm ALMOST there - I've gotten it to work so that I can click the panel and it links to a URL, but right now every panel links to the same link. I haven't figured out how to make each panel link to its own separate URL. Here is the portion of code in my .FLA where I've added the linking action:
Code:
setupFaceAction = function (cube) {
for (var i = 0; i<cube.faceArray.length; i++) {
var face = cube.faceArray[i];
face.onPress = function() {
if (!cube.fading) {
[Code] .....
This is the line I added to make it link when you click the panel after it's facing forward:
Code:
cube.getURL("[URL]", "_self");}
So I assume I need to set up some sort of array so I can have multiple links that correlate with the appropriate image. To make it clearer, I've attached all of my files, so you can see all the code. You'll find actionscript in the .FLA and two external actionscript files. I think "cube.as" may be where I need to do the work.
Is there an actionscript I can insert to create the animation/movement of a cube flipping/rotating vertically?
View 4 RepliesI have been trying to figure out a good strategy to perform a bitmap crop using Actionscript3. For example: I have a picture of a car and I want to crop out the car from the image alone and feather the edges so that they do not look jagged.
I am a flash noob and have only been using it for a couple of weeks. I've tried a couple of options and here is the last one that I have come up with it: I place red dots on stage that are draggable so that you can outline the object you want to crop and the dots are the bounds for a gradientFill that is used as the bitmap's mask. (I am using a radial gradient ... so the results are far from what I want, since the car is not an oval).
[Code]...
1) How can I fade just the edges of this custom-shaped fill outlined by the red dots?
2) I want to save the image out to a file once it's cropped. What strategy would be better for doing this using a BitmapFill or a GradientFill as a Mask (If it's possible with both)?
3) I may be using this strategy to crop faces later on.. anyone know of any good face detection APIs for as3? (also edge detection APIs)
How can I make my buttons (pic 1 and 2) more rounded ? (pic 3)
View 6 RepliesHow do I make a rounded corner box in Photoshop CS? I don't want to "feather" it because that makes it blurry. I just want rounded corners.
View 9 RepliesI need to make 8 pixel rounded stroke with action script.
View 1 RepliesI'm trying to achieve a roundedRectangle in gradient by using just code but i'm getting stuck.I was able to achieve the gradient part but adding the rounded piece its difficult, please see me code,
Code:
package com.callwave.web.fuze.view.skinLibrary
{
import mx.core.UIComponent;
import flash.filters.DropShadowFilter;
import mx.graphics.LinearGradient;
[code]....
I am currently working on a game and I am stuck. I do not know how to make a rounded surface that will act as a wall/barrier. It is pretty much a semi-circle. I know you can make a circle act as a barrier but I would need to use the perimeter of the circle. Also is there a way you can make an actual image a barrier? I am new at this but I know from reading up that making a rounded wall is pretty tough. I am going to use this wall to make a ball bounce or "roll" around it. Below is a picture of what I am trying to do. The black dot is the ball.
View 3 RepliesIn my application,showFlexChrome is set as true in WindowedApplication,and the *-app.xml is setted as follows
<systemChrome>none</systemChrome>
<transparent>true</transparent>
<visible>true</visible>
I know how to make the top border rounded corners with follow codes:
borderStyle="solid" cornerRadius="8"
But I cannot find a method to make the bottom border of my app window rounded-corner.
how can i make TextField rounded or attached to circle?
View 0 RepliesCheck out "Attach Files".. I want to make a cube motion where my hairline will stay skinny.. (left cube) but if I change movie clip height for more then 220 my hairline gets thick! (right cube)
View 5 RepliesI am using FLASH CS4 and would like to know how to rotate an object?
View 4 Replieshow to make a rotating menu like one of this sites? [URL]
View 8 Repliesis possible to make fancy 3d rotating text with Flash?
View 1 RepliesI have multiple angle images of an object and I want the result to be the same as the link here. [URL] I don't know flash at all but it seems like there would be a simple program (even if I have to pay) that allows me to import the images, set the rotation speed and other settings and then hit export to .flv file or something. Does anyone know of a program to do this, or a simple method?
View 3 RepliesI'm trying to animate some leaves that rotate back and forth to simulate leaves blowing in the wind. I got to animate the leaves one way, but i couldn't figure out how to make it loop (go back and forth).Here's the code: on the movie clip named "leaf" witht the following code attached to it:
onClipEvent (load) {
_root.leaf._rotation += -15
}[code].....
I'm trying to make a rotating menu for a sushi webpage, and I've almost got the coding for it solid. But I've run into a few bumps in the road. If I click on the arrows fast the rotation gets really screwed up, if I change from left to right, or right to left right away the animation screws up.And also the rotation messes up on the left arrows rotation (clockwise). Anyway, here is the code, I'm also uploading the .fla with just the menu.(This goes on the first frame before the animation)
Code:
var resting = TRUE;
var Rotation_Sushi = 1;
///////// Right Arrow[code].....
what's the main idea behind 3D in Flash. I mean, I've seen a lot of scripts to make rotating squares or triangles or whatever, but never managed to understand how they were made.
View 14 RepliesI've created a movieclip that is supposed to begin the movie with a rotation (it's a globe) and at a specific frame it should beginning to fade out. I've inserted the folowing code to the rotation and for this action it is working perfectly
Code:
onClipEvent (enterFrame) {
i = getProperty(this,_rotation);
setProperty(this,_rotation,i + 0.5);
}
But, when I try to insert any other line for the _alpha, a sintaxe error occurs and the rotation doesnt works.
I have downloaded the following code and tried to change it. It works so far, but the attached MC are "pulsating" - if I change them with another MC (with text inside) I can't use them as a Menu links - they are "pulsating" too much and I can't read/see the text properly. where in code I can change(reduce) this "pulsation"? how can I make the MC-s cklickable=working as a buttons with mouseover/mouseout effects (changing color etc.)
View 1 RepliesBasically what I am trying to accomplish is to make a rotating menu comprised of circles that are spinning at a slow constant speed, and when the mouse goes over a circle(button) the menu stops rotating.
View 2 RepliesI have a rotating menu that sets the selected button to the 3:00 position once clicked. I need the labels for the buttons to stay in the upright position as they rotate with the button. I have attached an image. Anyone know of an action script that would keep the labels upright?
View 8 RepliesI didnt see a place in preferences to keep edges hidden. I have some text that has a dotted line around it. I can hide it with hide edges, but as soon as I select them and let go, the edges come back. maybe their not edges since theyre dotted. maybe its flash telling me somethings not set up correctly? anyone?
View 2 RepliesIs it possible to blur the edges of a movieClip, and only the edges? If I use the blur filter, It blurs the entire image, not just the edges.
Basically, I have a flv file within a movieClip, and I need the edges of the video to look feathered.