The flex game is open to all users...The URL for the game is http://labs.heymath.com/Fleximagically%20Searchable/...
The game is pretty straight forward. The term "Fleximagically searchable" is hidden in a set of images. The user has to find where the term is hidden within the time given. More the user plays the game, higher is the possibility of getting listed in the top 10 players.
Keeping my fingers crossed to see how google indexes the flash content :).
Showing posts with label Actionscript. Show all posts
Showing posts with label Actionscript. Show all posts
Tuesday, August 5, 2008
Wednesday, July 30, 2008
"Fleximagically Searchable" contest
Sometime back Ryan Stewart announced a Flex SEO contest hoping that the community can learn the best way to expose data from a Flex application to search engines. Soon after the announcement came, my CTO Ananth was charged up to make use of this opportunity to create flex contents that are search engine friendly. So he urged my team mate Alagu (who is new to flex envi) to take part in the contest.
He took this as a challenge and started to learn flex and in a span of 25 days and he has completed a flex gaming application which is due for a public launch. The game follows the rules
- It has to be a Flex application
- “Fleximagically Searchable” must be dynamically loaded. It can’t be static text inside of your application. - But I don’t care how you load it, in fact that might make a difference in how Google ranks you.
- The first link must be deep linked directly into where you load “Fleximagically Searchable” into your application. Feel free to use any deep linking methods out there.
- Nothing in your code can dynamically load the phrase automatically. It has to be the result of a user interaction.
- You must provide source code and be willing to talk about exactly what you did.
- Multiple entries are allowed if you want to try different things.
The game has come out well in a short span of time. Soon i will post the URL for the game
Tuesday, August 21, 2007
Number handling - Actionscript
Round a number to few decimal places:
To round a number to few decimal places use the following samples
Round to one decimal place
Math.round(35.2499 * 10) / 10 // returns 35.2
Round to two decimal place
Math.round(35.2499 * 100) / 100 // returns 35.25
Round to three decimal place
Math.round(35.2499 * 1000) / 1000 // returns 35.25
Round a number to the nearest multiple of an integer:
To round a number to nearest multiple of an integer use the following samples
Round a number to nearest multiple of 5
Math.round(35.2499 / 5) * 5 // returns 35
Round a number to nearest multiple of 10
Math.round(35.2499 / 10) * 10 // returns 40
Subscribe to:
Posts (Atom)