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

Reply via email to