If you’re looking for a way to get multiple HTML pages in a Flex application without using Apollo, check out this code.
to use multiple iframes check out this code
About adobe Flex
Posted by easow83 on April 7, 2008
If you’re looking for a way to get multiple HTML pages in a Flex application without using Apollo, check out this code.
to use multiple iframes check out this code
Posted in Flex, Flex 2.0.1 | Leave a Comment »
Posted by easow83 on April 7, 2008
First impressions mean a great deal. The first thing someone does when using an application is to download it—and if that process takes too long, it will detract from the user experience. To improve that experience, you need to learn strategies for reducing the download time and improving the startup time of your Flex applications.
This article shows you how to take advantage of the new Adobe Flash Player cache using Adobe Flex 3. I take a look at how to use this approach in both Flex Builder and the Flex SDK command-line tools.
Posted in Flex, Flex 3 | Leave a Comment »
Posted by easow83 on April 6, 2008
You have a user click on a link ,button, label
whatever… from within a Flex application and have it take the user to a
non-Flex, regular web page within their browser.. It’s probably a
simple answer but I’m still getting up to speed your Flex!!!…….
try this
<mx:Button label=”Click Here” click=”navigateToURL(new
URLRequest(‘htp://mathewjacob.wordpress.com’),’_mine)” />
Posted in Flex, Flex 2.0.1, Flex 3 | 4 Comments »
Posted by easow83 on April 2, 2008
First lets go over what events there are for an application creation life cycle. These include preinitialize, initialize, creationComplete, and applicationComplete. Below is a diagram that explains when each happens and shows the order. 
Looking at the code below we see that all that is done in the example is that when each event is fired I call a small function. This function, recordEvent, takes in a FlexEvent and adds some text to our report string. Also you see that not only is a little bit of text added, the time from flash.utils.getTimer() is printed. This getTimer() function returns the amount of milliseconds that have gone by since the start of the application. So what we get printed out is event.type and the time at which the event occurred.
Now once the last event applicationCreation is fired all other events can start firing, such as click events and so on. Understanding how the application is created is an important aspect to any program but it is especially so in Flex because of its event driven nature.
I hope this quick run through helps you out when trying to figure out what starup event(s) you should hook into. If you would like more info on these check out the Adobe livedocs and a special thanks to Ted Patrick, who has great info on all aspects of Flex.
Posted in Flex, Flex 2.0.1, Flex 3 | Leave a Comment »
Posted by easow83 on March 16, 2008
FluorineFx provides an implementation of Flex/Flash Remoting, Flex Data Services and real-time messaging functionality for the .NET framework.
check the following links.
http://www.fluorinefx.com/
Fluorine Projector is an open source SWF2Exe Framework based upon Fluorine Remoting Gateway, Macromedia Flash® and Microsoft .NET Framework.
http://fluorine.thesilentgroup.com/projector.htm
Posted in Flex, Flex 2.0.1, Flex 3 | Leave a Comment »
Posted by easow83 on March 12, 2008
The Sprite class is a basic display list building block: a display list node that can display graphics and can also contain children.
A Sprite object is similar to a movie clip, but does not have a timeline. Sprite is an appropriate base class for objects that do not require timelines. For example, Sprite would be a logical base class for user interface (UI) components that typically do not use the timeline.
The Sprite class is new in ActionScript 3.0. It provides an alternative to the functionality of the MovieClip class, which retains all the functionality of previous ActionScript releases to provide backward compatibility.
Inheritance: Sprite -> DisplayObjectContainer ->InteractiveObject-> DisplayObject-> EventDispatcher-> Object
FlexSprite is a subclass of the Player’s Sprite class and the superclass of UIComponent. It overrides the toString() method to return a string indicating the location of the object within the hierarchy of DisplayObjects in the application. This string, such as “MyApp0.HBox5.Button17″, is built by the displayObjectToString() method of the mx.utils.NameUtils class from the name property of the object and its ancestors.
Inheritance :FlexSprite -> Sprite -> DisplayObjectContainer -> InteractiveObject -> DisplayObject -> EventDispatcher -> Object
Posted in Drawing APIs, Flex | Leave a Comment »
Posted by easow83 on March 6, 2008
I was trying to install flash tracer in my windows vista..i was not able to make it up…after going and expirementing ,finally i got it installed….
Follow the steps below.
1.You need the flash player debug version to run this
download flash degug version from here
2.You use the settings in the mm.cfg text file to configure the debugger version of Flash Player.. If this file does not exist, you can create it when you first configure the debugger version of Flash Player.
| C:\Users\username |
inside the mm.cfg …paste this
TraceOutPutFileName=C:\Users\{write your user name}\AppData\Roaming\Macromedia\Flash Player\Logs\flashlog.txt
ErrorReportingEnable=1
TraceOutputFileEnable=1
MaxWarnings=100
3.. The filename is flashlog.txt, and its location is hard-coded,
C:\Users\username\AppData\Roaming\Macromedia\Flash Player\Logs
inside Logs create a text file flashlog.txt.
4.restart your firefox
Posted in Flash Player, Flex 2.0.1 | Tagged: Flex 2 | 1 Comment »
Posted by easow83 on March 6, 2008
Flex’s underlying Flash Player has various ScaleModes that dictate how the screen should respond when the Flash ‘window’ is resized. By default, Flex apps use the NO_SCALE, which means that the screen area gets larger or smaller and can clip off the right and bottom of the screen. Flex will put up scrollbars in that case. It is the most common way applications respond to changes in screen size.
read the full article by Alex Harui
Here we can scale the entire application
Posted in Flex, Flex 2.0.1 | Tagged: Flex 2 | Leave a Comment »
Posted by easow83 on March 2, 2008
I was trying with Photviewer app that i mentioned in below post app..but i got “Unable to resolve a class for ResourceBundle: strings” error..i solved it
After downloading the PhotoViewer sample application source code (www.adobe.com/devnet/flex/samples/photo_explorer/), you may receive compilation errors such as “Unable to resolve a class for ResourceBundle: strings”.
Additional compiler arguments are required:—–
In your Flex Builder, go to Project > Properties. Under Flex Compiler
Settings, put this string in Additional Compiler Arguments:
paste the below line
-use-network=false -library-path+=locale/{locale} -source-path+=locale/{locale} -locale=en_US
The sample application will successfully compile after adding the additional compiler arguments.
Posted in Flex, Flex 2.0.1 | Tagged: Flex 2 | 2 Comments »
Posted by easow83 on March 2, 2008
The Photo Viewer application is a straightforward photo-viewing application. The first screen shows thumbnails of each photo in the gallery. When you click those thumbnails, the selected image shows in the main part of the screen. The next screen is a different list view, which uses a component that simulates a carousel. If you press the Next and Previous buttons, the carousel rotates so that the selected image is centered. The final view is a slide show. The image shows full-screen, but if you hold the mouse over it, control bars appear that show the details. You can also pause the slide show, move to another image, or change back to other views.
see this link for the app http://www.adobe.com/devnet/flex/samples/photo_explorer/
Posted in Flex, Flex 2.0.1 | Tagged: Flex 2 | 1 Comment »