Flex3 - Force Resizing Of TitleWindow Component?

Apr 13, 2011

I need some help forcing Flex3 to resize my TitleWindow component after an event.

My resize MXML looks like this:

<mx:Resize id="rs1" duration="1000"
heightTo="{radioVBox.y + radioVBox.height + 110}" />

How do I force it to resize after an event? I want to force the TitleWindow's height to change after the event in myFunc1 ends. private function myFunc1():void {

[Code]...

View 2 Replies


Similar Posts:


Flex3 :: Set Flex Titlewindow Background To Transparent

May 24, 2011

I have a modal Flex dialog and want to make the background not of the window itself, but the semitransparent modal indicator transparent. (Yes I tried to convince the client they don't want to do this, but apparently they really want to do it). Is this even possible?(prefer a solution using Flex 3's TitleWindow, but Spark/Flex 4 TitleWindow is acceptable)

View 3 Replies

Flex :: Resizing Effect On TitleWindow?

Jul 19, 2011

I would like to know how I can add maximize and restore functionalities to a Flex TitleWindow. I used something like this <s:Button label="maximize panel" click="Panel1.height = 300;Panel1.width = 300"/> where Panel1 is the id for TitleWindow but there was not effect for it.

how to add buttons on the titlewindow title( so that I can include buttons for maximize and minimize).

View 1 Replies

Flex :: Setting Font Size Of Header Of TitleWindow Component?

Mar 7, 2011

How can I set font size of title property (header) in TitleWindow component? If I use fontSize property, it sets the font size for all components in TitleWindow, which is not what I want. I only want to set it for the title. I'm using Flex 3.

View 1 Replies

Flex3 - Inline Component Is Not Defined?

Jan 6, 2010

I opened up FB3 today, without making any changes, I press F11 and now I am getting this error that I never have gotten before: ReferenceError: Error #1065: Variable CaratPicker2_inlineComponent1 is not defined.

I find it strange I am getting this error everytime now, when I never got it before and I didn't make any changes before I started getting it. Anyways it is coming from line 78 which is <mx:Component> the start of an inline item renderer.

So any ideas how or why this error is being thrown? I have never seen an error like this before and the message isn't very clear to me as to what the issue is.

View 2 Replies

Flex3 :: Why Event Is Only Listened By Dispatcher Component

May 14, 2010

I've a parent (Canvas) with many children (LinkButtons)The linkButtons trigger an event to communicate between them:[code]Now, the issue is that the event is only listened by the dispatcher child. In other words, only the child triggering the event, is receiving it. I was wondering what's wrong with it, and if I should add a listener to the parent (Canvas)I basically need the children (LinkButton) communicate between them

View 1 Replies

Flex :: Flex3 - Mx Custom Component Not Working?

Apr 15, 2011

I want to create flex application by which i can verify user age i have use following code can u tell me why i cant see mx component "dialogtitle","dialogcontent""dialogbutton"

<?xml version="1.0" encoding="UTF-8"?>
<mx:VBox creationComplete="{initComponent();}" height="219" width="560" xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:components="components.*" xmlns:local="*">

[code].....

View 1 Replies

Flex :: Flex3 - How To Reach Elements Of An Inline Component

Jul 27, 2011

I have a problem with inline components. I want to reach an inline component from another one.. From the first component, i want to change "enable" value of the linkbutton named "Add" which is in second component. Altough i gave "id" and "className" to second one, i could reach neither it nor its elements.. is there a way to do this?

*in first component there is a text input in "CodedDescriptionItemEditor" component. I want to validate it and according to validation enable the button that i mentioned above..These all are in a datagrid by the way. In datagrid, there is always a row that you can enter data and via the "Add" button you can save it. After save it seems as text..

Here is my code:

<mx:columns>
<mx:DataGridColumn headerText="{Problem}" wordWrap="true" textAlign="left" sortable="false">
<mx:itemRenderer>

[code]....

View 2 Replies

Flex :: Make PopUpManager Correctly Show Custom Component Based On Spark TitleWindow?

Jan 28, 2011

I use this code to create and show a MessageWindow:

var newTitleWindow:MessageWindow = PopUpManager.createPopUp(contextView,MessageWindow, true) as MessageWindow;
newTitleWindow.text = message;
PopUpManager.centerPopUp(newTitleWindow);

[Code]....

There is no nested components displayed when I run my app.

The debugger shows they are created and visible.

To my "amusement" the components are shown when I replace s:TitleWindow with mx:TitleWindow.

I really want to use spark TitleWindow.

View 1 Replies

ActionScript 3.0 :: [Flex3] Custom Component Initializes 3 Times On Creation Complete?

Aug 4, 2009

I have a custom AS3 component in a very simple MXML file. The custom component just loads an external SWF using SWFLoader.If you look at the output (below) you'll see it's actually loading the SWF only once, but it instantiates it twice!! What the?Main.mxml is just the Application tag and then this:

Code:
<myComponent:SlideViewer title="SlideViewer" swfName="slides/productInfo" />
SlideViewer.as has this:

[code].....

View 3 Replies

Flex :: Export Table Data To A MIME Resource(Flex3 Component) From Web Dynpro?

Mar 1, 2010

Is there a way to export Table data to a MIME Resource(Flex3 component) from Web Dynpro?

I have a flex3 component(US heat Map) which accepts a arrayCollection (state and value pairs). I need to create a webdynpro wrapper for this to use in Visual Composer 7.2.

What I am trying to do is migrate the flex components I made for Visual Composer 7.0 (using a VCXL wrapper) to Visual Composer 7.2 using web Dynpro. I have managed to migrate components which require simple input data types like integer or string, but I am stuck at those which require complex structures like an array collection.

View 1 Replies

Flex :: 4 - Add Component To Title Bar Of Spark Panel Or Spark TitleWindow

Feb 7, 2011

I'm looking to add a couple of buttons to the title bar of a Spark Panel or Spark TitleWindow. Is this possible to do without making the panel from scratch?

View 1 Replies

Flex :: Force Redraw On Component?

Jan 10, 2011

I have an app w/ a login screen. When the user hits "enter", the state changes to "login" & a child component is triggered to load (though the child stays invisible at the moment). The child contains many functions that the user needs upon logging in (ie their screenname & settings are retrieved from a database). The following is included in 'Parent':

<local:comp id="localComp" includeIn="login" includeInLayout="false" visible="false"/>
<mx:Button label="login" click="currentState='login'"/>
<mx:Button label="logout" click="currentState='Default'"/>

My problem is when a user logs out (state changes to 'Default') & then logs back in (state changes back to 'login') the child doesn't get "triggered" again & the functions w/in the child don't reload. Is there a way to force my child to refresh?

Note: While it would be easier to just move the child's functions to the parent it is complex...I moved these functions to the child to make it easier to follow

UPDATE: I even tried adding an "exitState" to my state:

<s:State name="login" exitState="removeElement(localComp)" />

This doesn't work either, as I get an error: "RangeError: Index 0 is out of range."

UPDATE: Even though you are allowed to call a child's function from a parent, my problem is that the child needs to be "created" in order to not show errors. It makes no sense to me why the flex team would make something like removing & adding children so complicated.

View 3 Replies

ActionScript 3.0 :: How To Force Focus To The Component

Jan 8, 2010

I'm using a scrollpane component. Within it I have textfields with html text links. All works OK, but I have to click a link twice in order for it to work - the first click seems to "focus" the scrollpane component and then every click afterwards works OK. What's weird is other mouseevents - i.e. rollover/rollout - are working OK without clicking.Is there anyway to force focus to the component so I don't have to click twice?

View 0 Replies

Flex :: Force Component To Redraw It's Focus?

Mar 23, 2011

Suppose I have a component and want to change it's focus color at runtime. Here's an example for you (I've excluded any buttons and such to prevent component from losing it's focus, cause in that case it changes it's color perfectly):

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
creationComplete="init()">
<mx:Script><![CDATA[
private function init():void {

[Code].....

What do I want: How to make this focus to be redrawn without magic (I've tried all the methods, starting with "validate", I've tried calling updateDisplayList() on entire application, I've tried to call styleChanged .

View 1 Replies

ActionScript 3.0 :: Force/override Slider Component Thumb Size?

Sep 2, 2008

I am attempting to reskin the AS3 Slider component to have arelatively "tall" draggable thumb graphic. However, the sliderthumb always seems to be forcibly scaled down to 13x13 regardlessof the size of the graphic. I'm currently using the drag-and-dropcomponent on workspace method, and double-clicked the livepreviewto change the skin pieces.I've tried resizing the contents of the SliderThumb_*Skin(upSkin, downSkin, ...) symbols, the Slider component itself on thestage, and even the placeholders on the double-click skin organizersheet. The height of the thumb object is not directly accessible(seems to be private). The translated position of the 13x13 thumbrelative to the symbol center is preserved correctly... but thesize seems to be stuck at 13x13.

Is there a workaround for this? I've searched and found a fewFlex solutions having to do with overriding a measure() method orextending the class to hard-code a different height, but none ofthe corresponding classes (e.g. one site recommended extendingmx.controls.sliderClasses.SliderThumb) seem to be accessible withinthe Flash AS3 implementation of the components.

View 2 Replies

Actionscript 3 :: Scaling And Resizing Flex Component?

Mar 30, 2011

I have custom flex component inherited from UIComponent (compiled, no source code access). It has fixed width-to-height proportions and it's scalable. If I set its width and height to 100%, it's trying to fit parent's size, but it keeps width-to-height proportion, so if it's proportion does not equal parent's proportion, there can appear empty space near this component when resizing parent.

What I need, is to fit my component completely to parent's size. Is there any nice way to do this? I could listen to parent's resize event, and play with component's scaleX and scaleY

View 3 Replies

Flex :: Maximizing AIR WindowedApplication And Resizing Containing Component

Sep 3, 2011

I am trying to create an AIR app that you can maximize and when you maximize all the components contained in the windowedApplication are scaled with the containing windowedApplication.

At the moment when you maximize the window all the components just stay the same size.

<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:ATE="http://ns.adobe.com/ate/2009"
xmlns:ai="http://ns.adobe.com/ai/2009"

[Code].....

View 1 Replies

Actionscript 3 :: Resizing A Sprite Without Resizing Its BitmapFill (or Its Contents For That Matter)?

Nov 1, 2010

I am not simply trying to contain things and have the container resize without the contents resizing. I would just use a simple MovieClip for that.. My main focus is on the use of BitmapFill. I'm trying to make a repeating background image for a container; thus far I'm able to draw my BitmapFill sprite to the size I want. (Which is the stage's height) but when the stage is resized, I want to re-size my container but have my containers BitmapFill crop or add more as the window is resized bigger or smaller. Allow me to illustrate what I mean:

I've got a simple rectangle sprite that fills with a bitmap from the library and a simple resize handler function that detects when the window has been resized.what I would like to do is have my rectangle resize to the height of the stage.stageHeight maintaining its bitmap fill, but not resizing the bitmap fill or any children within the sprite.

From what I've read, this is a little tricky because the sprite resizes in relation to what it contains.. or.. something like that.. I really don't know any more.. I saw one example where a person extended the sprite class but I don't know why or how..

in my library there is an image called 'pattern' and my code looks like this:

stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.addEventListener(Event.RESIZE, resizeHandler, false, 0, true);

[code]....

View 2 Replies

ActionScript 3.0 :: Smooth Resizing As Opposed Going In And Resizing Every File Manually?

Sep 11, 2009

I'm loading a few pngs/jpgs externally so they can be swapped out occasionally, and the issue I'm running into is when they are shrunk they become fairly choppy. Is there a way to have flash re-render them, or do something to smooth the resizing as opposed to going in and resizing every file manually myself?

View 1 Replies

ActionScript 3.0 :: Resizing A Sprite Without Resizing Its Auto-fill?

Nov 2, 2010

I've got a little problem with BitmapFill, I'm trying to use a sprite as a container for various things and i would like it to have a filled pattern background. my problem is that i want it to resize the sprite to the height of the window but not have the background fill resize, and add more / crop as the window size is changed. to illustrate what i mean, please view the diagram attached to this post .

I have an image in my library called 'pattern' and my code is as follows:

ActionScript Code:
stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;

[Code].....

View 2 Replies

AS3 :: Set Title Of A TitleWindow?

Aug 11, 2010

I am using a titleWindow as a container for a popup (flex 3.5). I want to set the title of the window using a variable.

View 2 Replies

Flex :: Fit TitleWindow To Contents

Jul 22, 2009

If I don't specify width and height values for a TitleWindow, it will be resized to fit it's contents when I show it using PopUpManager. But there are moments when some components inside will be resized, like a ComboBox which dataProvider is loaded asynchronously, or another component which was not visible and I'd like to set it's includeInLayout to true. In those moments, I'd like to tell the TitleWindow to resize itself to fit window contents. I've tried calling invalidateSize() and invalidateDisplayList() with no success.

View 2 Replies

Flex :: Set Layout To TitleWindow In It?

Jul 7, 2011

[code]...

when i add this two elements label and button both are displayed on same position

my label size increases dynamically so i want to add that button below that label

here for titleWindow i want to set layout how i can do that[code]...

View 1 Replies

Flex :: Dragged TitleWindow Within App Boundary?

Mar 7, 2010

I am using PopupManager in FB4 to display a custom dialog.

popwin = new TitleWindow();
popwin.addElement(myCustomDialog);
PopUpManager.addPopUp(popwin,this,false);
PopUpManager.centerPopUp(popwin);

It's possible to drag the popped up TitleWindow and let go of it when its gray title bar lies outside the bounds of the Flex app rectangle,and then the popup cannot be grabbed again.It's also possible to drag the TitleWindow downwards so it becomes completely invisible below the bottom edge of the Flex app rectangle.When the Flex app bounds are less than the full browser window,and the user is working quickly, this chances of this happening increase.Is there a simple setting that will keep this from happening, or must the programmer intercept the behavior during the drag operation?

View 2 Replies

Css :: Header Text Color Of A TitleWindow?

Apr 28, 2010

How do I set the color of the text in the header of the TitleWindow? I've changed the color of the header itself by using 'header-colors', but I haven't figured out how to change the color of the text in the header.edit: some code:

My css file:
.popupWindow
{

[code]......

View 1 Replies

Flex :: Locale Does Not Get Change In TitleWindow?

Mar 17, 2011

I have some labels in a title window in my application. When i change locale it gets changed but labels in the titleWindow do not change. When I check the locale chain using resourceManager.localeChain it returns the array of locales and newly selected locale is on the zero index of it

View 1 Replies

Flex :: FMore Than One TitleWindow Instance?

Jun 7, 2011

i can not have 2 popup TitleWindows instances simultaneously.How can i have more than 1 TitleWindow instance which can be moved arround?[code]

View 2 Replies

Flex :: How To Popup TitleWindow In Module

Jun 22, 2011

I want to open TitleWindow in flex Module.

My Main page is Application Page and I want to open Module page from Main Page. In Module page there is TitleWindow control. I want to popup title window in Module Page.

View 1 Replies

Flex :: Moving TitleWindow Application In Air

Sep 20, 2011

I have problem. I'd like to make dragable am Air TitleWindow application only by titlebar/header. I have this code, but its dragable everywhere.

[Code]...

View 1 Replies







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