Archive for the 'Solution Center' Category

Redirecting domains to www with .htaccess file

Monday, August 2nd, 2010

If you have Linux server on your web site, you can easily redirect your “domain.com” to “www.domain.com” with .htaccess file. Every Linux based servers have .htaccess file. However, because of the “.”, it’s a hidden file. So, you can’t view unless you set your ftp client’s “view” property to “show invisible files”. You can turn on “show invisible files” with most of the ftp clients such as FileZilla, Transmit and etc…Even if you enable “show invisble files”, can’t you see the file? So there is an easy way. Just create by yourself in one of the text edit software such as Textedit or Notpad.

1- Open a blank document file with Notepad or Text Edit.

2-

Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]

**change domain.com and www.domain.com with your domain name.

3- Save the file as .htaccess without any extension.

4- Upload the file to your server with your ftp client

that’s all. Now check your browser and it’ll work. If you type onto your browser “http://domain.com”, it will be redirected to “http://www.domain.com”

Online Font Converter Tool

Saturday, July 24th, 2010

This is a great tool for converting font types online. The best part is you don’t have to sign up or be a member of the web site. Cool!

link

Convert AS3 Timeline Codes to Document Class Easily

Friday, July 23rd, 2010

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

Monday, July 12th, 2010

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();
}

Flash Event Framework Tutorial

Sunday, June 20th, 2010

http://active.tutsplus.com/tutorials/actionscript/a-close-look-at-the-actionscript-30-event-framework/

WordPress için faydalı linkler

Saturday, May 1st, 2010

WordPress İpuçları

WordPress Secret Key Generator
WordPress SQL Sorguları
.htaccess kullanımı

Password Generator

Complete guide about .htaccess file

Türkçe linklerin hepsi OzdTasarım sayfasından alınmıştır.

How to export pattern from Photoshop as a single jpg file

Thursday, March 11th, 2010

A few days ago, I were working on web-site. I used a photoshop pattern on the background for the design part. My aim was to use background image as a pattern file on web site. So, I could reduce the file size of the web page and avoid from resizing events of user. As is in every fucking project, I stucked on..The problem was, exporting original pattern image from photoshop as single jpg file. Here is my solution :D . Hope it helps some action scripter. Next tutorial is probably realted with “how to make patterned background from a single image file on Action Script”.

1- Create a new file with transparent background

2- Select “Pattern Stamp” tool

3- Select desired pattern from upper toolbar

4- Paint your canvas with “Pattern Stamp” tool. Then click to load “pattern manager” in order to get exact resolution of a single image of the selected pattern.

5- Here is the tricky part :D , to get the resolution, put your mouse cursor onto your pattern and wait about 3-4 seconds, an information bubble will appear which tells you resolution of a single image…

6- Click “Done” and Select; Image-> Canvas Size

7- Set your size and align cropping point to top-left corner of the canvas.

8- Here is our single image file grabbed from a pattern

As3 multiloader class

Tuesday, January 26th, 2010

Loading multiple files with queueloader class in as3. here is a tutorial that how it works..

Auto format-comment plug-in for Flex

Friday, December 18th, 2009

Today, I’ve  found an awesome plug-in called “flex formatter” for Flex.  It allows you to reformat or add commentouts into your Flex project just as in Flash. For a long time, I were looking for such a feature for Flex. You can find how to install Flex Formatter into Flex.

  1. Start up FlexBuilder / FlashBuilder.
  2. From the Help menu, select ‘Software Updates > Find and Install…’
  3. Select ‘Search for new features to install’ and click ‘Next >’
  4. Click ‘New Remote Site…’
  5. Use name: ‘Flex Formatter’ and url: ‘http://flexformatter.googlecode.com/svn/trunk/FlexFormatter/FlexPrettyPrintCommandUpdateSite/’
  6. Click OK
  7. Make sure only ‘Flex Formatter’ is selected in the ‘Sites to search’ list, and click ‘Finish’
  8. Follow the prompts to install Flex Formatter, and restart the IDE

Note: This content was taken from gSkinner‘s web-site.

Mulltiple Image Loading in as3

Thursday, December 17th, 2009

I’ve been working on a Flash web site for a week. It has nearly finished. However, there some loading time problems at the gallery sections.At first, I tried to load thumbnails one by one, then I changed my mind. Because, there are only 8 thumbs at one time that will be loaded. So, it’s better to load these 8 images at one time and make a single loader. I encountered with Arthur Debert’s awesome as3 class which is called Bulk Loader. Bulk Loader is totally designed for multiple loading purpose. By the way, thanks to  him for his class. I want to share this wonderfull class with you. I have no time for a tutorial. At this point, I can recommend you to check Nick Handerman’s post about this multiple loading issue. Thanks to Nick for his tutorial and source files.

Get Adobe Flash playerPlugin by wpburn.com wordpress themes