View Full Version : Scrollpane component problem - content out of border
hardyvoje
08-23-2005, 04:42 PM
Hi guys,
i have very wired problem with ScrollPane Component.
When movie loads content for a first time, content go out of borders and there is no scrollbar. When movie clip with this ScrollPane replays, every thing is fine.
Also with another scrollpane on site.
check this url:
http://www.wayoflifescg.com/trusteng.htm
and click on text: about way of life
or click on actions to see another scrollpan with same problem
If you have some idea please help me out here !
thanks!
hardyvoje
08-23-2005, 09:30 PM
Problem solved,
i found solution and made reply on
http://www.actionscript.org/forums/showthread.php3?p=386628#post386628
Note me if it works for you.
hardyvoje
08-24-2005, 09:19 PM
no it isn't, I got contet over border again...
does anyone has solution for this my monologue?
sleekdigital
08-24-2005, 11:24 PM
Generally what I do is set the contentPath to the linkage id of a (mostly) blank mc in my library. Then I load whatever content I want into scrollPane.content. I use one of the many methods to detect when any external content is loaded, and when that is done, I call scrollPane.invalidate()
hardyvoje
08-26-2005, 12:03 PM
on (complete) {
if (_root.actloaded=false) {this.refreshPane();}
_root.actloaded = true;}
Finally i found solution that seems to work.
If somebode have same problem just put this piece of code in ScrollPane instance.
after content loaded, ScrollPane refreshs and shows content corretly.
hardyvoje
08-26-2005, 12:06 PM
NOTE: if you delete internet files during page opened, you may expirience this error again. just be sure that you refreshed web page :) i had heart attack now :) before noticed this.
sleekdigital
08-26-2005, 12:59 PM
My solution does not have that problem. Making users refresh the page is not a solution at all if you ask me.
hardyvoje
09-23-2005, 02:34 PM
ya, its better solution
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.