SapphireSteel Software en SapphireSteel Software Amethyst 2 Launches - visual Flash and Flex 2013-05-21 07:50:04 SapphireSteel Software has today released Amethyst 2 Ultimate, the only truly ‘visual' IDE for Flex, Flash and ActionScript developers. Visually design Flash, Flex and AIR applications using the Amethyst Designer. The new 'Flash Forms' (Flash without Flex) Designer is shown above. When Adobe removed the visual designer from Flash Builder 4.7, Flex developers who needed a visual design tool were left stranded. Whereas Flash Builder has removed its Flex visual (...) SapphireSteel Software 2013-05-21T12:50:04Z text/html en SapphireSteel Software The Amethyst 2 Profiler 2013-05-13 10:13:29 Profiling a Flash application allows you to see which functions are consuming most CPU and, in addition, detect memory leaks. Memory leaks can be quite insidious in Flash as it's quite easy to allocate, say, an event handler and forget about it In Amethyst 2, we've added a powerful profiling tool that not only allows you to see the amount of memory being used but to track down memory leaks easily. So, to demonstrate this, I've created some code that clearly has a memory (...) Dermot Hogan 2013-05-13T15:13:29Z text/html en Dermot Hogan Amethyst 2 - Conditional Compilation for ActionScript 2013-04-12 06:50:56 One of the nice things about C# is that is has good conditional compilation support. ActionScript does support conditional compilation but the syntax isn't great. In Amethyst 2 we have implemented a C# like syntax for conditional compilation. Conditional compilation gives you the ability to exclude or include chunks of code at compile time. So in C#, you could say if (x) // do something else // do something else This is executed at run time and the code inside the if (...) Dermot Hogan 2013-04-12T11:50:56Z text/html en Dermot Hogan Amethyst 2 and iOS 2013-04-10 06:11:12 Unlike Android where you can get an Android emulator to run on a PC, you must have a Mac of some sort to run the iOS emulator on. Development can be done either on a PC or on the Mac itself – Parallels works very well in this respect. Setting up an iOS project is very similar to an Android project. Both are contained within the same Visual Studio project and you can just select which one you want to use. However, because we are developing on a PC and deploying to a Mac, we need to (...) Dermot Hogan 2013-04-10T11:11:12Z text/html en Dermot Hogan Amethyst 2 and Android 2013-01-09 06:24:46 Amethyst 2 supports Android mobile and tablet devices. The Visual Studio platform deployment mechanism works well with both emulators and real devices. First, create a new mobile project Next select the device platform Here, you can select the Android SDK path and key store files to use in the project. You can also save these as defaults. Next drag a button from the Toolbox onto the design surface and double click it to generate an event. Add some code and set a breakpoint (...) Dermot Hogan 2013-01-09T12:24:46Z text/html en Dermot Hogan Semantic error detection in Amethyst 2 2013-01-02 07:30:54 Typically, there are two classes of errors in code. The first are 'syntax' errors, such as leaving a '' out. These are easily detected and fixed. But the second type – 'semantic' errors' – where the syntax is correct but the meaning is nonsensical or incorrect can be a good bit harder to spot. We've added a number of semantic error checks in the forthcoming version 2 of our Amethyst IDE. The classic example in C like languages of (...) Dermot Hogan 2013-01-02T13:30:54Z text/html en Dermot Hogan The Amethyst 2 Outliner 2012-12-30 09:26:34 An outliner (or document outliner) is useful in navigating a complex document or piece of code. But it can also be used to restructure a code file, sorting the various types of code fragments – private methods, properties and so on – to provide a more maintainable code base. Here I want to give you some information in the new outliner we've created for the forthcoming release of Amethyst 2. The first thing you need to do is display the Document Outline tool window. This (...) Dermot Hogan 2012-12-30T15:26:34Z text/html en Dermot Hogan Find ALL References in Amethyst 2 2012-12-20 09:22:45 I've used Visual Studio for many years now, and over several versions it's always seemed to me that the Find All References tool could be improved – but it never really has been. So in Amethyst 2, we've implemented our own improved version. There are three aspects that I don't like to the standard Find All References tool: If I'm investigating a problem, I often go down a search ‘trail'. I search for one thing, say a ‘foo' then (...) Dermot Hogan 2012-12-20T15:22:45Z text/html en Dermot Hogan The Amethyst 2 Scratchpad 2012-12-17 07:16:04 In a previous blog, I described the ‘bubble' debug editors which we've built into Amethyst 2. We've also used this style of lightweight editor (or code window) to encapsulate single methods and items of text – a Note. To hold all these items, we've implemented a type of console – the Amethyst Scratchpad. This has three areas – Notes, Methods and Searches. A Note is created by selecting some text – it can be anything in a code window (...) Dermot Hogan 2012-12-17T13:16:04Z text/html en Dermot Hogan The Amethyst 2.0 Debug Canvas 2012-12-11 08:27:51 When you've got a bug (and I have been known to come across the occasional home grown specimen), there's often no one technique that will help you track it down. It's important to have a good array of debugging tools at your disposal. Remember, if all you have is a hammer, then every problem looks like a nail. One of the problems I find is that the debugging ‘stack trace' often gives a rather one dimensional, linear view of the problem. It does indeed show how (...) Dermot Hogan 2012-12-11T14:27:51Z text/html en Dermot Hogan