那是因为你的声音加载是在图片加载之前,如果你把这两个的代码换一个位置,那就先出现图片、后出现声音了。如果想同时出现声音和图片,可以设置2个标志,并且先将图片隐藏: dim soundStatus,pictureStatus as boolean if 声音加载 then soundStatus=true end if if 图片加载 then pictureStatus=true end if if soundStatus and pictureStatus then 图片.visible=true 声音.播放=true end if
dim soundStatus,pictureStatus as boolean
if 声音加载 then
soundStatus=true
end if
if 图片加载 then
pictureStatus=true
end if
if soundStatus and pictureStatus then
图片.visible=true
声音.播放=true
end if