768x90 Getting Online Shouldn't be Tough- $7.49 .com Domains at Go Daddy

Create Game in Air or Flex Easily

I am the admirer of bored.com website, this site will help you with its games to reduce your stressing in office or work. But How you can create your own game in Flex or Adobe air with painless ? I have found a great library to help developer in making 2D game easily, it is called FlashPunk by Paul Sztajer. Thanks dude. FlashPunk is a free ActionScript 3 library designed for developing 2D Flash games....

Download Youtube Video Using ActionScript or Air

Youtube is my favorite website and very entertaining, not only in video but also making money. How you can download youtube video to flv format? A week ago, i have little experiment to make Air application for downloading Youtube. The important thing you have to get is the video id http://www.youtube.com/watch?v=yGTg5116dCM, the action script is very simple, even you can make multiple download as...

Sort Collection Rss By PubDate in ActionScript

XML can be friendly and some times can be nightmare for me. A few days ago, i have task to sort rss results from multiple sites by the pubDate. If you see the source xml of rss, each websites has common format pubDate : Wed, 03 Nov 2010 22:31:34 +0000 . As my experience, converting string date to datetime in actionScript using DateField.stringToDate not always give you actual result and my client...

BBAuth, Y!Oauth with pinless authentication in Air

I developed Air application which requires yahoo profile data. I think the application is little bit extraordinary since it doesn't need webservice, because my client won't it. I found Yahoo SDK for AS3 to build simple Yahoo Social Applications. It is quite satisfied to introduce me how to use Browser-Based Authentication (BBAuth) or Yahoo! Oauth, but how to make it not to open external browser and...

ArrayCollection Mapping From Multiple Object Types

private function listToString(element:*, index:int, arr:Array):String { var _return:String = ""; if(element is FeedInfo){ _return = element.address; }else if(element is UserFeed){ _return = element.name; }else{ _return = element.id; } return _return; } private function prepareSaveFeeds(_list:RxCollection):void{ var _tmpUserFeed:UserFeed = new UserFeed; _tmpUserFeed.feedAccount = _account; _tmpUserFeed.user = userModel.currentUser; _tmpUserFeed.keywords...

BackUp PostgreSQL in CommandLine

pg_dump -h db_host -U user_name db_name > dump_file.sql And Restore by: psql -h db_host -U user_name -d db_name -f dumpfilename....

HTML5 For Client Architectures and Virtualization Loom

Such trends as cloud computing, service oriented architecture (SOA), social media, software as a service (SaaS), and virtualization are combining and overlapping to upset the client landscape. If more of what more users are doing with their clients involves services, then shouldn't the client be more services ready? Should we expect one client to do it all very well, or do we...

Dont Add your Gmail Inbox To Public Bookmark

If you have added the web address (URL) of your Gmail inbox to your browser bookmarks, make sure that the bookmarks are not getting synched with a public service like Delicious or Google Bookmarks. That’s because when you bookmark your Inbox or any other folder in Gmail, your email address is added to the title of the bookmark. When this bookmark becomes public, your email address automatically...

Forget iPhone 4, Buy new Mac Mini

Today's WWDC speech by Steve Jobs was in some ways, surprising. Despite a veritable armful of rumors, Steve mainly talked about a handful of tech, with emphasis on the new iPhone 4. So what did he leave out, and when may it come true anyway? New Mac Minis The Mac Mini is a much-beloved little computer, widely use as a home theater device and even as a server workhorse (due...

Is Apple TV 16GB with OS iPhone 4 released?

Alleged details on a forthcoming update to the Apple TV set top box were revealed on Friday, with the device reportedly based on iPhone OS 4, powered by Apple's custom-built A4 processor, and offering 1080P cloud-based streaming content -- all starting at just $99. Engadget editor Joshua Topolsky said the information came from a tip and was confirmed by a source "very close to Apple." The new...

DateTime Range Helper In Rails View

There's some secret that you should know before you make time scaling in ruby on rails specially to the view. I have little smile when seeing helper from a developer that make time helper like in twitter or facebook, example a moment ago, or 3 minutes ago, or 1 hour ago. Why you hurt your brain if Rails already supports it. I think that he doesnt know the secret, now let me tell you the secret: distance_of_time_in_words_to_now Reports the approximate distance in time between from Time to time...

Rainbow for Slow Rack Application

Rainbows! is an HTTP server for sleepy Rack applications. It is based on Unicorn, but designed to handle applications that expect long request/response times and/or slow clients. For Rack applications not heavily bound by slow external network dependencies, consider Unicorn instead as it simpler and easier to debug. Rainbows is mainly designed for the odd things Unicorn sucks at: Web Sockets (via Sunshowers) 3rd-party APIs (to services outside your control/LAN) OpenID consumers (to providers...

How To Create List & Add User Twitter in Flex and Air

A moment ago i have a problem about how to get Home Line or status from a group users list in my Air Application and sort them by date ascending. My analyst is if an account has 20 tweets but the group has 10 users, it means that i have to sort 200 list. Why don't use SortOn for Array? If you try myArray.SortOn("date",[Array.CASE_SENSITIVE, Array.UNIQUE ]), it can't sort date (string type in twitter) very well, we have to convert them from string to millisecond, and it will take time, maybe crashed. My...

Develop SmartPhone Using RhoHub

RhoMobile is a first Development as a Service for Mobile, RhoHub or RhoMobile lets you quickly create native apps in Ruby and HTML for all major smartphones using the award-winning Rhodes framework. RhoHub provides a hosted RhoSync server to synchronize backend data with your users' smartphones.Writing an app on RhoHub consists of generating a set of objects, editing the client side (Rhodes framework)...

List and read files and directories in a zip file

First of all you should download library hereAnd then short play with script below<?xml version="1.0" encoding="utf-8"?><mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"><mx:Script> <![CDATA[ import mx.controls.Alert; import nochump.util.zip.ZipEntry; import mx.events.ListEvent; import nochump.util.zip.ZipFile; [Bindable]private var _zipFile:ZipFile; [Bindable]private var _file:File; private function browseFile():void{...

Anti Distorted resolution picture when resizing

If you resize picture by defining new width or height from normal size, you will get the picture resolution's distorted or broken quality. There's a method how to make the picture keeps soft and smooth.Create a utility classpackage com.jackBite.utils{ import mx.controls.Image; import flash.display.Bitmap; public class CleanImage extends Image { /*public function CleanImage() { }*/ override protected function updateDisplayList(unscaledWidth:Number,unscaledHeight:Number):void ...

How To add image into any Textinput

You maybe want to add image or icon like magnifiying icon in textInput of your flex, Here i have some method how you can do that :Create AS Componentpackage nebula.utils{ import mx.controls.Image; import mx.controls.TextInput; public class SearchTextInput extends TextInput { public function SearchTextInput() { } override protected function createChildren():void { super.createChildren(); var searchImg:Image = new Image(); searchImg.source = Images.search_icon;...

Hacking Zindus (ThunderBird Add-On)

Zindus is a thunderbird add-on to import your google contact to thunderbird. The problem of zindus is not shown the first_name and last_name, address and organization if you use google data V.3Let's see how it works:1. Download Zindus from your ThunderBird. 2. Open the xpi file using winRar/7zip and extract the file.3. Go to folder 'chrome' and then extract zindus.jar using WinRar/7zip4. After you extract the JAR, go to folder content/zindus/ 5. Open const.js and find 'const GD_API_VERSION ' and...

Import contact information in Google Spreadsheet To Google Contact Using Rake

This March, I had a sexy task to import all employees and departments contacts information which were stored in Google Spreadsheet into Google contact.A dummy people will think to pay data entry for entering them through google contact form. Whoa.. if i were a data entry, i would have had broken fingers after entering all data. Any way, I found a shortcut to import all data in only seconds or minutes, that is; make a robot to enter all data when we have a lunch.Now, let's prepare the tools :1. Installed...

Create and Update Google Contact from Ruby without Batch

There's less information about ruby on rails method in google contact. I would like to share you about how to export new google contact / create new google contact from our table contacts through Ruby.in my contacts_controller.rb, i wrote this scriptclass ContactsController < ApplicationController require 'yaml' require 'cgi' before_filter :prepare_google_contact, :expect => [:create, :update] CONTACTS_SCOPE = 'http://www.google.com/m8/feeds/' def create @contact = Contact.new(params[:contact])...

Basic Authentication in Flex or Air

After discussing about AuthSub and ClientLogin in Google in Flex or Air, now I would like to step forward about Basic authentication in Flex or Air. To know more about Basic Authentication please browse to this link https://mail.google.com/mail/feed/atom/all , you will be asked by pop up window to enter your login information right? now let we see how to handle it :<mx:VBox xmlns:mx = "http://www.adobe.com/2006/mxml" width = "100%" height = "100%" verticalAlign...

AuthSub Authentication on Flex or Air

There are 3 types of authentication on when you are accessing website nowdays, they are :AuthSub / ClientLogin authentication, this authentication uses credential login information and give back to you authentication token that will be used on header as security login token to make you available login in 24 hours.OAuth authentication, this authentication is using secret key and customer key, more secure than AuthSub, this kind authentication will use your token and secret token in header Authentication...

How to make Air Application become iPhone SDK

Adobe air is great and smooth desktop application, many developers of Air dream their application can be installed into iPhone SDK. Now that dream come true. Thanks to my friend auraAnar for this great information :First thing you do is downloading editor Eclips (like Flex Builder) from openplug.com, once you have successfully download it, create new project, in this show case i would to create sample...

AutoLogin to google account in Air without Oauth

i believe a part number of you there want their application allow the user to enter google account credential information to access the page, right? It's like i were faced off in my project. So how we will do it ? If you use webservice, here's the information you should send to air application : Google Account Credential Information and CallBack Url (the next url you want go after login)I believe to access protected google page it will asked thridparty login, right? Note: OAuth, AuthSub and ClientLogin...

Autocomplete from arrayCollection data in Flex and Air

Autocomplete is still high traffic in search engine for flex or action script, although it has plugin or component now (FLEX 4 is available). But now i would like to share you my script about how find documents, which is stored in arrayCollection and reflect with autocomplete textInput. here the sample code : CASE: In a form there's Multiple selection List the List can be clicked multiply or can be selected using auto complete in text input. the List dataProvider is from arrayCollection. The...

Servicing Restful CakePHP in Flex/Air

I have found a great framework of Dima Berastau which is called Restfulx, this framework is helping you to abstract your application from repetitive CRUD code and switch/synchronize between various data providers with minimal effort, very suitable for Ruby on rails and Phyton(Django) Developers. What about PHP? Honestly Restfulx is suitable for php developer like CakePHP, CodeIgniter or any MVC and Restful framework as their webservice in flex or Air. But now I would like to share about simple...
 
powered by Blogger