No of frames?

hello friends this is probably my first post in actionscript 3.0, please help out.

I have a swf in actionscript 3.0, which loaded a swf with actionscript 2.0 into it. i just need to know the total number of frames of that loaded swf. how do i do it.

in actionscript 2.0 i would load it into a movieclip then movieclip._totalframes would tell me what i want… how to do this in actionscript 3.0