Tag Archives: web design

Font Embed Bug on Flash Builder 4.5

Embedding fonts in Flash Builder is so easy as follows. However, in some cases that I have no idea, Flash Builder changes the fonts in your application. To fix that, just goto topbar Project->Clean…Then Flash Builder refreshes your project and everything is gonna be fine 🙂 This is just a reminder for myself. I’m sure, I’ll forget the fix for this issue when I exprience it again.

[Embed(source="com/alptugan/assets/font/HelveticaNeueLTPro-Roman.otf", embedAsCFF="false", fontName="roman", mimeType="application/x-font")]
public var Roman:Class;

[Embed(source="com/alptugan/assets/font/HelveticaNeueLTPro-Bd.otf", embedAsCFF="false", fontName="helvetica-bold", mimeType="application/x-font")]
public var Bold:Class;

[Embed(source="com/alptugan/assets/font/HelveticaNeueLTPro-ThCn.otf", embedAsCFF="false", fontName="helvetica-thin", mimeType="application/x-font")]
public var Thin:Class;

List of XML and HTML character entity references

Quick post for myself 🙂 While I’m writing xml files, always always forget how to type entities. Here is the link from wikipedia

Sometimes, in xml attributes I need to use “&” character, but it can be problematic. And, I can’t find any solution for this issue. We can use  <![CDATA[ ]]> for xml nodes, but not for attributes. So for me the only possible way is to use character entities. eg:

//in xml node
<content><![CDATA[me & others]]></content>

//in xml node
<content title="me amp&; other"/>

	

Convert AS3 Timeline Codes to Document Class Easily

Here is a great tool that you can convert Flash Timeline codes to the document classes. It works perfectly. The only thing you do is, just copy timeline code into the empty textarea below, then put a name for your document class. When you press “submit” button, a php script generates your document class code at once. Thanks to Zevan Rosser for this converter tool. By the way, he is a smart coder. Many of Zevan’s codes are too short, but also functional. You should check his blog also for some kind of unique tutorials.
AS3 Timeline Code to Document Class Converter

With keyword in Action Script 3.0

I’ve been programming with as3 for two years and everyday I come across with a new stuff 🙂 Today, I was checking a as class and encountered with “with” keyword. There is no magic about “with” keyword. But, it allows you to write cleaner codes. Here is a little example how it works;

with (graphics)
{
	clear();
	beginBitmapFill(_bitmapdata);
	moveTo(0, 0);
	lineTo(pWidth, 0);
        lineTo(pWidth, pHeight);
	lineTo(0, pHeight);
	lineTo(0, 0);
	endFill();
}

50 Powerful Time-Savers For Web Designers

the following text and links are taken from http://www.smashingmagazine.com web site.

“Being a web designer is not easy. Not only do we need to have a good understanding about visual design, typography, information architecture, psychology and a plethora of other disciplines; in our work, we need to take care of so many details, so that our job becomes more and more time-consuming, requiring dozens of tools, attention span and an effective workflow for beautiful, timely and functional results.

And this is where small time-savers become handy. Be it a handy checklist, batch installer, dummy image generator or converter from Excel spreadsheet to HTML — all these things can save us a couple of minutes every day, making our work easier and more efficient. And this is why we keep collecting them for Smashing Magazine’s readers. Whether you like lists or not: this one will probably help you find those little nuggets out there that will help you avoid headaches and stress. Below we present useful time-savers for web designers.”

http://www.smashingmagazine.com/2010/06/28/50-powerful-time-savers-for-web-designers/

Frameworks for developing Flash Web-Sites

I’ve been looking for frameworks in order develop flash-based web sites for a long time. I haven’t checked any of these frameworks yet. Because, it takes a lot of time to get into a new programming environment for me. Also, when I’m working on a commercial project, I don’t want to waste my time with new classes, methods and etc.. to develop web based appilcation. Because, your customers don’t care about how the background of their web sites are created. They just want to see final result quickly 🙂

Anyway, For a long time, I’ve been coding with Flex and don’t want to use Flash hereafter. In my opinion, Flash can’t be a framework for coding action script language. I mean, I can’t imagine a framework that has no suggestion option while I’m coding an application. So, I searched for some frameworks which can be used without Flash. At this point, I encountered with PureMVC framwork. But there are no tutorial about how to use it in Flex…I googled some tutorials about PureMVC and here they are;

http://active.tutsplus.com/tutorials/workflow/understanding-the-puremvc-open-source-framework/

http://algorithmist.wordpress.com/2010/04/21/flashbuilder-and-puremvc-part-i/

And there is an other Flash framework which called Gaia. The only disadvantage for me is, you can only use Gaia with Flash. But, Gaia has some tutorials about how to setup and work with it in their web-site.

Awards from Flash Web-Design Contest

“Flash Ödülleri” web design awards, by http://www.flasharsivi.com – a member of Adobe Flash User Group in Turkey-  emerged from the idea to have a contest among the members of the web site,  in 2008.

The contest aims  to increase the use of Flash software and encourage designers to create action script (programming language) based web sites.

Alp Tuğan’s two web design works were nominated for the first 30 designs of 2010. and got the second and

the sixth place in the “Flash Ödülleri” contest that is also sponsored by Adobe Company this year.

second place    : http://www.brandmood.org
sixth place     : http://www.muratgermen.com

For further information http://www.flashodulleri.com/

Two of my web designs are selected for the final at “Flash Odulleri”

I attended with two of my web design works to the competition http://www.flashodulleri.com/.
TOday I’ve got e-mail from them.
Both of my designs are selected for the final.

First one is Murat Germen’s web site who is an artist and academic http://www.muratgermen.com
Second one is Brand Mood’s web site. It’s a styling studio http://www.brandmood.org