programming

TwitterFacebook
Get flash to fully experience Pearltrees
http://buildinternet.com/2009/07/quick-tip-resizing-images-based-on-browser-window-size/

Quick Tip – Resizing Images Based On Browser Window Size « Build Internet

How Is This Useful? In fluid layouts it is easy to format the text to adjust nicely when the window is resized, but the images are not as fluid-friendly. This Quick Tip shows you how to swap between two image sizes based on the current size of the browser, div, or whatever you decide to make the deciding factor. For those looking for a real life example, Last.fm uses this technique on their artist pages. The technique that will be used can be expanded to cause additional changes upon resize as well, beyond simply image swapping (ie captions, navigation). With that said, let’s get rolling.

Building Multi-lingual Joomla 2.5 Sites

http://www.ostraining.com/blog/joomla/joomla-multi-lingual/ About a year ago we wrote a tutorial which showed how to build multi-lingual sites in Joomla .

View topic - AS3FlexDB Tutorial 1 : Connect to a MySQL Database

Great tutorial. I have zero Flex experience before this, and I managed to get this going. Some observations: 1. http://itutorials.ro/viewtopic.php?f=9&t=7

Wampserver 2 and AMFPHP Service Browser - arguments.callee

http://arguments.callee.info/2009/09/05/wampserver-2-and-amfphp-service-browser/ I installed Wampserver 2 and AMFPHP on a computer at work to run some tests, and instead ran into an error when trying to use the Service Browser . Error retrieving service info: Function eregi_replace() is deprecated C:\wamp\www\amfphp\core\shared\util\MethodTable.php on line 506
You may use the code at no charge in commercial or non-commercial apps, web sites, games, components, and other software as long as end users are not charged a fee of any kind to use your product or gain access to any part of it. If your client pays you a one-time fee to create the site/product, that's perfectly fine and qualifies under the "no charge" license. If end users are charged a usage/access/license fee, please sign up for a "Business Green" Club GreenSock membership which comes with a comprehensive commercial license. See http://www.greensock.com/club/ for details.

LoaderMax – Smart AS3 Loading

http://www.greensock.com/loadermax/
shops

Simon Joslin - Projects

http://projects.psibaspace.net.au/code.php Download the XBOX 360 Gamepad Server to get up to four XBOX 360 controllers talking to Flash ActionScript 3. To run the server you need XNA 4.0 , .net 4.0 , Adobe Flash CS4 or greater , and either a wired XBOX 360 controller or a wireless controller and the wireless controller receiver . The C# socket server allows Flash to retrieve the XBOX 360 controllers values through the new binary sockets and ByteArray functionality of ActionScript 3. The server runs on a windows machine, polls the connected controllers, bundles their values into a packet and sends it across the network to a connected client. The packets just contain binary data, so this can be used with any client, but example code is provided for Flash. Because it runs as a socket server, you can get the controllers into Flash on a mac or linux machine.

ActionScript 3.0 and Flash CS3

overview display list combining authoring assets with code the display list the hierarchy of all graphical objects currently displayed by the Flash runtime http://www.moock.org/lectures/ActionScriptAndFlashCS3/
One useful thing that Actionscript doesn’t offers is the ability to shuffle an array, however this can be accomplished in a blink of an eye and with very few lines of code. Before to implement my own solution, I looked on the web, but solutions provided by others developers looks too complex and too long to type. What I found was based on a for loop and several line of codes to fill a secondary array with the elements in a new random order.

Implementing Array.shuffle() in Actionscript

http://www.daveoncode.com/2009/01/08/implementing-arrayshuffle-in-actionscript/
Sends simulated keystrokes and mouse clicks to the active window. Send Keys SendRaw Keys SendInput Keys SendPlay Keys SendEvent Keys Parameters http://www.autohotkey.com/docs/commands/Send.htm

Send/SendRaw/SendInput/SendPlay/SendEvent: Send keys & clicks

http://www.luanova.org/ioswithlua Matthew Burke, Bluedino Software In this article I will discuss three methods for using Lua to build iOS apps. The techniques range from using Lua to build the entire application ( Corona ) to using Lua as a component for scripting your application ( do it yourself or Wax ).

lua nova » iOS Programming with Lua

Assigning dynamic/unique variable names in a for loop in AS3 « Useful Stuff.

Assigning dynamic variable names to objects created in a for loop in AS3. You have to get very creative to search these questions on google because words like “for” and “loop” are so utterly common. If you have a loop in AS3 creating multiple variables but need them to have unique names (for later modification) you need to create something like an array to store the references to the variables. For example, anything you create in a for loop is a temporary reference.
You may use the code at no charge in commercial or non-commercial apps, web sites, games, components, and other software as long as end users are not charged a fee of any kind to use your product or gain access to any part of it. If your client pays you a one-time fee to create the site/product, that's perfectly fine and qualifies under the "no charge" license. If end users are charged a usage/access/license fee, please sign up for a "Business Green" Club GreenSock membership which comes with a comprehensive commercial license. See http://www.greensock.com/club/ for details. Use at your own risk. No warranties are offered.

Video Tutorial: Meet LoaderMax

You may use the code at no charge in commercial or non-commercial apps, web sites, games, components, and other software as long as end users are not charged a fee of any kind to use your product or gain access to any part of it. If your client pays you a one-time fee to create the site/product, that's perfectly fine and qualifies under the "no charge" license. If end users are charged a usage/access/license fee, please sign up for a "Business Green" Club GreenSock membership which comes with a comprehensive commercial license. See http://www.greensock.com/club/ for details.

Learning Resources

AS3 Flash Games for Beginners: Character Movement / Handling Multiple Keypresses

Movement is extremely important for any game in which you take the role character or object. Bad movement can completely ruin your game, and good movement can make it feel well polished. Of course, movement is just one part of your game, but it’s the foundation of everything your character will do, so you need to give it some attention. This is the second article in the Flash Game Basics series. It picks up where the previous one left off.
What good is smoke? Let’s think for a second. What produces smoke?

Graphic Design Smoke in Flash