apache-flex

Why wont this move effect work on my sprites when the fade effect does?

╄→гoц情女王★ 提交于 2020-01-06 17:56:02
问题 Could someone please explain why this doesn't want to work? It's a bit of decoration to go behind a logo. When the dMove var is commented out I get the appropriate line of squares fading in and out at random spots along the x = 78 axis, but when introduced nothing appears at all... private var floatBG:UIComponent = new UIComponent(); private function addDP(event:TimerEvent):void{ var dY:Number = 5+Math.ceil(Math.random()*60); var dSize:Number = Math.ceil(Math.random()*12); var dAlpha:Number =

Adobe Air: Null pointers when rendering takes time

跟風遠走 提交于 2020-01-06 15:54:10
问题 I am using the a ViewStack controlled with visibility of selected NavigatorContent being dependent on user selection of an option from a drop down menu. Each View of the ViewStack has its own separate UI elements including 2-3 DataGrid, charts etc - think of it as a simple school application where each view binds to a course and shows performance of students for that course (while listing students in grid) Sometimes, there is a problem with showing the data though - before the Rendering

How MVVM with DataTemplateSelector is portable from Silverlight to Flex?

风格不统一 提交于 2020-01-06 15:49:12
问题 I asked a question here about MVVM In MVVM there can be only one View for each one View Model? Answer would be to use DataTemplateSelector to get multiple views. Now let's say I need to port to flex. Does Flex have the same paradigm as DataTemplateSelector ? Since Silverlight claims that it is close to Flex then I'd like to see proofs :) 回答1: Specifically, there is no "DataTemplateSelector". That is not surprising, though, because they are different stacks... (They ARE extremely similar to

Is there a way to get https requests to work when calling from a localhost for testing

不羁的心 提交于 2020-01-06 15:44:06
问题 I'm getting the errors when testing my application locally since I switched to https: Warning: Domain www.example.com does not specify a meta-policy. Applying default meta-policy 'master-only'. This configuration is deprecated. See http://www.adobe.com/go/strict_policy_files to fix this problem. Error: Request for resource at https://www.example.com/?json=user/get_logged_in_user by requestor from http://localhost:8888/Test-debug/Test.swf is denied due to lack of policy file permissions. I

Error installing AIR app

血红的双手。 提交于 2020-01-06 15:19:01
问题 I'm unable to install my AIR app now; I think it's because I was uninstalling it and quit halfway thru the uninstall. Here's the error I'm currently seeing: Bootstrapper begin with version 2.6.0.19120 on Win x86 Installed runtime (3.3.0.3650) located at c:\Program Files (x86)\Common Files\Adobe AIR Launching subprocess with commandline "Adobe AIR Application Installer.exe" "C:\Users\a210693\AppData\Local\Temp\AIR7495.tmp\Transporter" Application Installer begin with version 3.3.0.3650 on

accessing currentCSSState property on event.target.incrementButton

假装没事ソ 提交于 2020-01-06 15:14:44
问题 I am currently creating a spinner like this var scoreSpinner:Spinner = new Spinner(); scoreSpinner.width = 25; scoreSpinner.value = scoreList.getItemAt(index).Score; scoreSpinner.minimum = scoreList.getItemAt(index).Minimum; scoreSpinner.maximum = scoreList.getItemAt(index).Maximum; scoreSpinner.snapInterval = 1;//scoreList.getItemAt(index).Increment; if(scoreNameLabel.text == "Disconnect Impact") { scoreSpinner.addEventListener(Event.CHANGE, spinnerChange); } On a specific spinner I want to

scrolling interval in a Spark List with Tilelayout oversized while using mouse wheel after scrolling with mouseclick

末鹿安然 提交于 2020-01-06 14:27:16
问题 I have a spark List with an item renderer and a tile layout. If I scroll by clicking with the mouse on the scroll bar and trying to scroll with the mouse wheel after that, there is a problem: The interval of the scrolling is oversized, instead of scrolling one item down (or up) the List scrolls 4 items down (or up). <s:List dataProvider="{myDataProvider}" itemRenderer="MyRenderer" left="11" right="11" bottom="3" top="10" useVirtualLayout="false" > <s:layout> <s:TileLayout columnAlign=

scrolling interval in a Spark List with Tilelayout oversized while using mouse wheel after scrolling with mouseclick

我怕爱的太早我们不能终老 提交于 2020-01-06 14:27:09
问题 I have a spark List with an item renderer and a tile layout. If I scroll by clicking with the mouse on the scroll bar and trying to scroll with the mouse wheel after that, there is a problem: The interval of the scrolling is oversized, instead of scrolling one item down (or up) the List scrolls 4 items down (or up). <s:List dataProvider="{myDataProvider}" itemRenderer="MyRenderer" left="11" right="11" bottom="3" top="10" useVirtualLayout="false" > <s:layout> <s:TileLayout columnAlign=

Does SonarQube 5.5 support several language?

旧巷老猫 提交于 2020-01-06 14:25:24
问题 I am working on a project with java 1.7, SonarQube 5.5 and Sonar Scanner 2.6.1. In the frontend of the application I use Flex. I downloaded the version of the flex 2.2.1 plugin which is compatible with the 5.5 version of Sonar, and I put it in ~\sonarqube-5.5\extensions\plugins\ . In sonar-project.properties I put sonar.language=flex,java but she does not work. When I use just flex or just java the scan goes correctly. But I do not want to scan language by language, rather I want to scan the

Global access for sqlDB on mobile device

二次信任 提交于 2020-01-06 13:13:30
问题 I am creating a sqlite database for my mobile app. once the user has supplied the correct password the database is opened. Various screens of the application will need to read and write data from the db. is there a way I can make the connection global when I open it, so it can be accessed from any view? the code I am useing to open the DB is var sqlConnection:SQLConnection = new SQLConnection(); sqlConnection.addEventListener(SQLEvent.OPEN,sqlOpenSuccess); sqlConnection.open(DBFile, SQLMode