Changing variables in one VIEW from another (WMP)

Wednesday, July 23, 2003 by Solar Flare | Discussion: Skinning

This has been bugging me for long enough, I will at last seek an answer from the pros.

If you have a variable in one [view], and a button or other function in another, can you change the variable in the first [view] from the second?

An example of what I mean: let's say in the main view called "mainview" I have a text called "text". From a button in "mainview" I could call "text.value='this is the new text';". But from a different view, called "secondview", I can't just use that same code.

I assume there is a simple code to get a handle to the first view, but I am not familiar with the syntax. Thanks,
CerebroJD
Reply #1 Wednesday, July 23, 2003 4:32 PM
Maybe you have to use "mainview.text.value='this is the new text'" in your secondview VIEW. But dont take my word for it. I havent even figured out how to make multiple views yet.
Solar Flare
Reply #2 Wednesday, July 23, 2003 4:39 PM
Nah, that seems logical, but it doesn't work. Are we the only ones that use this message board?
CerebroJD
Reply #3 Wednesday, July 23, 2003 8:04 PM
Guess so.....

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01