greayscale actionscript
- Started
- Last post
- 6 Responses
- jgjh151
Is there a way with actionscript to make an image greyscale? Similar to using this combo of JS and CSS:
function gray(elmnt)
{
elmnt.style.filter="Gray"
}My alternative, I think, is to make a duplicate that is actually greyscale and import it. This would be no good because I need to apply it to many images and wanna keep file size low by using actionscript.
Thanks!
- cinder0
Not possible.
Sorry.
- jgjh1510
Can I use JavaScript to effect the swf as a whole?
Instead of using AS inside the swf.
I tried that previous JS function on the swf in the object tag on an onMouseover, but no luck. Maybe wrap an a tag around the swf object tag?
- autonoma0
No again.
- quik0
just make a semi transparent grey MC and make it appear on mouseover.
closest you can get I guess.
- n80
what if you put the image in a movie clip, and then did a colour tint on the movie clip a grey colour?
- chokethefat0
wait for FlashMX2-the return of the comeback of vengeance2 ;P
probably they gonna implement such function in the next flash..well i hope so..