apache-flex

maven bundle plugin build error

拈花ヽ惹草 提交于 2019-12-25 05:45:08
问题 When I run mvn clean install , maven throws the following exception: Exporting packages that are not on the Bundle-Classpath[Jar:dot] I could build successfully a few days ago, why is it happenning? 回答1: It's hard to be certain without details of your POM configuration, but it looks like you're using a bnd based plugin, which probably means the maven-bundle-plugin or the bnd-maven-plugin . In either case the bundle that's being produced is exporting a package which is not in the bundle. This

Getting Actual Facebook and Twitter Profile Image URLS for Flex Security Policy

拥有回忆 提交于 2019-12-25 05:35:14
问题 I'm trying to display the profile images from both facebook and twitter. For facebook, the URLs I'm receiving are something like this (not actual urls): http://graph.facebook.com/965412145/picture Which is then redirected to the 'actual' url like this: http://profile.ak.fbcdn.net/hprofile-ak-snc4/370471_9631690_1796253478_r.jpg I'm also doing this with twitter, with the same issue (redirected url). So, when I load the image, it loads fine. But when I close the container that the image is in,

actionscript project compiled as swf. how can i load it with flex and use the functions it provides?

一个人想着一个人 提交于 2019-12-25 05:32:34
问题 I have an ActionScript project with several classes that i compiled as an swf using Adobe Flex (by creating an actionscript project and clicking on export -> release build) Is there a way to load that swf so i'll be able to load it's classes and use them on a different swf ? i know i can use the following code to load an swf file: var loader:Loader = new Loader(); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onLoaded); loader.load(new URLRequest("game.swf")); addChild(loader);

How to access Function from one script to another script in same mxml

ぃ、小莉子 提交于 2019-12-25 05:15:47
问题 this is one script in my.mxml <fx:Script> <![CDATA[ import mx.collections.ArrayCollection; public function __changeSel():void{ } ]]> </fx:Script> another script in component tag in same my.mxml <fx:Component> <s:ComboBox change="changeSel(event)"> <s:id>selID</s:id> <s:dataProvider> <s:ArrayCollection> <fx:String>Less Than</fx:String> </s:ArrayCollection> </s:dataProvider> <fx:Script> <![CDATA[ public function changeSel(even:Event):void{ __changeSel(); } ]]> </fx:Script> </s:ComboBox> </fx

Flex - style TextArea with CSS

心不动则不痛 提交于 2019-12-25 05:14:55
问题 Just wondering if it's possible to apply a *.css to a spark TextArea? If so, how? 回答1: <fx:Style> @namespace s "library://ns.adobe.com/flex/spark"; @namespace mx "library://ns.adobe.com/flex/mx"; @namespace local "*"; s|Label { color:#33494A; fontFamily: "ApexNew"; fontSize: 14pt; } s|TextArea { color:#33494A; fontFamily: "ApexNew"; fontSize: 14pt; } @font-face { fontFamily: "ApexNew"; src:url('font/ApexNew-Medium.otf'); } </fx:Style> or <fx:Style source="something.css"/> [something.css]

Unable to change the column width dynamically in flex datagrid

一笑奈何 提交于 2019-12-25 05:09:22
问题 It's very very frustrating. I am using a singleton class (popup, which means it doesn't forget the last used variables) which contains a datagrid. I am making various columns visible/invisible, setting the widths and headers in accordance to data received from a database call. Everything works fine except that when I put the breakpoints before and after the point where I change width of columns, I do not see the change in width of datagrid at all! Instead I see some values totally out of sync

columns are not coming in order like in xml to datagrid

守給你的承諾、 提交于 2019-12-25 05:05:30
问题 My webapplication is giving XML in following format: <Vendor name="Infosys Limited" adopTotal="120" totalstrength="775" FY10Q1="162" FY10Q2="132" FY10Q3="229" FY10Q4="254" FY11Q1="282" FY11Q2="243" FY11Q3="238" FY11Q4="233" FY12Q1="237" FY12Q2="136" FY12Q3="101" FY12Q4="120"/> <Vendor name="Wipro" adopTotal="42" totalstrength="1181" FY10Q1="9" FY10Q2="12" FY10Q3="53" FY10Q4="67" FY11Q1="85" FY11Q2="76" FY11Q3="84" FY11Q4="82" FY12Q1="98" FY12Q2="51" FY12Q3="39" FY12Q4="42"/> <Vendor name=

Modules and Panels issue

只谈情不闲聊 提交于 2019-12-25 04:55:26
问题 I have the following problem. In my application I have several modules and each of them have components CollapsableTitleWindow (extends Panel). After opening the window it is added to the container which is in the main application (CollapsableTitleWindowContainer). In these windows you can open another window (and so on). Now, what is the problem. When I change (reload) any module and I want to open a new window (sub window) with the already loaded window I get this error: TypeError: Error

ItemRenderer contentBackgroundColor

旧城冷巷雨未停 提交于 2019-12-25 04:54:30
问题 i need urget help with some code. I use flex builder 3 and i need to do highlight of content which have a symbols "A,B,C,D,E,F,G,H,I,G,K,L" and i need to make them highlighted with some color in my list. And i don t know how to do this, some people say that i need to use itemRender, but i don t know how to do this in my case. Here is the code: <mx:Script> <![CDATA[ import mx.collections.ArrayCollection; [Bindable] private var myDP:ArrayCollection = new ArrayCollection([ {label1:"Alexey",

How to prevent an item from be selected in a List

a 夏天 提交于 2019-12-25 04:54:13
问题 How do I prevent an item from being selected in a List? Let's say you want to use it for display or other reasons. 回答1: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Solution 1 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Call preventDefault in the changing handler like so: <s:List id="list" dataProvider="{myCollection}" changing="list_changingHandler(event)"/> The List change handler: protected function list