a)=========
Imagine 32 pieces which each of them has an image... I am looking for a way
to load them, quickly and efficiently...
I use DynImage.getImage(src) to get the image and then load the dynimage...
oImg = DynImage.getImage(src)
var oDynImg = new DynImage();
oDynImg.setSize(25,25);
oDynImg.moveTo(iLeft, iTop);
oDynImg.setImage(oImg);
DynAPI.document.addChild(oDynImg);
Is it the correct way to do it?
Here I want to read the images from one container image... I don't want to
show it only...
b)===========
If you don't use DynImage what do you use? (for similar tasks)
c)===========
Gif, bmp, jpg, .... or what ever...
Andreas
-----Original Message-----
From: Pascal Bestebroer [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 28, 2001 12:26 PM
To: [EMAIL PROTECTED]
Subject: RE: [Dynapi-Help] Images...
a) use a child layer containing the images in a main layer, clip the main
layer to the size of the image, and move the child layer to the correct
(negative) x,y position to show the other images. (don't have code to show,
but this is the idea behind it)
b) no clue (never used dynimage)
c) not sure what you mean, but I think that resedrawing the image (using
setHTML) and then set the width and height values of the image to the same
width and height of the layer.
cya
Pascal Bestebroer
[EMAIL PROTECTED]
http://www.dynamic-core.net
> -----Oorspronkelijk bericht-----
> Van: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]Namens GORTSILAS ANDREAS
> Verzonden: zondag 28 januari 2001 10:01
> Aan: Dynapi-Help Mailing List (E-mail)
> Onderwerp: [Dynapi-Help] Images...
>
>
> With DynImage we can pre-load images...
>
> a) Can we use an image which contains more than one images in a row.. and
> take the images one by one?
>
> b) If I want to use an image without the background what I must do in
> DynImage object?
>
> c) If I use the SetSize feature, what is the appropriate format for the
> image, in order to look nice when changes size?
>
> Thank you
>
> Andreas Gortsilas
>
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help
>
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help