# Error #1502: script execution timeout

**URL:** https://forum.kirupa.com/t/error-1502-script-execution-timeout/281480
**Category:** flash
**Created:** [February 9, 2009, 8:38pm UTC](https://forum.kirupa.com/t/error-1502-script-execution-timeout/281480 "2009-02-09T20:38:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Wespen](https://avatars.discourse-cdn.com/v4/letter/w/f05b48/32.png) [@Wespen](https://forum.kirupa.com/u/Wespen)
#### Post date: [February 9, 2009, 8:38pm UTC](https://forum.kirupa.com/t/error-1502-script-execution-timeout/281480/1 "2009-02-09T20:38:02Z")

</div>

Got the error  
Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds.

and thats even after I set it to 100 sec in fla.  
The thing is, the script that timeouts is the separate class/ package thats imported, any way to extend that timeout?  
Its complex AES encryption script that takes a lot of time and now im stuck.  
Dont want to jam it all in one file since its multiple classes/declarations etc.

Any ideas?

Wesp
