Flex :: Position "SecurityPanel" In It?

May 30, 2011

In my application, I want to set a fixed position for the SecurityPanel.Is there any way to set the x and y postion for SecurityPanel?[code]...

View 2 Replies


Similar Posts:


Flash :: Detect SecurityPanel Close Event

Mar 15, 2011

is there a way to detect the close event on the Local Storage Settings Panel of the Flash Player?

[Code]..

View 2 Replies

Flex :: Get Container To Scroll To Last Position?

Aug 12, 2009

URL...Whenever a chat is added, I want it to completely show the last message. I'm using maxVerticalScrollPosition to set the scroll position on the list, but it is always wrong (see the example). It undershoots it by a row or so. I've tried this with a regular container and it does the same thing. If I do maxVerticalScrollPosition+1, it sort of works, but if the last message is particularly long, it will be cut off (only show the top). How can I get it to scroll to the actual bottom of the container??[code]

View 2 Replies

Flex :: Position Objects On Different Resolutions

Feb 17, 2010

A Flex project exported as a Projector, showing fullscreen. The project has a background and several dots which each represent a "Location". These locations are fetched from an XML file and have their position set in percentages. The location in pixels is calculated (this works as it should) by the width and height of the Application. The dots are placed correctly. The background is a JPG with a resolution of 1280*1024. At this moment, the background is set on a Canvas with backgroundSize = auto. This places the image in the center without stretching it. Stretching results in ugly, pixelated images and tears the proportions apart.

Problem When we view the project on 2 different resolutions (1 = 1280*1024; 2 = 1024*768), the dots are in the good position, the background image is sharp. But - because of the background having the same resolution as 1, the background isn't fully shown in resolution 2 (because it isn't stretched. A logic result. That's why I tried stretching the background. The results:

[Code]...

View 2 Replies

Flex :: Set Combobox Cursor Position?

Mar 17, 2010

I have a combobox implementation as follows - Based on user input (min 2 chars) in the editable combobox, the data provider is refreshed and drop-down opened, showing different data sets as user input varies.Problem is that after drop-down opens, the cursor moves back to the beginning. So for instance, the user types in "ab", and wants to type in "c" to form the search string "abc". Due to the cursor re-setting its position to 0, the search string instead ends up as "cab".Here's what I tried already (doesn't work) : textInput.mx_internal::getTextField().setSelection(index, index);

where index = length of user input. This selects text from index to index (which effectively un-selects text) and is supposed to place the cursor at the end.

View 1 Replies

Flex :: Auto-detect Position Changes

Jun 23, 2010

I have a custom component Comp that gets its position changed as a result of interactions with other components, etc. I check for changes in its position by constantly checking its position at fixed intervals. I'm looking for a better solution (maybe an event-based solution) to monitor its position so I don't have to check constantly myself.

[Code]...

View 3 Replies

Flex :: Position Text On An Angle?

Oct 4, 2010

I'd like my text to be positioned on a 45 degree angle. Is there an easy way to do that? (In the worst case, I could always make a png out of the text). But, I hope that there's away to do it in Flex. I don't need an animated effect.

var angleText:Text= new Text;
angleText:Text.text = "My text is angled!"
angleText:Text.x= 200;
angleText:Text.y= 300;

View 3 Replies

Flex - Position AIR Window On A Second Monitor?

Dec 31, 2010

I'd like to open a window in my AIR/Flex application on a second monitor if it's available. Don't know how to go about it. Tried this:mySecondWindow.x = Capabilities.screenResolutionX;

But this only gets the size of the first monitor and if I try to assign a greater value, it switches to default 100px offset. Is there a proper approach to this? My native screen is maximized in "preinitialize" and then I open the second window on "applicationComplete".

View 2 Replies

Flex :: How To Get Characters Exact Position In TLF

May 2, 2011

Any way to get the exact position for every character inside a textflow?, also I'm having trouble with the TLF documentation, is there anny documentation that shows more on how to work with it in actionscript rather than mxml, I am looking to write my own component and perhaps not use richtexteditor if I don't need to. How to get each characters position in the textflow:

