Radius Corners
Hello Peoples, I am new to this forum and flash in general. My site is http://www.mosaictilecreations.com/. I recently built this site and a friend in Calgary did the animation. The one thing I would like to do is place radius corners on the Mosaic Sea Animation. I dunno, somehow the sharp corners just seem a little harsh. Anyway, if anyone can help me accomplish this I'd be grateful. Cheers, scubes
FlashKit > Flash Help > Flash Newbies
Posted on: 10-19-2005, 09:47 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Radius
I am working on a circle function and have only one last thing to figure out. how to calculate radius...... any ideas?
Get X And Y From Angle And Radius
I need to be able to get x and y positions from angle of a dot (moved by mouse) from another dot (stationary,at center of stage), and the radius, being the distance also from the center dot to the outer dot.
I don't need the code to make the dot move or anything, i just want to know if anyone has the code/formula to get an x/y position from radius and angle.
Thanks in advance,
Sunlis
Check Radius
Does anybody have a code to check if a point is within a certain radius of another point?
This actually should be pretty easy, but for some reason I can't think of a solution.
Thanks
Change Radius
I have this code for a 3d circular menu... the objects spin around in a circle...
this menu, you see the outer part and the objects spin behind it...
I would like to modify the code so it looks more like this, how you
see the images from the inside of the circle...
http://www.campaignforrealbeauty.com...countries.html
Code:
// create a scene movieclip to contain all 3D elements
// and center it on the screen.
this.createEmptyMovieClip("theScene", 1);
theScene._x = 150;
theScene._y = 100;
// now we'r going to create an array to keep track of all the
// objects in the scene. That way, to position all the objects
// you just need to loop through this array.
objectsInScene = new Array();
// no camera, but a rotation will be needed to keep track of the
// spinning involved (though its the same as the camera)
spin = 0;
// focal length to determine perspective scaling
focalLength = 500;
// the function for controling the position of a friend
displayPane = function(){
var angle = this.angle - spin;
var x = Math.cos(angle)*this.radius;
var z = Math.sin(angle)*this.radius;
var y = this.y;
var scaleRatio = focalLength/(focalLength + z);
this._x = x * scaleRatio;
this._y = y * scaleRatio;
this._xscale = this._yscale = 100 * scaleRatio;
// on top of the normal scaling, also squish the
// _xscale based on where in the rotation the pane is
// since you would be looking at its side when at a z
// of 0, it would be at its thinnest which would be
// 0 since its a completely flat pane. So for that,
// we can use the trig function of z (sin) to squish the
// _xscale based on its position in z.
this._xscale *= Math.sin(angle);
this.swapDepths(Math.round(-z));
}
// attach each pane in a loop and arrange them in a
// circle based on the circumference of the circle
// divided into steps
angleStep = 2*Math.PI/8;
for (i=0; i<8; i++){
attachedObj = theScene.attachMovie("pane", "pane"+i, i);
attachedObj.angle = angleStep * i;
attachedObj.radius = -100;
attachedObj.x = Math.cos(attachedObj.angle) * attachedObj.radius;
attachedObj.z = Math.sin(attachedObj.angle) * attachedObj.radius;
attachedObj.y = 4;
attachedObj.display = displayPane;
objectsInScene.push(attachedObj);
}
panCamera = function(){
// rotate camera based on the position of the mouse
spin += this._xmouse/1000;
// Now, with the camera spun, you need to perform the rotation
// of the camera's position to everything else in the scene
for (var i=0; i<objectsInScene.length; i++){
objectsInScene[i].display();
}
};
// make each figure run backAndForth every frame
theScene.onEnterFrame = panCamera;
Radius Problem
hello
i am busy with a circle collision and gravity play thingee. ok, so i got most of it working (without gravity).
first i got it to work with just two balls (collision) -> and reverse their speeds when they collide with each other using the formula :
ActionScript Code:
formula1 = ball1_x - ball2_x;
formula2 = ball1_y - ball2_y;
radius1 = ball1._width/2;
radius2 = ball2._width/2;
if (formula1 * formula1) + (formula2 * formula2) <= (radius1 + radius2) * (radius1 * radius2)) {
//reverse speeds
ball1.speed *=-1;
ball2.yspeed *=-1;
ball2.speed *=-1;
ball1.yspeed *=-1;
}
but the balls bounce weirdly off each other,especially when the bounce from the top, and when i add gravity they behave even stranger.
now i think my problem is that i need to add code that will put the circles outside of one another when they collide, how do i do this?
i have tried to do this by (or something similiar)
ActionScript Code:
if (ball1._x + ball1._width/2 > ball2._x - ball2._width/2) {
ball1._x = ball2._x - ball2._width/2;
}
i used the tutorials from keith peters of gravity, and node garden to do this so by myself i am no math genuis.
please help? so to sum up i would like to place these balls outside one another when ever they collide how do i do this?
Declaring Max Radius
I like to control the radius of the circle according to the number text in it. For example the code below the number text is (332) so i would like to set the radius of the circle to (332) but it turn out that 332 is too large a circle. so what actionscript should i add in to declare the max radius is 2cm but in a way that 332 = 2cm. because i want to put the radius as 332 so it will be clearly instead of having to count the radius myself as i have 10 circle of different number text. The max number text is 332.
ActionScript Code:
MovieClip.prototype.drawCircle = function(r, x, y) {
this.moveTo(x+r, y);
a = Math.tan(22.5 * Math.PI/180);
for (var angle = 45; angle<=360; angle += 45) {
// endpoint:
var endx = r*Math.cos(angle*Math.PI/180);
var endy = r*Math.sin(angle*Math.PI/180);
// control:
// (angle-90 is used to give the correct sign)
var cx =endx + r*a*Math.cos((angle-90)*Math.PI/180);
var cy =endy + r*a*Math.sin((angle-90)*Math.PI/180);
this.curveTo(cx+x, cy+y, endx+x, endy+y);
}
}
var circle332 = this.createEmptyMovieClip("circle", 1);
circle332.beginFill(0xffff00, 100);
//adjust the size and placing of the circle
circle332.drawCircle(32, 174, 119);
circle332.endFill();
var tFormat = new TextFormat("circle",1);
tFormat.font = "Arial";
// use this for legend tags and rollover notes
tFormat.size = "35";
tFormat.color = 0x000000;
this.createTextField("moreinfo", a*20+3*(angles.length+30), 141, 98, 100, 100);
this.moreinfo.setNewTextFormat(tFormat);
this.moreinfo.text = "332";
Help Me On This Radius Things.....
hello everyone.. i really need help on this new requirement:
Showing the specific location on map based on radius
- Show the location on map (from a point to another point), which is calculated, based on radius concept.
- The user will input what are the radiuses they want to see and based on their input we need to display the location.
- FYI, radius is a circle centered at the origin.
How a location on an image to be shown based on radius calculation done in flash?
I really need help on this.. somebody please help me..
p/s: Hi cotta! where have u gone? i need your help..
Changing The Radius
hey guys,,
plz view my .fla... i changed the corner radius and i don't know why the edges look fuzzy..i tried to smooth the shape out but it doesn't help.
thanks soo much!!
Orbital Radius
If i am using actionscript to code (Flash MX 2004) for a circular motion path, and i want to change the radius over a set period of time, how would i do this?
I am using this code from a Kirupa circular movement tutorial:
onClipEvent (load) {
var radius = 100
var speed = 5
var xcenter = this._x;
var ycenter = this._y;
var degree = 0;
var radian;
}
onClipEvent (enterFrame) {
degree += speed;
radian = (degree/180)*Math.PI;
this._x = xcenter+Math.cos(radian)*radius;
this._y = ycenter-Math.sin(radian)*radius;
}
Any help would be appreciated
Rob
Curved Line Radius?
Hi there, I design plans for halfpipes and the like, so I need to make curves and it helps when I know what I'm drawing, so is there a way to find the radius of a curve once i bend the line? It might become tricky because it might turn out to be an ellipse, which has 2 foci, and would also be hard to do. These tend to be like 4+ feet tall, and 18+ feet long, so a conversion factor would be even better(seeing as Flash can only go up to 40 inches)
Thanx alot
Image. Corner Radius
Hi
I have a little problem and need your help )) I have to add corner radius for image component, but I don't now ho to do it(I think the only way to do it - extends class Image and override UpdateDisplayList, but I don't think that this is a good idea). I tried to set image as background for Box, but this didn't help ((
So, can anyone helps me? )))
PS Sorry for my English )
Constraining Movement By Radius
This doesn't look pretty or accomplish anything groundbreaking, but may come in handy for someone looking to constrain the movement of something like the crosshairs in a game.
I am working on a game (play my finished games HERE) and wanted to constrain the movement of the mouse controlled crosshair to a certain radius around the player. Since it gave me difficulties I figured I'd post a simple demonstration of my solution.
Zip Code Radius Search
I need help creating a zip code radius search for my friend finder website. I've searched the web and this seems to be the only site that can possible help. I found you last night and guess what 7 hours later I'm still reading...great work my friend. So far I've learned that most of the work is done on the results page and that I need to get a listing of every zip code. I have my search page almost built and I'd love to incorporate this feature. Any help please I am new to macromedia and php but I think I have found the light with you.
Thanx in advance
Constraining Movement By Radius
This doesn't look pretty or accomplish anything groundbreaking, but may come in handy for someone looking to constrain the movement of something like the crosshairs in a game.
I am working on a game (play my finished games HERE) and wanted to constrain the movement of the mouse controlled crosshair to a certain radius around the player. Since it gave me difficulties I figured I'd post a simple demonstration of my solution.
Positioning Objects On A Z Radius Evenly
I'm useing papervision3d
And I have 8 objects/spheres and will be adding more objects/spheres later
I was wondering if anyone knows a formula to position any number of objects evenly on a z radius
any help will be greatly appreciated, sincerely newwave
here is what I have tried, as is only 4 objects/spheres are visible on stage, due to overlapping
[code]
var M1:MaterialObject3D = new FlatShadeMaterial(light, 0xFF0000, 0xFFCC99);
obj1 = new Sphere(M1, 50, 10, 10);
obj1.x = -ORBITAL_RADIUS;
obj2 = new Sphere(M1, 50, 10, 10);
obj2.x = ORBITAL_RADIUS;
obj3 = new Sphere(M1, 50, 10, 10);
obj3.z = -ORBITAL_RADIUS;
obj4 = new Sphere(M1, 50, 10, 10);
obj4.z = ORBITAL_RADIUS;
obj5 = new Sphere(M1, 50, 10, 10);
obj5.z = -ORBITAL_RADIUS;
obj6 = new Sphere(M1, 50, 10, 10);
obj6.z = ORBITAL_RADIUS;
obj7 = new Sphere(M1, 50, 10, 10);
obj7.z = -ORBITAL_RADIUS;
obj8 = new Sphere(M1, 50, 10, 10);
obj8.z = ORBITAL_RADIUS;
[/code]
What The ? Corner Radius Spontaneously Growing ?
Hey everyone,
I'm having the weirdest problem. If I select the rectangle tool in Flash MX 2004, and I drag I rectangle, all the sudden I saw that the corners were starting to corner radius, and they would corner radius more as I kept the mouse pressed. What the hell is going on ? I checked with the corner radius, it was set to like 349, as a result of the mouse that was kept down. I set it back to 0, try again and the same thing happens.
Now I need to draw a rectangle, no corner radius'ed rectangle, but I just can't do it because this happens everytime ! So I thought fine, have it your way, I'll copy one from FMX, but the same thing happens there ...
Any ideas ?
Want A Cirkle To Be Drawn When The Radius Is Rotating
Hello!
I have a line ("radie_mc") rotating when the button "btnPlayPause" is pressed. The line I think as a radius in a circle. I want a circle to be drawn when the radius is rotating. I have a tiny point at the end of the radie called "spets". I thought that I could curve to that point when the radie is rotating, but that doesn´t work. Can anyone help me with this I would be greatful.
Code:
btnText = ["Draw", "Stop"];
// ---------------------------
booPlaying = 0;
// Set default button display
strBtnText = btnText[booPlaying];
// ---------------------------
numRotateRate = 1;
fncRotate = function () {
radie_mc.nRotationValue = (radie_mc.nRotationValue+numRotateRate)%360;
radie_mc._rotation = radie_mc.nRotationValue;
lineStyle(3,0x66,50);
moveTo(_root.radie_mc.spets._x, _root.radie_mc.spets._y);
curveTo(_root.radie_mc.spets._x, _root.radie_mc.spets._y)
trace("_root.radie_mc.spets._x="+_root.radie_mc.spets._x);
};
btnPlayPause.onPress = function() {
if (this._parent.booPlaying) {
// Insert whatever script needed here for action if already playing
clearInterval(this._parent.objRotate);
} else {
this._parent.objRotate = setInterval(this._parent.fncRotate, 5);
}
this._parent.booPlaying = Number(!this._parent.booPlaying);
this._parent.strBtnText = this._parent.btnText[booPlaying];
};
What The ? Corner Radius Spontaneously Growing ?
Hey everyone,
I'm having the weirdest problem. If I select the rectangle tool in Flash MX 2004, and I drag I rectangle, all the sudden I saw that the corners were starting to corner radius, and they would corner radius more as I kept the mouse pressed. What the hell is going on ? I checked with the corner radius, it was set to like 349, as a result of the mouse that was kept down. I set it back to 0, try again and the same thing happens.
Now I need to draw a rectangle, no corner radius'ed rectangle, but I just can't do it because this happens everytime ! So I thought fine, have it your way, I'll copy one from FMX, but the same thing happens there ...
Any ideas ?
Drawing Api - Corner Radius On Rectangle
I have seen the denet article on how to make a corner radius using code. I use it often. But now I need to make a large corner radius and it looks jagged at 100% flash. When I zoom in, the box looks pristine. Its like an optical illusion., Here is the code that generates the box if you copy and paste it into a new Fla file:
ActionScript Code:
MovieClip.prototype.drawRect = function(x, y, w, h, cornerRadius) {
// ==============
// mc.drawRect() - by Ric Ewing (ric@formequalsfunction.com) - version 1.1 - 4.7.2002
//
// x, y = top left corner of rect
// w = width of rect
// h = height of rect
// cornerRadius = [optional] radius of rounding for corners (defaults to 0)
// ==============
if (arguments.length<4) {
return;
}
// if the user has defined cornerRadius our task is a bit more complex. :)
if (cornerRadius>0) {
// init vars
var theta, angle, cx, cy, px, py;
// make sure that w + h are larger than 2*cornerRadius
if (cornerRadius>Math.min(w, h)/2) {
cornerRadius = Math.min(w, h)/2;
}
// theta = 45 degrees in radians
theta = Math.PI/4;
// draw top line
this.moveTo(x+cornerRadius, y);
this.lineTo(x+w-cornerRadius, y);
//angle is currently 90 degrees
angle = -Math.PI/2;
// draw tr corner in two parts
cx = x+w-cornerRadius+(Math.cos(angle+(theta/2))*cornerRadius/Math.cos(theta/2));
cy = y+cornerRadius+(Math.sin(angle+(theta/2))*cornerRadius/Math.cos(theta/2));
px = x+w-cornerRadius+(Math.cos(angle+theta)*cornerRadius);
py = y+cornerRadius+(Math.sin(angle+theta)*cornerRadius);
this.curveTo(cx, cy, px, py);
angle += theta;
cx = x+w-cornerRadius+(Math.cos(angle+(theta/2))*cornerRadius/Math.cos(theta/2));
cy = y+cornerRadius+(Math.sin(angle+(theta/2))*cornerRadius/Math.cos(theta/2));
px = x+w-cornerRadius+(Math.cos(angle+theta)*cornerRadius);
py = y+cornerRadius+(Math.sin(angle+theta)*cornerRadius);
this.curveTo(cx, cy, px, py);
// draw right line
this.lineTo(x+w, y+h-cornerRadius);
// draw br corner
angle += theta;
cx = x+w-cornerRadius+(Math.cos(angle+(theta/2))*cornerRadius/Math.cos(theta/2));
cy = y+h-cornerRadius+(Math.sin(angle+(theta/2))*cornerRadius/Math.cos(theta/2));
px = x+w-cornerRadius+(Math.cos(angle+theta)*cornerRadius);
py = y+h-cornerRadius+(Math.sin(angle+theta)*cornerRadius);
this.curveTo(cx, cy, px, py);
angle += theta;
cx = x+w-cornerRadius+(Math.cos(angle+(theta/2))*cornerRadius/Math.cos(theta/2));
cy = y+h-cornerRadius+(Math.sin(angle+(theta/2))*cornerRadius/Math.cos(theta/2));
px = x+w-cornerRadius+(Math.cos(angle+theta)*cornerRadius);
py = y+h-cornerRadius+(Math.sin(angle+theta)*cornerRadius);
this.curveTo(cx, cy, px, py);
// draw bottom line
this.lineTo(x+cornerRadius, y+h);
// draw bl corner
angle += theta;
cx = x+cornerRadius+(Math.cos(angle+(theta/2))*cornerRadius/Math.cos(theta/2));
cy = y+h-cornerRadius+(Math.sin(angle+(theta/2))*cornerRadius/Math.cos(theta/2));
px = x+cornerRadius+(Math.cos(angle+theta)*cornerRadius);
py = y+h-cornerRadius+(Math.sin(angle+theta)*cornerRadius);
this.curveTo(cx, cy, px, py);
angle += theta;
cx = x+cornerRadius+(Math.cos(angle+(theta/2))*cornerRadius/Math.cos(theta/2));
cy = y+h-cornerRadius+(Math.sin(angle+(theta/2))*cornerRadius/Math.cos(theta/2));
px = x+cornerRadius+(Math.cos(angle+theta)*cornerRadius);
py = y+h-cornerRadius+(Math.sin(angle+theta)*cornerRadius);
this.curveTo(cx, cy, px, py);
// draw left line
this.lineTo(x, y+cornerRadius);
// draw tl corner
angle += theta;
cx = x+cornerRadius+(Math.cos(angle+(theta/2))*cornerRadius/Math.cos(theta/2));
cy = y+cornerRadius+(Math.sin(angle+(theta/2))*cornerRadius/Math.cos(theta/2));
px = x+cornerRadius+(Math.cos(angle+theta)*cornerRadius);
py = y+cornerRadius+(Math.sin(angle+theta)*cornerRadius);
this.curveTo(cx, cy, px, py);
angle += theta;
cx = x+cornerRadius+(Math.cos(angle+(theta/2))*cornerRadius/Math.cos(theta/2));
cy = y+cornerRadius+(Math.sin(angle+(theta/2))*cornerRadius/Math.cos(theta/2));
px = x+cornerRadius+(Math.cos(angle+theta)*cornerRadius);
py = y+cornerRadius+(Math.sin(angle+theta)*cornerRadius);
this.curveTo(cx, cy, px, py);
} else {
// cornerRadius was not defined or = 0. This makes it easy.
this.moveTo(x, y);
this.lineTo(x+w, y);
this.lineTo(x+w, y+h);
this.lineTo(x, y+h);
this.lineTo(x, y);
}
};
titleDraw=this.createEmptyMovieClip("title_mc", this.getNextHighestDepth());
titleDraw.lineStyle(3, 0x1a6499, 100);
titleDraw.beginFill(0xd1e0eb, 100);
titleDraw.drawRect(0, 0, 220, 220, 20);
titleDraw._x=titleDraw._y=20
So my question is, why does it appear to be jagged? Is there anyway to make it looks smoother without being zoomed in?
Easily Solved Radius Problem (i Hope)
Hi could anyone help.
The following makes a computer player i have follow a ball.
I want Player to "Diveleft" when the ball is within a certain radius(50px) of Player
(at the moment it only works when balls _y pos is <200).
delta = ball._x-Player._x;
if (Math.abs(delta)>cpuSpeed) {
if (delta>0) {
Player._x = Player._x+cpuspeed;
Player.gotoandstop("moveright");
} else {
Player._x = Player._x-cpuspeed;
Player.gotoandstop("moveleft");
}
} else {
Player._x = ball._x;
}
if (ball._y<200) {
Player.gotoandstop("Diveleft");
}
Also is it possible to make Player "diveleft" or "diveright" depending wether the ball is left or right of Player?
thanks
Geoff
Bizarre Expanding Corner Radius Problem
Having a bizarre expanding corner radius problem as you might have guessed.
When I set a corner radius and then click and drag to draw a rounded box, Flash decides I want a much bigger corner radius - it just keeps growing as long as I hold the mouse button down.
Argh!
Help
Resizing MC's But Keeping Round Rectangle Radius
I am trying to resize an sqaure MC using actionscript it has a radius on the corners, which is altered when the clip resizes, I want the radius to stay the same whatever size the clip is, any ideas??
Radius + Guardians Of Altarris Crashing Flash Player
QUICK: is there a way to check if a given sound is already attached to a movieclip? Something that would produce a tru boolean from the following statement?:
if(mySoundisAlreadyAttached){
don'tAttachItAgain;
}
DETAILED:
I am using this code in my games Radius, and Guardians of Altarris to dynamically attach sounds on the fly, and I think it is causing the flash player to crash:
function playSoundEffect(soundEffect, avatary, pan, smashVolume) {
if (_root.soundOn) {
if (_root.bulletTime<1) {
//swish
soundEffect = [soundEffect+"Low"];
}
volumeY = (avatary-150)/4;
if (Math.abs(pan)>50) {
startVolume = 100-(Math.abs(pan)/2);
if (startVolume<0) {
startVolume = 0;
volumeY = 0;
}
} else {
startVolume = 50;
}
if (soundEffect eq "groundSlam") {
startVolume = 50+(smashVolume*2);
}
this[soundEffect] = new Sound(this);
this[soundEffect].attachSound(["S"+soundEffect]);
eval(soundEffect).setVolume(startVolume+volumeY);
eval(soundEffect).start(0, 1);
}
}
The problem is that I think it attaches a new sound every time even doubling up sounds that are already attached, and eventually causes flash to crash.
Is there a way to check if a given sound is already attached, so that I can still dynamically attach but only if they arn't already attached so that they don't double up?
Thanks in advance!
Corners
Hey,
I've made a small thing in fireworx, a little arrow in a box. Now i imported that in flash mx, and put it on the scene, but i don't see the botom line of the box
So i thought, maybe i can draw this in flash itself, i started ... but i don't know how to get the corners right. They never are in 90° angle. You gotta really zoom in to see it ... cuz it's kinda small.
If you use the hairline, it's fine, but the line is to small.
I added the fla file so you could see for yourself ...
Hope you understand what i mean and somebody can help me
Greetz,
DiGiTi
Who Wants To Help Me? - Join Tha Four Corners
1.Help me Rebuild and Layout My Site i have a host already.
a)help me make and intro if you want read B
b)help me and my friend GoGo Anime -Brian make movies
2.Join Tha Four Corners theres already 2 me and brian
a)if you do u get Yourname@frozenflash.com E-mail Fowarding to you.
Please Tell Me which one you can help with i hope u can help with everything.
Rounded Corners
why is it that when u have used rounded corners on illustrator when you go to import it into flash mx it becomes straight edges?? Can anyone help????
Square With Corners
When you draw a square ouline using rectangle tool (using stroke only/no fill) then increase the line thickness the corners become rounded.
How do you draw square corners at this thickness?
How do you make the line thicker than '10'?
+
[F8] Rounding The Corners
i have this quick function to make a box with a green-ish background:
Code:
function makeBox(){
newsBox = imageBox.createEmptyMovieClip("newsBox"+X, imageBox.getNextHighestDepth());
newsBox.init();
//news bg******************************
newsBg = newsBox.createEmptyMovieClip("newsBg", newsBox.getNextHighestDepth());
var newsBm:BitmapData= new BitmapData(300,12,false,0xbcff39);
newsBg.attachBitmap(newsBm, 1);
}
works fine, but is there a way to make the corners rounded, rather than "right angles". Thanks
Rounder Corners
I can draw a rounded rectangle but how do i draw a rounder rectangle with say only 2 corners rounded and a border around the shape?
Rounded Corners
I can draw a rounded rectangle but how do i draw a rounder rectangle with say only 2 corners rounded and a border around the shape?
Sharp Corners
Hi there,
I have a pretty old version of Flash, MX I think and I'm simply trying to draw a box with a 5px outline that has sharp corners. I've checked the 'sharp corners' check box in the custom settings for the outline but I keep ending up with a box that has slightly rounded corners! It's driving me mad, can anyone tell me where I'm going wrong???
Thanks.
Darkened Corners
how can i achieve darkened corners on my flash site, like in http://www.artofdavesilva.com ? i've been playing with the color fill but i don't think thats how to get the BEST looking dark corner. thanks
Why Does It Round My Corners?
Okay...I am just trying to import single vector graphics in MX from Illustrator 10 by exporting them as swf files in Illustrator. My problem is that when import them in flash, the export/import rounds all of my corners on my graphic. For example, in Illustrator, I have a series of small 2x2 pixel squares...in Flash the corners are all rounded. Any ideas???
Stretch To Both Corners, How?
Hi,
Im working on my portfolio.
How can i get it stretched all the way on the right side?
Have a look
http://privat.bluezone.no/stein.sebergsen/issue04.htm
Regards,
Simon
Box Corners Not Rendering Completely...
Howdy.
I create streaming media modules for various clients using Flash (version doesn't really matter, but I am usually using v5). I create a .fla and then I drop the tuned .swf files into RealPlayer as backgrounds creating an "environment" for the presentation. Frequently I use a box as an outline for the video region, slide region, or whatever region happens to be needed. I have a client complaining that the corners of the boxes are missing the connecting pixel. The boxes use a 1pixel line, and the lines are connected. When I zoom in on the box corner in the .fla file, all is good, but when I publish it out to a .swf, it loses the corner pixel...only at the BOTTOM of the box. Odd eh? Anyone have a way to fix this? My client is driving me nuts about it.
On a related note, how do I make the corners of the box a right angle and not a smooth, rounded corner? Am I missing something? Like my brain. Seems like it should be an easy fix. Thanks a lot. I appreciate any input at all. I am desperate.
Boxes With Straight Corners?
How is it possible to get boxes with straight corners in Flash MX? How does Macromedia do this in their web site's current Flash animation? (This one: http://www.macromedia.com/home_movies/home_fma.swf)
If you look at the top right corner, at the square right of "Navigation", when you zoom in, you can see that the box has straight corners. How did they do this? How would you do it?
I have tried to convert lines to fills, however this does not fix the "smooth corner" problem (when I zoom in, the corners are still not straight).
I thank you for any suggestions.
RCarlton
Squared Corners On Strokes
Even if I check the "Sharp Corners" check box to create a stroke on a rectangle, I still get rounded corners. Is there a way to do it to get sharp corners?
Drawing Square Corners
I'm having problems trying to draw anything without rounded corners. For instance if I use the square tool to draw a square the outside corners of the stroke are rounded. I made sure that corner radius is 0 on the tool preferences and under the custom for the stroke Square corners is checked. The inside of the stroke is square but the outside is rounded. Any suggestions?
Thanks.
Lines With Straight Corners
is it possible to create lines in flash with straigth corners instead of rounded shapes? each end of a line is rounded now, I need a straight end.
any ideas?
thanks
Untidy Rounded Corners
I am currently designing a flash demo where all the windows need to have rounded corners. I have noticed that when using the rounded corners tool in mx 2004 the results are quite poor. The corners are very untidy and jagged. Has anyone else had this problem and if so is there any way to overcome this problem? I've attached a screenshot to show what I mean.
Thanks in advance
Applying Round Corners
I would like to now if there is a way of applying round corners to an existing rectangle.
I need to be able to create the rectangle, then resize it and finally apply the round corners. If I do the corners while first drawing the rectangle, they are distorted when I resize it.
Is there a way?
Rounded Corners Annoy Me
My Flash movie contains a rectangle with rounded corners. Trouble is the stroke never lines up properly on the corners, no matter how careful I am. I've never seen this issue on professional Flash movies. How can I prevent this?
I attach a screenshot of the annoying rounded corner problem! If anyone can solve this problem, I would be extremely grateful!!
Jagged Rounded Corners
Ok I know the topic of jagged rounded corners has been brought up before, but for the life of me I can't figure this out. If I make a rounded rectangle, circle, what have you the rounded parts come out jagged no matter how thick I make the stroke. If I zoom in it gets clear.
So what's the deal? I'm using MX 2004.
Any help would me great.
Thanks
|