flexbuilder

What needs to be in a .war file to deploy a Flex application?

寵の児 提交于 2019-12-13 02:15:37
问题 I've been using Flex Builder 3 to create Flex applications that are part of larger Flex / Java project using LiveCycle Data Services. Flex Builder creates and deploys the .war file, which is convenient for the development cycle, but I don't understand what the .war file has to contain in order to deploy and run. I've found through trial and error that changing certain properties of the Flex Project (i.e. the Context Root) can break or fix the application, and somehow those settings make it

How to get command line arguments for a running process

核能气质少年 提交于 2019-12-12 16:45:52
问题 In my program, I have been receiving an error when I use a command-line compile command for mxmlc. The error is related to an embedded font name not being correctly identified by flex in the system fonts list. However, on a whim, I decided to copy the code to Flex Builder and compile it there. To my surprise, it worked, and it found the proper font using the same system name I had given (PMingLiU). I suspected my problem may be a locale one, and that my system cannot correctly identify the

How to integrate google+ in a flex mobile application

﹥>﹥吖頭↗ 提交于 2019-12-12 16:28:42
问题 Anybody know how can integrate google+ in a flex mobile application. While i tried to authenticate with google+ getting an error like text="Error #2032: Stream Error. URL: https://accounts.google.com/o/oauth2/auth?response%5Ftype=code&redirect%5Furi=urn%3Aietf%3Awg%3Aoauth%3A2%2E0%3Aoob&client%5Fid ..." errorID=2032]. URL: https://accounts.google.com/o/oauth2/auth. 回答1: It's your lucky day, because I know how to do it :-) The doc is Using OAuth 2.0 for Installed Applications and you get the

flex mobile TabbedViewNavigatorApplication back button

故事扮演 提交于 2019-12-12 03:16:36
问题 Why TabbedViewNavigatorApplication don’t have popView() (as in ViewNavigatorApplication I can use popView to go previous view)? How can I do that in TabbedViewNavigatorApplication ? <fx:Script> <![CDATA[ protected function BackBtn(event:MouseEvent):void{ navigator.popView(); //error } ]]> </fx:Script> <s:ViewNavigator label="Page1" width="100%" height="100%" firstView="views.DurationView" > <s:titleContent> <s:Button label="Back" click="BackBtn(event)"/> </s:titleContent> </s:ViewNavigator>

How to capture a streaming video display and save it to disk in Flex Builder 3?

耗尽温柔 提交于 2019-12-11 23:48:34
问题 I've been looking for a solution to my problem for a while and didn't get the answer. I have a page with a VideoDisplay object and a "Take screenshot" button. I would like to get the screenshot from the streaming video and save it but I'm getting an error: Security sandbox violation: BitmapData.draw: http://xxx/xxx.swf cannot access rtmp://xxx/xx/xx/. No policy files granted access. The domain of the website from which I'm capturing the image and the rtmp is the same. I'm using ImageSnapshot

Add .properties file to output folder of Flex project

爱⌒轻易说出口 提交于 2019-12-11 21:28:00
问题 In our current project we use .properties files as external files. When building our project the properties files are not added to the bin debug (output folder). Xml files are added without any problem. Does anybody know how I can add the .properties extension to a kind of exclusion filter list or something, so flash builder will add this files to my output folder instead of ignoring them? (I'm using Flash builder beta 2 as plugin for Eclipse) Thanks a lot. Wannes 回答1: Remove .properties from

center a website in flex

我怕爱的太早我们不能终老 提交于 2019-12-11 17:53:40
问题 I am trying to make a websites in flex . I am facing the problem that my website page is not centered. I Have searched google but haven't succeeded yet. I am trying to center <s:Application> on my web browsers instead of starting from left hand How can i do that? 回答1: As per my understanding: - 1) you are trying to embed swf in to HTML, if you want your swf to be at the center of HTML you have to embed swf in to one container on HTML side. Place your container position at center by providing

Flex make image full screen

五迷三道 提交于 2019-12-11 17:26:36
问题 when i run the image, it only appear in center with 2 blank white space in between. <s:Image x="0" y="0" height="100%" width="100%" source="@Embed('assets/d.jpg')"/> How can i make an image goes full screen (covering up the whole screen) with double tap/touch on mobile app? And if possible how to turn it back to non-full screen (back to normal)? thanks. image size: W=1920, H=1200 回答1: To remove the white bars you're going to have set the scaleMode of the Image tag. The default is Letterbox;

Flex. pushView data Object being converted into a String

泄露秘密 提交于 2019-12-11 16:52:55
问题 After executing a navigator.pushView with data object, I'm in need of the data object to be received into the next view, but at some stage transformed into a string to use in a sql function. The code below shows what I'm working on at the moment. <s:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" title="{data.toString()}" xmlns:model="model.*" creationComplete = "{data=srv.findByCategory(data.toString())}" > .toString() was my quick attempt at it, but

ActionScript Project to AIR Application?

拈花ヽ惹草 提交于 2019-12-11 16:03:25
问题 I'm not using the Flex libraries or anything from Flash. I'm developing a pure AS3 project in Flexbuilder which I would like to deploy as an AIR application. What are my options? What's easiest? I'm having trouble finding a straight answer here. 回答1: That runs, but shows nothing... for some reason this doesn't automatically instantiate a native window. rather than creating a new window that doesn't represent your main application, simply call stage.nativeWindow.activate(); in your main