Groups | Blog | Home
all groups > flash actionscript > march 2005 >

flash actionscript : My content falls out of the "scrollPane" HELP!


VirtualVisions
3/1/2005 11:32:05 PM
My content falls out of the "scrollPane" HELP!
Iv used a MX 2004 Pro scrollPane on the site to hold som long swf's with
several products in them.

But when i load the pages online (not on HD) the contense falls out and you se
the whole long file!?

It only happens the first time you vissit the page, when you go back it looks
like it is supposed to!

Annybodey know why a have this problem??

Iv tried to delay the srcollPane section because i belived it had to do with
something simmilar that the scrollPane holder etc wassent loaded before the swf
with the contense.
Bt i didn't got that to work!

annyone have a suggestion?

look att it at:
www.nolfelt.se/gymleco

choose "Produkter" then "Basutrustning" and then "skivst?nger" or another.

thanx in adv.
//Mac
NSurveyor
3/1/2005 11:42:18 PM
Try refreshing the pane. For example:

loadCheck = new Object();
loadCheck.complete = function(eventObj){
eventObj.target.refreshPane();
}
yourScrollPane.addEventListener('complete',loadCheck);//replace yourScrollPane
with the path to your scroll pane to refresh.
VirtualVisions
3/3/2005 3:30:16 AM
thanx man!
i tried to use it but i dont know where to put it?
and which lines i have to change!?

SatishkumarB
3/3/2005 7:51:27 AM
Have a look into http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=ff7032e7

I had a similar problem and using this code it got fixed,

Regards,
AddThis Social Bookmark Button