ActionScript Execution TimeLimit !

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:

Error Message For Script TimeOut .!

Enjoy The code..!


Action Script Access time Exceeds 15 sec’s Error.

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.


Error Message when the required dll file [plugin] is missing.

April 10, 2008

Previous post tells about the plugins requirement and i forgot to mention in that post that
the dll file is neccesary only when running the apps from Flex Builder 2 but not in Flex Builder 3.

The Erro Message displayed while running your App’s from Flex Builder 2 when the required .dll [plugin]
is missing is:
Error Message For dll file [plugin]
The above Window defines the Error.
Enjoy Flexing !


.dll file required to run the .swf file in the browser [plugin file]

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.


Error Messages are Tracable From Flash Error Window !

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.

Flash Error Window.

Enjoy Flexing .


“Beta Expired Error” :problem solved [ pictures ]

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.

beta1.jpg

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.

add the sdks

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

beta3.jpg

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

error expired!

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.