Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0EE091066A for ; Thu, 21 Nov 2013 10:38:38 +0000 (UTC) Received: (qmail 48701 invoked by uid 500); 21 Nov 2013 10:38:37 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 48685 invoked by uid 500); 21 Nov 2013 10:38:36 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 48674 invoked by uid 99); 21 Nov 2013 10:38:36 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Nov 2013 10:38:36 +0000 Date: Thu, 21 Nov 2013 10:38:35 +0000 (UTC) From: "Thiago Maia (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FLEX-33922) validateNow() Freezes the browser MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-33922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thiago Maia updated FLEX-33922: ------------------------------- Description: Whats happen: When try to set a color for a vbox background and activate it, it will froze. Can be tested on this link; http://www.a00s.com/teste2013/vbox/TesteVbox.html Project for Eclipse is here http://www.a00s.com/teste2013/vbox/TesteVbox.rar Expected; Vbox activated for use ------------------------------------------------------------------- This sequence make it freezes currentVBox3.setStyle('backgroundColor',0x003300); then enable a disable VBox currentVBox4.enabled = true; then validate TelaLocal.validateNow(); or this.validateNow(); below the full code: TesteVBox.mxml ------------------------------------------------------------------------------------------------ was: Whats happen: When try to set a color for a vbox background and activate it, it will froze. Can be tested on this link; http://www.a00s.com/teste2013/vbox/TesteVbox.html Expected; Vbox activated for use ------------------------------------------------------------------- This sequence make it freezes currentVBox3.setStyle('backgroundColor',0x003300); then enable a disable VBox currentVBox4.enabled = true; then validate TelaLocal.validateNow(); or this.validateNow(); below the full code: TesteVBox.mxml ------------------------------------------------------------------------------------------------ > validateNow() Freezes the browser > --------------------------------- > > Key: FLEX-33922 > URL: https://issues.apache.org/jira/browse/FLEX-33922 > Project: Apache Flex > Issue Type: Bug > Components: mx: Box View > Affects Versions: Apache Flex 4.9.0, Apache Flex 4.10.0, Apache Flex 4.11.0, Apache Flex 4.12.0 > Environment: Windows 8, tested on Chrome, Mozilla and Internet Explorer > Reporter: Thiago Maia > > Whats happen: > When try to set a color for a vbox background and activate it, it will froze. > Can be tested on this link; > http://www.a00s.com/teste2013/vbox/TesteVbox.html > Project for Eclipse is here > http://www.a00s.com/teste2013/vbox/TesteVbox.rar > Expected; > Vbox activated for use > ------------------------------------------------------------------- > This sequence make it freezes > currentVBox3.setStyle('backgroundColor',0x003300); > then enable a disable VBox > currentVBox4.enabled = true; > then validate > TelaLocal.validateNow(); > or > this.validateNow(); > below the full code: > TesteVBox.mxml > ------------------------------------------------------------------------------------------------ > > xmlns:s="library://ns.adobe.com/flex/spark" > xmlns:mx="library://ns.adobe.com/flex/mx" > minWidth="955" minHeight="600"> > > import mx.containers.VBox; > private function testing():void { > var newVBox:VBox = new VBox(); > newVBox.label = "aa"; > newVBox.id = "aa"; > TelaLocal.addChild(newVBox); > > var newVBox2:VBox = new VBox(); > newVBox2.label = "bb"; > newVBox2.id = "bb"; > newVBox2.enabled = false; > TelaLocal.addChild(newVBox2); > > var formChildren3:Array = TelaLocal.getChildren(); > for each(var currentVBox3:VBox in formChildren3){ > currentVBox3.setStyle('backgroundColor',0x003300); > } > } > private function testing2():void { > var formChildren4:Array = TelaLocal.getChildren(); > for each(var currentVBox4:VBox in formChildren4){ > currentVBox4.enabled = true; > } > TelaLocal.validateNow(); // or this.validateNow(); > } > ]]> > > > > > > > > -- This message was sent by Atlassian JIRA (v6.1#6144)