Jump to content
iyeru42

Switch Condition Problem

Recommended Posts

See FLA File in this zip.Hitting "Normal Gallery" will go to the mature gallery, which I don't want it to do. Also, changing it to var movVar:Number doesn't work, I just tried. There's only semi-nudity in this by the way, nothing too adult.Download Here

Share this post


Link to post
Share on other sites

Since I'm not going to download something and open it in Flash that may get me fired from work, and since I don't have Flash at home, maybe you should just post the parts of the code you're having an issue with and what you're trying to do.

Share this post


Link to post
Share on other sites
Since I'm not going to download something and open it in Flash that may get me fired from work, and since I don't have Flash at home, maybe you should just post the parts of the code you're having an issue with and what you're trying to do.
First frame of the menu (_root):
stop(); // adding movVar = 1; above this doesn't change anything.

MovieClip Selectors has two buttons, mature button:

// First button (Mature button)on(press) {	 movVar = 0;	 _root.play();}

Normal button:

// Second Button (Normal Button)on(press) {	 movVar = 1;	 _root.play();}

Last frame of the menu (_root):

this.onLoad = function() {	switch(movVar) { // Selectors.movVar also doesn't work.		case 0:		gotoAndPlay("mature", 0);		break;				case 1:		gotoAndPlay("normal", 0);		break;				default:		gotoAndPlay("normal", 0);		break;	}}

Share this post


Link to post
Share on other sites
Since I'm not going to download something and open it in Flash that may get me fired from work
Doesn't even coming to this forum constitute an offense? :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...