Flex :: Make A Window Not Resizable?

Apr 26, 2011

So I'm trying to open a second window that is meant to be a fixed size window. I've set resizable property to false but that doesn't seem to have any effect.

here's my sample code

Main app

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

[Code]....

When I run this code, my expectation is that TestWindow should not be resizable. however I can resize it without any problem.

View 2 Replies


Similar Posts:


Actionscript 3 :: - Library To Make Draggable / Resizable / Rotatable Objects In Flex?

Apr 1, 2010

I would like to have in my Flex application the ability to post objects (for instance images or text items) where user can drag/drop for absolute positioning on the screen, resize it and rotate it (although not high priority). I'm wondering if there is a library that would do so out of the box or do you recommend implementing my own?

View 3 Replies

ActionScript 3.0 :: Flash - Set Window To Non-resizable?

Aug 4, 2011

How? :SS Or is that possible at all? :S

View 1 Replies

ActionScript 2.0 :: Truly Centered Non-resizable Swf In A Browser Window

Apr 17, 2003

I found a page that launches a full-screen browser window with a SWF in it. This SWF is non-resizable, and it is centered inside a browser window in such a manner, that both bottom AND TOP get cut off if the screen size is smaller than that of a flash file.Usually an embedded SWF would be tied to top left corner of the browser window in case of a smaller screen. In other words, top edge and left edge of a SWF file would always start at 0, 0 if the screen is too small. URL...Java script on the index page launches the full-screen browser window. But what makes the movie inside that window perfectly centered, even on a smaller (i.e. 800x600) screen, letting its BOTH bottom AND TOP edges be clipped? Is there some flash code for it? I couldn't find anything in the html code.

View 14 Replies

ActionScript 2.0 :: Make A Resizable Textfield?

Sep 30, 2003

I have situation like two textfield, one for input and the other for output. Then there comes the problem that for single line input, I type a long sentance but when it shows in the output textfield(because the length is limited there), it only can show part of the text.

Is it possible to define the length of the output textfield change according to the input textfield? Or is it possible that when the input textfield has more text than the output textfield required, then the text shown in the output textfield automatically change into smaller font size?

View 3 Replies

ActionScript 3.0 :: How To Make Runtime Resizable TextBox

Aug 28, 2009

I am trying to make run time resizable textbox

var myLabel:TextField = new TextField();
myLabel.text = "The";
myLabel.autoSize = TextFieldAutoSize.LEFT;
myLabel.x=10myLabel.y=10myLabel.multiline=true;myLabel.type = TextFieldType.INPUT;
myLabel.addEventListener(Event.CHANGE, resizeHandler);
addChild(myLabel);function resizeHandler(evt:Event):void {
if(myLabel.width>200) {
myLabel.autoSize = TextFieldAutoSize.NONE
myLabel.width=200 myLabel.multiline=true; }}

When width is graeter that 200 cursor move to next line. It is not done

View 2 Replies

Flash :: Make JW Player Auto-resizable When It Loads?

Apr 5, 2010

Is there any way we can make the JW Player auto resizable when it loads?

Like, for instance, if the movie file is smaller in dimensions than the player,then there is black background it. I want the movie to spread all over the black color.

View 1 Replies

ActionScript 3.0 :: Make Resizable And Scrollabe Dynamic Text Box?

Mar 16, 2011

Make a scrollable dynamic text box which height and scrollbar is dependent of the height of the stage?

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 :: Make FlexMDI Resize It's Child When Window Is Resized?

Oct 2, 2010

I use the addChild(myChild) on a window. but when this window resizes i want to make the myChild width and height to fit the window.

View 1 Replies

ActionScript 3.0 :: Make A Modal Effect Like A Popup Window In Flex?

Jun 26, 2011

I want to make a modal effect like a popup window in Flex, but with pure as3.

I put a filled Shape with a blur on it but doesn't look the same. I am assuming the blur effect is applied on the stage, but this would also blur the popup window. I also want several layers of modal+popup like "do you want to delete this?" and pressing yes => "are you sure?" Kind of thing.

View 3 Replies

Flex :: Resizable Grid Row And Grid Item

Sep 24, 2009

I have a mx:Grid component in my flex application. But I would like to resize it by clicking and dragging in the border. This component doesn't allow doing that.I want to put a panel in each gridItem of this Grid component and resize it.

View 1 Replies

Actionscript 3 :: Make Flash Builder Package Explorer Emulate Flex Builder's Navigator Window?

Apr 21, 2010

Does anyone know if there is a way to make the new Package Explorer window in Flash Builder emulate Flex Builders 'Flex navigator' window?

Bottom line is I don't always need to peer into SWC's, and I don't like having a 'default package' automatically created for me. Not sure why the interface wasn't made simpler, allowing access to more power and complexity only if necessary. I want to focus on the code, not on how to navigate and use the bells and whistles in the coding environment.

View 1 Replies

Flex :: Placing Popup Window In The Middle Of The Main Window

Mar 16, 2010

I'm trying to place a popup window (TitleWindow) in the middle of the main application window. how do i set the coordinates of my popup window to be of the main application window? i tried the localToGlobal function but with no luck, I just can't get the main window x and y.

View 3 Replies

Actionscript 3 :: Detect Clicks Outside Of A Window For A Multi-window AIR App In Flex?

Mar 13, 2011

So I have this AIR app coded in flex where I have several floating native windows and what I want is to detect when a user clicks outside of a window so that I can close it. (I don't want to use the PopupManager Class and would want to use the native windows).

My question is, is there a way to detect a click outside of a spark window, or alternativley is there some root container/object which is a parent to all the native windows so that a click inside any native window would bubble up to it? (Apparently the stage object of the root windowed application is not that object since each window is not a child of the stage for the root application).

View 1 Replies

Flex :: Reload Main Window's Variable In Popup Window?

Aug 12, 2011

How to access main window's variable from popup window.

I create a popup window in the main window, and pass variable "content" to this popup window as following [code]...

View 2 Replies

Flex :: Resizing The Restore-window Of A Maximized Window

Aug 11, 2009

I have a window, the window I programmatically change the size of the window depending on the current view it is displaying. The user cannot resize the window them self, but they can maximize the window.

The problem is if the view is changed while it is maximized, the maximized window size changes, I do not want this, I want it to only change the size of the non-maximized window.

My first thought is to just check if the window is maximized, and if so do not resize it...but the issue there is then when it is restored at a different view then when it was maximized it will not restore to the new size it should be.

View 2 Replies

Air - Flex Open Window Behind Active Window?

Jul 9, 2010

In Flex Air app, how do you open a window behind an active one?

I tried following and i can't seem to get it to work

[Code]...

With this code, I would expect window1 to open behind the main app window and, in 3 seconds, window2 would open behind window1. But if you execute this, window1 will open on top of the main window and window2 will open on top of window1 and the main app will retain focus. This seems like a bug in the Flex. If so is there any workaround for this problem?

View 2 Replies

Flex :: Use Data From The Main Window In A Sub-window?

Jun 30, 2011

I've just started working on a photo viewer type desktop AIR app with Flex. From the main window I can launch sub-windows, but in these sub-windows I can't seem to access the data I collected in the main window.

How can I access this data? Or, how can I send this data to the sub-window on creation? It doesn't need to be dynamically linked.

myMain.mxml

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

[Code]....

I realize this might be a very easy question but I have searched the web, read and watched tutorials on random AIR subjects for a few days and couldn't find it. The risk of looking like a fool is worth it now, I want to get on with my first app!

View 1 Replies

Flash :: Resizable MovieClip Component?

Jan 24, 2010

I was wondering if any one can be kind and help me, I was looking on google about a class or component in as3 that allow me to load an assets like a swf or image an give me so sort of handlers to change the size of the asset loaded, you know like in flash when you want change the size of a symbol you have a little squares handlers that you can pull to change the size, I don't want to reinvented the wheel, and I'm sure it should a be a class or component that I get or buy,

View 1 Replies

ActionScript 3.0 :: Aligning The Mc's On A Resizable Stage?

Jun 5, 2010

I have a movie clip (menu2_mc) containing a navigation menu, which I want to have appear always on the middle of the screen and at the bottom say 15 pixels in even when the window is resized.I followed a tut by kevin schmitt which allows the background to be fullscreen on a resize. I have been able to center the clip on screen but still having problems nutting out how to change the y coordinates on a screen resize.

[Code]...

View 2 Replies

Actionscript 3 :: Resizable Button With Background In Flash CS4?

Dec 7, 2009

I want to create a button which resize dynamically with content. to achieve this, I created a MovieClip in library and added four layers into it namely - text, bg, shadow and border.Problem I'm having is, if I make textfield autosize, only textfield resizes and others stuff remain as it is. if I calculate width required using xxxLineMetrics function and apply it to Button, background resizes properly but textfield also stretches with them and looks ugly.I want backgrounds(sibling of textfield) resize properly with textfield so button looks nice with resized background and normal autosized textfield.

View 2 Replies

Flash - HTML5 Resizable Websites With Different Resolutions

Mar 12, 2012

I'm trying to build a website that looks the same (or at least very similar) even with different resolutions. I know it's a pretty simple thing to do with Adobe Flash, but I'm kinda trying to get into the whole "HTML5 scene" so I thought I could try building it without using flash at all. I know I can resize the canvas to fit the window of the browser it's being viewed in, but can I also resize images, text and other HTML structures that I place inside the canvas? Like s, s, s or images?

View 1 Replies

ActionScript 2.0 :: Connecting Objects With Resizable Lines?

Apr 18, 2006

I have to create and application to model relationship between objects.So to create the model, I would drag sevral objects from the menu onto the working space.This I already battled through.Now comes the hard part - I must be able to drag a relationship ( a line basically) from the menu and connect two objects with it. So that when I move any of the two connected objects - line scales. However, 2 objects can have several relationships. So scaling a simple diagonal line wont work here >.< So the steps should be as follows1) drag relationship line to workspace2) drag one end of it on an object and then the linke connects to it3) drag the other end of the line scaling it, changing its shape to try and avoid ntersecting, onto the second object and connect to it4) when u drag either of the objects - all the relation lines scale accordingly..

