Rotating textures works on attachments just fine.
Cut and paste this code into a script but create the script in your inventory rather than in the item. (Right-Click on a folder and click New Script.)
Once it is saved drag the script into the contents of the item.
default {
state_entry() {
llSetTextureAnim(ANIM_ON | SMOOTH | LOOP | ROTATE, ALL_SIDES, 0, 0, 0, TWO_PI, 0.5);
llRemoveInventory(llGetScriptName());
}
}
This animates the texture on all side of the prim, smoothly, in a looping rotation.
The ALL_SIDES can be replaced with a single texture face number.
The three zeros are because this is a rotating animation.
TWO_PI tells it to rotate the entire way around.
0.5 at the end is the rate at which it rotates.
I'm not able to get in-world right now so this is uncompiled,
but all of this info is pulled from
The Wiki on llSetTextureAnim The last line, llRemoveInventory, removes the script from the item to reduce lag.
Once the texture is animated it becomes a permanent feature of the prim so the script is no longer necesary.
If you want to be able to turn the rotation on and off you'll need a permanent script with a touch or listen or timer (or combination thereof) so get in touch with your favorite scripter or IM me, I'll be back once my gaming machine has a new HD

L8r,
UU