background preloader

Flex in a Week video training

Flex in a Week video training

Developing Flex applications in Microsoft Visual Studio with Ensemble Tofino Tofino is free and can be downloaded from Ensemble. Tofino versions are available for both Visual Studio 2008 and Visual Studio 2010, and each version is available with or without the Flex SDK. If you already have the Flex SDK installed, simply install a Tofino version without the Flex SDK included, which will be a smaller download. Then set up Tofino to use your installed SDK by choosing Tools > Options > Projects > Flex Projects and changing the Flex SDK Location setting. Once you've installed Tofino you can create and open Flex projects in Visual Studio, which will have a .flexproj extension. Note that Flash Builder Eclipse projects and Tofino projects can coexist for the same source tree. Creating a Flex project To create a Flex project with Tofino, start by choosing File > New Project, and then select Flex as the Project Type. Figure 1. If you select Flex Project or ActionScript Application, your application will compile to SWF files that run in Flash Player in the web browser.

Tutoriales Tutorial que explica cómo crear una web en la cual carguen contenidos de diferentes archivos HTML, sin cambiar de URL, gracias a AJAX y la carga asincrona de datos. El objetivo de este tutorial es poder aprender Ajax viendo un concepto teórico, luego algunos ejercicios resueltos y otros por resolver. Puedes desarrollar los ejercicios en el sitio, probarlos, modificarlos y ver los resultados Enseña a utilizar AJAX para crear aplicaciones propias y además incluye una referencia completa y con ejemplos de los métodos y atributos de esta tecnología. Sitio con artículos, ejemplos y noticias relacionadas al mundo Ajax. Guía para iniciarse con AJAX, que incluye artículos, tutoriales y enlaces hacia otros sitios con información. Provee la implementación de la tecnología AJAX presentada por Microsoft.

Flash gaming: Doing deals with Chris Hughes Flash has one of the most remarkable stories in recent game technology. As we've discussed over the last couple of days, it's survived acquisition, competition and the rise of mobile phones to deliver a thriving webgame community that's enjoying considerable financial reward. At the heart of this business is Flash Game License, a company which brokers a huge number of deals between indie developers and portals, small and large. We spoke at length to co-founder Chris Hughes about the mechanics of the Flash gaming scene, from what US players are worth, compared to European and Chinese, to what it takes to make a Flash game worth $50,000. Could you outline your business and how it's changed over the last few years? Flash Game License at its core is a marketplace and community primarily for Flash game developers and buyers, but we also do work with Unity developers and HTML5 developers – basically any web game developer we help. And then there's the payment.

Joe Walnes, Flexible JUnit assertions with assertThat() Flexible JUnit assertions with assertThat() Over time I've found I end up with a gazillion permutation of assertion methods in JUnit: assertEquals, assertNotEquals, assertStringContains, assertArraysEqual, assertInRange, assertIn, etc. Here's a nicer way. jMock contains a constraint library for specifying precise expectations on mocks that can be reused in your own assertion method (and that's the last time I'm going to mention mocks today, I promise - despite the frequent references to the jMock library). By making a simple JUnit assertion method that takes a Constraint , it provides a replacement for all the other assert methods. I call mine assertThat() because I think it reads well. Combined with the jMock syntactic sugar, you can use it like this: Okay, that's nice but nothing radical. Combining constraints Constraints can be chained making it possible to combine them in different permutations. assertThat(something, not(eq("Hello"))); assertThat(something, not(contains("Cheese"))); else

Object (ActionScript 3.0) public var constructor:Object A reference to the class object or constructor function for a given object instance. If an object is an instance of a class, the constructor property holds a reference to the class object. If you use the class keyword to define a class, the class's prototype object is assigned a property named constructor that holds a reference to the class object. dynamic class A {} trace(A.prototype.constructor); // [class A] trace(A.prototype.constructor == A); // true var myA:A = new A(); trace(myA.constructor == A); // true Advanced users may choose to use the function keyword instead of the class keyword to define a Function object that can be used as a template for creating objects. function f() {} trace(f.prototype.constructor); // function Function() {} trace(f.prototype.constructor == f); // true var myF = new f(); trace(myF.constructor == f); // true Related API Elements

Using Flash Builder 4 to build a Flex application that consumes a .NET-based web service written in C# Creating the web service To access the data from the Centre table, you can use the sample files included with this tutorial, which implement a simple web service in C#. The code consists of three files: Centre.cs – This class is used to represent each tuple of the Centre table of the database. Exposing the web service with WSDL Before you can start using the web service functions from a Flex client, you need to know a little bit about Web Service Description Language (WSDL). When you create a web services in Visual Studio, the WSDL is automatically generated. of the web application}/{Name of the services file- for example, services.asmx}? While debugging in Visual Studio the default WSDL path for Service.asmx in the project named CentreServices is: This WSDL path will be used in Flash Builder 4 to connect to the service. The code in Service.cs includes two path references that you’ll need to change.

Autoescuela.tv MAX 2011 Develop - Best Practices for Building Flex Tablet Applications Community Translation Your transcript request has been submitted. Adobe TV does its best to accommodate transcript requests. It can take a few weeks for the transcript to become available in the Community Translation Project, so keep checking back. Join the Community Translation Project Thanks for your interest in translating this episode! Please Confirm Your Interest Thanks for your interest in adding translations to this episode! An error occurred while processing your request. Another translator has already started to translate this episode. Thanks for Participating! This episode has been assigned to you and you can expect an e-mail shortly containing all the information you need to get started. About This Episode Thinking of building a tablet application and don't have time to go native on Android, iOS, and Blackberry Tablet OS?

JavaScript Programming Patterns JavaScript is meant to be used to add behaviour to a website, might it be for form validation or for more complex operations like drag & drop functionality or performing asynchronous requests to the webserver (aka Ajax). During the past few years, JavaScript libraries became increasingly popular. One of the reasons is definitely that websites are getting more and more complex and reinventing the wheel each time is not acceptable if you are working on a tight schedule. But letting aside libraries and focusing on the “bare” syntax of JavaScript, it is very valuable to know what kind of options you have in terms of programming patterns when writing JavaScript. In this article I am trying to present some of the techniques out there that I have discovered. The way I decided to present and compare these different patterns is by solving the same given task with every pattern. To complete the task given, you essentially would need to complete the following steps: The Old-School Way Singleton

Number (ActionScript 3.0) A data type representing an IEEE-754 double-precision floating-point number. You can manipulate primitive numeric values by using the methods and properties associated with the Number class. This class is identical to the JavaScript Number class. The properties of the Number class are static, which means you do not need an object to use them, so you do not need to use the constructor. The Number data type adheres to the double-precision IEEE-754 standard. The Number data type is useful when you need to use floating-point values. View the examples

Related: