Seems dist objects are treated pretty much the same way as simple vector objects. As far as I can see its a vector with attributes. So to get the values out:
x = as.vector(distobject)
See? dist for a formula to extract the distance between a specific pair of objects using their indices.