Jump to content


AS help!?


  • You cannot reply to this topic
1 reply to this topic

#1 °•Guru•°

    Young Padawan

  • Members
  • Pip
  • 73 posts
  • Gender:Male
  • Location:Australia, Sydney

Posted 02 November 2006 - 10:17 PM

Hey all,

i have a button on frame 20 but i will need to call a radio button which is in the first frame but i can't seem to get it anybody know how to do it...???

here is my code:

on (release) {
	if (_root.agreement_terms.selected == true) {
		_root.agreement_terms.selected = true;
		_root.pop_up._alpha = 0;
		gotoAndStop(previousFrame);
		previousFrame = _currentframe;
	} else if (_root.agreement_terms.selected == false) {
		_root.agreement_terms.selected = false;
		_root.pop_up._alpha = 0;
		gotoAndStop(previousFrame);
		previousFrame = _currentframe;
	}
}


#2 funkysoul

    The Funky Stuff

  • Publishing Betazoids
  • PipPipPipPip
  • 2,307 posts
  • Gender:Male
  • Location:Zurich, Switzerland
  • Interests:Music: HIM, HIM, HIM, Cafe del Mar, Linkin Park, Fort Minor, Coldplay, Eric Jordan<br />Sports: Snowboarding, KiteSurfing, Extreme Sports<br />Computer: Flash, After Effects, Actionscript

Posted 03 November 2006 - 07:58 AM

first line you asking if the radiobutton is selected, and then you set it to true again? is there a special reason why you doing it that way?

Asssure that the path to to your radiobuttons are correct. when using CTRL+SHIFT+ENTER you can debug your application pretty good.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users