# Best practice for initialization validation

**URL:** <https://forum.kirupa.com/t/best-practice-for-initialization-validation/305309>\
**Category:** flash\
**Created:** [February 23, 2010, 10:54am UTC](https://forum.kirupa.com/t/best-practice-for-initialization-validation/305309 "2010-02-23T10:54:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mugsy](https://avatars.discourse-cdn.com/v4/letter/m/9e8a1a/32.png) [@Mugsy](https://forum.kirupa.com/u/Mugsy)\
**Post date:** [February 23, 2010, 10:54am UTC](https://forum.kirupa.com/t/best-practice-for-initialization-validation/305309/1 "2010-02-23T10:54:47Z")

</div>

I am writting an flash app where the user can  
rearange items on an board.

When the user closes the app, I store the current configuration.

When he reuses the app he expects to see the same  
configuration he left the last time.

No problem saving.  
On startup of the app, my read fails.  
When I click on a Reload button my read works.  
I believe my problem is in the timming.

Can you please suggest ways to guarantee that all  
objects would be avalable.

One last thing, I embed the swf file in a PDF, so there  
may be an interface complexity.
