popserias: Script zum durchblättern eines Bilderalbums mit FLASHBUTTONS ?

Beitrag lesen

Du musst das mal genauer beschreiben, was net hinhaut.

nun ja. Also eigentlich alles...
aber was anderes:

<script language="JavaScript"><!--
which_image_loaded = 0;
NUMBER_OF_IMAGES = 20;

ImageNames = new Object();
ImageNames.length = NUMBER_OF_IMAGES - 1;

for (counter = 0; counter < NUMBER_OF_IMAGES; counter++){
    file_number = counter + 1;
    filename = ("image" + file_number + ".jpg");
    ImageNames[counter] = filename;
}

function changeImage(direction) {
    which_image_loaded += direction;
    if (which_image_loaded < 0)
        which_image_loaded = NUMBER_OF_IMAGES - 1;
    if (which_image_loaded == NUMBER_OF_IMAGES)
        which_image_loaded = 0;
    if (document.images)
        document.myimage.src = ImageNames[which_image_loaded];
}
//--></script>
</head>

<body>
<img src="image1.jpg" name="myimage">
<form>
<input type="button" value="<<" onClick='changeImage(-1);'>
<input type="button" value=">>" onClick='changeImage(1);'>
</form>

könnte ich hier bei der form irgendwie einen flashbutton einbringen?