Hot answers tagged

32

Since what you're being asked to do is provide input for your client to write an appropriate proposal to the other client (owner-of-the-nightmare-code) for any work on that code, I'm going to go out on a limb and say that you're not going to be doing any thorough testing or refactoring or anything along those lines at this point. You probably have a very ...


4

It depends on what it is that you're trying to do. If you're looking for something that provides you with functionality that Flash Pro provides (such as timelines, library imports, etc), then no, there's nothing that will replace that (you can replicate the library functionality with compiler options, but that requires knowledge of the compilers and writing ...


4

I strongly recommend refactoring the existing source code (as opposed to a rewrite) using the patterns found in the book "Working Effectively With Legacy Code". The book details several mechanisms for efficiently covering legacy code in unit tests, so that you can then begin to safely refactor the code. The book is broken in parts, one describing the ...


4

HTML5 and Javascript all the way! There are several 'game engines' using JS that you can download and play with. (Crafty, Impact, Melon JS, Akihabara) to name a few. Melon JS supports the 'Tiled tmx" format for platformers and top downs. There is ongoing debate as to the 'web' technologies or native code question for mobile game / app dev and I think the ...


4

I can't speak for the Java applets, but in flash version 11, code named molehill during development, hardware acceleration was added.


3

If you use Windows Presentation Foundation, it is a core part of the .NET framework from version 3.5. In short, it allows you to pretty much do all the things in flash, including tweening and rotating as you've said. The other alternative is to embed the Flash ActiveX component and load an SWF. EDIT to add: I just saw you wrote .NET2 - WPF requires .NET 3....


3

The easiest way would be to just use a paid service to handle the video delivery. The big guys in that space are Brightcove and Ooyala. Expect to pay tens of thousands, especially if you want custom authentication. Viddler is a new interesting option that is trying to penetrate the market and might be a good fit. That said, you can probably more effectively ...


3

TL;DR This more so goes inline with what a lot of contributors have already pointed out, but you really need to stick to the FACT that Flash is not fully supported. Adobe has pulled the plug on Flash Mobile support. This move made by Adobe means that other Mobile devices will soon be affected, leaving mobile devices without Flash viewing capability ...


3

The new element in HTML5, as well as WebGL makes javascript an excellent choice for making cross-platform games that you can play in browsers. These will work on most systems, and may eventually overcome flash as the choice for developers who create content that would need it. Flash still has the advantage because of the toolsets that they supply, but ...


3

I am afraid that's not possible. This is how transparency is calculated when two objects overlay: http://en.wikipedia.org/wiki/Alpha_compositing One of the objects must have an opacity of 1 if you don't want the overlay area to be seen through.


3

I've been through this recently, and the decision path was fairly straightforward: Q1: Do the rights-holders of the media you will be streaming demand that you use DRM? If yes, you must choose your DRM provider, by a mix of technical consideration, pricing, and negotiation with your content providers. This will then force you to use Flash or HTML5 DRM on ...


2

You may want to look at using C# - on the windows mobile platforms (Windows Phone and Windows 8) it is supported. For iOs and Android (as well as Mac and *nix and some other platforms), look at mono. A mobile platform that is based on the mono code is provided (pay for) by Xamarin. With a good set of wrappers and preprocessor directives you should be able ...


2

In a typical Java code base, I'll consider using tools such as PMD, FindBugs, or Sonar and then I'll try to understand tools reporting (dead code, undocumented code, duplicated code, etc.) Based on the reports I'll try to find the different layers of the application/site (business layer, DB, SQL, etc.) If layers are coupled (html within servlet, sql within ...


2

I've made some webcam experiments using swfc (it's a crazy language but it's good for putting objects on scenes and doing some as2) and as3compile straight out of the SWFtools toolset. You have to bridge the gap between its own documentation and the Adobe one with some faith and imagination, but it somehow delivers.


2

Flash isn't supported on iOS, and Adobe just stopped supporting it on Android 4.1. Unless your website is such that it only makes sense on a desktop PC, you have to pay attention to the mobile market, and therefore you can't ONLY use flash. If there's something else that will do the job, that works both on the desktop and mobile, why would you use Flash at ...


