ActionScript 3.0 :: Error #1502: A Script Has Executed For Longer Than The Default Timeout Period Of 15 Seconds

Sep 15, 2011

I have implemented a basic login screen and its working ok except that it's giving me this error and is taking long to execute:
 
Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds.    at login_screen/Checklogininfo()[login_screen::frame1:34]
 
Script is the following:
 
login_error_lbl.visible = false;login_ok_btn.addEventListener (MouseEvent.CLICK,Checklogininfo);
function Checklogininfo (event:MouseEvent):void{    while ((User_name_txtbox.text != "xx") || (Password_txtbox.text != "y")){      login_error_lbl.visible = true;         /////////////////////////////////////////this part of the "while" is taking very long to execute        User_name_txtbox.text = "";        Password_txtbox.text = "";
}    this.visible = false;}

View 8 Replies


Similar Posts:


Professional :: Error 1502: A Script Has Executed For Longer Than The Default Timeout Period Of X Seconds?

Nov 28, 2010

I have a swf that i cant change (i dont own the code and its copyrighted). In some cases, Im getting error 1502, after 30 seconds executing the file.Is there a way to change or disable the default timeout period? Remember that i can´t edit the .fla

View 3 Replies

Flash :: Error: Error #1502: A Script Has Executed For Longer Than The Default Timeout Period Of 15 Seconds?

Feb 3, 2010

I got this error and I am not sure what it's about. The last thing I remember doing is adding a clearInterval() method to clear some setTimeOut() intervals varibles. besides that I am not sure what it could be. Not asking for a solution. But if anyone know's any possibilities of what it could trigger that error, maybe that

View 2 Replies

Actionscript 3 :: Writing A 16bit Bytearray - Error #1502: A Script Has Executed For Longer Than The Default Timeout Period Of 15 Seconds?

Jun 16, 2011

I'm trying to write the following 16bit WAV header data into a 16bit bytearray..? Using actionscript 3.

52 49 46 46 54 00 13 00 57 41 56 45 62 65 78 74 5A 02

What i'm doing is trying to pass the correct bytearray to this mp3 encoder (http://code.google.com/p/flash-kikko/) to get it to write out an mp3. If i use their example, i can open a 16bit WAV file via filereference and pass in that bytearray to the encoder to export an mp3... but i wanna create my own bytearray and pass it in and create the mp3. Using HxD, i copied the header and footer of that same 16bit WAV file and pasted it into flash as a bytearray but when i pass it into the encoder, it freezes the compile.. and i get the error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds.

View 2 Replies

ActionScript 3.0 :: Flash HitTestPoint - Error #1502: "A Script Has Executed For Longer Than The Default Timeout Period Of 15seconds.at Bullet / EFrame()"

Jan 30, 2011

I'm trying to set up a collision so that when a bullet hits a wall it is destroyed. Here is the snippet of code I am using: PHP Code:

[Code]...

This method works great for when detecting a collision between other moving instances and the walls, but for some reason with the bullets I get this error message when they almost touch the wall and Flash freezes and I usually have to restart it: PHP Code:

[Code]...

View 2 Replies

ActionScript 3.0 :: A Script Has Executed For Longer Than The Default Timeout Period

Dec 1, 2009

I am using nested for loops to generate some out put but I keep getting this error. I am generating a calender similar to the one here [URL] In this they have generated all the month and days in the beginning so that you can scroll smoothly. But when I tyr to do that I get script time out error.

View 3 Replies

ActionScript 3.0 :: Script Executed For Longer Than Default Timeout Period?

Jun 5, 2008

I have a php file that output an xml for flash. I am getting all the data from the database but if I have a larger text I get this error message, after a long time.( but with that I still get the text, after the error message has sown in the output panel:

Error: Error #1502: A script has executed for longer than the
default timeout period of 15 seconds.
at close_btn()
at mini_blog_fla::MainTimeline/showPost()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at fl.controls::SelectableList/handleCellRendererClick()

View 13 Replies

ActionScript 3.0 :: A Script Has Executed For Longer Than The Default Timeout Period?

Dec 1, 2009

I am using nested for loops to generate some out put but I keep getting this error.I am generating a calender similar to the one hereIn this they have generated all the month and days in the beginning so that you can scroll smoothly.But when I tyr to do that I get script time out error.

View 2 Replies

ActionScript 3.0 :: Disable "Error #1502" When Script Is Longer 15 Seconds?

Apr 11, 2011

Is it possible to disable "Error #1502" when my script is longer 15 seconds?

View 3 Replies

ActionScript 3.0 :: Exceeding Default Timeout Period

Sep 6, 2010

I have written a complictaed bit of code that has exceeded the default timeout period.Can I change this default?Is there a good way of identifying which part of the code is taking all of the time, so that I can focus my improvement efforts?

View 3 Replies

ActionScript 2.0 :: Exe Timeout And Quit After Designated Period Of Time?

Mar 22, 2010

i trying to find a way to have an exe time out and quit after say...ten minutes.

View 3 Replies

ActionScript 3.0 :: Script Is Not Executed - Standard-TimeOut?

Nov 27, 2009

I have a problem with a script, that is debugged without mistakes, but is not executed anyway. The Script consists of the movie with a keyframethat creates a new Instance for an Object that again creates a series of new Instances for another Object (array) that controls an associated Movieclip.The Error: A Script was executed longer than the Standard-Time-Out of 15 Seconds.

View 11 Replies

ActionScript 2.0 :: Timeout Function - Pause For 8 Seconds?

Mar 25, 2010

I have a movieClip that is basically a slide show.It is controlled by AS that is on its own timeline. It moves forward on its timeline, then a few frames later, I have it pause for 8 seconds with:

Actionscript Code:
stop();setTimeout (function() {play();}, 8000);

It then resumes playing and,a few more frames later,I have it jump to a different random slide. This all works fine. There are other frames on the MAIN timeline that do not contain this moveiClip. The problem is, if I go to one of those other frames in the main timeline, the above movieClip function is somehow still active, and after the 8 seconds it sends the play command. In this case, it causes the MAIN timeline to start playing.

View 4 Replies

Flash :: Php - Avoid Upload 30 Seconds Timeout When Doing Imagemagic Convert?

Jan 21, 2012

I have a web app that uses a flash uploader (swfuploader) and recently a user pointed us to a bug that happens when the script hangs more than 30 seconds. I know flash documentation mentions that after 30 seconds of no response it will timeout, so i know i need to send some data to the browser before my convert function ends. As of now the script uploads the file, convert it, and if it is a multipage pdf it will save the reference children pngs to db, this works fine on big and small files, problem happens that after 30 pages it will hang for more than 30 seconds.

View 2 Replies

Flex :: Script Timeouts (Error 1502) And WebService Component

Sep 7, 2010

I am getting a script timeout (error #1502) when I am calling a SharePoint Web Service (CopyIntoItems) when trying to upload large files (greater than 40 MB). The error does not occur when using the Web Service for smaller files. The large files can be uploaded directly to SharePoint using the web interface therefore it is not a back-end SharePoint issue. I believe the issue has to do with the logic in the WebService Flex component, however I am not sure how to optimize it and I cannot break down the file into smaller chunks as it needs to be together in order to upload with the SharePoint field information.

View 1 Replies

Flex :: Error #1502 Thrown When Using Dynamic Border Metrics In GraphicRectangularBorderSkin

Apr 14, 2010

I have a skin that's base clas is GraphicRectangularBorderSkin (from degrafa). I'm using it as a panel skin. I'm using Degrafa 3.2, Flex 3.2. It throws a #1502 error (thrown when a script runs too long) every time. If I remove the line changing the em variable, the error goes away.The class is basically (although I paraphrased for the sake of clarity):[code]

View 1 Replies

ActionScript 3.0 :: Changed Default Linkage To Merged Into Code - Firefox No Longer Works?

Sep 17, 2010

Changed AS3 defualt linkage to merged into code, and now my flash file will not load into firefox. It works fine in Chrome, but IE8 and firefox site at frame 1 of my movie, and no code is executed. Works perfectly in chrome. What do I do?the reason i changed to merged into code is because i made an imbeded preloader, and using preloader method as custom preloader loop and setting default linkage to Runtime Shared Library (RSL) borks the file.

View 13 Replies

Media Server :: Stream Is No Longer Play From Time To Time (5-8 Seconds)?

Aug 24, 2009

I'm testing Live streaming with FMSS. The stream is pushed to FMSS buy Adobe FMLE software. Streaming works fine until I reach 1300-1400 simultaneous connections.No matter what the encoding ratebit is (150kbps or 2000kbps) the stream is no longer play from time to time (5-8 seconds).

The CPU (2xIntel Quad) is loaded less than 20% and memory used is about 2 GB (there is plenty of memory installed 32G). The OS is RedHat 5.3 64bit platform. Network uplink maximum rate is 4Gbps.I disabled the Queue but the problem still persist.

View 1 Replies

ActionScript 3.0 :: Execution Timeout Error / Not And Infinite Loop

Jan 21, 2010

I have been getting the following error occasionally when running my flash file.Error #1502: A script has executed for longer than the default timeout period of 15 seconds.at Sr_fla::CenterTemperature_10/frame2()After the error occurs I can dismiss it and the error will not reoccur unless the flash file is closed and reopened - even though I am running the same code over and over.I have traced out all of my loops and feel confident there is not and infinite loop.I read a note on the forums that mentioned this error can occur when a large calculation takes place.I am doing some semi-complex calculations. Maybe that is the cause. Below I have posted some snippets of code from my work. Essentially I have a script which tests a variable (CenterTemperature) to make sure it is within certain bounds.Then a looping movieclip reads the variable and scales another movieclip accordingly.[code]

View 2 Replies

ActionScript 3.0 :: Timeout Error When Loading Large XML File?

Aug 7, 2010

I need to load a dictionary into a game I'm making. It resides in a very large (on the order of 2.81 MB) XML file. While trying to load it, I get an error stating that the script has run for more than 15 seconds. Is there any way I can change the default timeout to allow the file to load?

View 5 Replies

Flex :: HTTPService Going For Timeout Error As Web Service Take More Time To Get Response

Sep 29, 2009

Flex HTTPService giving timeout error as web service take more time to response. Due to large voueme Is there any work around to handle overcome the error

View 2 Replies

Flex :: SWF No Longer Work - Error 2048 / 2046 Or 2032

May 23, 2010

I'm pretty new to Flex. Basically, anything I try to build with mxmlc fails to run now, giving me the above three errors depending on what I do. It was working 30 minutes ago, I've been spending that time trying to figure out what has changed. I redownloaded the Flex SDK, cleared my assetcache, have cleared Firefox's cache. (I'm using Linux.) Even if I compile with -static-link-runtime-shared-libraries=false, since it seems like #2048 is a RSL problem, it still refuses to run.

Another strange thing, if I keep
<policy-file-url>[URL]>
<rsl-url>textLayout_1.0.0.595.swz</rsl-url>

In my flex-config file, then firebug tells me that my swf file is trying to access a copy of that in the app's folder, giving error 2032. And if I stick the one I have in frameworks/rsls/ then it gives me error 2046. I don't know how it could not be properly signed, unless Adobe magically changed a signature and didn't update their flex SDK.

View 4 Replies

ActionScript 3.0 :: Display List Referencing - Code No Longer Works And Get An Error?

Jul 16, 2009

I have a container movieclip called cont_mc then inside that I have a series of pins which are called pin1_mc then inside the pins I have a final movie clip the size of the pin head to act as the hit state.You can see what I talking about here: http:[url]... Before I had the pins in the container movie clip I was able to bump them to the top of the display list using this code in the on over function.this.setChildIndex(event.target.parent,this. numChildren-1); Now I have wrapped them in the container mc this code no longer works and I get an error, must be a child of the caller?How can I change this?

View 5 Replies

Media Server :: 'Connection Error' Sample RTMP Video Used To Work, Now No Longer Works?

Sep 12, 2010

I had FMS 3.5 developer package installed on my server installed about a month ago. I used to be able to go to the /webroot/ page to see the sample RTMP video play and it worked great. Today, I go to view that page and find that it no longer plays. I get "Connection Error. Please preee Play to try again."

Pressing the play button does nothing, so I click the RTMP thumbnail and it reloads ony to give me that same error again. I can click the HTTP thumbnail and see the video play just fine. But, I want RTMP and after over an hour on the phone with my managed hosting tech, we can't find anything wrong.

Here's the thing: I haven't done anything, I have not changed anything, I have not manipulated the server software whatsoever. It just stopped working and gives me "Connection Error."

[Code]...

View 6 Replies

Flex :: Get A Vague "Socket Timeout." Error On Occasion When I Am Loading My Site?

Jan 7, 2010

I get a vague "Socket timeout." error on occasion when I am loading my site. I make various HTTP requests for PHP data and also am using a Loader() class instance. Can anyone shed some light on where this error might be coming from? I wish there was more of an indication of where the error stemmed from...

Here is my code that I am using.There are multiple problems going on, but the most important is that catch{} catches an error on first load. I have a fade in function that only works if the loader is fully loaded and I know that all of my URL links work, so it can't be that.

public function loadImage(url:String):void
{
this._imageURL = url;[url].......

View 1 Replies

ActionScript 2.0 :: Opening URL - Use Default Error To Make An "error Movieclip" Visible?

Jul 27, 2006

ok now i have a variable "URL" [URL] (or something like that - it works anyway) and a search box replaces the url and places it in the url as appropriate Error opening URL "[URL]" now if someone types "hello" and submit, it looks for "[URL]" but if the image isnt in the folder it will come up as Error opening URL "[URL] in the OUTPUT box now is their any way at all to say in the actionscript (the image searched wasnt in our database please try again) i know its a default message flash comes up with but is their a quick way to use this default error to make an "error movieclip" visible?

View 1 Replies

ActionScript 3.0 :: No Default Constructor Error Despite Call To Super()

Mar 15, 2010

I'm having a problem using superclass constructor with arguments. I've searched all over for the solution and found some really useful advice. Problem is i;ve followed it and it doesn't work... not for me anyway. So i've learned that you need to callthe super constructor in the subclass' constructor to avoid this error. problem is, this code still gets the same error....

[Code]...

View 1 Replies

Flex :: Error #1069: Property Not Found On And There Is No Default Value?

May 17, 2011

am having an issue with a project I am working on in Flash Builder.Following is my stack and code example. Could someone please tell me what I am doing wrong?ReferenceError: Error #1069: Property page4 not found on WOAPPv2 and there is no default value.

at WOAPPv2/dragDropHandler()[/Users/martinw/Documents/Adobe Flash Builder 4/WOAPPv2/src/WOAPPv2.mxml:165]
at flash.events::EventDispatcher/dispatchEventFunction()

[code]........

View 1 Replies

ActionScript 3.0 :: Class Object Reference Error - No Default Value

Feb 4, 2010

I'm building a game which makes use of a few extended classes. I've recently made a few changes in the way the graphics are ordered and am now running into problems, namely:
ReferenceError: Error #1069: Property grab not found on flash.display.Sprite and there is no default value.
at DraggableSprite/grabObject()
ReferenceError: Error #1069: Property drop not found on flash.display.Sprite and there is no default value.
at DraggableSprite/dropObject()

The general structure is as follows ('>' means extends) :
MovieClip > DraggableSprite > PlantPart > Seed or Flower.
DraggableSprite manages dragging/dropping objects with the mouse. It contains the offending lines of code being:

Code:
private function grabObject(evt:MouseEvent) {
trace("grabTarget: "+evt.target.name);
if (this._draggable) {
_origX = evt.target.x;
_origY = evt.target.y;
[Cde] .....

The Seed and Flower classes contain a public 'grab' and 'drop' function which manage some different effects of being picked up and dropped, but the code seems to stop short at the PlantPart class and register a sprite it contains as the 'evt.target'. I added this intermediate sprite to overcome a colission problem with the mouse. The sprite functions as a dragbox, while the Seed and Flower graphics offer visual feedback.

View 1 Replies

ActionScript 3.0 :: Error #1069: Property Score Not Found On Drink And There Is No Default Value

Oct 8, 2009

I keep on running into this problem and it has me puzzled. I keep on getting this message. ReferenceError: Error #1069: Property Score not found on Drink and there is no default value.

[Code]... 

What puzzles me is if I use the first line with ****, I get that error and if I use the second it works fine. I have received on this forum!!!, maybe someday I will be wise enough to contribute back.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved