DirectorySoftwareBlog Details for "FLEXer - flex developers web corner"

FLEXer - flex developers web corner

FLEXer - flex developers web corner
FLEXer is a tool where information regarding Flex programmers is gathered starting from general like books and resources and going to examples of actionscript for specific problems.
Articles: 1, 2, 3, 4

Articles

Access the Query-String Variables from Flex Application
2007-11-28 08:36:00
Working on a project we arrived at a point where we needed to read inside the flex application the variables set in the query string. But in the SWF case we have two situations: 1) the query string is in the URL (like yoursite.com/page.php?param1=aaa) and 2) the query string is in the embedded SWF Object ...
More About: Action , Flex , Access , Variables , Application
As3Crypto - ActionScript 3 Cryptography Library
2007-11-27 08:51:00
Today I found this interesting library - AS3 Crypt o Framework 1.3. Many algorithms used for cryptography are implemented in this class: TLS 1.0 support (partial), X.509 Certificate parsing and validation, RSA (encrypt/decrypt, sign/verify), AES, DES, 3DES, BlowFish, XTEA, RC4, ECB, CBC, CFB, CFB8, OFB, CTR, MD2, MD5, SHA-1, SHA-224, SHA-256, PKCS#5, PKCS#1 type 1 and ...
More About: Action , Library , Script , Actionscript
Flex and PHP - Party in the Front, Business in the Back
2007-11-19 11:24:00
Last days I found a very interesting and easy learning article about how Flex application can interact with PHP on the server-side. The article shows how this two technologies can work together. On the server-side Zend Framework, a MVC platform, which I used a lot is used to structure the application and to be able ...
More About: Business , Party , Action , Script , Back
Actionscript among other programming languages - Stats
2007-11-19 10:01:00
The following study about programming languages compares the different programming languages like C, PHP, Java, Ruby, Action script and others. we are interested to see how Actionscript is standing compared to other languages. As you already may know C and Java are the first 2 and PHP seems to be the third but Actionscript is still ...
More About: Programming , Script , Languages
Sandy 3D Engine in Actionscript
2007-11-14 09:53:00
This 3D engine already at version 3.0 thing that means it is growing. Here it is: http://www.flashsandy.org/. Demos here: http://www.flashsandy.org/demos This is the demo I liked: http://www.flashsandy.org/demos/protopop_ walk We had another post (Framework spotlight) in the past also regarding another 3D framework and seeing how this is evolving we can say that in the future we may have MMORPGs and ...
More About: Action , Actionscript , Engine , Sandy
CAPTCHA in Flex - Using to Check the User
2007-11-09 15:10:00
Table of contentsCAPTCHA in Flex - Main ClassCAPTCHA in Flex - Running ExampleCAPTCHA in Flex - Using to Check the User Now here is an example how to check a user using our CAPTCHA. For source files see bellow. Previous in series captcha
More About: Action , Script
Compare two objects
2007-11-07 15:10:00
If you ever wondered how can you compare 2 objects (big structure objects that can not be compared by Flex itself using the === operator) in Flex to find out if they are identically the same one of the methods used were to check all their attributes. Another much better and faster method is this:   public function ...
More About: Action , Script , Compare , Objects , Pare
mixin
2007-11-05 16:38:00
I wanted to talk a while ago about the [Mixin] meta-data tag but I forgot :). Most programmers have heard of the static code concept but if they try to implement it in AS3/Flex they have problems. Here is how to do it:   package { import mx.managers.ISystemManager;   [Mixin] public class StaticCode ...
More About: Action , Script
Actionscript 3 Search Trend by Google
2007-11-05 13:20:00
The searches about Action script 3 are increasing and that means more interest in Actionscript 3 and frameworks that includes Actionscript 3 like Flex and Flash. The ranking is: Sweden Netherlands Romania Australia Israel For more info see google report.
More About: Google , Search , Script
CAPTCHA in Flex - Running Example
2007-11-01 11:47:00
Table of contentsCAPTCHA in Flex - Main ClassCAPTCHA in Flex - Running Example And now here is a running example. This shows how to generate a CAPTCHA setting about 4 parameters. More parameters can be added to this example, like dots size, polygons transparency, font size but all that are features. Enjoy! ...
More About: Action , Script , Captcha
CAPTCHA in Flex - Running Example
2007-11-01 11:47:00
Table of contentsCAPTCHA in Flex - Main ClassCAPTCHA in Flex - Running Example And now here is a running example. This shows how to generate a CAPTCHA setting about 4 parameters. More parameters can be added to this example, like dots size, polygons transparency, font size but all that are features. Enjoy! ...
More About: Action , Script , Captcha
Rest parameter
2007-10-31 13:43:00
A very handy parameter is the rest one. Imagine you want a function that will calculate the sum of any number of parameters of type number. One way to do it is to send an array to the function. But one better way is to use the "rest" parameter. Here is the function:   public function MakeSum(a:int, ... ...
More About: Action , Script , Rest
Learning MVC in Flex - Cairngorm
2007-10-31 11:05:00
These days I started to study about MVC (Model-View-Controller) implementation for Flex . Although I used a lot MVC and MVC Frameworks in other language (PHP 4 & 5) the Cairngorm MVC Framework is a bit more complex. For a better understanding I found the following interactive diagram where you can view which part of the code ...
More About: Learning , Earning
CAPTCHA in Flex
2007-10-30 10:46:00
Recently I needed to implement a CAPTCHA (means: "Completely Automated Public Turing test to tell Computers and Humans Apart" - on wikipedia) functionality to a sign-up form in flex. So here is the class:   public class Captcha extends Canvas { private const CAPTCHA_WIDTH:uint = 120; private const CAPTCHA_HEIGHT:uint = 40; ...
More About: Action , Script , Flex
CAPTCHA in Flex - Main Class
2007-10-30 10:46:00
Table of contentsCAPTCHA in Flex - Main Class CAPTCHA in Flex - Running Example Recently I needed to implement a CAPTCHA (means: "Completely Automated Public Turing test to tell Computers and Humans Apart" - on wikipedia) functionality to a sign-up form in flex. So here is the class:   public class Captcha extends Canvas { private const ...
More About: Action , Script
Add CSS style to a component
2007-10-30 10:33:00
This it's a clean example about how to add a CSS style to a component in Flex. We need to create the CSS file (style.css) and add a custom style:   .myStyle { font-size: 20px; color: #cc0000; }   Make a new Flex project and in the defalul MXML aplication file add this code:   <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/m xml" layout="absolute" >   <!--// Here we call our CSS ...
More About: Action , Script , Component
Debug/Logging Client-Side Part 2
2007-10-29 17:22:00
In my previous post I started to talk about how you can see the same trace messages you were used from developing but this time in the "Release". This is done with the help of the Log class (mx.logging.Log). Let's take a look at some pieces of code (full code can be provided per request).   private var ...
More About: Action , Script , Part , Side , Socket
RIA Developer Camp
2007-10-29 14:25:00
Adobe has announced a RIA Developer Camp November 5, 2007 4:00 p.m. ? 8:30 p.m. Details: Learn from other developer community leaders on how they use Adobe® Flex? 2, Flash® CS3, and AIR? (Adobe Integrated Runtime) to help them improve their business applications. Join this seminar and hear speakers from Yahoo!®, PayPal?, ActionScript.com, and Adobe discuss how business ...
Adding a mask to graphic components
2007-10-29 14:17:00
Recently I had to put a mask to an UIComponent. Here is the way to do it:   var largeMask :UIComponent = new UIComponent(); largeMask.graphics.beginFill(0x00FFFF , 0.5); largeMask.graphics.drawRect(0, 0, 120, 40); largeMask.graphics.endFill(); largeMask.x = 0; largeMask.y = 0; this.addChild(largeMask); this.mask = largeMask; this should be UIComponent or Shape or similar object. Obs: the mask must be added as child to the object you need to add the mask ...
More About: Action , Script , Graphic , Components
Simple modal window in ActionScript
2007-10-29 12:11:00
So you need a modal window and you are using Flex :). This a small example that will open a modal window when application it's initialized. I put the title to the modal window, but you can add also an icon.     <mx:application xmlns:mx="http://www.adobe.com/2006/m xml"> layout="absolute" initialize="_openModalWindow ()"&# 62;; <mx:script> <!--[CDATA[ import mx.containers.Canvas; import ...
More About: Action , Script , Actionscript , Simple
ScrapBlog
2007-10-29 10:23:00
ScrapBlog is a very nice web based photo tool made using Flex Technology.I play around, and in about 10 minutes a make my account and create my first web photo album. I select a theme, upload some images,I place those in the right spots and that's all. You can post comment, have your own public profile, ...
9 Flex Frameworks
2007-10-26 13:19:00
Luke Bayes and Ali Mills of PatternPark presented 9 Flex Frameworks for the Silicon Valley Flex Users Group (SilvaFUG) at Adobe's offices in San Francisco. Those frameworks are: Cairngorm, PureMVC, ARP, MVCS, Flest, Model-Glue: Flex, ServerBox Foundry, Guasax, and Slide. The final conclusion was that PureMVC by Cliff Hall beats out the alternatives. We prefer PureMVC ...
More About: Action , Script , Ework
Framework spotlight
2007-10-26 10:14:00
Today a friend send me a link that I feel I need to share with the others: AlternativaGame - a 3d framework done in flash. For a demo go here 
More About: Spotlight , Framework , Ework
Garbage Collector and events
2007-10-26 09:21:00
A feature of Flex (and any decent programming language) is the garbage collector. What it does? Once it detects that an object in memory is no longer needed it will clean up the memory. Simple no? Well is not that simple: you may have finished your work with that object but there are references to ...
More About: Events , Action , Script , Garbage , Collector
Deep Object Copy
2007-10-25 16:12:00
I wanted to write a few words about the deep object copying in flex (aka as making an absolute identical replica of an object no matter it's class). There is a function in the flex API called Object Util.copy This is a very nice function but the problem is it cannot work on all object classes. ...
More About: Action , Script , Bugs , Deep
Constant XML not so constant?
2007-10-25 14:45:00
It seems that the constants behave strangely in Flex. Here is why:   public const X:String = "X"; public const Y:int = 101; public const NotSoConstant:XML = ...some random xml... Now here comes the fun part:   var x:string = X; x = "aaa"; trace(X + ":" + x); // X:aaa var y:int = Y; y = 10; trace(Y +":" + y); //101:10 var constantOrNot:XML = NotSoConstant; constantOrNot = ...another ...
More About: Action , Script , Bugs
FABridge: Warn on flex application exit
2007-10-25 13:10:00
One of the most common problems in the RIA applications that require login/logout and also some saves is how to prevent the user from closing the window/tab when there is unsaved information? The answer is simple: FABridge. This functionality allows you to catch the unload event from javascript and execute your flex code. Here is how: First you need ...
More About: Action , Script , Javascript , Flex , Ajax
[Transient] metadata Tag
2007-10-25 09:56:00
One interesting that I have found is the [Tran sient] metadata . What it does? It instructs Flex not to serialize the object member (variable/function) when you do a serialize/deserialize of an object. Here is a quick more in detail code   public class Test { private var x: int; private var y: int;   public function get ...
More About: Action , Script , Metadata
Flex Builder 2 free for students and educators
2007-10-25 09:33:00
Adobe Systems Incorporated (Nasdaq:ADBE) today announced that it is offering Adobe® Flex ? Builder ? 2 software at no cost to students and faculty at educational institutions worldwide. The Flex Builder 2 integrated development environment (IDE) is part of a powerful toolset for designing and developing rich Internet applications (RIAs), an essential part of Web 2.0. You can ...
More About: Students , Free , Duca
Debug/Logging Client-Side
2007-10-24 14:48:00
One of the most common problems in developing new applications is their debugging. There are several methods to do this in Flex (trace, alert - like somebody once said: "Alert till death"). But what happens if you want the same logging that you had on your work environment to also be ...
More About: Action , Script , Side , Socket , Debug
More articles from this author:
1, 2, 3, 4
111730 blogs in the directory.
Statistics resets every week.


Contact | About
© Blog Toplist 2012 - Supported by Web Catalog - SEO by FeWorks
eXTReMe Tracker