View 9 Replies

ActionScript 3.0 :: Automatic Resizable Image Gallery With XML

Sep 23, 2009

How to create a Automatic Re sizable image Gallery in As3. According to the image size it should resize.

View 1 Replies

ActionScript 2.0 :: Check Out Scottys Resizable Gallery

Dec 30, 2005

i have a photo gallery and i can't find any tutorials for transitions 4 my images..i have a resizable border... do transitions work with that? [URL] check out scottys resizable gallery...how can i add a transition to that.?

View 1 Replies

ActionScript 2.0 :: Tween Offscreen With Resizable Stage

Apr 9, 2006

I'm building a fullscreen flash website. I have objects moving from offscreen to the center of the stage and from the center to offscreen. I use a simple onResize listener to keep everything centered when the user resizes the stage. I'm using the MC Tween engine for all my tweens and they are all coded relative to the size of the stage.

[Code]...

Everything works great EXCEPT if the user resizes the stage while a tween is in motion. How do I update the tweens end value to the appropriate location?

View 1 Replies

ActionScript 2.0 :: Image Panning In Fit In Resizable Browser?

Sep 28, 2008

[URL] for the image panning tutorial and forumers.

My aim/goal is to get this effect. The background will fit to any resized browsers without scaling up + image edge will still somehow stay within the stage/browser.. but i got problem with it when i publish my swf as html.

this is my setting in the html tab:

dimensional set to: percent [100x100]
scale set to: no scale
flash alignment set to: center in both

my end result is not good.. i dunno is it my AS or the setting.. hope the kind gurus here can take a look.. i had attach my fla [flash 8].

View 1 Replies

ActionScript 2.0 :: Creating Resizable Objects - Movieclips

Oct 1, 2003

where I can find a tutorial to create resizable movie clips? The viewer should be able to resize movie clips during playtime... I tried a lot of things... the objects get resized but they just "blow up" from all sides...

View 3 Replies

ActionScript 2.0 :: Create A Resizable Photogallery Using A XML File?

Apr 7, 2005

I need to create a dynamically resizable photogallery wherein the menu is going to be placed beneath the image and land on a Y coordinate based on the size of the image.

The following links will help illustrate what I am attempting to accomplish:

[URL]

Though subtle, the example for 2.html places the numeric menu a few pixels south, and then might need to go north depending on the size of the following - or previous - image.

View 1 Replies







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