flex3

Flex 4.5 - to long build process

♀尐吖头ヾ 提交于 2019-11-26 23:41:34
问题 We are developing an app using flex 4.5. The app runs just fine (no performance issues at all) but it takes us forever to compile and build it. A minor change, like just add a comment or press enter in an mxml file and rebuild takes about 3 minutes. You just cant work that way. It is a large project with about 1300 files. We also use Parsley as IOC container and a beat of cairngorm navigation. We also use Maven (Flex mojos) but I am talking about a normal eclipse build (Ctrl + B). We

How to convert bytearray to image or image to bytearray ?

北城余情 提交于 2019-11-26 21:51:50
问题 How to assign bytearray value to panel background image. If anybody have idea or experiance plz help me to overcome the problem. BRIEF EXP: I have panel control and want to load image getting from webservice as a backgroundimage. So i used setstyle() but its not accepting that image. so how to add that image into my panel background image.Plz tel me your ideas here. 回答1: In Flex 3 or higher, you just need to do: yourImage.source = yourByteArray; regards! 回答2: uhm, well i presume, since it is

How can I get an instance's “memory location” in ActionScript?

ⅰ亾dé卋堺 提交于 2019-11-26 16:05:57
问题 FlexBuilder's debugger will show you the "memory location" (or, I can only assume, something roughly analogous) of any in-scope instance: But I'd like to get this information in code (sort of like Python's id function), so I could very easily trace how objects move through out the system. For example, I might have: trace("Returning", id(foo)); Then somewhere else I could use: trace("Using", id(foo)); To make sure both bits of code are dealing with the same instance. Now, I know that many AS