Mathew Easow Jacob’s Blog–India

a enthusiast…developer…on technology,RIA,flex,web,startup….

Archive for March, 2008

Adobe MAX 2008/2009 Cities Announced, again not in India??

Posted by easow83 on March 23, 2008

see the discussion here

Posted in GeneralDiscussion | 1 Comment »

call to .net dll from flex

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 »

Difference between Flexsprite and Sprite

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 »

Integrate Live Chat Into Your RIA

Posted by easow83 on March 10, 2008

see more details here

Posted in RIA | Tagged: | Leave a Comment »

crossdomain.xml

Posted by easow83 on March 10, 2008

Adobe Flash Player can be used to create applications that load data from public services and APIs. Flash can load data across domains on a permission basis (permission from the server). This is done by the server having a small crossdomain.xml file that specifies whether Flash can connect to services on that server.

Read more about it here

Posted in Flash Security, Security | Tagged: , | Leave a Comment »

how to edit TextField

Posted by easow83 on March 9, 2008

I was in a bit confuse that how can we edit a textfield…i can display Html text in Text Field,but how to edit  it in runtime…and i got it..below is a sample..

package {
 
 import flash.display.MovieClip;
 import flash.text.TextField;
 import flash.text.TextFieldAutoSize;
 import flash.text.TextFormat;
 import flash.text.TextFieldType;
 

 public class Text extends MovieClip
 {
  public function Text()
  {
   var textField:TextField = new TextField();
   addChild(textField);
   textField.border = true;
   textField.width = 500;
   textField.type = TextFieldType.INPUT;//use TextFieldType.INPUT property to edit it in runtime
  }
 }
}

Posted in Actionscript3 | Tagged: | Leave a Comment »

Flah tracer in windows vista

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: | 1 Comment »

How to scale flex application

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: | Leave a Comment »

Unable to resolve a class for ResourceBundle: strings

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”.

Reason

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: | 2 Comments »

Photo Viewer application

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: | 1 Comment »