JavaScript and ActionScript share a nearly identical syntax, object model, and even many object classes because both of them are based on the ECMA-262 (ECMAScript) standard. ActionScript implements the arguments object, which supports the callee and length properties, just like JavaScript. ActionScript also implements the Array, Boolean, Date, Math, Number, Object, and String classes familiar to JavaScript programmers.Adobe AIR allows ActionScript and JavaScript base object can be convert each other.But sometimes we still need to know which is javascript objct and which is actionscript object.The following code shows how to detect Javascript objct and ActionScript.
Posts Tagged ‘JavaScript’
How To Discriminate Between JavaScript Object and ActionScript Object In AIR
May 18th, 2008 10+ Useful JavaScript Regular Expression Functions to improve your web applications efficiency
May 10th, 2008
In a previous post trim a string from white space by JavaScript function ( or Another JavaScript function for trim a string from white space ) and JavaScript function-Splits the string by given separator and returns an array with trimmed items, Some Regular expressions have been used. Regular expressions are very powerful tools for performing pattern matches.And validating user input is the bane of every software developer existence. But these patterns used in RegExp can be very simple.
(more…)
6 very basic but very useful JavaScript Number Format Functions for web developers
April 25th, 2008 How number is treated in JavaScript? JavaScript is loosely typed and the plus operator also concatenates, you can easily convert JavaScript Numbers to Strings similar to this: 1 + “”, but as we all know that JavaScript doesn’t have many built-in methods to format numbers. Most of the time we need to write our customized code to do it.The following is 6 very useful JavaScript number format function,why have to re-inventing the wheel? Don’t waste your valuable time to write it by yourself, only copy which you like and use it!
Of course if you had wrote your proudly number format function,don’t only stock in your hard disk( or your head), let’s share!
21+ beautiful Javascript and Ajax based solutions to our gallery requirements
April 8th, 2008
Maybe you are believe that a picture is worth a thousand words, so you need a powerful gallery in order to show your excellent pictures well. Or you need to add a gallery into your blog or homepage. Javascrip or AJAX technology is a better choice since they don’t need extend plugin.
List of The Most Great Web operating systems(19+)
March 4th, 2008 WebOS gained popularity in 1999 when a much touted start up.”WebOS are services going to be utilized by thousands of companies – and will power the next generation of web applications?”,Alex Iskold said.
The following is a list of the most great webOS style system.Enjoy!
4 ways to dynamically load external JavaScript(with source)
February 10th, 2008 Most of the time, Firefox, Safari and Opera work without much effort and differences between the 3. However, throw IE into the mix and you’re in a whole different world.This is helpful if you need to dynamically inject javascript.And, the biggest problem was setting a function that you want executed after the script is loaded.By this article I will provide 4 way to dynamically load external JavaScript.
The below 1,2,3 are asynchronous,only 4 is synchronization.
The list of mine top 3 Flex File Upload Component
February 3rd, 2008 Flex is fully integrated with the general infrastructure for effects, styles, data binding.Invoke web services or request XML or other data via HTTP using a rich, built-in library of data access services. Take advantage of more advanced data management capabilities, including real-time data streaming, automated data synchronization.But most times,the most wanted feature from Flex is File Upload.Though the File IO application contains the user interface that allows a user to upload or download files using Flash Player… I’m not sure you will need,the below is mine top 3 Flex upload component.

Posted in
Tags: