Het lukt me dus niet om een goede preloader te maken.
Een normale preloader werkt goed, maar niet in mijn geval.
Na veel op dit forum en andere naar een oplossing gezocht te hebben ben ik er nog steeds niet uit.
Probleem:
Ik heb 11 frames en ik gebruik de standaard preload code (getBytesLoaded o.a.).
Maar ruim 70% wordt geladen voor en in de eerste frame.
Dus de film is een tijd blank en na een tijdje begint het met 70% geladen.
Ik werk met attachMovie en uiteindelijk kwam ik achter dit:
When a movie plays, Flash loads all movie clips and sounds that are added with attachMovie or attachSound before the first frame of the movie. This can create a delay before the first frame plays. When you assign a linkage identifier to an element, you can also specify whether this content should be added before the first frame. If it isn't added in the first frame, you must include an instance of it in some other frame of the movie; if you don't, the element will not be exported to the SWF file.
Nou heb ik alle "export in first frame" uitgevinkt en dat scheelt wel, maar nog niet genoeg. Het preloaden begint nu bij 50%.
Is er een manier om alles goed te preloaden?
En eigenlijk met alle "export in first frame" aangevinkt
Ik hoop dat het verhaal een beetje duidelijk is...
Een normale preloader werkt goed, maar niet in mijn geval.
Na veel op dit forum en andere naar een oplossing gezocht te hebben ben ik er nog steeds niet uit.
Probleem:
Ik heb 11 frames en ik gebruik de standaard preload code (getBytesLoaded o.a.).
Maar ruim 70% wordt geladen voor en in de eerste frame.
Dus de film is een tijd blank en na een tijdje begint het met 70% geladen.
Ik werk met attachMovie en uiteindelijk kwam ik achter dit:
When a movie plays, Flash loads all movie clips and sounds that are added with attachMovie or attachSound before the first frame of the movie. This can create a delay before the first frame plays. When you assign a linkage identifier to an element, you can also specify whether this content should be added before the first frame. If it isn't added in the first frame, you must include an instance of it in some other frame of the movie; if you don't, the element will not be exported to the SWF file.
Nou heb ik alle "export in first frame" uitgevinkt en dat scheelt wel, maar nog niet genoeg. Het preloaden begint nu bij 50%.
Is er een manier om alles goed te preloaden?
En eigenlijk met alle "export in first frame" aangevinkt
Ik hoop dat het verhaal een beetje duidelijk is...