Loading external text into a attachmovie window

What if I my data is one long paragraph? example:

“if you have any questions, requests, want to celebrate a party, anniversary, etc…please contact:dj danny (promoter of totally 80’s, club addiction, club vinyl) at 555-1212”

I only have one var and text field and its called “name”

make your text file like this:

&name=if you have any questions, requests, want to celebrate a party, anniversary, etc…please contact:dj danny (promoter of totally 80’s, club addiction, club vinyl) at 555-1212&

that will import it as a whole paragraph

Thanks coltsfan. Did my solution for embedded mclips help you at all?

Is there any other type of formatting we can do? text clor? font? size? :slight_smile:

haven’t tried it yet, been preoccupied with non-Flash bull****. I hope it works. What did you do again? On the formatting thing, you can format it by changing the properties of your dynamic text box i believe.

What do I do again? Here: "Well,

I went ahead and created a movie clip called “1”. Inside that movie clip I did everything you spoke about a few posts ago.

I had to change the script to:

onClipEvent(enterFrame) {
loadVariables(“data.txt”,_parent);
}

I then went back to the scene and dragged “1” to the center.

and it worked.

So basically, this works embedded inside a movie clip."

cool…now if i could only solve my other variable problem. I am doing the exact thing you are but I need my imported variable value to translate into a new variable. Example:
&text1=P10&

Flash outputs this as “P10”. I want Flash to turn P10 into a variable so that I can have it trigger my paragraph of text which is under the variable P10. No luck so far.

*Originally posted by coltsfan01 *
**make your text file like this:

&name=if you have any questions, requests, want to celebrate a party, anniversary, etc…please contact:dj danny (promoter of totally 80’s, club addiction, club vinyl) at 555-1212&

that will import it as a whole paragraph **

So simply putting & symbols at the beginning and end of each paragraph will create a paragraph? & = enter?

*Originally posted by coltsfan01 *
**cool…now if i could only solve my other variable problem. I am doing the exact thing you are but I need my imported variable value to translate into a new variable. Example:
&text1=P10&

Flash outputs this as “P10”. I want Flash to turn P10 into a variable so that I can have it trigger my paragraph of text which is under the variable P10. No luck so far. **

That is over my head :slight_smile:

yeah & = enter in the .txt file. Don’t feel bad, it’s over my head too. I am pleading for help but so far no luck

Ok Man, check out this swf, as you can see, I have no control over this paragraph? or do I?

I tried using & but it cuts off where the & is at.

i didnt see any text on your .swf. just links

oh duh lol here is the text files for them

and the info one

k. i see your text. Why all the a’s? Anyway, what is you want to control? Size, color, etc?

heheh. I put the A’s so that the paragraph is longer (I was testing the scroll buttons)

I want the my data to look like a paragraph. Returns at the least. It would be nice to have font changes, bold, color and links.

This has to be possible? Maybe with xml? Anyone?

well, it looks to me like a paragraph so I am not sure i understand your issue there. To change font color, size and type, change your properties of the dynamic text box you are loading those into. Also you can set spacing of paragraph, set up a multiline wrap, set kerning, color etc…

It looks like a paragraph but thats not how I want it to look. Its supposed to be like this:

"Totally 80’s Sundays
orange county’s ultimate 80’s nightclub & martini lounge

every Sunday Night

dj danny - dj nelson - dj bobby & guests spinning all your favorite
80’s Flashbacks - New Wave dance hits & requests

full bar - martini lounge - drink specials - great food - pool tables - huge
dance floor - 80’s visuals on 10 plasma tv’s - outdoor heated patio - great
atmosphere - free parking

21+
8pm til 2am

$5 cover all night long

no dress code but 80’s fashion is welcomed

located at:
Bar 330 - downtown brea -
330 w. birch st.
brea, ca"

i altered your txt file to do what i think you want but i cant test it causet the scroll buttons don’t work. How od i post the txt file?