Thanks for the suggestion. To clarify, the setScrollProperties is acting on the scrollPane instance? I tried a variation of this after the swf finished loading, and it didn't change the behavior of the scrollbars unfortunately. Is that method (setScrollProperties) documented somewhere?

Interestingly, If I check the height of the swf scrollPaneInstance.content._height it comes up about a hundred pixels short.

At 3:25 AM -0800 11/13/05, Steven Sacks wrote:
Assuming "this" is the swf/clip you loaded into the scrollpane:

After it is finished loading, have the swf call the following:

this._parent.setScrollProperties(this._width, 1, this._height, 1);

Hope this works for you.

-Steven


 -----Original Message-----
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf
 Of redknot
 Sent: Saturday, November 12, 2005 1:09 PM
 To: [email protected]
 Subject: [Flashcoders] ScrollPane weirdness

 I am trying to display an external .swf inside a ScrollPane component.

 The swf does not fully display, it is cut off  about a hundred pixels
 before the end of the swf.

 Strangely, if I republish the swf that my designer sent me from the
 original .fla file, then the swf displays in the scrollPane with a
 LOT of extra white space at the bottom, so it the scrollbar becomes
 unusable really.  In the swf it's mainly text content on a white
 background.

 I have searched all over for a solution, but I'm not getting any
 closer!  Any ideas how I can definitively get the scrollPane to
 disply the correct length of the external swf?

 Thanks folks,
 Lorraine


 --

 _______________________________________________
 Flashcoders mailing list
 [email protected]
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


--

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to