apache-flex

What is the best approach to develop a video chat web application in Java? Flex or JMF?

廉价感情. 提交于 2019-12-23 22:38:43
问题 Currently we are in the design phase of an application that will allow two users to communicate with each other using chat and video (with audio), the application is a web application that currently is a java web app with Spring and hibernate, but we want to incorporate video and chat between two users and we are evaluating the options to developing it, so far we have two choices, either develop a Flex UI that leverages its video and chatting capabilities through Red5 or something like that

Adobe air mobile why does the stage flickers when starting a video a stageVideo?

。_饼干妹妹 提交于 2019-12-23 22:15:36
问题 I am trying to Play a video on a android tablet using stageVideo but any time i click play and add the video to the stage the hole app flickers and then the video is added to the stage. The video then start off being all pixelated. Then it goes away and starts playing properly with only a few jumps. I am wondering what is casing this to happen? Is there a better way to load the video. This also can happen when just using the video object in flex. The video is stored locally in the file:///mnt

External Config file in Actionscript 3

岁酱吖の 提交于 2019-12-23 20:55:08
问题 I need to be able to load external configuration files into my flex app. I've read that this is possible using embeds, so long as the mimeType is set to application/octet-stream. package learning { import org.flixel.*; public class PlayState extends FlxState { [Embed(source = "../../data/tiles.png")] private var _tiles:Class; [Embed(source = '../../data/map.txt', mimeType = "application/octet-stream")] private var ExternalMapData:Class; public var txt:FlxText; public var player:FlxSprite;

Display HTML text in the Spark TextArea

寵の児 提交于 2019-12-23 19:25:28
问题 The Below code is running well... <?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" > <fx:Declarations> <mx:HTTPService id="httpRSS" url="http://www.petefreitag.com/rss/" resultFormat="object" /> </fx:Declarations> <s:Panel id="reader" title="Blog Reader" width="500"> <mx:DataGrid width="485" id="entries" dataProvider="{httpRSS.lastResult.rss.channel.item}" click=

Could not resolve * to a component implementation

女生的网名这么多〃 提交于 2019-12-23 19:17:45
问题 I'm a wee bit stuck on this, and was hoping you might have some input to help me. I'm getting the "Could not resolve * to a component implementation." error message. However, everything I've read about this via Google hasn't helped my case in the slightest. I presume I'm just missing something obvious, but maybe its something more serious. So, to solve this problem, I've tried two things, and both work, as far as they take me. First, I added a new component, of the exact same variety, and

Flex applications for iPhone

假装没事ソ 提交于 2019-12-23 19:16:22
问题 Is it possible to make applications for iPhone using Adobe Flex/AIR? Any tutorials, pointers? 回答1: No, I don't believe you can. Although support for Flash on the iPhone has been rumored for a while now, it continues to fail to materialize. ETA: It appears that this is now possible 回答2: As of October 5, Flash is actually supported on IPhones! Have a look at this site. Edit: A mobile version of the flex framework has been announced by Adobe for sometime next year. 回答3: The iPhone SDK says: 3.3

Setting Page Title from a SWF

泄露秘密 提交于 2019-12-23 18:37:31
问题 Is it possible to set the title of a page when it's simply a loaded SWF? 回答1: This is how I would do it: ExternalInterface.call("document.title = 'Hello World'"); Or more generalized: function setPageTitle( newTitle : String ) : void { var jsCode : String = "function( title ) { document.title = title; }"; ExternalInterface.call(jsCode, newTitle); } 回答2: Sure. This should fix you up: getURL('javascript:var x = (document.getElementsByTagName("head")[0].getElementsByTagName("title")[0]

How to load flex swf from flash?

混江龙づ霸主 提交于 2019-12-23 17:41:11
问题 I have some swf compiled in flex I want to load it into my movie clip in flash pro. ...So how to for example load flex swf inside Flash CS4? how to do such thing? 回答1: Here you can read more about it: http://troygilbert.com/2009/05/loading-flex-based-swfs-in-as3-only-swfs/ Here is the code for loading the flex swf: var loader:Loader = new Loader(); addChild(loader); loader.load(new URLRequest("my-flex-app.swf")); loader.addEventListener("mx.managers.SystemManager.isBootstrapRoot",

How to disable automatic sorting in Editable Datagrid in Flex 4

不打扰是莪最后的温柔 提交于 2019-12-23 17:29:46
问题 I have an editable datagrid. If sorting is applied by clicking any header of datagrid, it works fine. But after that, if data values are changed in any row of datagrid, sorting is applied automatically. How to prevent from this behaviour? i.e. sorting should only be applied if user clicks on any header of datagrid and sorting should not be applied when user modifies data in grid. 回答1: You have to set sortableColumns to false and handle the headerRelease event, where you do the sorting

Any pointers to good AS3 code snippets/samples?

回眸只為那壹抹淺笑 提交于 2019-12-23 17:26:31
问题 I am newbie in AS3 and learning day by day. I am looking for good AS3 code snippets/samples/small projects which I can use for learning purpose and for reference (with no dependency on Flash IDE because I use Flex SDK and Flash Develop). Also, I am specifically looking for tutorials/articles about Audio/Video streaming, creating own audio/video player, playing audio/video files and working with other media (such as images) and creating special effects. If there's any good websites(other than