jimmydwilson
08-03-2005, 07:03 PM
Hello everyone,
I'm having a problem with an external .swf that I have loaded into a scrollpane. I have buttons within this external .swf that affect the main timeline using the _level0 function. Though I make simple actions affect the main timeline (ie gotoAndPlay), any conditional statements that I make don't seem to register on the main timeline. Does anyone have any idea why this is and how you can make conditional statements apply to the main timeline from inside a scrollPane?
Here is the script that I have on one of the buttons:
newsbut1.onRelease = function() {
_level0.gotoAndPlay (307);
_level0.news = true
_level0.contact = false
_level0.who = false
_level0.what = false
_level0.studies = false
_level0.our = false
_level0.COR = false
_level0.newsmain = false
_level0.news1 = true
_level0.news2 = false
_level0.news3 = false
_level0.news4 = false
_level0.news5 = false
_level0.news6 = false
_level0.news7 = false
_level0.news8 = false
_level0.news9 = false
_level0.news10 = false
}
The gotoAndPlay part works, but the rest doesn't (based on testing with the trace function). Any ideas? Thanks in advance, and just so you know, I'm pretty beginner-ish, so complex solutions will definitely go over my head.
I'm having a problem with an external .swf that I have loaded into a scrollpane. I have buttons within this external .swf that affect the main timeline using the _level0 function. Though I make simple actions affect the main timeline (ie gotoAndPlay), any conditional statements that I make don't seem to register on the main timeline. Does anyone have any idea why this is and how you can make conditional statements apply to the main timeline from inside a scrollPane?
Here is the script that I have on one of the buttons:
newsbut1.onRelease = function() {
_level0.gotoAndPlay (307);
_level0.news = true
_level0.contact = false
_level0.who = false
_level0.what = false
_level0.studies = false
_level0.our = false
_level0.COR = false
_level0.newsmain = false
_level0.news1 = true
_level0.news2 = false
_level0.news3 = false
_level0.news4 = false
_level0.news5 = false
_level0.news6 = false
_level0.news7 = false
_level0.news8 = false
_level0.news9 = false
_level0.news10 = false
}
The gotoAndPlay part works, but the rest doesn't (based on testing with the trace function). Any ideas? Thanks in advance, and just so you know, I'm pretty beginner-ish, so complex solutions will definitely go over my head.