I doubt if sub mc's would solve the problem, the cause of the problem comes
when Flash Player monitors how long the playhead stays in the current frame.
Given that you have to attach many clips, the script would take a long time
to finish.

There is a work around -- you may want to split the work into more than one
frame, that is like

function starter()
{
        this.onEnterFrame = Delegate.create(this, this.nextBatch);
}

function nextBatch()
{
        // do something

        if (done)
        {
                this.onEnterFrame = null;
        }
}


Hope this helps!

- Tangent




-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Tim Knip
Sent: Wednesday, February 01, 2006 2:44 PM
To: 'Open Source Flash Mailing List'
Subject: [osflash] [OT] maximum number of mc's in swf?

Hi list,

Sorry for the OT.

Was wondering how many mc's can be placed on stage _without problems_ ?

Placing around ~500 mc's is slow, but doable.
Placing around ~1000... the dreaded script timeout dialog...

Can this be solved by dividing into sub-mc's? Or is it just the absolute
number of mc's in a swf?
Any other ways?

Thanks,
Tim



_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org


_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to