A story of Yertle and Turtle

Yertle the Turtle was king of the pond.  A nice little pond. It was clean. It was neat. The water was warm. There was plenty to eat. The turtles had everything turtles might need. And they were all happy.  Quite happy indeed.

They were… until Yertle, the king of them all, Decided the kingdom he ruled was too small. “I’m ruler”, said Yertle, “of all that I see. But I don’t see enough. That’s the trouble with me. With this stone for  a throne, I look down on my pond But I cannot look down on the places beyond. This throne that I sit on is too, too low down. It ought to be higher!” he said with a frown. “If I could sit high, how much  greater I’d be! What a king! I’d be ruler of all that I see!”

So Yertle, the Turtle King, lifted his hand And Yertle, the Turtle King, gave a command. He ordered nine turtles to swim to his stone And, using these turtles, he built a new throne. He made each turtle stand on another one’s back And he piled them all up in a nine-turtle stack. And then Yertle climbed up. He sat down on the pile. What a wonderful view! He could see ‘most a mile! “All mine!” Yertle  cried. “Oh, the things I now rule! I’m the king of a cow! And I’m the king of a mule! I’m the king of a house! And, what’s more, beyond that I’m the king of a blueberry bush and a cat! I’m Yertle the Turtle! Oh, marvelous me! For I am the ruler of all that I see!”

And all through the morning, he sat up there high Saying over and over, “A great king am I!” Until ‘long about noon. Then he heard a faint sigh. “What’s that?” snapped the king And he looked down the stack. And he saw, at the bottom, a turtle named Mack. Just a part of his throne. And this plain little turtle Looked up and he said, “Beg your pardon, King Yertle. I’ve pains in my back and my shoulders and knees. How long must we stand here, Your Majesty, please?” “SILENCE!” the King of the Turtles barked back. “I’m king, and you’re only a turtle named Mack.” “You stay in your place while I sit here and rule. I’m the king of a cow! And I’m the king of a mule! I’m the king of a house! And a bush! And a cat! But that isn’t all. I’ll do better than that!

My throne shall be higher!” his royal voice thundered, “So pile up more turtles! I want ’bout two hundred!” “Turtles! More turtles!” he bellowed and brayed. And the turtles ‘way down in the pond were afraid. They trembled. They shook. But they came. They obeyed. From all over the pond, they came swimming by dozens. Whole families of turtles, with uncles and cousins. And all of them stepped on the head of poor Mack. One after another, they climbed up the stack. Then Yertle the Turtle was perched up so high, He could see fourty miles from his throne in the sky! “Hooray!” shouted Yertle. “I’m the king of the trees! I’m king of the birds! And I’m king of the bees! I’m king of the butterflies! King of the air! Ah, me! What a throne! What a wonderful chair! I’m Yertle the Turtle! Oh, marvelous me!
For I am the ruler of all that I see!”

Then again, from below, in the great heavy stack, Came a groan from that plain little turtle named Mack. “Your Majesty, please… I don’t like to complain, But down here below, we are feeling great pain.
I know, up on top you are seeing great sights, But down here at the bottom we, too, should have rights. We turtles can’t stand it. Our shells will all crack! Besides, we need food. We are starving!” groaned Mack.

“You hush up your mouth!” howled the mighty King Yertle. “You’ve no right to talk to the world’s highest turtle. I rule from the clouds! Over land! Over sea! There’s nothing, no, NOTHING, that’s higher than me!”

But, while he was shouting, he saw with surprise That the moon of the evening was starting to rise Up over his head in the darkening skies. “What’s THAT?” snorted Yertle. “Say, what IS that thing That dares to be higher than Yertle the King? I shall not allow it! I’ll go higher still! I’ll build my throne higher! I can and I will! I’ll call some more turtles. I’ll stack ‘em to heaven! I need ’bout five thousand, six hundred and seven!”

But, as Yertle, the Turtle King, lifted his hand And started to order and give the command, That plain little turtle below in the stack, That plain little turtle whose name was just Mack, Decided he’d taken enough. And he had. And that plain little lad got a bit mad. And that plain little Mack did a plain little thing. He burped! And his burp shook the throne of the king!

And Yertle the Turtle, the king of the trees, The king of the air and the birds and the bees, The king of a house and a cow and a mule… Well, that was the end of the Turtle King’s rule! For Yertle, the King of all Sala-ma-Sond, Fell off his high throne and fell Plunk! in the pond!

And today the great Yertle, that marvelous he, Is King of the Mud. That is all he can see. And the turtles, of course… all the turtles are free As turtles and, maybe, all creatures should be.

Hope you would like this!

AIR and its Application directory

A program does not have right to write or modify into Application directory of AIR application. We can read content of Application directory.

You can find some more tip and tricks here :: http://blogs.adobe.com/simplicity/2008/06/dont_write_to_app_dir.html

Cheers!

Email Validation in ActionScript 3.0 using RegExp

You can use following function for validation of email using ActionScript 3.0 RegExp class.

/**
* @usage    Check if the given email address string is valid or not
* @param    email:String    Email address string that is to be checked
* @return    Boolean        Returns true if valid email, false otherwise
*/
public function isValidEmail(email:String):Boolean
{
var emailExpression:RegExp = /^[a-z][\w.-]+@\w[\w.-]+\.[\w.-]*[a-z][a-z]$/i;
return emailExpression.test(email);
}

