# Preloading problem

**URL:** <https://forum.kirupa.com/t/preloading-problem/284724>\
**Category:** Uncategorized\
**Created:** [March 23, 2009, 12:09am UTC](https://forum.kirupa.com/t/preloading-problem/284724 "2009-03-23T00:09:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![energy](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@energy](https://forum.kirupa.com/u/energy)\
**Post date:** [March 23, 2009, 12:09am UTC](https://forum.kirupa.com/t/preloading-problem/284724/1 "2009-03-23T00:09:16Z")

</div>

Hi Guys,

I’m not sure if it is just me who faces this problem. Does flash display everything for a moment for you even before looking at the action scripting OR mask property on Frame 1.

For example - Lets say we have a graphic on layer 1 and a mask for it on layer 2. Mask covers just 50% of the graphic. So logically when we acess this .swf through any browser then only 50% part of the graphic should be visible from the beginning itself. But actually what happens is that first everhting on the graphic shows up for a minute fraction of a second and then suddenly Flash realizes that it has a mask so then it suddenly hides 50% part of it.

This happens both with AS2 and AS3. Is there any setting which checks the code on frame 1 or even the mask property first before displaying things?

Thanks.
