flash-builder

Left alignment for last line of textlayoutformat

。_饼干妹妹 提交于 2019-12-11 05:07:16
问题 I set textLayoutFormat.textAlign = TextAlign.JUSTIFY; for following tlf sample text sample text sample text sample text sample text sample text sample text but it look like this sample text sample text sample text sample text sample text sample text sample text I want to set left align for last line. 回答1: use textAlignLast property. Example: <s:TextArea textAlign="justify" textAlignLast="right" text="sample text sample text sample text sample text sample text sample text sample text "/>

Flash builder 4.7 has which version of eclipse?

北战南征 提交于 2019-12-11 04:47:32
问题 I want to have a J2EE perspective in Flash Builder, how it is possible? And also I want to run my Flash + Spring project built on Flash Builder to run on tomcat server. Please provide me with some suggestions and solutions I am really stuck with it and not able to move forward. 回答1: If you open the following file: C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\eclipse\.eclipseproduct Then you can see the version of eclipse that Flash Builder was packaged with. The contents are: name

Create combobox with non selectable separator

大憨熊 提交于 2019-12-11 03:15:25
问题 I'd like to custom combobox. Indeed, I like to create a combox with two array separate by a line like that. The line between All and above 40 must no selectable. Do you know how to do that? Thanks for helping 回答1: Let's say we have a ComboBox with a model like this: <s:ComboBox> <s:ArrayList> <fx:String>A</fx:String> <fx:Object /> <fx:String>B</fx:String> </s:ArrayList> </s:ComboBox> The Strings are our regular elements and the Object represents the separator. I'm simplifying things here, but

Flex MX:HTML handling errors and loading problems

試著忘記壹切 提交于 2019-12-11 03:08:55
问题 I have a simple mx:html that load a page.. I'd like to show a popup when there is a problem loading the page... How can I handle this event? I have not find anything useful on the web :( 回答1: mx:html is based on htmlloader, and unfortunately you cannot read HTTP headers using this object, so you cannot read the HTTP status. Several workarounds are: a)use an urloader before the htmlloader and check the HTTP status b)you can read the html page content with yourhtmlcontrol.htmlloader.window

Remote Debug Java part of the Flex/Java application within Flash Builder 4.7

烂漫一生 提交于 2019-12-11 01:09:38
问题 I have a Flex/Java application. The build is done using Maven. My IDE is Flash Builder 4.7. The server is a tomcat wrapper (vFabric tcserver). Based upon the many google searches, I added the following lines in my wrapper.conf. wrapper.java.additional.11="-Xdebug" wrapper.java.additional.12="-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n" In my Flash Builder, I have set up a debug configuration to use port 8000 on host localhost and the connection type is Socket Attach. I am

Flash Builder 4 spaces instead of tabs?

北城以北 提交于 2019-12-10 18:18:41
问题 Is it possible to configure Flash Builder 4 to indent using spaces instead of tabs? I've enabled Preferences > General > Editors > Text Editors > Insert spaces for tabs but it still inserts tabs. I've tried editing files with no tabs but it still inserts tabs. What's strange is that Insert spaces for tabs works in Eclipse but not Flash Builder, which is built on Eclipse. Perhaps there's a bug in Adobe's portion of Flash Builder. I'm running Flash Builder 4.0.0.272416 on Mac OS X 10.6. 回答1:

Multi-line labels on flex (FB 4.5) buttons?

懵懂的女人 提交于 2019-12-10 18:17:00
问题 I'm trying to make a button in Flash Builder 4.5 that is multi-lined (specific line break, both are left justified), with the second line being italicized. I can do this by making a button, and throwing a label on top of it, but it wrecks the button functionality where that label sits. Is there an easy functionality to do this, or is it starting to step into custom skins? (I've looked at it, but I'm pretty new to FB, and it looks like a steep learning curve) 回答1: Yeah, you definitely want

Flash Builder conditional compilation variables

给你一囗甜甜゛ 提交于 2019-12-10 17:44:49
问题 I'm using Flash Builder 4.5 and I'd like to use conditional compilation between my debug and release builds. I understand how to use conditional compilation and how to define compiler constants. What I need is either: A predefined constant set by the IDE between debug and release builds A way to specify different arguments for the compiler between debug and release builds Using ANT is not an option as of now (no time!) and changing the variables by hand every time is just too risky. 回答1: ant

clean project in flash builder on debug launch

佐手、 提交于 2019-12-10 17:04:59
问题 Using Flash builder 4 to build an AIR app. I keep having my code changes not take effect when I launch the project with the debugger, probably happens about once an hour. So does anyone know how to have FlashBuilder clean the project automatically before each launch? Thanks 回答1: I'm having a similar issue with a Flex application. If I make a change to an .as file the change is not taking effect. The component is being instantiated by a parent component in the application so the compiler

Why does Flash Builder 4.6 Profiler seem to leak Strings, whereas Debug mode GC's as expected

只愿长相守 提交于 2019-12-10 16:19:06
问题 While unit profiling my classes I noticed that the String class endlessly accumulates (eating up over 90% of the memory in my sizable app). Luckily this is only while running in Profiler mode of Flash Builder 4.6. In debug or deployment (as AIR) memory usage levels off as expected using embedded on-screen memory profilier (Mr Doobs Stats). To verify I made a test app that was simply a URLLoader continuously loading a text file. When running in Profilier mode using URLLoaderDataFormat.String