Flex :: BorderContainer As Foreground Object

Sep 12, 2011

I am searching for a way to have my spritevisualelement have round corners so that it is displayed in a circular shape.The SpriteVisualElement contains a Video Stream from FMS to display but I do not want it to be rectangular.[code] But the Container keeps being in the background and the whole remote Video which is displayed in the "vid" (=id) is in the foreground.How can I set the Container to be in Foreground? then just setting whole application background would do the job.

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Leave An Object Always In Foreground?

Aug 27, 2010

Is there a way to tell as3 to leave an object always on the foreground no matter what happens so that anything will overlap it?

View 5 Replies

Flex :: Dispatch Event When Popup Brought To Foreground?

Apr 28, 2011

Is there an event dispatched when a modal is brought to the front in Flex? Basically there are two times when I would want to listen for this event: When the modal is first created (although in theory creationComplete / show / etc.. could suffice here). When the user brings a modal that is not in the front to the front by clicking on it. In my case the popups I am working with are descendants of TitleWindow and listening for focusIn does not seem to work reliably.

View 3 Replies

Flex :: Toggle A Mask To A Group In Flex (works For BorderContainer)?

Oct 6, 2011

Here's my test application:

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"[code]....

I would expect the mask to be applied when the checkbox is selected, and removed when it issin't. But it doesn't seem to work.However, when you change to , it works like a charm. Can anyone explain to me why?

Note: In my actual application, i'm applying this in a skin to a component that is extending SkinnableComponent which can't use BorderContainer so a solution to this would be great.

View 1 Replies

Flex :: Change BorderContainer Background Color With AS

Oct 7, 2010

I'm trying to change the background color and or text color of a BorderContainer in flex 4 using Action Script, but have not idea how to. The Border Container component doesn't seem to have any properties like:
idname.color = "#333333";
idname.backgroundcolor = "#333333";
How might I go about doing this?

View 2 Replies

Flex :: BorderContainer Corner Rounding Only At Top Or Bottom

Jul 9, 2011

I need to round at only the top or bottom of a border container not all four corners, is their some CSS that I can use or do I have to create two new skins. I was reading their used to be a property for this for HBox back in the old days, is their not a property for BorderContainer now?

View 1 Replies

Flex :: Jerky Mouse Movement On BorderContainer

Sep 4, 2011

It seem when I trying to drag the bordercontainer to move along x-axis position on mouse down. It appear to move stable but became jerky when I drag a little faster.Any way to get bordercontainer move with smooth motion?[code]

View 2 Replies

Flex :: 4.5 - Create A Resizable Bordercontainer With 8 Dots?

Dec 26, 2011

I would like to have a bordercontainer in Flex, that the user can resize on his own with 8 dots in the top left, top, top right, left, right, bottom left, bottom and bottom right (like MS Paint etc.) Does Flex have a default solution for this, or do I have to write it myself?

View 1 Replies

Flex :: Set BorderContainer's BorderWeight, Contained Label Is Shifted?

May 22, 2011

I have a BorderContainer with a Label inside. I need this Label to be centered inside the container. BorderContainer has no layout (I guess it getst the default one, basicLayout...).

My code:
BorderContainer's definition:
<s:BorderContainer xmlns:fx="http://ns.adobe.com/mxml/2009"

[code].....

View 1 Replies

Flex :: Change Spark BorderContainer Default Height?

Sep 29, 2011

How to create horizontal layout container like HGroup but with border and border radius?In this example there is some default height:

<s:BorderContainer width="100%" borderWeight="2" cornerRadius="5">
<s:layout>
<s:HorizontalLayout/>

[code]....

I want it to have height of the heighest element in container. Like in HGroup. Add: Why is height for above example BorderContainer equal to 112 ?

View 2 Replies

Flex :: Rect Drawn With Graphics Appear Below Background Of BorderContainer?

Nov 2, 2011

In a Flex component that inherits from BorderContainer I'm overriding the updateDisplayList function to draw a rect:

override protected function updateDisplayList(unscaledWidth : Number, unscaledHeight : Number) : void
{

[code].....

View 2 Replies

Actionscript 3 :: Control The Depth (z Index) Of Bordercontainer In Flex?

Mar 3, 2012

i'm desperately trying to set my border container the highest z-index so it will always appear on top.

how can I know how many objects are in my flex stage, so i'll be able to set the bordercontainer the highest depth? what shell i write in the depth property in order the border container would always be on top? (it's important to mention that i created dynamic objects)

<s:BorderContainer includeIn="state2" width="200" height="200" backgroundColor="#992F2F"
horizontalCenter="-61" verticalCenter="23" depth.state2=currentState.num>
</s:BorderContainer>

View 1 Replies

Flex :: Collapsing A Spark BorderContainer Dynamically Does Not Collapse Its Children

Sep 2, 2010

protected function lbHideQuery_clickHandler(event:MouseEvent):void
{
if (lbHideQuery.selected)
{

[Code]....

View 1 Replies

Flex :: Spark BorderContainer - Draw Border For Specific Sides?

Dec 6, 2010

Is there a way to easily specify on which sides a border is drawn for Flex 4's Spark BorderContainer?[URL]But that uses MX styling which seems like a hack. Is there a better or 'correct' way without having to build a skin? It seems incredibly silly to build a skin for a 'Bordered' component when this is a very common use case.

View 1 Replies

Flex :: Flash Builder 4: Error #1009 In When Button Is Wrapped In BorderContainer

Sep 7, 2010

I have a component where a Button is wrapped in BorderContainer. I'm passing a custom property to the component at run-time to change the label of the button but Flex is reporting the following error:

Cannot access a property or method of a null object reference

When the error occurs, Flex highlights the following code:

myButton.label = value;

Here's the app:

// MyApp.mxml
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"

[code]....

View 1 Replies

Actionscript 3 :: Move A MC On Foreground?

Aug 12, 2011

i've a problem to a set a different child index of a Movieclip. This is the code:

function processMusica():void
{
var loadStatus:int=0[code].....

I want to move "riproduzioneDetails" MC on foreground, but when i attempt to launch application, it give me this error: TypeError: Error #2007: Parameter child must be non-null

View 1 Replies

ActionScript 2.0 :: Have A Foreground When Using GetNextHighestDepth?

Feb 4, 2011

it is possible to have a foreground when using getNextHighestDepth? The problem i have is that unless the foreground is the highest depth then anything else attached after that will appear over it rather than under.

View 3 Replies

ActionScript 3.0 :: Move A MC On Foreground

Aug 12, 2011

i've a problem to a set a different child index of a Movieclip. This is the code:

[Code]...

I want to move "riproduzioneDetails" MC on foreground, but when i attempt to launch application, it give me this error: Error #2025: The supplied DisplayObject must be a child of the caller error

View 1 Replies

ActionScript 3.0 :: Foreground And BackGround MovieClip?

Jul 2, 2009

i need help about a MC created by AS 3. This MC is Reflect class that extends MC class; when i instance it, the newer Mc is always on the foreground, even if its layer is on the backgrond. So what i have to do?

View 3 Replies

ActionScript 2.0 :: Scaling Background & Fixed Size Foreground?

Feb 3, 2006

Is it possible to have a single jpg (1024x768) scale up & down with the browser window (no matter the aspect ratio, stretched to 100% browser width/height), while keeping the foreground content (most likely added via loadMovie) in a fixed scale and centered on the screen? An example can be seen on the Second Story home page.

View 9 Replies

ActionScript 2.0 :: Stop BackgroundEffect Movie Clip Appearing In The Foreground?

Mar 5, 2010

I have a movie clip showing party streamers animating upwords, and another movieclip that has letters falling into place. What I want is for the streamers to be in the background and the letters to be in the foreground.

The AS for the streamers is -

import com.effects.BackgroundEffect;
var effect:BackgroundEffect = new BackgroundEffect ();
effect.bgEffect ("effect28","up",0.3,{zigZag:z = new Array (1, 30)});

[Code].....

I have tried giving the attachmovie click various depths, but that makes no difference. how to make sure the new BackgroundEffect movie clip appears in the background?

View 3 Replies

Actionscript 3 :: Add Verticallayout To A Bordercontainer On Runtime?

Dec 10, 2011

I'm creating a bordercontainer on runtime:

var bcArtist:BorderContainer = new BorderContainer();
var imgArtist:Image = new Image();
var lblArtist:String = new String();
bcArtist.id = artistXML.pk_artist_id;
bcArtist.width = 75;
bcArtist.layout = VerticalLayout;

But the last line gives this error:

1067: Implicit coercion of a value of type Class to an unrelated type spark.layouts.supportClasses:LayoutBase.

View 2 Replies

ActionScript 3.0 :: BorderContainer - Get The Width That Is Visible On The Screen?

Jun 1, 2011

I'm programmatically creating a spark BorderContainer in ActionScript and filling it with a few labels. After I make it visible, it's width is 298 pixels. However, I only know this because I'm taking a screenshot and measuring the width. If I trace() the width, or explicitWidth, or measuredWidth, or getExplicitOrMeasuredWidth(), or getLayoutBoundsWidth() ... ad nauseum ... the reported width is always 42 pixels. Without fail. how the hell I can get the width that is visible on the screen? It's absolutely ridiculous how easy this should be, but isn't.

View 1 Replies

Actionscript 3 :: Make A BorderContainer To Listen For Scroll Events?

Aug 19, 2010

There is my scenario:

I have a BorderContainer that is contained by a Scroller.

Question :

How can i make my BorderContainer to listen for Scroler events?

e.g. When i scroll down or up, or right or left, i want to change my BorderContainer's cordinates(x, y).

View 1 Replies

Flash :: Tree ItemRenderer Can't Show Tiny TitleWindows Added To A BorderContainer In Renderer

Mar 14, 2011

I am facing some problem that I add some title widows to the ItemRenderer of tree. but some time tree don't show those tiny title windows in tree item-renderer.. is this the issue that tree re-use its renderers..(these windows are skinned like little cricles, and added specific to the data of item renderer.. these TitleWindows are added using addElement() to a s:BorderContainer in the renderer)[code]...

View 1 Replies

Flash 9 :: Slow Moving Of A Flash Application From Background To Foreground

Oct 23, 2008

I have created a Flash application running in a browser (Firefox 3 on Windows XP). When I move this application from foreground to background and (after some time) viceversa, I notice a considerable slowdown, i.e. for about thirty seconds the application becomes unusable.

My swf is very small (~200 KB), but this swf creates *many* buttons and *many* other graphical widget (with statical images), so the RAM occupied is considerable (~150 MB).

I initially assumed that was caused by the swap mechanism of the operating system or of the browser. This was *not* true, and it was confirmed by the fact that, by default, Mozilla Firefox prevent Windows from swapping out memory when the program is minimized (see config.trim_on_minimize option). Nothing has changed even disabling the paging system of Windows.[code]...

View 0 Replies

Flash :: Flex Dynamic Object Name And Add Object To Object?

Jun 16, 2011

I have this situation where i'm trying to save "chat logs" while people switch around views in my flex mobile application..so, my plan is i'm starting out with a main object that I plan to re-use as the main chat log object..I call it textObjso, when someone new wants to chat my plan is to make a new object with the persons username.so how if i were to get the username from something like data.username how could I translate that into the var name of the object I want to make? So in the end i end up with.[code]

View 2 Replies

Flex :: Access XML Object In Restlet 2.0 Thats Wrapped Inside A Representation Object?

Jan 7, 2010

I am developing an application with Flex for the GUI and Restlet for the webservices. I have a strange problem. I put my XML as a property on a generic object, and send it as part of a POST request. But in the Restlet webservice, this XML is irretrievable. How do I retrieve it? I tried initialising the received Representation object to a DomRepresentation, but thats not working. If I put the received Representation object into a Form object, then getFirstValue is returning that XML as a string! I noticed that the contentType of the HTTPService was application/www-form-encoded so I set it to application/xml and its not helping either. I use restlet 2.0m6 and here is the code snippet that I use -

[Code]...

View 1 Replies

Flash :: Handle A Time Object From Php In Flex (parse It To A Date Object)

Aug 19, 2010

I've got a php backend which delivers a time (e.g. '07:00:00'). This time is recognized as a string but I need it as a Date. So what I need is: Convert a string '07:00:00' to a Flex Date object. Is there a way to do this (without using regular expressions)?

View 2 Replies

Flex :: Move Shape Object Across Screen- Initial Object Remains

Jun 25, 2011

I am trying to move a 'Shape' object across the screen. As the object moves, a copy is being left at the initial position. Almost as if only an instance of original object ahs been moved

This is not an issue for moving an image or MXML graphic. Is something wrong in setting to the move object?

The code is as follows

private var arrow:UIComponent;
private function resetAssets():void{
arrow = new UIComponent();

[Code].....

View 1 Replies







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