CSS :: Set Radius For Lower Corners Of Tab In Navigator

Apr 26, 2010

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.

View 3 Replies


Similar Posts:


Css :: Corner Radius Applied Only To Specific Corners?

Oct 5, 2010

I've this tabs that I wanted to make rounded only on top-right and top-left corners. But it ended up rounding all 4 corners.

What I did:

<mx:TabNavigator id="myTabNav" x="58" y="61" width="584" height="200" creationComplete="setColors(event)" styleName="myTabStyle">
<pages:One label="ThisOne" id="one" name="One"/>

[Code].....

As you can see I have the "focusRoundedCorners" to point to top-right and top-left but no luck. What I got is:

View 2 Replies

Css :: Properly Set Corner-radius Of A MX List And Get Rounded Corners?

Apr 8, 2011

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.

View 2 Replies

ActionScript 2.0 :: Place Fadeout At The End Of The Music And Make The Sound Lower And Lower?

Dec 22, 2006

I have used the script below to load the mp3 file, but I couldn't do what I used to when I imported the mp3file to stage and I did it there. Is there a way to place fadeout at the end of the music and make the sound lower and lower, is there a way to apply something like that via Action Script?

mySound=new Sound();
mySound.loadSound("sommeu.mp3",true);
mySound.start(0,0);

View 2 Replies

Flex :: Lie Two Canvas At One Tab Navigator?

May 18, 2011

I want to lie two canvas at one Tab Navigator. when I use <mx:local it created multiple tab.

View 1 Replies

Lines With Corner Radius

Mar 10, 2012

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.

View 2 Replies

IDE :: Tween A Radius To Outside Of Circle?

Nov 16, 2009

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.

View 1 Replies

ActionScript 3.0 :: Scrolling The Vertical Navigator?

May 3, 2009

what i got:

