I am wondering about making lines with a corner radius. It seems that the smaller the scale, the corners sort of distort, and end up looking jaggy. Maybe its just the way it is, but is there any remedy? I tried shifting the registration points, etc, but still the only way it looks smooth is when enlarged.
I would like to know how to apply gradient and corner radius in flex. Is css the only way? I mean I want to use more of flex properties to make this happen give a sample class or code for it?
I created a skin to show on Button mousedown.I want to give corner raduis and border thickness also as skin attributes because I gave them to the button in the normal way but they are not working on mousedown when I chose to give skin on it.[code]
I have a mx.components.List component with a bunch of custom styles:
<mx:Style> .dropDownListStyle {
[code]....
I'm creating the list in AS:
_dropDown = new List(); ... _dropDown.styleName = "dropDownListStyle";
The List is then added as a popup with PopUpManager:
PopUpManager.addPopUp( _dropDown, this );
The problem is that the corners of the newly created popup are not rounded. I found that border-style is needed in order to get the effect, but adding this property didn't help. I'm building the project with Flex 4.1, but the List and its parent are MX components and it's a lot of work to migrate them to Spark.
I'm creating a spark list in my flex mobile application and i want to do like a list on the iphone with a corner radius Unfortunately there is no cornerRadius or simply radius in list styles.
How do I get corner radius on my TextInput component in Flex 4. <s:TextInput prompt="username" width="150" maxChars="100" id="txt_username" color="#000000"/>
Im probably overlooking something simple, but when I try to draw a rectangle Flash is automatically applying a corner radius. I've tried resetting the options in the Properties Inspector, which resets to the default, but soon as a draw a shape it goes right back to a random radius.
I have been working on a map viewer based blitting technique. As part of the map I need to draw approximately 50000 lines and performance is currently really poor.
I am making something flash flip like: [URL] but i want to do it in my banner 1000 width and 299 height problem is that i have few banner images i think 5 to 8 and i want to start my flip from "bottom-left" corner till "top-right"
My code is on the main timeline.I call a function loop to draw lines between them.The lines are drawing between the right x, y values BUT between those values on the main stage, not those values within the kite.For example, dot1_mc is at x100, y0 inside kite. the line that should go from its center, draws from stage x100, 0.How do I draw the lines inside kite so that they draw between the dots?Heres my code that draws the linesPHP Code:
function loop():void{ lineDrawing.graphics.clear(); var a:Point = new Point(kite_mc.dot1_mc.x, kite_mc.dot1_mc.y); var b:Point = new Point(kite_mc.dot2_mc.x, kite_mc.dot2_mc.y); var c:Point = new
I am no master of Flash. I was wondering if there was a way to tween the radius of a circle to be placed on the circumference of the circle. I want a student to see the radius being transformed to a curve and then placed on the circle. I will be teaching my students the concept of a radian.
Using CSS, I can set the corner radius of the top corners of a tab in a tabnavigator: <mx:Style> .tabstyle { corner-radius: 10; } </mx:Style> <mx:TabNavigator tabStyleName="tabstyle" /> However, I also want the bottom corners to have a radius.
I am trying to make an application that tells me what points are within, say, 5 miles of me. I have my latitude and longitude coordinates that are constantly updating depending on my location... and I want to be able to search a XML file and ask whether or not certain locations are within the 5 miles.
If they are it displays those points in a list... if not, they are excluded.I don't need to be deathly accurate... Under a quarter of a mile or so would suffice.example of lat:long numbers would be something like
I'm trying to create a slider which will control the radius of a sprite I've created. This is the code I have so far: var aura:Slider = new Slider(); aura.liveDragging = false; aura.setSize(120,20); aura.maximum = 100; aura.minimum = 0; [Code] .....
This adds my slider, "aura", and the sprite, "circle", and sets the radius to the slider default value, 50. What I need to add to this in order for the sprite to change radius each time I move the slider.
I'm looking for a way to increase the click size so when I click, it would effectively count as a click on anything that is in a 100px by 100px radius around the click.
I want to draw a circle on the scrren of a random x,y position and a random radius. Then, I would like to draw a line that starts at the center of the circle and ends at the spot where the circle ends, at its perimeter. All I have been capable of doing by myself was creating that circle and set the drawing position with the moveTo function to its center, but I don't know how to calculate the length of the radius, so I have the coordinates for the lineTo function.
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
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[code]......
I have a working rotating menu that I have been changing to suite what I am trying to acheive. it all works apart from the distance between images which I can sort out later. At the moment the movie has a UI which I would rather remove including the script that makes it function just leaving the rotating menu, and the script to change the radius and size etc witin the main.as. I do not want the user to have the capabilities of the UI control panel. remove and clean up the script as everytime I remove related script the menu stops playing. I have uploaded files to here: [URL]
When I use radius property in Flex plot chart It causes a warning says radius has been deprecated, use radius style There's no online documents about this warning. How Can I use radius style ?
I wish to have a function that will take as input a radius value and a magnitude value.
It will return firstly a point (x,y) and also secondly a direction, (vx,vy) which will have a certain magnitude(speed).
The point returned will be a random point within the radius value and the direction will be a a (vx,xy) that moves the point perpendicular to the line segment (x,y) ->(centrepoint).
I am new to Flash & ActionScript 3.0 platform.My issue is: I am loading an image onto the stage dynamically using Loader & URLRequest classes. Whenever I click on existing circle[which gets created when I click on the loaded image, which is of Sprite type], the size of the circle should be increased to some extent(let us assume, basically circle(Sprite)is created with radius=3 when we click on the image, but, when we click on the created circle, it's radius must be increased to 5). It is the requirement.
So, for this to implement, Do we have any property or method to change the Sprite object's size directly?
I need to allow the user to create a circle with a specific radius and colour in a certain frame (lets say frame 2), and then add that circle as a symbol to a different frame (say frame 1). First off, im simply creating a circle.. This is what ive got in frame 2 so far:
I am trying to create a mindmap where the user can drag points about the screen. I have gotten as far as drawing the line via actionscript, and drag+drop the points (defined as movie clips on stage). This is the existing script - I don't know how to get the lines to follow the points. Something to do with ENTER_FRAME or updateAfterEvent?
var line:MovieClip = new MovieClip(); line.graphics.lineStyle(1,1); line.graphics.moveTo(ptOne.x,ptOne.y);