-
Hi dude,
you saved me twice today, wanna make it a third???
That problem I was having with the '&' I actually need to keep it as it forms part of the company logo.
any way i can get it to work - can I edit the external using any specia;l comment quotes??
if you know - let me know
Cheers
John
-
Heres What To Do replace all The "&"'s in your text file with and then insert a movieclip and in the first frame put:
Set Variable: "../:total" = Length ( ../:body )
Set Variable: "../:i" = "1"
Set Variable: "../:z" = "1"
Loop While (../:i <= ../:total)
Set Variable: "../:section" & ../:i = Substring(../:body,../:i,3)
Set Variable: "../:i" = ../:i + 1
End Loop
Loop While (../:z <= ../:total)
If (Eval("../:section" & ../:z) eq "and " )
Set Variable: "../:count" = ../:z
Set Variable: "../:z" = ../:total + 1
Set Variable: "../:body" = Substring(../:body,1, ../:count-1) &"&" & Substring(../:body, (../:count -1)+5, ../:total - (../:count - 1)+ 4)
Else
Set Variable: "../:z" = ../:z + 1
End If
End Loop
Then On The Second Frame Put Go to and play 1
Put this movieclip in frmae one of the main timeline
and then put load variables(your text file.txt)level 0 on the actions
This searches the text file for "and" and then replaces it with "&"
In your text file do the following body=andthenyourtext
Hope Thsi Helps If Not E-Mail Me And I Will Explain it further!!!!!!!1
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|