Articles in the Flex Category
AIR, Flash CS4, Flex »
Adobe have released Flash player 10.1 for Mobiles. The full Flash Player will be available on smartphones and other Internet-connected mobile devices, To deliver on a high level of consistency and move onto mobile platforms with limited memory and processing resources, Flash Player 10.1 leverages hardware acceleration of graphics and video and many other performance improvements, such as rendering, scripting, memory utilization, start-up time, battery and CPU optimizations.
Flash Player 10.1 is also designed to take advantage of media delivery with HTTP streaming, including integration of content protection powered by Adobe …
ActionScript 3.0, Flash CS4, Flex »
Now we can use the SWC files created for Flex applications in Flash.
Just we need to add the SWC to Flash compiler. Follow the steps to use Flex SWC files in Flash development.
1. Open new File Flash CS4.
2. Select File > Publish Settings or Press Ctrl + Shift + F12, Publish Settings window will Popup.
3. Click on Settings… and Select Library path
4. Click on Plus Symbol to add SWC path or File.
5. Copy and Paste the Flex SWC files Path.
For example:C:\Program Files\Adobe\Adobe Flash Builder Beta 2\sdks\4.0.0\frameworks\libs
Thats it …
ActionScript 3.0, Flex, RED5 »
Last we have seen how to Install/Setup Red5 Server. If you dont have the Red5 Setup in your system click here.
In this tutorial we are going to see how to make new Red5 Project.
Before trying this tutorial, make sure the Red5 Server and its sample runs.
Type http://127.0.0.1:5080/ in address bar of your browser and you will see the page below.
Next we will see how to setup server-side code in Eclipse.
Download and install Eclipse for Java EE.
1. Create new Java Project in Eclipse. delete the src folder
2. Create WEB-INF folder …
AIR, ActionScript 2.0, ActionScript 3.0, Design, Flash CS4, Flex »
Preloaders are much needed for Flash/Flex RIA’s.
Here some of the free preloader animations created by me this morning.
Idea of preloader is indicating the user that some assets are being loaded, and making them to wait.
But we should keep in mind that the user may lost their patience, so keeping the Flash assets filesize minimal is much important while making Flash websites or Flash applications.
ActionScript 2.0, ActionScript 3.0, Flex, XML »
The to pass newline character(\n) from XML will not work. Even if you try t use search and replace function its not
Search and Replace function
private function strReplace($str:String, $search:String, $replace:String):String {
return $str.split($search).join($replace);
};
So the simple way is to use </br> tag
Cheers
ActionScript 3.0, Flash CS4, Flex, Javascript »
Changing the size of flash document from Javascript will be handy in many situations like creating Flash widgets like
News scroller
Flash Banners
..
In this article we are going to create that effect.
First we need to import necessary classes.
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.display.MovieClip;
The next step is to align the stage to TOP LEFT and scalemode to no scale.
Means we are aligning the stage to topleft even if we resize it and not scaling the contents on resize
stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;
The final step is to add Event listener for stage resize
stage.addEventListener(Event.RESIZE, handleResize);
function handleResize(e:Event):void
{
//The …
AIR, ActionScript 3.0, Flash CS4, Flex »
Now we can create optimized Actionscript and flex code. Adobe has released FlexPMD to audit Actionscript (AS3) or Flex source.
FlexPMD uses a part of PMD, which used to analyse Java sources.
FlexPMD detects unused codes(like functions variables), inefficient code, complex loops..
FlexPMD can be invoked from
* The command line
* Maven
* Ant
* Automator on Mac OS X
* Eclipse new
* TextMate on Mac OS X new
* …
ActionScript 3.0, Flash CS4, Flex, XML »
Today I came across the wonderful website(learningactionscript3.com) for actionscript,
I have taken the quiz section where we can see questions from chapters of the book Learning ActionScript3.0, It covers all the chapters from
ActionScript Overview,
Events,
Display List,
OOP,
Text,
Sound,
Video,
XML,
Advance Actionscript.
Below is the screenshot of the result.
From the result I need to concentrate in XML and Prgramming Design.
I encourage you people to participate in the Quiz and post me the Screenshot to publish here in the blog.
All the best guys…
cheers
Flex »
Flex »
Error:
JST Common Core (2.0.0.v200706041905-1007w311817231426) requires plug-in “org.eclipse.wst.common.project.facet.core (1.1.1)”, or compatible.
We can develop Java code in Flex builder standalone version too.While the standalone version of Flex Builder does not contain tools to edit Java code by default, you can install them as Eclipse plugins.
For updating Java Development Features in Flex IDE You need to install Java Development Tools (JDT) plug-in
Follow the steps below:
———————
1. Open Flex Builder IDE.
2. Select Help Menu >> Software Updates >> Click on Find and Install.
3. In Install/Update Dialogue box. Select “Search for new features to install†and …
