Wednesday, July 30, 2008

Problem and solution of simple pre loader

Hi,
This can be specified as the continuation of the older post where i like to say where we cant use the simple pre loader

Problem
* when you load a swf inside another movie and the inside movie has this script then this will not work. Since this will check for the root movie clip where that is all ready loaded in the client system.

Solution
* insterd of using the _root replace it with the key word this where this will be referring the present/current swf so that the problem will be solved.

This solves a major problem since we no need to care of which swf is getting loaded to which one.
But still some more question rises yes let me tell what is the next step of pre loader in the Advanced pre loader.

No comments: