Posts tagged as ' Adobe ' ...

Posted By Tommy

Silverlight vs. Flash

A handy SDK for Facebook apps: www.microsoft.com/facebooksdk

In my Master’s thesis I used Adobe Flash (AS3) and creating games is quite easy in Flash. It’s an ECMA language as is Java, so it’s easy to work with. On the other hand the backend integration is quite tricky. Adobe Flash Media Server is not free, and the universities don’t have licenses for it either. That caused me a lot of problems which were learning experiences for me, but figuring out which open source projects would work was not related to the learning goals I had been trying to achieve with my interactive educational platform. It would be much easier to use .NET development through the entire project than try to provide Bridges between different programming languages through socket programming.

Since there is already guides about ASP.NET development and Facebook, in my opinion it will be easiest to integrate Silverlight with that. Microsoft provides a number of free downloads and free licenses for university students including Visual Studio, Windows Server 2008 R2, SQL Server 2008, etc. through the official Microsoft student website www.dreamspark.com, so it’s easy for student projects to get access to their products. Also, the really interesting thing about using Silverlight for your Facebook project would be that it would also work with the new Windows Phone 7 platform that will be released later in 2010.

Posted By Tommy

Adobe Flash sites

http://www.keyframer.com/

http://www.newgrounds.com/bbs/forum/2

http://www.flashandmath.com/

http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=Part2_AS2_LangRef_1.html

http://www.quip.net/blog/2007/flash/actionscript-20/tracking-multiple-files-part1

http://www.gskinner.com/blog/

Posted By Tommy

hitTest fails to work with a line!!!

So I’ve been trying to get my space alien game working, and ran into a huge block. No matter what I did, I couldn’t get Flash to recognize my lines with the hitTest function!

I couldn’t figure it out. I had two movieclips, and I was trying to use the hitTest function. What’s so hard about that???

You can test for yourself. First make a line on the stage, then make it into a movieclip with F8. Call it something original like “lineOnStage”. Now try as you can, you will never be able to get the hitTest to fire!!! Oh boy. Guess they forgot to mention that the hitTest function works with the fill, not the border.

createEmptyMovieClip("triangle_mc", getNextHighestDepth());
triangle_mc.beginFill(0x006090);
triangle_mc.moveTo(50, 50);
triangle_mc.lineTo(100, 150);
triangle_mc.lineTo(0, 150);
triangle_mc.lineTo(50, 50);

var hit_X = 100;
var hit_Y = 75;
var shapeFlag = true;

triangle_mc.onPress = function() {
this.startDrag();
};

triangle_mc.onRelease = function() {
this.stopDrag();
if (this.hitTest(lineOnStage)) {
trace("Hit.");
}
};

Ok, one more secret:

If you reduce the width of a rectangle to 1, you can never increase it again. It is now a line. Haha. So you have to delete it and start from scratch.

Vietnam: Where pirated apps match personal budgets | Crave – CNET.

The high price tag on programs drives the black market. What seems like a reasonable cost for a product like Adobe CS3 to a company in the US is really impossible for someone in a developing country to afford. For example, you could buy two Asus Eee 701s for the same price as a legal copy of Adobe CS3. The high price tag does enable Adobe to hire great programmers who do an excellent job on their product. But many more people want to use their product than can afford to pay the high prices. It must be an economics problem that can be attacked by hundreds of researchers.