Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 5th, 2002, 03:50 PM
Nickbee Nickbee is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2002
Posts: 15 Nickbee User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
using a var off the main timeline in a movie clip?

I know this can’t be too difficult, but my flash bible falls a little short on this one… Please keep in mind I am very new to using Vars in flash (but love it so far).

I’m creating and updating variables in my main timeline. I have a movie clip in that same main time line that I want to display text based on the variables that are being updated in the main time line. What is the codedge for the text box in the movie clip to display the info assigned to the variable in the main time line?

Thanks!!!!

Reply With Quote
  #2  
Old February 5th, 2002, 04:46 PM
TotalMonkey TotalMonkey is offline
Polynesian Monkey God
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2001
Location: Monkeytown, USA
Posts: 57 TotalMonkey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 47 m 42 sec
Reputation Power: 7
Hmmm....

I could be wrong, but I think that the movieclip on the mainline should have this action:
Code:
    onClipEvent( enterFrame) {
        this.textbox1 = _root.variable1;
    }

Does anyone agree?
__________________
"We're all - monkeys!" -- Jeffrey Goines, 12 Monkeys

Reply With Quote
  #3  
Old February 5th, 2002, 07:41 PM
rob5408 rob5408 is offline
Certified Genius
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Location: over there
Posts: 77 rob5408 User rank is Private First Class (20 - 50 Reputation Level)rob5408 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 46 m 57 sec
Reputation Power: 7
Send a message via AIM to rob5408
uh

are you using dynamic textboxes in your movieclip??? if thats what you are doind than the name of the text box is the name of a global variable connected to it...everytime you change the value the text box will change...maybe i'm just getting confused about what youre aiming for...rob

Reply With Quote
  #4  
Old February 5th, 2002, 08:35 PM
Nickbee Nickbee is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2002
Posts: 15 Nickbee User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
you got it rob.

I changed the varible for the text box to _root.atext and boom!!!

now,, why does the text in the dynamic text box look choppy? That just won't do....

Thanks for your help

Reply With Quote
  #5  
Old February 5th, 2002, 08:51 PM
rob5408 rob5408 is offline
Certified Genius
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Location: over there
Posts: 77 rob5408 User rank is Private First Class (20 - 50 Reputation Level)rob5408 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 46 m 57 sec
Reputation Power: 7
Send a message via AIM to rob5408
embedding fonts

sorry...missed one detail...at the bottom it sat "embed font"...this is where you can embed the font into your swf for antialiasing...
if you click "[ ]" it will embed the whole thing...boosting your file size by like 20k or more...or choose a combo between [AB] [ab] [123] [()!] for just embedding the caps, lowercase, numbers, and punctuation respectively...or if you need a very small subset...simply type the characters ya want into the text box at the end...for most cases choose upper and lower cases, numbers and punctuaton, this will still leave out about 100 characters that you'll most likely never use like the 1/2 and circle R...

btw: your variable name doesn't need to be so..um..f'd up...so ya can just name the text box myDynamicText...or don't...but the way you named it seemed that you are thinking setting it's value somehow has to do with timelines...its a global so anywhere you say myDynamicText="Poop" will work fine...

Last edited by rob5408 : February 5th, 2002 at 08:57 PM.

Reply With Quote
  #6  
Old February 6th, 2002, 07:19 AM
Nickbee Nickbee is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2002
Posts: 15 Nickbee User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks Rob,

This project is a part number configurator for an electronic rack product line. There are 16 boxes to fill (A-P) with numbers which build the unique part#. atext will be the text equivilate to a number that is filled in. then there will be a btext, ctext and so on.

Thanks for your help again. I'm having fun building my 1st flash app. I'll shot you off a link when there is more to see.

Reply With Quote
  #7  
Old February 6th, 2002, 06:51 PM
rob5408 rob5408 is offline
Certified Genius
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Location: over there
Posts: 77 rob5408 User rank is Private First Class (20 - 50 Reputation Level)rob5408 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 46 m 57 sec
Reputation Power: 7
Send a message via AIM to rob5408
liar liar

not to make you feel as if you're goin crazy, but apparently what i said about dyn. text boxes being linked to global variables was untrue...so...like you said you do need instancename.textfiledname ="blah"
my bad...good luck, rob

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > using a var off the main timeline in a movie clip?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway