Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ifVariablesLoaded???

Status
Not open for further replies.

MrHolst

Technical User
Feb 28, 2005
5
SE
hi!

Im making a guestbook and almost all problems are solved. But! When i load the variables from the php-file into my dynamic textfield the scrollbar which i have connected to the textfield wont work. The only way to be able to scroll is to wait until the variables are loaded and then go somewhere else in the movie and then go back.

That must mean that the variables must be loaded into the movie before the scrollbar knows how long its gonna be. So i need to in some way reload the scrollbar after the variables are loaded. And then i need some function like

ifVariablesLoaded (_root.mc1.mc2.textfield) {
gotoAndPlay(3);
}
That would reload the scrollbar....


I know this must sound very confusing.
The website is so visit it and check the problem urself...
And sorry for my nooooby design. Hope you can help me

//Holst
 
assuming that you are using mx or above then use loadvars and the onload function will take care of this problem
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top