Question
Multiple instances of one object ?
Hi,
Does anybody know how to create many instances of loaded object? I need to
add preloaded image from external source (Loader class) to many MCs (using
addChild()). When I call method addChild() do second object, image
dissapears from first object because its name of instance is exactly always
the same. In order to avoid this problem I decided to clone this image each
time I adding it to MC. Unfortunately I don't know how to create another
instance of image without repeating loading it again from the network.
Thanks for the help,
Marek
Does anybody know how to create many instances of loaded object? I need to
add preloaded image from external source (Loader class) to many MCs (using
addChild()). When I call method addChild() do second object, image
dissapears from first object because its name of instance is exactly always
the same. In order to avoid this problem I decided to clone this image each
time I adding it to MC. Unfortunately I don't know how to create another
instance of image without repeating loading it again from the network.
Thanks for the help,
Marek
