[RESOLVED] Problem retrieving height of MC inside an MC
Hi,
in FlashMX 2004 i'm trying to make a scrollbar for a couple of thumbnail images. More images can be added later, so i wanted to make it so that the scrollbar is always right.
I made a MC "window" and inside an masked MC "content".
If the user scrolls down, the content mc scrolls up. This should be by the same amount as is scrolled down multiplied by the proportion between the scrollbar and the content MC.
This works fine if i put the height of the content MC in the AS code, but if i try to call the heigth with :
this._parent.window.content._height
i get 0 as result.
I tried to call the heigth of the window MC, and this works.
Anyone an idea ?
thx,
B