May 15, 2008
The default time for executing .as[ Script ] file is 15 sec’s and if the the file takes more that 15 sec’s it throws an Runtime Exception Error #:1502, and the below image shows the error message.
Here if we wanted our Script to execute more than the default time then we need to specify the time limit at the Application [Tag].
The property to use is :
scriptTimeLimit
It takes the value for sec’s specification. And the max value it can have is 60 sec. It means that the Script can be executed for only 60 sec’s.
Code Example:
<mx:Application xmlns:mx=”http://www.adobe.com/2006/mxml” layout=”absolute” creationComplete=”init()” scriptTimeLimit=”40“>
</mx:Application>
The below image shows the Error Message:

Enjoy The code..!
No Comments » |
Flex related, error handling | Tagged: script timeout |
Permalink
Posted by kumargandhi
May 3, 2008
The default time for script acces is 15 sec’s and if you intend to have more access to the script then we got to use the property scriptLimittime at the Application tag.
The max value is 60 sec’s.
I will come back with Error Message and code Example.
No Comments » |
Flex related, error handling | Tagged: application., script limit time |
Permalink
Posted by kumargandhi
April 9, 2008
Each time we run the Flex App’s the browser looks for the flash plugin in the Browser’s plugin folder.So the plugin file that is required is npswf32.dll.
This is by default included in the plugin folder of the browsers installation folder, when you install the flash player, but there is a situation where this file missed out sometimes when we go for Browser ’s new installs .
so at that time the file[plugin] we required [present at the folder "C:\WINNT\system32\Macromed\Flash"] is missing and need to be put it in the plugin folder of the browser install folder.
Now take the required file[copy it from the path given above] and paste it in the folder plugin folder of the browser install folder.
Now it works file.Enjoy Flexing.
No Comments » |
Flex related, error handling | Tagged: dll file, plugin for swf |
Permalink
Posted by kumargandhi
March 28, 2008
The Errors in the Flex Page,[mxml] are Tracable, this means that the errors occurring in the flex page can be found easily, the error message in the Flash Error Window contains the Line number with it, so the error at particular line can be traced out and with this the error’s are easily solvable.
This is know to many flex developers around the Globe but why writing this Post, the reason is that the people i am working with doesn’t know this thing and they are wasting their time with imaginary errors, the errors [runtime] are not coming from outer space or they are not UFOs around the monito, they are caused by misunderstanding of the definitions in the Language , everyone does it but correcting them and preventing them happening again is IMP.
The below Image contains the line numbers of the Flex page errors marked with RED.

Enjoy Flexing .
No Comments » |
Flex related, error handling | Tagged: error window, flash player, flex, runtime. |
Permalink
Posted by kumargandhi
February 7, 2008
As i mentioned in the previous post we have to change the SDK’s and to do this download it from Adobe labs and paste it in the Adobe->Flex Builder->sdks-> folder the default name of the folder is enough to include, no need to change the folder names.
Now open your flex builder and open any project ,right click on the project select properties then you would get a screen like the below.

Select flex compiler and at the right hand you would fine “configure flex sdks“[marked in red] select it to include sdks.
Then the screen would be like the below.

Here click the add button[red marked] to add the sdks ..

Click browse button [red mark] to include those sdks which were pasted in flex builder -> sdks folder and they are include and after that check it and include those and they are included and error is expired.
Final screen to check the sdks..

click apply[bottom red marke] button after checking up [red markd] including those new sdka.
Thats all the the problem is solved “The Error is finally expired” . And no need to install again Flex Builder.
Leave any comments for queries.
2 Comments |
error handling, others | Tagged: beta expired, error, flex, flex builder., flex compiler, problem solved, sdks. |
Permalink
Posted by kumargandhi