Skip to main content
February 23, 2007
Answered

Controling browser scrollbars when MC changes height?

  • February 23, 2007
  • 2 replies
  • 352 views
Is there a way to have the browser scrollbars show up when a MovieClip's height increases ?
This topic has been closed for replies.
Correct answer kglad
only if you resize the browser window.

2 replies

kglad
Community Expert
Community Expert
February 23, 2007
that's resizing the browser window.
February 23, 2007
I am sorry kglad but that doesn't explain anything to me?

Is there an example I can review and learn from?

I am a hack and thats how I learn.
kglad
Community Expert
Community Expert
February 23, 2007
if you want to use the swfobject to resize the browser window, download the swfobject.js javascript file and put it in the same directory with your swf's html page and read about how to embed your swf using it.

you can then call the resizeSWF() function (passing the new height parameter causing the browser window to increase in height and displaying scrollbars, if they are needed) by using the externalinterface class:

kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
February 23, 2007
only if you resize the browser window.
February 23, 2007
February 23, 2007
I would like to be able to repurpose this so that instead of a text field it would do the same with just a movie clip?