Hope it would be useful to someone :)

Regards,

Naresh Khokhaneshiya

Flash Player 10 beta 2 Released

Flash Player 10 beta 2 was released on 7/2/2008 and includes new features and bug fixes.

New features on Flash Player 10 – ASTRO beta 2 ::

More details can be found on adobe labs flash player technology.

You can find the new version of flash player 10 beta on adobe labs download center.

Regards,

Naresh Khokhaneshiya

Flash Player 10 – ASTRO Beta 2 released

Flash Player 10 beta 2 was released on 7/2/2008 and includes new features and bug fixes.

You can find the new version here.

Regards,

Naresh Khokhaneshiya

Google and Yahoo! can search Flash SWF content now!

Great news ! :)

Here you can find more details about this ::

- Naresh Khokhaneshiya

Identify all the key strokes in Flash IDE Environment

By default, when you press some key in Flash IDE Environment, in ActionScript you will not be able to handle DELETE key stroke as that is shortcut key in Flash IDE.

To handle such key strokes in ActionScript, while running an application in Flash IDE, go to swf’s Control menu and tick ‘Disable Keyboard Shortcuts’. Now ActionScript will listen all the key events which are shortcuts in Flash IDE Environment.

- Naresh Khokhaneshiya

Adobe announces Adobe Dreamweaver CS4 beta

Adobe labs announces Adobe Dreamweaver CS4 Beta. You can download Adobe Dreamweaver CS4 Beta from here.

Adobe Dreamweaver CS4 Beta includes following new features ::

Live View

View your web pages under real-world browser conditions with the new Live View in Dreamweaver — while still retaining direct access to the code. The new rendering mode, which uses the open source rendering engine WebKit, displays your designs like a standards-based browser.

Related Files

Manage the various files that make up the modern web page more efficiently in Dreamweaver. The Related Files feature displays all the documents associated with your current page, whether CSS, JavaScript, PHP, or XML, in a bar along the top of your document.

Code Navigator

The new Code Navigator pop-up window shows you all the code sources that affect your current selection. A click in either Code or Design view brings up the Code Navigator pop-up, which displays CSS rules, server-side includes, external JavaScript functions, Dreamweaver templates, Library files, iframe source files, and more.

CSS best practices

The Property inspector’s new CSS tab shows the styles for the current selection as well as all the applicable CSS rules. Hover over any property to view a tool tip with jargon-free English explanations of CSS principles. New CSS rules can be created and applied in the Property inspector panel and stored in the same document or an external style sheet.

Code hinting for Ajax and JavaScript frameworks

Write JavaScript more quickly and accurately with improved support for JavaScript core objects and primitive data types. Work with popular JavaScript frameworks including jQuery, Prototype, and Spry.

HTML data sets

With HTML data sets functionality, you can create your data in a standard HTML table, a series of div tags, or even an unordered list and then choose Insert > Spry > Spry Data Set to integrate that data into a dynamic table on the page with sortable columns, a master-detail layout, or other sophisticated displays.

Photoshop Smart Objects

Photoshop and Dreamweaver integration has evolved to the next level of compatibility and functionality. Drag and drop an Adobe Photoshop® PSD file into a Dreamweaver page to create an image Smart Object.

Subversion integration

Dreamweaver integrates Subversion software for a more robust check-in/check-out experience with file versioning, rollback, and more. Once you’ve defined Subversion as your version control system, you can update your site to get the latest versions of its pages directly from within Dreamweaver; no third-party utility or command-line interface is required.

Adobe® AIR™ authoring support

Create multiplatform desktop applications from your Dreamweaver HTML and JavaScript sites with new Adobe AIR™ authoring support.

New user interface

Work faster and smarter across Dreamweaver and other components of the next version of Adobe Creative Suite® thanks to a new level of integration and common user interface elements.

Read the release notes for additional details regarding the Dreamweaver beta.

- Naresh Khokhaneshiya

Virtual Directory in WAMP using Symbolic Link

You can setup a virtual directory in WAMP using Symbolic Link. You have to create a symbolic link in Windows using following command :

mklink /D [virtualDirectoryName] [TargetDirectory]

where,

/D indicates the target is a directory and not a file. If you don’t provide this then it will take file as target by default

[virtualDirectoryName] is the name of the virtual directory

[TargetDirectory] is the target directory to which you want to link the virtual directory

For example, if you want to create a site using name ‘mysite’ and you want to link this virtual directory to the directory ‘d:\somefolder\sitecontent’, then assuming the location of wamp as ‘c:\wamp\www’ you will create symbolic link as follows :

mklink /D c:\wamp\www\mysite d:\somefolder\sitecontent

I think it would be very useful to create virtual directory in wamp so that we would not have to put all the content into www directory of wamp.

Enjoy funny videos in Gujarati – Simply Cool

Shahrukh’s Darde Disko in Gujarati ::

Spiderman – Veer Karolio Jalawalo ::

 

Here are more videos – SURATI KAKA. Enjoy them :)

Naresh Khokhaneshiya