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 March 16th, 2004, 11:15 AM
Yoshimi Yoshimi is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 15 Yoshimi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
dynamic text within movie clip

i have created a dynamic text box which fetches text from a external file. however when i put the text box into a movieclip (rather than directly on the scene's timeline) it stops working. i have a feeling it has to do with the command which loads the files...

loadVariablesNum("news.txt",0);

can anyone help?

Reply With Quote
  #2  
Old March 16th, 2004, 01:04 PM
Tann San Tann San is offline
Gotta get to the next screen..
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 4,837 Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)  Folding Points: 11326 Folding Title: Novice Folder
Time spent in forums: 3 Weeks 2 Days 11 h 49 m 20 sec
Reputation Power: 632
Facebook MySpace
Hi, sounds like your text box is working off a variable name. You can change the loadVariablesNum() to match the level your new text box containing movie is in. i.e.

loadVariablesNum("news.txt",myTextContainer.getDepth());
__________________
-Tann

-Vote for your favorite ActionScript editor here.

Reply With Quote
  #3  
Old March 17th, 2004, 02:51 AM
Yoshimi Yoshimi is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 15 Yoshimi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I had no luck with that. any other advice?

Reply With Quote
  #4  
Old March 17th, 2004, 07:12 AM
Tann San Tann San is offline
Gotta get to the next screen..
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 4,837 Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)  Folding Points: 11326 Folding Title: Novice Folder
Time spent in forums: 3 Weeks 2 Days 11 h 49 m 20 sec
Reputation Power: 632
Facebook MySpace
Hi, ok try this in the first keyframe of _root:
Code:
_root.onEnterFrame = function()
   {
      if(myTextVar != undefined)
         {
             mySubMovie.myTextVar = myTextVar;
             delete _root.onEnterFrame();
         }
   }

You have to substitute mySubMovie for the instance name you gave the sub movie that has the text box in it. You also have to swap myTextVar for the variable name your loading from the text file.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > dynamic text within 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


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





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT