Some of the features of Adobe FB
Posted On July 31, 2015 by Geeta Priya filed under Enterprise
Adobe Flash Builder is the Development kit, which provides the potential of using the Adobe Flex framework, MXML, Adobe Flash Player 10, ActionScript 3.0, Adobe LiveCycle Data Services ES, and the Adobe Flex Charting components in single development environment. It just likes imparting the features of these languages into single mean. This they term as Integrated Developer Environment, thus making the developers to create a rich web applications that can be played in the Adobe Flash Player on web i.e. the output application may be in the form of the .SWF file. Since now a day’s almost all most all pc coming to internet is having the Flash Player component installed and it provide the cross platform capability it desired in web application development.
Designing components visually:
Flash builder provide the easier way of creating components by showing as list in component tab just like in VB. You can insert them simple by Drag & Drop method. The properties of component shown in right side on tab named Properties. The properties tab shows some of the general properties of the component. Take button component for example, we can find properties like base color, focus color, font style, alignments etc. For common to all there is a layout position property by adjusting which we can set a component to be located in center or left bottom or right top etc. These are self-adjusting according to the overall width and height of player.
The flash builder help the developer by listing the parameters that can be used while the programming. Even if we do not know the parameters that are available for the particular component, just by typing the name of the component and giving a dot will give list available parameters. When giving the values it shows the format that actually required on calling that function. For example, take in the case of changing the button alpha value. If we type “button.alpha(“ it will show the data type of input accepted. This reduces the errors and spending the time on knowing about the data type of input parameters.
In Flash Builder whenever there is error in our coding, there will be no need to worry about it The Flash builder will point out the particular line even with the solution. In addition, it point out the particular line with the “X” red icon of you roll over the mouse to it, the tool tip showing the error in that line., thus making the error correction easier. Let take an example, now if u written code to change the alpha value of button and you forgot finish the bracket in the long list program codes then flash builder will help you in figuring it out like shown in figure.
We know that SWF extensions known for its high compression and quality output. It is only possible, if CPU does the work of decompression while viewing it in a mean time. Thus, it increase the CPU load and occupies memory. The other factors of excess memory usage come from improper programming methods. All applications were expected to be lightweight at its memory, in case of web it is more essential parameter so that server can handle more number of applications without being exhausted as overload. This Profile Test helps the developers in analyzing the memory and CPU load by the application by analyzing the each component contribution to CPU & Memory load. Therefore, this provides information to developer to look for optimize or reprogram the particular component to run in low memory.
Flash builder supports integration with server type like PHP, ColdFusion, ASP.NET, J2EE and HTML. Specific calling function or classes can access the services of this server. However, you should define in prior while creating particular project if you are going to use the data service with a server. The Flash Builder will automate almost all process that does not require any user intervention. It also allows testing those services without a need to program some code. Also provides the useful information’s like return data type and automated form generation for Database handling.
The Web services (WSDL) are available lot on net. The web services have functions like validating email, weather, movie info etc. For using this type services you need to know the WSDL service address. This web services can be searched at www.seekda.com, which provides a lot web services with their location, availability and user ratings.
In case of PHP Service, you need to specify the root and web link and needed PHP class that do yours required functions. This PHP service makes the database operation on MySQL possible with a feature to adding up, deletion or editing of any record.
Event Code Generation:
Event handler creation is easier to create in Flash Builder. Creating a event handler does not require any complex syntax. For creating a one just right click on the particular component and select “Generate Click Handler” then it will bring you in the source mode at which cursor will be at insider the click handler job. Even the service call can also be generated by the similar right click method. What you have to do is just right click and select “Generate Service Call”, and then it will show a list of service names and functions available. For a simple button, it has the event handlers of 70. Some of them are activate addedToStage, buttonDown, clear, click, copy, creationComplete, currentStateChange, currentStateChanging, cut, deactivate etc…
The Network Monitor is a tool for examine and debugging applications that use the data services component. Network Monitor helps to examine the SOAP, AMF, Remote Object, XML, and HTTP traffic between the application and the data service. The Network Monitor cannot be used for the mx:DataService or mx:MessageService classes. The Network Monitor is only active while in the Debugging. Monitoring of encrypted and compressed data is not possible with Network Monitor. It cannot monitor encrypted data sent over https. Data sent compressed in ZIP or gzip formats also cannot monitored.
It provides the information such as Ruquest Time, Response Time, Elapsed Time and Duration. This information can also be viewed in a Tree View. Thus helps in analyzing the time parameter for the data service.
Refactor code is a useful tool to change the identifier name in the entire occurrence in a single form click. Without this feature, take a example if you completed creating a application by using various modules and classes. Now if want to change an identifier you need to search for the particular term using the Find/Replace and change the each occurrence with care. But while using the Refactor Code, no need to worry about just give Values and check preview and Click OK. Refactor used not only to make changes to your code by renaming the identifiers but also with updating all references to them. This can be used for Variables, Functions, Types (interface, class), Accessors (getter/setter), Attributes, Metadata in MXML (effects, events, styles). For using Refactor Code, Goto Source Mode. Just right click on an identifier and select Refactor.
Then by pressing the preview button, you can see the comparison window. It will show the comparison between the Original source and Refactored Source. After seeing preview you can click Ok to do the changes you preferred.
Local history feature traps all the changes when you create or modify file. Every time when we edit and save a file, a complete duplicate of code is stored in the local history. Whenever there is a need a clarification of what is previous version (before doing changes) of code, the local history allows us to compare the current code with previous version. In addition, it provides the ability to replace with a previous version. Each version is stored with name of date and time.
For accessing this, come to source mode. Right click on code navigate to Team > Show local history. Then it will show the available versions of code in the bottom under the history tab.
This tab found at the bottom of the screen showing the class definition. The classes may be ActionScript class or MXML files. For viewing the reference of the particular class that in your code you need to do this just to select that word or line. Within a moment the ASDoc will the reference, and show details in square box with F2 as function key to auto focus it and It appear on bottom of the screen. The data for the ASDoc can also be defined for our own class while coding it, by using the ‘@’ symbol in the comment for the heading of parameter.