Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 02-28-2001, 10:00 AM   #1
kondrat1
Registered User
 
Join Date: Feb 2001
Location: Estonia, Tallinn
Posts: 8
Send a message via ICQ to kondrat1
Exclamation

Hi! I`ll to happy, if anybody tell me, what I must to do to
choose the 1 backround of two,I have, in my MC(if the 1 Off then 2 On, or if the 2 Off then 1 On). Hope you understand me...
Thanks ahead, and sorry for my bad english. :=)
kondrat1 is offline   Reply With Quote
Old 02-28-2001, 10:38 AM   #2
Jesse
ActionScript.org Founder
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: New York
Posts: 8,736
Default

You mean you have 2 MCs with background sounds in them and you want to play one or the other based on what the user chooses?

Cheers

Jesse
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 02-28-2001, 11:14 AM   #3
kondrat1
Registered User
 
Join Date: Feb 2001
Location: Estonia, Tallinn
Posts: 8
Send a message via ICQ to kondrat1
Default

Yes,u r right.I wanna create 2 small buttons( to choose a background: 1 button-1 background ...)How I can do this?
kondrat1 is offline   Reply With Quote
Old 02-28-2001, 11:40 AM   #4
Jesse
ActionScript.org Founder
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: New York
Posts: 8,736
Default

If you create a movie clip with 2 frames, and put one background on the first frame and one on the second frame, then put a stop() action in both frames, you could make your button say:

_root.bgAnim.gotoAndStop(1);

or

_root.bgAnim.gotoAndStop(2);

Depending on which the user selects...

Cheers

Jesse
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 02-28-2001, 12:24 PM   #5
kondrat1
Registered User
 
Join Date: Feb 2001
Location: Estonia, Tallinn
Posts: 8
Send a message via ICQ to kondrat1
Default

Ok, I see. But if my MC contain off 20 frames with meny stops in it ? where I must to put the second bacground(and how long it must be?)Hope u understand me, and thanks ahead.
kondrat1 is offline   Reply With Quote
Old 03-01-2001, 04:12 AM   #6
Jesse
ActionScript.org Founder
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: New York
Posts: 8,736
Default

No I meant a sub MC with many backgrounds... here I'll make an example...

http://www.actionscripts.org/help/kondrat1/

Cheers

Jesse
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 03-01-2001, 08:29 AM   #7
kondrat1
Registered User
 
Join Date: Feb 2001
Location: Estonia, Tallinn
Posts: 8
Send a message via ICQ to kondrat1
Default

Thanks, I did it, it`s work.:=)
kondrat1 is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with loading unloading clips and dynamic text sah302 ActionScript 1.0 (and below) 1 01-06-2006 05:19 PM
fade in, fade out movieClip button problem... tykomusic ActionScript 2.0 2 06-03-2005 04:17 PM
Flash Number type and c# float and decimal types. Convertion problem within Flash. maglez ActionScript 2.0 2 06-02-2005 05:14 PM
global TextField Problem! Guru wonted mediaholic ActionScript 1.0 (and below) 3 07-20-2003 10:07 AM
No loader problem but a loading problem agenba Simple Stuff (Newbies) 1 02-11-2002 06:29 AM


All times are GMT. The time now is 04:23 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.