Type 1120 Access of undefined property JSON
If you were working with Flex 4/3 or any lesser versions of Flex, you would be using corelib.swc or as3corelib.swc to access JSON property.
You also would have imported something like import com.adobe.serialization.json.JSON;
Well with Flex 4.6 it is not necessary either the swc or import any package is not necessary.
if you are getting this error Type 1120 Access of undefined property JSON
Top 25 Flex interview questions
1. Life cycle of flex appln/component?
* Pre initialize : The Appln has been initiated but has not yet created any child components.
* Initialize :The Appln has created child components but has not yet laid out those components.
* Creation Complete : The Appln has been completely initiated and has laid out all components. Read More
Mobile game Tic tac toe on Flex 4.6 Please find the view, sub views and activity files below.
This is a simple example to experiment Flex mobile games, and to understand Flex 4.6. This example helps in building a simple Mobile game app development Tic Tac Toe. Being a famous game I do not need to get into the depth of its rules and regulations I guess. Its as simple as it looks, just create the following files and hit Run ur good to go. XML file and source code are available on request. Mobile game app development. Read More
This example helps in creating a dynamic form, from a XML using actionscript. Dynamic validation has also been done for Textinput and Dropdownlist in this example. Dynamic form Generation in Flex 4.
To create a form on the run, dynamically from a XML. It also does validation dynamically on the fly. Will be helpful to solve many cases where formitems are usually changed on a regular basis. This solution helps in making minor changes to an external XML file rather than making code changes in Flex and hence resulting in a new Bin-release. Read More
To make the scroller of a Form go either to the top or bottom of the page the following code can be used.
Here is a simple example of a Login form built in MVC architecture using Parsley framework.
This application helps to create a simple Pie Chart using mx:PieChart.
This application helps to create a simple Column Chart using mx:ColumnChart.
This application helps to create a QR chart using Google’s chart API.
In Internet Explorer, the refresh doesn’t happen due to the caching done by IE. To avoid this issue once for all the following settings has to be changed,
1) Go to Tools> internet options.
2) Browsing History > Settings > Check for new versions of stored pages > Select Radio : “Every time i visit the page”then check your application.
The following example demonstrates, displaying elements from an ArrayCollection in a DataGrid using the mx:dataGrid component.
The following example demonstrates, displaying elements from an ArrayCollection in a tree structure using the mx:tree component. It also displays the no of children under the parent item of the tree.