hi,

Shouldn't it be
Actionscript Code:
myData.onLoad = function(){
            ref["Petname"].htmlText = "<b>"+this["Name"]+"</b>"
            ref["BG"].htmlText = "<b>"+this["BG"]+"</b>"
            ref["Colour"].attachMovie(this["Colour"],"bg",0)
       
    }