---
title: "ladda externa bilder med kpoader component"
type: "forum-thread"
url: "https://www.webforum.nu/amne/flash/123520-ladda-externa-bilder-med-kpoader-component"
topic: "Flash"
topic_url: "https://www.webforum.nu/amne/flash"
author: "starfish prime"
published: "2005-03-01T14:46:09.000Z"
updated: "2007-04-19T18:43:49.000Z"
replies: 3
views: 485
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/flash/123520-ladda-externa-bilder-med-kpoader-component"
---

# ladda externa bilder med kpoader component

## #1 — starfish prime, 2005-03-01T14:46Z

hey
Have have a picture gallery that contain a movieclip with 18 loader components that load the pictures and it works fine, exept when you visit the site for the first time or when you have empty temp internet files the pictures wont scale and they are all over the screen full sized. if you refresh the page they scale perfect.
I guess this is a preloader thing but can you preload ext. images?

Permalänk: https://www.webforum.nu/p/123520

## #2 — oskob, 2005-03-07T10:09Z

Yes it can be done with If. 
I don't remember exactly but something like this:
if (instname.getBytesTotal() = instname.getBytesLoaded()) {

Permalänk: https://www.webforum.nu/p/1566510

## #3 — lampdaniel, 2007-04-19T18:02Z

Laddare, loader.

aa

Permalänk: https://www.webforum.nu/p/1968657

## #4 — Blixtsystems, 2007-04-19T18:43Z

Du kan även kolla in MovieClipLoader så har du ett par användbara events:

onLoadProgress för att kolla hur mycket som laddats ned

onLoadInit där du t.ex. lägga din kod för att skala om clippet och vara säker på att det är redo.

Permalänk: https://www.webforum.nu/p/1968672

---

Tråden på webben: https://www.webforum.nu/amne/flash/123520-ladda-externa-bilder-med-kpoader-component
