Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displaying text extracted from txt doc in a movie into another.

Status
Not open for further replies.

tilotama

Programmer
Aug 24, 2001
25
MY
SOS!!!! Please help me... Im new with flash... but Im on a deadline..

i have 3 movies -

i)MainMovie
ii)TextContent
iii)Navigation

Explanation

i)MainMovie - The movie where i combine all the elements(Navigation & TextContent) by using 'target' or 'container' or 'movie clip', however u prefer to call it. In this case, I have 2 movie clips in the MainMovie :-

a)NaviBut - to hold the 'Navigation'(Navigation.swf)movie
b)Text - to hold the 'TextContent'(TextContent.swf)movie.

ii)TextContent - this consists of 10scenes named such as 'Pg1', 'Pg2', 'Pg3', etc etc on the first frame of each scene, consecutively. Each scene contains more than one layer. Each scene will call different ".txt" documents, such as 'Pg1.txt' for scene1('Pg1') and so on. 'Pg1.txt' for example contains 2 or 3 variables with strings asigned to it. These strings will be loaded into dynamic textboxes in the TextContent movie. This was successfully done, when i play this movie on itself. meaning, i could display the strings contained in the .txt documents into 'TextContent.swf'.

iii)Navigation - contains the button to call 'TextContent.swf' into 'MainMovie.swf'.

Problem
I cant display the text contained in the TextContent.swf movie into the MainMovie. I cant figure out what i did wrong. Do i need to load the variables from the .txt documents into the MainMovie? If so, how? Please helppp!!! Any help is really appreciated.

 
Loading on levels or in empty container clips?

Can you post a link to your .flas? Regards,

oldman3.gif
 
You can see my .fla and .txt files via these links:


Its not the real flash documents though, since im testing the engines for the functions as mentioned above - so its not pretty. :)

oh... by the way, Pg1.txt was actually stored in a folder called 'Text' in my computer.

As for your question - I used a container... i did try using levels, it was successful, but i neeeded to use the container method.

THANX SO MUCHHH
 
ok... nevermind... managed to solve it meself. thanx nyway.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top