Code:
var nav1pos:Number = 37.5;
function scrollingUp(evt:MouseEvent):void {
if (nav1pos < 37.5){

[code]....

Now at the moment all it does it shunt up/down once and then stops, but what i want it some constitant scrolling until the user removes there mouse from the scrollUp or scrollDown box.

View 2 Replies

Actionscript 3 :: Different Width For Different Tabs In Tab Navigator

Feb 11, 2010

Is there some way to have a tab navigator in flex where each tab width can be controlled explicitly ?

View 1 Replies

Flex :: Navigating Directly To The Second Tab In Tab Navigator?

Jun 4, 2010

I have a component mxml in which i have a save button, on click of the save button i need to display another component which will be in a tab navigator, for this I am using the view stack. My problem is, on click of save I need to display the second tab instead of the first tab, but defaultly the first tab will be displayed.

View 1 Replies

Flex :: Canvas - 3 - Custom Tab Navigator

Aug 4, 2010

I'm trying to create a custom tab navigator that has to look like. Also, when there's a rollover, the borders of the arrow have to be in blue (like the label in the current tab). For that purpose, I've created a custom component: a hbox containing a label and a canvas with 3 images inside (for the arrow tip that has to change depending on the currentState). Then, I thought of overlapping the components in order to get the blue highlight color (ex: arrow button 3 is over arrow button 4. The image of the arrow tip in button 3 will be transparent outside the arrow, so that we can see the black color of the following button).

I'm now trying to position the components inside the canvas ... but I cannot. After the creationComplete event, I assign the label text and I was calculating the coordonates of the component but it doesn't take into account the label width... -_-'

View 1 Replies

Flex :: Tab Navigator In A Title Window?

Aug 17, 2010

I am adding a tab navigator to a title window here. Once the title window is closed, it can be reopened using the button.But on opening the title window second time in this manner ,the content of the children of the Tab navigator(here, a label) is not visible.

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()"
<mx:TabNavigator x="68" y="68" width="200" height="200" id="tabNavig" historyManagementEnabled="false">[code]....

View 1 Replies

ActionScript 3.0 :: Create Breadcrumb Navigator?

Jul 30, 2009

i have screen1(contains products link button).My Requirement is wen i clicked on products button,then i want togo for second screen.now in second screen will contains Home>Products.How can i acieve this?

View 0 Replies

ActionScript 3.0 :: Tab Selected Event For Tab Navigator?

Mar 16, 2010

I have a tab navigator and I would like to know the index of the tab that the user clicked. Is there an event listener which can accomplish this?

View 1 Replies

ActionScript 3.0 :: GPS Radius - Search A XML File ?

Dec 2, 2010

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

View 2 Replies

ActionScript 3.0 :: Making A Zoomer Just Like Navigator In Photoshop?

Aug 4, 2010

http://www.auktionsverket.se/dbk/rdbk_oversikt.asp?d=2010-06-04&at=k&s p=en&bm=E006&id=2855&snr=0
Click on any image, then one popup window will open, then click on "zoon in" buttton then

[code].....

View 8 Replies

Flex :: Cross Navigation From One View Navigator To Other?

Apr 13, 2012

Suppose I have two tabs in my app:

<ViewNavigator id="tab1" firstView="Tab1">
<ViewNavigator id="tab2" firstView="Tab2">

I go into Tab1, and start pushing other views onto the stack

navigator.pushView(Tab1View1)
navigator.pushView(Tab1View2)

and so on....

Now I want to jump directly, with NO TRANSITIONS, from one of the views deep in Tab1, into one of the views in Tab2. How do I do this?

View 1 Replies

Flex :: Tab Navigator Initialize Hidden Tabs?

Dec 2, 2009

My problem: I have a tab navigator, with many forms in each tab. But I have a single global save button.Problem is, if I don't open a Tab, it doesn't get initialized and therefore the forms it contains do not exist..

How Can I make it as if the user had clicked on every tab?

View 2 Replies

Flex :: Mobile - Navigator.pushView Slow?

Oct 27, 2011

This is a general question on optimization technique and am more than willing to rewrite a majority of my code as I am moving a lot of it to a library.My concern applies not so much to flex performance as I have used methods that have reduced cpu/memory footprint so performance is quick when inside a view.The problem I have is with the navigator.pushView which seems slow, I do call my init function on creationComplete for the view but I have it factored so my init looks like:

private function init() : void {
doStuff1();
doStuff2();

[code]......

View 1 Replies

ActionScript 2.0 :: Create A Specific Navigator Effect?

Mar 22, 2004

how to create a specific navigator effect. I'm sure you've all seen it. I'm just having some trouble with the scripting. What I want to happen is I have a map and you can only see a small section of it, when you click on a button the map slides behind the window to the new point. I've mainly seen this done in photogalleries where all the images are layed out on a grid inside a MC behind a mask then the MC slides around to show the selected image.

View 1 Replies

ActionScript 3.0 :: Slice A Circle Into Same Radius Wedges?

Jun 11, 2009

How to slice a circle into same radius wedges, like so[url]...

View 2 Replies

Creating Slider That Control Radius Of Sprite

Jan 18, 2010

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.

View 2 Replies

Flash :: Increase Click Radius / Size?

Apr 28, 2010

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.

View 2 Replies

Actionscript 3 :: Find Point With Radius And Angle

May 22, 2010

I'm not a genius in geometry, I'd like to find a point in as3 with the radius and a angle but I don't remember the rule, I know this should be simple!

View 3 Replies

Flex - Corner Radius For Hover Rectangle?

Nov 8, 2011

How can I set something like corner radius for the default rectangle which appears when an item is hovered?

View 2 Replies

Flex :: Apply Gradient And Corner Radius?

Jun 8, 2009

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?

View 1 Replies

Flash :: Keep Round Rectangle's Radius When Scaling?

Mar 25, 2012

I want to scale my round rectangle and keep it's radius from been changed. How can I do that?

I am exporting SWF to flex and drawing it there. Do not scaling it in run time, just need few sets of scales.

View 1 Replies

ActionScript 3.0 :: Draw A Line That Is A Radius Of A Circle?

Apr 23, 2010

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.

View 7 Replies

ActionScript 3.0 :: Set Corner Radius In Programmatic Skin

Jun 10, 2010

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]

View 1 Replies

ActionScript 2.0 :: Want A Cirkle To Be Drawn When The Radius Is Rotating?

Jul 5, 2005

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

Code:
btnText = ["Draw", "Stop"];
// ---------------------------

[code].....

View 4 Replies







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