apache-flex

cairngorm vs mate framework comparison in flex

二次信任 提交于 2019-12-11 23:58:29
问题 I have been developing applications in cairngorm framwork in flex for over 2 years. Now I have to develop applications using Mate framework. I have no idea about Mate framework and which one is better than the other. I also need to know where to start to learn Mate framework, if somebody has idea about both the frameworks, kindly throw the light on this area. 回答1: Likely if you've been working with one of the older versions of Cairngorm, you're going to have a hard time getting out of the

Ctrl + C not working in flash player(swf file) when browser is Google Chrome

血红的双手。 提交于 2019-12-11 23:52:46
问题 i have my project developed in Flex3, <<Site Link Removed now>> You can check it here, the problem i am facing is, copying(Ctrl + C) the content from screen textarea when the swf is running in chrome browser. suppose, i have to add some text on the stage, so the text area which is opened on the left side, i can't copy the text written in text area, although by right clicking in text area, and selcting the copy option, thats working, but my client has asked for copying the content by using

Flex RTMP client

谁都会走 提交于 2019-12-11 23:49:06
问题 I'm trying to write an rtmp client with flex. The problem is that I have no idea where to start. Could someone please answer how I would go about doing this, or point me to a site that does? Thanks. I don't even know what classes to use and such. 回答1: You don't have to write your own RTMP client because Flash already implements a RTMP client called NetConnection. To create a basic connection you could do the following: var nc:NetConnection = new NetConnection(); nc.addEventListener

Which version of Flash Builder do I need?

泪湿孤枕 提交于 2019-12-11 23:41:36
问题 There is this similar question but I think it was answered when Flash Builder was still Flex Builder. I need to buy Flash Builder and really the Adobe site is not clear about the different versions. I need to know what is the difference between the standard and the premium editions. Is there a lack of components in the standard? Is there anything that I won´t be able to compile in standard or the differences are just in terms of the IDE functionality? Thank you 回答1: The main differences

how to I make my flash AS3 game save progress

匆匆过客 提交于 2019-12-11 23:19:21
问题 I have this flash game that I've been working on that works out of the browser, and I'm looking to get it to save it's progress. I've seen multiple flash games that have accomplished this, and It appears as though they've done this client-side, and I'd like to do the same. My game consists of 1 mxml file and a number of .as files and I compile it from the command line using flex sdk. What do I have to do to be able to save save my game's data? 回答1: As others have mentioned, SharedObject is

Remote Image with basic authentication?

假装没事ソ 提交于 2019-12-11 23:17:47
问题 I would like to load a an image from an external domain and I have the below so far: private function get_coverArt(coverArtID:String):void { var requestString:String = "/rest/getCoverArt.view?v=1.5.0&c=AirSub&id=" + coverArtID; var requestURL:String = subServerURL + requestString; myCoverArtLoader = new URLLoader(); var myRequest:URLRequest = new URLRequest(); var authHeader:URLRequestHeader = new URLRequestHeader(); authHeader.name = 'Authorization'; authHeader.value = 'Basic ' + credentials

air native extension - possible to receive broadcast?

夙愿已清 提交于 2019-12-11 23:08:49
问题 I am developing application with Adobe Flex on AIR platform. Using native extension for Android, it is possible to send SMS from my Flex application. Would it also be possible to receive SMS with my application (receive Broadcast carrying information about incoming SMS)? More generally, is it possible to receive Android Broadcasts in my Flex application? 回答1: I found out this is possible. "The native implementation can dispatch events that the ActionScript extension code can listen for. This

Listing huge amount files and directories include subdirectories in Adobe AIR

风流意气都作罢 提交于 2019-12-11 22:52:21
问题 I am trying to list files and directories and copy all files existing into any other folder. By the way, there are many files and directories more than 1000 000+. Here is a part of code. private function getFileList(sourceDir:String):void{ var file:File = File.userDirectory.resolvePath(sourceDir); file.addEventListener(FileListEvent.DIRECTORY_LISTING, directory_listing); file.getDirectoryListingAsync(); } private function directory_listing(e:FileListEvent):void{ var getfiles:Array = e.files;

flex: loading local flash file

放肆的年华 提交于 2019-12-11 21:49:36
问题 i'm pretty new to flex 3 but it's really cool so far. i have embedded 2 mxml components thank to you guys, now in the center of the screen when i try to load an swf file using the SWFLoader object i get the following error: Error #2044: Unhandled securityError:. text=Error #2140: Security sandbox violation: file:///C:/Users/ufk/Documents/Flex%20Builder%203/GamePage/bin-debug/GamePage.swf cannot load file:///C:/Users/ufk/Documents/Flex%20Builder%203/GamePage/bin-debug/crazy_counting.swf. Local

Flex - Changing the color of a Custom scrollbar using CSS properties

做~自己de王妃 提交于 2019-12-11 21:36:49
问题 Currently, I am implementing a scrollbar using a custom embedded image using my CSS stylesheet. This is a very simple, thin scrollbar. I would like to configure this scrollbar using CSS properties at runtime, but so far I have been unable to do so. I know it can be done because I've seen examples of it in the net, but no code to review. Anyone have any suggestions? Thanks! 回答1: This blog has an example that you can view the source of with a right click: http://www.axelscript.com/2008/02/20