Flex :: DropDownList Doesn't Work In New Window

Oct 29, 2010

In this code I'm creating a new window when I click the button. In the new window are TextInput and DropDownList components. When the new window opens, clicking the DropDownList does nothing - you have to click it a second time round to get it to open. However, click into the TextInput field first and then try opening the DropDownList works no problem.

Below is the code, or download the FXP file here.

// DropDownTest.mxml (application)
<?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]....

View 1 Replies


Similar Posts:


Flex :: DropDownList Doesn't Always Open On Click?

May 12, 2011

I have an AIR application with 2-3 DropDownLists and a bunch of other controls. The DropDownLists are bound to dataproviders (ArrayCollections) in a central Model singleton. On launch, they all work fine.

However, when I click a button to add new objects to an object in another ArrayCollection in the same Model, the DropDownLists get weird. They still register clicks, and all other controls still work as before, but the dropdowns won't open. Clicking/waiting enough usually opens the dropdown, but if I don't make another selection it still won't open after closing. Making a different selection makes that DropDownList work again, but the others might still refuse to open.

If I open the dropdowns using Ctrl + Down arrow, they work all the time, so it's only the click that doesn't trigger the open correctly. I can work around the problem by calling openDropDown() on the dropdown when clicked, but that doesn't feel right.

I'm using the 4.1 SDK, and the dropdowns are s:DropDownLists. I tried using mx:ComboBoxes instead, but got the same behavior. Edit: Weirdly enough, using s:ComboBoxes they work as they should, but I really don't want to use them since they seemingly can't be made non-editable.

View 2 Replies

ActionScript 2.0 :: Pop Up Window Doesn't Work

Aug 21, 2004

I used the pop-up tutorial here on kirupa, and heres what I got: in the as layer i have :

[Code]....

But when I view it online th pop up doesn't work, it does when I view it in my folders, and in opera the pop-up works, but it still have scrollbar and it is lot of white space in top so it get weird.

[URL]

View 2 Replies

ActionScript 2.0 :: Pop Up Window Doesn't Work?

Aug 21, 2004

I used the pop-up tutorial here on kirupa, and heres what I got: in the as layer i have :

[Code]...

But when I view it online th pop up doesn't work, it does when I view it in my folders, and in opera the pop-up works, but it still have scrollbar and it is lot of white space in top so it get weird

View 1 Replies

ActionScript 3.0 :: Buttons Open In The Current Window But It Doesn't Seem To Work

Aug 26, 2009

I'm trying to have my buttons open in the current window but it doesn't seem to work. Here is my code:

[Code]...

View 5 Replies

ActionScript 2.0 :: Borderless Window (tutorial) Doesn't Seem To Work In MSIE 5+

Mar 7, 2002

I've tried to use it. It works fine in all the browsers in a non frame layout. But when aplying it to a frame layout (i know, not cool but nessecairy) it refuses to work, and it generates an error message. That it can't open the requested HTML page.

View 1 Replies

ActionScript 2.0 :: Chromeless Window Alternative Doesn't Work In Windows XP

Feb 22, 2005

I've tried the chromeless script from chromeless.org but it doesn't work in windows XP SP1 and SP2. I need a pop up full screen window as I've designed the whole site with the full screen in mind and if I can't get a pop up, I got to redo everything!! I redid it twice and I'm not going to try the third!! OMG!! Anyone has alternative solutions for this? Or anyone has another version of the chromeless script that works with SP1 and SP2?

View 1 Replies

ActionScript 3.0 :: Button Navigation - Open The New Page In The Same Window, It Doesn't Seem To Work?

Dec 7, 2010

I have a simple website and I am going from one page(flash file) to another page(different flash file) using the following code.

