Tally List : mailing list management, archiving, and analysis
click for archive home
 
Archive of:
Flash
Macromedia Flash List
 
home
24 hour view
quick stats
weekly updates
 
all tallylists
corporate solutions
archive your favorite
help / feedback


Search the Tallylist search by keyword:

About Flash :
product's home
product's list home
 
  Archived TallyList / Flash: 
Subject: Re: Help! Get variables from other movie clips?
Muzak (157p/+0r)     Posted: Tuesday 09 Jan 2001
This post: 38 views, +0 rating

Most of the time, when I need loaded variables in different places (MC's) I load them in the main timeline and call them for the MC's themselves.

So, if the main timeline has these loaded variables:

var1="blah" var2="more blah" var3="lotsa blah"

and you have 3 MC's (mc1-mc2-mc3) with 1 textfield each:

mc1 textfield = called varText1

action in mc1: vartext1=_root.var1 ----------------------- mc2 textfield = called varText2

action in mc2 varText2=_root.var2 ---------------------- mc3 textfield = called varText3

action in mc3 varText3=_root.var3

--------------------- To sort of automate this, if all MC's are in the main timeline at the same time, you could have an action like this (in the main timline)

for (i=1; i<=3; i++){ _root["mc"+i]["varText"+i]=_root["var"+i] }

hth, Muzak

----- Original Message ----- From: <jmerrill@elftech.com> To: <flasher@chinwag.com> Sent: Monday, January 08, 2001 10:04 PM Subject: FLASH: Help! Get variables from other movie clips?

> I posted this last week, without a response, so I apologize for the > re-post: > > How do I get a variable from another movie clip? > > For example, I have loaded some variables from a text file into Movie Clip > "A". There is a dynamic field there displaying them. Works fine, but how > do I display some of those variables in dynamic fields in movie clips "B" > and "C"? > > Thanks! > > Jason Merrill

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ flasher is generously supported by... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ flashforward2000 and the Flash(tm) Film Festival November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com -Sponsored by Macromedia, Adobe Systems and Apple Computer -http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526 Register before November 10 and save £200 http:// www.flashforward2000.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To unsubscribe or change your list settings go to http://www.chinwag.com/flasher or email help@chinwag.com


Similar Subject Line Posts (+/- two weeks of this post)
RE: Help! Get variables from other movie clips?  09 Jan 2001   (29 v/ +0 r)
Re: Help! Get variables from other movie clips?  09 Jan 2001   (36 v/ +0 r)
Re: Help! Get variables from other movie clips?  09 Jan 2001 (this post)   (38 v/ +0 r)
Help! Get variables from other movie clips?  08 Jan 2001   (64 v/ +0 r)
 

Send a reply to the Flash list!
click to send a reply! NOTE: Many lists will reject your post unless you have already registered with them. Also - don't forget the right account to send from (for those with multiple emails!)

Feedback: If this post was exceptionally helpful, please help by giving this post a positive review.

 

TallyList : copyright Ububik - 2000