Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

RE: FN-FORUM flash 5 question

date posted 11th September 2002 15:49

put "_root.button=2" to set the button variable at the root level.

-----Original Message-----
From: [EMAIL REMOVED]
[EMAIL REMOVED] Behalf Of Luke Cooper
Sent: 11 September 2002 15:04
To: [EMAIL REMOVED]
Subject: FN-FORUM flash 5 question


Could any body help ,this is driving me crazy.

I want to control one MC using buttons in another MC both placed on the
main movie timeline.

The MC I want to control is a series of text blocks which go from 0%
alpha to 100% and back to 0% each one running one after the other on the
MC timeline.
The first part of the MC has a stop where the first block is 100% , from
this point I want the buttons in the other MC to start the MC playing
from this 100% alpha point, ( I can do that) go to the 0% point (I can
do that) and then DEPENDING of which button was pressed then go to the
appropriate place in the timeline where another text block will fade up
from.

I haven't been using actionscript for long but what I have put in the
button is

on (release) {
_root.otherMC.play();

button = 2;
}

I have multiple buttons each setting a different value ( or that's the
intention anyway) so hopefully the targeted MC will go to different
labels .

then in the frame on the text block MC where the text block has faded
to 0% I have put

if (button=2) {
gotoAndPlay ("web");
} else if (button=3) {
gotoAndPlay ("domain");
}

the desired effect being the text block fades out then the mc begins
playing at the appropriate key frame where a different text block will
fade in from 0% to 100%.

Amongst other problems I don't think I'm getting the text block MC to
recognise variables created on other timelines.

Please Help if you can I will gladly email a FLA if somebody knows how
to sort this.

I realise I could create this effect by loading and unloading SWFs, but
having got this far I would like to find out how I finish it off.

Cheers

Luke


============================================================
= Advanced web hosting solutions from Saffas. =
= Unix, PHP, mySQL, SSL, Perl, Control Panel, 24/7 access. =
= Why pay more for less? http://www.saffas.com =
============================================================

Sponsor the forum for as little as #1 at:

http://www.freelancers.net/cgi/sponsor.cgi?action=show


Advertise with Freelancers.net +Additions+

http://www.freelancers.net/advert.php


Freelancers and Freelance Jobs:
http://www.freelancers.net

Forum FAQs:
http://freelancers.netrickery.com

To unsubscribe please email:
[EMAIL REMOVED]

If you have difficulties unsubscribing please email:
[EMAIL REMOVED]



Messages by Day
September 30th 2002
September 29th 2002
September 28th 2002
September 27th 2002
September 26th 2002
September 25th 2002
September 24th 2002
September 23rd 2002
September 22nd 2002
September 21st 2002
September 20th 2002
September 19th 2002
September 18th 2002
September 17th 2002
September 16th 2002
September 15th 2002
September 14th 2002
September 13th 2002
September 12th 2002
September 11th 2002
September 10th 2002
September 9th 2002
September 8th 2002
September 7th 2002
September 6th 2002
September 5th 2002
September 4th 2002
September 3rd 2002
September 2nd 2002
September 1st 2002


Messages by Month
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000