var myLink:URLRequest;
function openPage(event:MouseEvent) {
switch (event.currentTarget) {[code]....

This works fine, but I want to be able to use "_self" so I open the new page in the same window yet it doesn't seem to work.

View 4 Replies

Flex :: Application Packaged In AIR Doesn't Show It's Window

Feb 1, 2010

I have a Flex application that builds and runs from Eclipse without any problems. I've created an Ant build based on the sample provided by Adobe and builds the application and packages it up into an AIR application. No errors occur during the build process and an AIR file is created.The problem is that when I install the AIR application and run it, there is no UI at all. The process is running because I can see it in Task Manager but I can't see the app window. I've commented out all of my initial code so just the first window should appear but still nothing.

View 1 Replies

ActionScript 3.0 :: Flex Doesn't Work The Way It Should?

Jan 28, 2010

I have 3 files. 2 actionscript files and a html file.I want the image to show up at the 0 X coordinate.It shows up at a non-zero position in the browser (firefox 3.*) after I compile everything with flex SDK and run the html file. BUG with flex? The embedded png image is 1019 pixels wide.

package
{
// first file.
import flash.display.Sprite;[code].....

View 2 Replies

Flex :: Flex S:datagrid Sorting Doesn't Seem To Work?

Feb 18, 2012

I'm using Flashbuilder 4.6 and can't get sorting of columns in my s:DataGrid to work, clicking on the columns does nothing. Can anyone suggest what is wrong?

[Code]...

View 1 Replies

Binding - Flex ChangeWatcher Doesn't Work?

Jul 9, 2010

I'm trying to implement a binding between some custom-built models and just beginning to dabble with the whole mx.binding.* collection. I tried this simple, stripped down example, but can't get the binding working correctly. Can somebody tell me where I'm going wrong?

[Code]...

View 3 Replies

Flex - Httpservice Doesn't Work On Localhost?

Nov 7, 2010

I am making a very simple httpservice request w/ a php file that is on my remote server:

<?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"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:halo="library://ns.adobe.com/flex/halo"
>

[Code]...

When I run the resultant flash file on my remote server, it works 100% and test.text gets populated to "successful". However, when I run it on localhost test.text is still blank. If I check my network monitor in Flex, the httpservice was successful, so crossdomain.xml seems to be set right ...what am I doing wrong? I've been spinning my wheels for some time w/out a clue.

View 1 Replies

Flex :: Why Flash Firebug Doesn't Work

Nov 12, 2010

Why Flash Firebug doesn't work with flex 4.5?

UPDATE:

I have Flex 4.5 and in the main application, in the script tag I write:

import ominds.Firebug;

I use flash player WIN 10,1,85,3 Debug enabled. I export swf as 10.1.85 version.

And when I open the flashFirebug I get this: "No SWF files with the O-Minds package found, you should import the O-Minds package into your flash files. For more information visit: o-minds.com/products/flashfirebug"

View 3 Replies

Flex :: Image SmoothBitmapContent Doesn't Work?

May 10, 2011

recently I got a jagged image problem when scaling. I set my image components smoothBitmapContent true, and it works properly the first time, but if I reset the source, the images return jagged. It seems like the smoothBitmapContent property has been changed to false, but it doesn't work even if I set it to true in run time.Here's is my code:

<custom1:SmoothImage id="MJCard_3_36" x="286.5" y="56.65" scaleX="0.66" scaleY="0.83" smoothBitmapContent="true"/>
MJCard_3_36.source = seabedPicArr[index1-1][index2-1][index3-1];

I simply use a custom Image-extended class and switch smoothBitmapContent on, and I set the image's source in run time.

View 1 Replies

Flex :: RichText Doesn't Work With Bullets?

Jul 25, 2011

See the simple application created below. I have a RichTextEditor and a RichText component.The idea is to display whatever typed in the RichTextEditor in the RichText component. Everything else (I think) works except for Bullets! The conversion works as if bullets doesn't exists!

<?xml version="1.0" encoding="utf-8"?>
<s:Application width="100%"
height="100%"

[code]......

View 1 Replies

Flex :: TextArea Scroll Down Doesn't Work

Sep 1, 2011

I have a TextArea that shows the conversation from selected chat room. For valueCommit event I use: verticalScrollPosition = maxVerticalScrollPosition; And it works fine scrolling text to the bottom. However in one case it doesn't work as expected. There's verylittle text, so TextArea has no scrollbar and then I put a lot of text and a scrollbar is necessary. The text is scrolled almost to the bottom (still a few lines need to be scrolled down). I am pretty sure it gets maxVerticalScrollPosition as if there was no scrollbar. So the question is how can I wait with updating verticalScrollPosition with respect to TextArea's new size (that is now with a scrollbar). I tried calling validateSize and other methods that start with 'validate' but unfortunately with no luck. I also tried the old trick of putting caret at the end of text. So the TextArea's scrollbar makes a difference when getting maxVerticalScrollPosition and I need to update verticalScrollPosition once all measurements are done. I forgot to mention. I use htmlText.

View 2 Replies

Asp.net - C# WebServices And Flex RPC Session Doesn't Work?

Oct 10, 2011

look im facing a problem. I have .NET + Flex application. I have a component in Flex who uploads a .XLS file to the server. This component has a Progress Barand it updates its bar and the Label with the

[Code]...

View 1 Replies

Flex :: Air Native Window CloseHandler Does Not Work?

Feb 21, 2012

In my Flex (Flash Builder 4) Air application, I have a spark window and have set the close="" event handler (also tried the 'closing' event) to a method that pops up an alert confirming if they want to close the window. This worked fine in my normal browser based app as a TitleWindow, but now that it's an Air app with a native spark window, it's not working. I never see the alert dialog, and if I debug trace, it does in fact go in to my close handler method, but visually I can see the window is already gone from the screen. In an AIR application, how do you add a confirmation dialog for when they click the "x" to close the window?

View 1 Replies

Flex :: 4 - Component Move Event Doesn't Work

Apr 6, 2010

I have a CustomTextInput component based on TextInput (Spark) component. The instance of this class is placed on a popup window (TitleWindow). How can I capture the popup move (dragging the title) event inside CustomTextInput implementation?

MoveEvent.MOVE event of the CustomTextInput itself doesn't work. Of course, I can't access the parent popup window inside the component implementation, because it's a common component that can be used not only on the popup windows.

View 1 Replies

Flex :: Method Doesn't Work When Being Called On ParentDocument?

May 8, 2010

I wonder is anyone can look at this code and tell me why calling the removeSelectedChild works when called from the same document, but returns the following error when called from the child document/component.

"ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller."

<?xml version="1.0" encoding="utf-8"?>

[Code]...

View 3 Replies

Flex :: Chrome: Flash Video Player Doesn't Work?

May 9, 2010

why my flash video player doesn't work in Chrome while it perfectly works in other browsers ? (Firefox and IE)

View 1 Replies

Actionscript 3 :: Flex Tree Itemclick Event Doesn't Work

Oct 19, 2010

i'm creating a reusable flex tree component. And i would like to stick in the itemclick funtion. So that when a user clicks anywhere on one of the tree's Branches. the branch expands.My problem is that i don't know how i can get the listener function to fire.What i would like to do is create the tree completely in as3. (no mxml). Normaly i set the itemClick on tree in the mxml. but i want to do this in as3. My component has alot more functions in it but i have deleted them so that it becomes easier to read. I Thought if i override the createChilderen function and add the eventlistener in there, that i would work. But no luck.

this is my code;

package
{
import mx.controls.Tree;
import mx.controls.listClasses.IListItemRenderer;

[code]...

View 1 Replies

Flex :: ButtonMode And UseHandCursor Property In DataGrid Doesn't Work?

Oct 28, 2010

If I set the properties of "buttonMode" and "useHandCursor" to true in DataGrid, it does not work as I expect. Only if I move the cursor to the edge between two rows, the hand cursor displayes.

What I expect is that no matter where the cursor is moved, it should always show hand cursor.

The following the itemRenderer:

<?xml version="1.0" encoding="utf-8"?>
<mx:Label
xmlns:mx="http://www.adobe.com/2006/mxml"

[Code]....

View 3 Replies

Flex :: Autocompletion In FlashDevelop Doesn't Work In Included Files

Jan 18, 2011

Why doesn't autocompletion work for function's local variables in included *.as files? For example:

[Code]....

View 1 Replies

Flash :: Flex 4.5 IOS Mobile Project: SharedObject Doesn't Seem To Work

Oct 27, 2011

I'm trying to use a SharedObject in a Flex 4.5 mobile project. The SDK I'm using is 4.5.1, and the AIR version is 2.6.0. I'm trying to locally store user credentials for my application using this piece of code:

[Code]...

View 2 Replies

ActionScript 3.0 :: Flex Removing Duplicates From An Array Doesn't Work?

Sep 11, 2010

I've been trying to remove duplicates from an array for a while, or even preventing them, and I'm having nothing but trouble.There's a lot of code to go through.I'm creating an array with objects inside it like so...

Code:
private function getJsonResult(event:Event):void {
//ta.text+=http.lastResult;

[code].....

View 2 Replies

Flex :: Does Window.open Not Work Inside An AIR Html Component

Jun 15, 2010

I have a component in AIR like so:[code]The 2 alerts both work. however nothing happens when you click the new window link.all 3 links works when in a real browser so I know its ok.Is there just no support for window.open in the AIR HTML component? or is this a bug?Is there a work around?

View 2 Replies

Flex :: Air - Adobe Export Release Build Doesn't Work - Mac OSX - Builder 3

Jun 4, 2010

I have an AIR application i'm trying to release with flexbuilder. Launching application has no problem ... bin-debug dir is correctly filled with my files. But when i want to create the AIR file (export release fuild), AIR files content view is empty and bin-debug directory is never filled.

View 4 Replies

Flex :: CommitProperties In A Custom Component Doesn't Work With Percent Width

Apr 1, 2011

I'm creating a custom component (based on ComboBox) and overriding some base methods. Recently I've found it acts weird when I set it's width in percents, rather than a fixed width. It tends to continuously call the commitProperties method and fail in the end. When I set it's width to fixed value - all works like a charm. What am I missing to implement? Here's some code ..

override protected function commitProperties():void {
super.commitProperties();
//some stuff ...

[Code]....

View 2 Replies







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