private function getCharPosition():void {
for (var i:int=0; i<=textController.flowComposer.numLines; i++) {
var textFlowLine:TextFlowLine = textController.flowComposer.findLineAtPosition(i);
var textLine:TextLine = textFlowLine.getTextLine();
trace('number of atoms in this line: ' + textline.atomCount);
[Code] .....

This returns an error that's why I have try and cache, I have tried to change textLine.atomCount to -1 but that wont work either. Now I don't know what character exactly that I have the position for.

View 1 Replies

Flex :: Tooltip Position And Style?

Feb 16, 2012

I got struck with tooltip position as well as style. I used string validator to perform validation. Error tooltip is coming right hand side by default. I want to change it on top of the text field as well as its clolor also. but I just want it to perform with every tooltip not with any specific one.

View 1 Replies

ActionScript 3.0 :: Fluid Layout Stop Changing Resize Position When Movieclip Is At Certain Position?

Nov 19, 2009

I added a Menu_mc on my stage. Initially, this should be at the center of the stage and when I click on it, it will tween on the upper left corner of the browser. However, when I resize the browser, the Menu_mc goes back to the center of the screen.

I have tried separating a different actionscript file where it is specifically for initialization of the object and another one for resizing. And then when I call it on my main AS file it goes like this:

Code:
// Add the symbols to stage
var Menu_mc = new Menu_MC();
addChild(Menu_mc);

[code]...

But it seems futile.

View 6 Replies

ActionScript 3.0 :: Move The Vertical ScrollBar Position Of The ScrollPane To Top/initial Position

Jun 30, 2009

I am using a ScrollPane in my application(viz., instance name is: myScrollPane). When I view the contents of the ScrollPane, it shows them perfectly. My issue is: When I try to view data present inside the ScrollPane, if I move the Vertical-ScrollBar of the ScrollPane to middle(or somewhere from top to down) and then click on Submit button(viz., instance name is: submit_btn), then its Vertical ScrollPosition must be reset from middle(or any position where we leave it before) to top(or initial position). Hence, I need to move the Vertical ScrollPosition of ScrollPane to top (or) initial position. Everytime, I need to refresh the VerticalScrollBar Position when I click on the submit button. How to do it?

View 1 Replies

ActionScript 2.0 :: Move Punto_mc From Current Position To Random Position After Release?

Aug 29, 2009

how to make an actionscript to move punto_mc from current position to random position after release, and then from this new position to mevo to another randon position after release?

View 2 Replies

ActionScript 3.0 :: Flash - Tweening The Canvas Position While Keeping It's Mask Position?

Feb 3, 2012

I have simple image gallery, where images are placed one next to another and the mask is revealing only one of them. Now I want to tween position of the images, but when I do that the mask is "traveling" alongside with the images..

View 4 Replies

Flex :: Strange CallLater X Position Behavior?

Feb 25, 2010

I'm not sure exactly where this is happening, but what I'm trying to do is make a scrolling ticker using flex, and it works fine when there is one of them on the screen, but when there are two, strange things happen.The way I have designed this for live updating, when the child of my hbox goes off the screen, I remove it and add another child to the end of it.This happens to reset the X position of the hbox, which isn't too bad, but it also resets the X position of any other hbox I have on the screen.Here is code that demonstrates what I'm seeing:

To use this, run the flex program, then click in the first hbox to set its x position to your mouseX. When the x position of the second hbox (hbox3) is reset, so will the first hbox's (hbox2) X position.

<?xml version="1.0" encoding="utf-8"?>
<mx:Application creationComplete="addToBoxes()" xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" >
<mx:Script>[code]..............

How can I prevent this from happening, or what is a better way to make an updating ticker like I am trying to do?

View 1 Replies

Flex :: Finding X,y Position Of A Datagrid / AdavancedDataGrid Row

Feb 27, 2010

I have flex advancedDataGrid (could use dataGrid if that works better, though i like my meta-column headers), and i want to have a component popup on top of a selected row.

The problem is, i can figure out how to reference an actual rendered row of a datagrid (rather than an item of the dataprovider) in order to get its position on the screen.

how to access a "row" of a datagrid, or at least get its position?

View 3 Replies

Flex :: Get The Position In A Grid From A Dynamic Object?

Apr 15, 2010

On GridItem object there's a colIndex and on GridRow a rowIndex. But both are declared internal so I do not have acces on that information.

Is there another way to get the position of an object in a grid.

View 1 Replies

AS3 :: Flex - Combobox Change Dropdown Position?

May 14, 2010

I'm trying to change the position of the dropdown list relative to the combobox item.Setting the position using comboBox.dropdown.x = 1337; doesn't work...

View 1 Replies

Flex :: Calculating Position For Rotated Image

Aug 5, 2010

I have a couple of images, representing tents, that look like this: The red and blue parts on each side of the tents are doorways, and several tents can be connected together via these doorways. For example, I want to connect the two blue doorways so that they match up like in this picture: If the first tent is stationary, around which point do I rotate the second tent and how do I calculate where to place it?

Currently, I have the upper left corner of each doorway as an x and a y value, together with the width and direction (in degrees) of the door. I'm treating the doorways as one dimensional, so they don't have heights. Would another representation suit this better? Perhaps a start point and an end point plus direction?

View 1 Replies

Flex :: Get Global Coordinate Position Of A Component?

Aug 9, 2010

In flex, how to get global coordinate position of a component?

View 1 Replies

Flex :: Keep DataGrid In Same Scroll Position After Update?

Sep 8, 2010

I have a custom <mx:DataGrid /> that is updated with data from a ColdFusion server every 60 seconds. I've noticed that every time the DataGrid updates and redraws the scroll position is reset to the top.

Is there a way I can preserve the scroll position for my DataGrid?

View 1 Replies

Flex :: Insert One Vector Into Another At Specific Position?

Sep 21, 2010

What is the most efficient way to insert one Vector into another at specific position?

For example:

var aa:Vector.<int> = Vector.<int>([1, 2, 3]);
var bb:Vector.<int> = Vector.<int>([9, 8, 7]);

This doesn't seems to work:

bb.splice(1, 0, aa);
The result is [9, 0, 8, 7].

View 2 Replies

Flex :: Get The Cursor Position Of TextLayoutformat/textFlow

Jan 26, 2011

How can I get the cursor position of flex textLayoutformat/textFlow.

View 1 Replies

Flex :: Get Canvas.captureimage From Scrolling Position And Not From The Top?

Apr 18, 2011

I'm making small image editor which crops/resize an image. Everything worked perfectly until very last moment. Canvas don't want to be captured from scrolling position: only from left top corner.

Question is: how can I use .captureimage of a canvas from scrolling position?

import mx.controls.Image;
import mx.events.FlexEvent;
import mx.graphics.ImageSnapshot;

[Code].....

View 1 Replies

Actionscript 3 :: Position A Component In Flex That Is Fixed?

Nov 23, 2011

Just like in HTML / CSS you can set the position of a div to be 'fixed' using css. For example, a header that is fixed at the top of the web page when the user scrolls down the webpage.

Is this possible in Flex?

I have had a look at the

VDividedBox

control which kind of does what I'm after but don't like the 'divider'.

View 2 Replies

Flex 4 : Change Element Position In A S:List?

Dec 20, 2011

I have a s:List in my flex application attached to an ArrayCollection ( elements ). I want to change position of one element, so in fact I'm changing it's item index, the question is, how to do this kind of action ?

Here is a better example :

item 1 i : 1
item 2 i : 2
item 3 i : 3
item 4 i : 4

[Code]...

View 2 Replies

ActionScript 2.0 :: Full Browser Flash - Traced Its X Position And The Var StageXcenter Position And Like Suspected It Shows Different Values?

Nov 12, 2007

So I'm trying my hands on some full browser flash and after reading a couple of tuts I wrote this

Code:
#include "mc_tween2.as"
Stage.scaleMode = "noScale";
stageListener = new Object();[code]...

The trace's are because it didn't work like I thought it would.Etc the middle movieclip didn't center itself but rather positioned itself seemingly how it pleased so I traced its x position and the var stageXcenter position and like suspected it shows different values.

View 2 Replies

ActionScript 2.0 :: Take Button Position Half Width Of Own X Position On Stage

Feb 9, 2011

i want to take btn1 position half wwidth of own x position on stage

View 1 Replies

ActionScript3 :: Flex - Determine The Position Of An XML Instance In An XMLList?

Aug 11, 2009

What it says on the tin: I have an XMLList, and I want to find where in it a particular XML item falls. First index is good enough for my purposes. Note that I have no problem writing a function to do this by hand... but I was hoping that the API has something buried somewhere that'll do it for me. I didn't see it, though.

View 2 Replies

Flex - Tree DataTipFunction Tooltip Change Position?

Nov 30, 2009

I am doing dataTipFunction on Tree in Flex3 Air,

At present the tooltip hides the present node, i need to reposition the tooltip above the node, how can change the x,y position of the tooltip.

View 2 Replies







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