2

Instead of using the same variable, make them unique by putting more of their purpose into their names: var horizontalLayoutElement:ILayoutElement = target.getElementAt(i); ... var verticalLayoutElement:ILayoutElement = target.getElementAt(i); or if you don't like such long variable names: var hLayoutElement:ILayoutElement = target.getElementAt(i); ... ...


1

This decision to support Flash in the touch version of IE10 really had more to do with continuing to allow legacy Flash sites to run during the majority of the Web's transition to HTML5. WinRT API and HTML5/CSS3/JS do contain all of the core capabilities like rich, hardware accelerated animations, audio, and video, and is the superior platform to use, but ...


1

As Sam mentioned, one option for graphically rich UI is to use WPF. You get animations, custom styles and a lot of other features at a much lower cost than trying to do the same in Winforms. The other is using Adobe AIR which is basically Flash for the desktop.


1

If you want to use Flash, you can pull in an ActiveX component of it into a .NET Form (though IIRC you need to get the ActiveX Flash installer to get that component and the installer is somewhat difficult to find on Adobe's website) then you could program things in Flex (if you don't have Flash handy). There's not much documentation that I've been able to ...


1

Flash has a number of downsides: It is proprietary It doesn't integrate well with the surrounding document structure It doesn't come built into the browser It is mostly opaque to search engines, screen readers, and other non-desktop-browser user agents Back in the days, Flash was the only viable way of doing what people do with it - animations, multimedia, ...


1

Most things Flash is/was used for can be done with HTML5 and Javascript - and unlike Flash, it will work on iOS devices.


1

Silverlight and Flash work on multiple platforms (including phones). A lot of iPhone apps you wouldn't expect to be "Flash" applications are written in ActionScript, compiled using Adobe's cross compiler, and run on phone devices. They're evolving the same way standards are. If you read Adobe's latest press release about Flash, they consider it to be ...


1

Nothing truly dies. Radio was once a media powerhouse, now I only listen to it in my car. TV after that, and so on and so on. That said, we're not starting any new Silverlight (or Flash) projects right now. One recent project that we did in Silverlight was recently re-implemented in Knockout JS. In many cases (though not all) HTML5 is a great skill set to ...


1

A web crawler might help you determine which URLs are accessible. Especially if it's smart enough to extract links from Flash or JavaScript. Once you have a list of web pages, go through them and list the files they refer to. Anything that's left over after this process should be considered dead code.


1

From your description it seems that this code has hit the unmaintainable state, which means the the best approach is likely a complete rewrite. Developers would have a lot smaller paychecks if there were quality tools that worked to keep a messy code-base maintainable. It is possible to go through and clean up the old unneeded code from folders, but its a ...


1

FlashDevelop is a reasonable IDE, and one could use something like Sam Haxe to compile the resources down to an SWF file. I'm back to being a student again, so I qualify for the very much reduced price academic versions of the creative suites. Suites starting with CS4 will require you to send them your student ID. CS3 and below won't.


1

Flash is proprietary property of Adobe. I do not expect them to open source it any time soon. Flex is a powerful, open source application framework that allows you to easily build mobile applications for iOS, Android™, and BlackBerry® Tablet OS devices, as well as traditional applications for browser and desktop using the same programming model, ...


1

Use HTML5 and javascript, with some components in flash or native code as needed. Mostly that comes down to performance optimization - get the algorithm working in pure javascript, then replace parts of it with calls to flash or a phonegap plugin if you need to. Generally you won't need to do too much of this - the only area javascript really seems to have ...


1

An interesting Java-based approach that is used by one of the games I have on my phone is explained here - basically the API starts with Java and as well as standard JAR files, outputs the same content in numerous other formats including Flex, HTML5 and XCode, ready for cross platform deployment. An approach like that will be limited to what is common to ...


1

I assume you're bothered due to recent news of Adobe ceasing further development of the Flash Player plugin for mobile browsers. So to make this clear: Adobe dropped the mobile browser plugin, which arguably is a good decision, because on a device where power is scarce, running an app on a VM as a plugin in a browser is a poor distribution method, ...


Only top voted, non community-wiki answers of a minimum length are eligible