background preloader

Crydev.net

Crydev.net

Free high quality new textures to use for all of your in-home or online projects. Can you crack it? GlovePIE 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. Your format is clean and much easier to read than many/most tutorials. 2. 3. 4. 5. 6. 7. Awesome site, hope to see more material here. Thanks,Chris LoaderMax – Smart AS3 Loading 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 for details. Use at your own risk. This is a legal agreement between you (either an individual or a single entity) and GreenSock, Inc. I. II. B. C. III. B. IV. V. B. VI. VII. B. C. D.

Convert just about anything to anything else Simon Joslin - Projects 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. Download the full source code, including a C# Visual Studio solution and example Flash code. Download the compiled server executable and example Flash code. Please note that the example Flash code does not work successfully in the browser or the standalone player yet. When you find bugs or if you have any questions please post here .

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 loosely: the "stuff (movie clips, text fields) on screen" the DisplayObject class what can go on the display list? anything that descends from DisplayObject DisplayObject defines a core set of graphics features positionrotationscalehit testingfilters, transforms, masks DisplayObject's descendants InteractiveObject: adds mouse/keyboard functionality DisplayObjectContainer: adds containment for grouping Sprite: adds dragability, button-style interaction features MovieClip: adds timeline control the Stage class the outermost container for all graphical content root of the display list control over the global characteristics of the display area quality, scaleMode, frameRate display list for an empty flash runtime at startup, flash runtime auto-creates Stage instance auto-adds Stage instance to display list a .swf file's main class example main class instance

Implementing Array.shuffle() in Actionscript 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. My solution instead is based on a while loop (3 lines of code only): First we have to create a new array (arr2) which will contains the elements from the base ordered array (arr), then we use a while loop, which can be translated into english as: “do this until base array is not empty”. I think this is the best and shorter way to implement a shuffle functionality :)

Send/SendRaw/SendInput/SendPlay/SendEvent: Send keys & clicks Sends simulated keystrokes and mouse clicks to the active window. Send Keys SendRaw Keys SendInput Keys SendPlay Keys SendEvent Keys Parameters Normal mode: When not in raw mode, the following characters are treated as modifiers (these modifiers affect only the very next key): ! +: Sends a SHIFT keystroke. ^: Sends a CONTROL keystroke. #: Sends a WIN keystroke, therefore Send #e would hold down the Windows key and then press the letter "e". SendInput and SendPlay [v1.0.43+]: SendInput and SendPlay use the same syntax as Send but are generally faster and more reliable. SendEvent [v1.0.43+]: SendEvent sends keystrokes using the same method as the pre-1.0.43 Send command. Key Names: The following table lists the special keys that can be sent (each key name must be enclosed in braces): Repeating or Holding Down a Key To repeat a keystroke: Enclose in braces the name of the key followed by the number of times to repeat it. Send {DEL 4} ; Presses the Delete key 4 times. General Remarks Related

lua nova » iOS Programming with Lua 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). Before getting into the details, there are two main questions to answer: Why use Lua? The answers to these questions are intertwined. In case you landed here without knowing anything about Lua, let me hit the high points of the language. About Lua Lua is a fast, lightweight, embedded scripting language. Lua was created in 1993 by Roberto Ierusalimschy, Waldemar Celes and Luiz Henrique de Figueiredo at the Pontifical Catholic University in Rio de Janeiro, Brazil. Lua’s main data structuring mechanism is the table—a combination resizable array and hash. Out of the box, Lua is neither an object-oriented (OO) programming language nor a functional programming language. Can I Script on iOS? Why Use Lua for iOS development? Corona

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. It disappears after the loop is complete, and whatever objects were created stick around in the displayObject. In my situation I had a loop creating my navigation elements, but needed to position each X value separately. Here is the method I used to keep the references to these variables: Now, to use those references: Now if I wanted to access those individual MovieClips I could use the mcArray to do so. I could also loop through the array to apply an animation to each item. Generate 1000 triangles. Like this: Like Loading...

Related: