Re: [Flashcoders] Finding the height and width of the VISIBLE area of a masked SWF

2007-04-19 Thread Robert Brisita
With your second explanation, the problem you are having is clearer. About a year ago, I developed an application where I had a container that loaded SWFs from other developers. I contacted all the developers with the dimensions and the FPS the SWF container is being built on and sent them

[Flashcoders] Finding the height and width of the VISIBLE area of a masked SWF

2007-04-18 Thread matt stuehler
All, It looks like this has been asked before, but I couldn't find an answer. I'm creating a Flash app that loads several SWFs. Those SWFs contain use masks. I'd like to be able to find the VISIBLE height and width of those SWFs; however _width and _height return the size of ALL the masked

Re: [Flashcoders] Finding the height and width of the VISIBLE area of a masked SWF

2007-04-18 Thread Claus Wahlers
I'd like to be able to find the VISIBLE height and width of those SWFs; however _width and _height return the size of ALL the masked content. Can't you just check the width/height of the mask? Cheers, Claus. -- claus wahlers cĂ´deazur brasil http://codeazur.com.br/

Re: [Flashcoders] Finding the height and width of the VISIBLE area of a masked SWF

2007-04-18 Thread matt stuehler
Claus, That's a great suggestion - the best answers are often the overlooked, obvious ones. But I don't think so - in the original SWFs, the masks aren't movieclips - they're just fills. So, I don't know how you'd check their width or height. The key thing about the application is that I won't