AIM Streaming Icon

I am attempting to adapt iChat Streaming Icon to AIM. I can have AppleScript return the newest image from the iChat picture cache, but I get stuck when setting it as my buddy icon in AIM.

tell app "AOL Instant Messanger (SM)"
tell buddy list
tell buddy "screenname"
buddy icon
end tell
end tell

The problem is, I think that changes the buddy icon I choose to use for a paticular buddy, not the buddy icon I select to send to others. Any ideas?