softedged shadow with composition

hi,

alright, i have a background scene, and a shadow scene

i add the shadow via composition nodes

all is well

except tht i need it to be soft at the outer edge, and hard at the inner edge
i tried ray buffered shadows, but they are soft all around - not what i want

i tried the following
render the shadow as alpha values onto an invisible plane, take these, run them throuhg a colour ramp, and the resulting image is the alpha values!
so that i can control the smooth ness via a gradiant!

this seems to work in theory but not in praxis…could someone maybe help me?
ill attach a picture shortly of my node setup

hmm

while working to get a screen shot…i solved my problem

now…how can i delet this thread?