flash-builder

Could not resolve <s:Sequence> to a component implementation after adding AIR 3.6

☆樱花仙子☆ 提交于 2019-12-19 03:09:40
问题 Since changing to the AIR 3.6 I'm getting many errors such as: Could not resolve <s:Sequence> to a component implementation. If I switch to the built in Flex SDK 4.6.0 it works fine. I'm using Flash Builder 4.6. UPDATE I think that this is because there is a new compiler for ActionScript and that new compiler is included with the SDK and that is causing problems for Flex projects. I read this on the AIR SDK download page (which I did not notice before): Note : Flex users will need to download

How to add third-party jar files into my android application jar file?

无人久伴 提交于 2019-12-18 07:19:54
问题 I have an Adobe AIR application for Android. Using for this AIR 3.0 and Flash Builder 4.6. I need to make MyANEFile.ane - which must include 2 external .jar files: Flurry.jar + Tapjoy.jar. But when I made .ane file - it does not work. How can I add this 2 jar files to my main application jar file to make .ane file properly? Thanks. It shows me such errors in dalvik: *01-31 21:37:37.046: I/dalvikvm(12983): Could not find method com.amobee.agency.tracking.AmobeeReceiver.amobeeTracking,

MovieClip assets SWC from Flash inaccessible in Flash Builder using getDefinitionByName

瘦欲@ 提交于 2019-12-14 02:42:48
问题 I need to access MovieClips from an SWC created in Flash using getDefinitionByName() in Flash Builder. I know I have to add in the full package name whilst doing this, like so, with the package name being 'com.fusepump': var className:String, assetName:String, obj:Class, i:uint; for (i = 0; i < Config.ASSETS.length; i ++) { className = String('com.fusepump.' + Config.ASSETS[i]); assetName = String(Config.ASSETS[i]).charAt(0).toLowerCase() + String(Config.ASSETS[i]).substr(1, String(Config

modify xml generated by flash?

送分小仙女□ 提交于 2019-12-14 02:38:07
问题 I am new to flash and actionscript. I want to modify the xml file of flash once it generated. You can see this tutorial http://www.webwasp.co.uk/tutorials/A_IntAct-02-drag-drop/index.php here when i change the position i want new xml file with update. Any Help is greatly Appriciated. Thanks, 回答1: Not having mostly any idea what exactly your asking for, I created an example with a square that can be dragged and dropped. When its dropped it writes xml to an xml file with the x and y co

BULK of Images Loading to form a Thumbnail Gallery

僤鯓⒐⒋嵵緔 提交于 2019-12-13 22:07:49
问题 I am trying to achieve a Photo gallery where images are showed in thumbnails whenever i select a certain folder of images. For example, if i were to click on the folder A, it will load all the images into a arraylist which will be set as the dataProvider for in my List to create the tilelayout. But i realized that, if i have 500 images, and whenever i scroll down on my scrollview, it kind of lags. Is there any way where it will load all my images first, before displaying? Or any way to make

User Agent is not accessible in Internet Explorer 8 using ActionScript 3

不羁岁月 提交于 2019-12-13 19:14:28
问题 I am using the code below to find the User Agent using ActionScript 3: var userAgent:String = ExternalInterface.call("navigator.userAgent.toString"); The code is working in Firefox 13, Google Chrome & Opera, but the User Agent value as null in IE8. Is there any code snippet that will work here or any other way to implement this? 回答1: toString is unnecessary, since userAgent is a string property. Use this syntax instead: var userAgent:String = ExternalInterface.call("function(){return

Flex 4 Itemrenderer for List

北慕城南 提交于 2019-12-13 11:26:12
问题 I just started working with Flex. I know it's pathetic but it's a long story. Now, the problem I am facing is that I have a list component which has a dataprovider on it. What I would like to do is when an item on the list is clicked I would like to have a check sign right next to the label. Below is the component: <s:List id="tabList" width="100%" borderVisible="false" click="tabList_clickHandler(event)" selectedIndex="{this.hostComponent.selectedIndex}" itemRenderer="MultiTabListRenderer" /

TypeError: Error #1009: Cannot access a property or method of a null object reference

ぐ巨炮叔叔 提交于 2019-12-13 08:48:27
问题 I get this error when i launch the application(flash type with dismiss all and continue) and i'm out of ideas: TypeError: Error #1009: Cannot access a property or method of a null object reference. at Magazin/xmlService_resultHandler()[D:\Documents and Settings\chechu\Adobe Flash Builder 4\Magazin\src\Magazin.mxml:41] at Magazin/__xmlService_result()[D:\Documents and Settings\chechu\Adobe Flash Builder 4\Magazin\src\Magazin.mxml:64] at flash.events::EventDispatcher/dispatchEventFunction() at

Accordion in Flex 4.5 Mobile App

给你一囗甜甜゛ 提交于 2019-12-13 08:47:34
问题 I want to work on text layout to display in a vertical accordion. I was able to work with accordion in web app but unable to work on a mobile app since the accordion is not available in mobile flex. Please help me to work on flex mobile accordion. Also suggest me how to display the paragraph contents and bulletins in flex mobile accordion... 回答1: Have a look at Application tabs for mobile solutions: http://devgirl.org/2011/05/09/styling-the-flex-4-5-mobile-application-tabs-and-actionbar/ <

Flex: Any way to use something like htmlText in Spark TextArea?

若如初见. 提交于 2019-12-13 08:25:13
问题 I´m using php services to insert text from MySql, to a TextArea. Ok, with mx textarea is working but how do i manage that with spark!? this is my example with mx: <mx:TextArea htmlText="{links.comment}"/> this is an example with spark: <s:TextArea> <s:textFlow> <s:TextFlow> <s:a href="http://www.google.com/" target="_blank"><s:span color="0xCECB02" textDecoration="none">Something and Something</s:span></s:a> </s:TextFlow> </s:textFlow> </s:TextArea> That works, but how can i take the same "