<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community: Message List - Formatted text file Into TextMember with Scrolling... Problem.</title>
    <link>https://forums.adobe.com/community/director/director_lingo?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Sun, 02 Nov 2014 15:02:40 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-11-02T15:02:40Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: Formatted text file Into TextMember with Scrolling... Problem.</title>
      <link>https://forums.adobe.com/message/6891709?tstart=0#6891709</link>
      <description>&lt;!-- [DocumentBodyStart:d241b310-74ab-4762-ac8c-0bfd45e3d6ee] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Or what about just using pointToLine?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="http://help.adobe.com/en_US/Director/11.5/UsingScripting/WSc3ff6d0ea77859461172e0811d64c1a1b3-7dc1.html" rel="nofollow"&gt;Adobe Director * pointToLine()&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:d241b310-74ab-4762-ac8c-0bfd45e3d6ee] --&gt;&lt;img src='/beacon?t=1415930948322' /&gt;</description>
      <pubDate>Sun, 02 Nov 2014 15:02:40 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6891709?tstart=0#6891709</guid>
      <dc:date>2014-11-02T15:02:40Z</dc:date>
      <clearspace:dateToText>1 week 4 days ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Re: Formatted text file Into TextMember with Scrolling... Problem.</title>
      <link>https://forums.adobe.com/message/6846843?tstart=0#6846843</link>
      <description>&lt;!-- [DocumentBodyStart:5391d14a-99b0-4918-808c-c086f7660bff] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Try the following, or some snippet or re-working of it, attached to your #text sprite:&lt;/p&gt;&lt;!--[CodeBlockStart:507caa22-ebcc-47ef-bd87-aed24234707a][excluded]--&gt;&lt;pre class="plain" name="code"&gt;
property spriteNum
property my
property myMember

on beginSprite me
&amp;nbsp; my = sprite(spriteNum)
&amp;nbsp; myMember = my.member
end

on mouseUp me
&amp;nbsp; if ( myMember.text = EMPTY ) then exit
&amp;nbsp; tLoc = _mouse.mouseLoc - my.loc
&amp;nbsp; tPos = myMember.locVToLinePos(tLoc[2])
&amp;nbsp; nChars = 0
&amp;nbsp; repeat with l = 1 to tPos
&amp;nbsp;&amp;nbsp;&amp;nbsp; nChars = nChars + myMember.line[l].char.count
&amp;nbsp;&amp;nbsp;&amp;nbsp; -- account for RETURN at line end
&amp;nbsp;&amp;nbsp;&amp;nbsp; if l &amp;lt; tPos then nChars = nChars + 1
&amp;nbsp; end repeat
&amp;nbsp; 
&amp;nbsp; if tLoc[2] &amp;lt; myMember.charPosToLoc(nChars)[2] then
&amp;nbsp;&amp;nbsp;&amp;nbsp; tClickedLine = tPos + myMember.scrollTop/myMember.fixedLineSpace
&amp;nbsp; end if
&amp;nbsp; 
&amp;nbsp; PUT tPos, tClickedLine
end
&lt;/pre&gt;&lt;!--[CodeBlockEnd:507caa22-ebcc-47ef-bd87-aed24234707a]--&gt;&lt;div style="display:none;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:5391d14a-99b0-4918-808c-c086f7660bff] --&gt;</description>
      <pubDate>Mon, 20 Oct 2014 07:43:43 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6846843?tstart=0#6846843</guid>
      <dc:date>2014-10-20T07:43:43Z</dc:date>
      <clearspace:dateToText>3 weeks 4 days ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Formatted text file Into TextMember with Scrolling... Problem.</title>
      <link>https://forums.adobe.com/message/6843715?tstart=0#6843715</link>
      <description>&lt;!-- [DocumentBodyStart:4a91c674-d805-4696-ace5-a4dba9898cd6] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Then how can I select theMouseLine in a text member? So I can use the content of the mouseline as a var.&lt;/p&gt;&lt;p&gt;I have an old Behavior to hilite and select the mouseLine, but it only works on "Field" members.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Any way to do this in a text member?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:4a91c674-d805-4696-ace5-a4dba9898cd6] --&gt;</description>
      <pubDate>Sat, 18 Oct 2014 23:28:10 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6843715?tstart=0#6843715</guid>
      <dc:date>2014-10-18T23:28:10Z</dc:date>
      <clearspace:dateToText>3 weeks 5 days ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Formatted text file Into TextMember with Scrolling... Problem.</title>
      <link>https://forums.adobe.com/message/6843500?tstart=0#6843500</link>
      <description>&lt;!-- [DocumentBodyStart:8251864a-e8b3-4012-917b-d8ff2697a953] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;You can't import formatted text into a #field - that's not the way the field member type works, it doesn't support any formatting. Please explain why you say:&lt;/p&gt;&lt;blockquote class="jive-quote"&gt;
&lt;p&gt;and It has to be a field &amp;hellip; when the RTF is imported&lt;/p&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:8251864a-e8b3-4012-917b-d8ff2697a953] --&gt;</description>
      <pubDate>Sat, 18 Oct 2014 20:08:29 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6843500?tstart=0#6843500</guid>
      <dc:date>2014-10-18T20:08:29Z</dc:date>
      <clearspace:dateToText>3 weeks 5 days ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Formatted text file Into TextMember with Scrolling... Problem.</title>
      <link>https://forums.adobe.com/message/6843165?tstart=0#6843165</link>
      <description>&lt;!-- [DocumentBodyStart:7d424c91-8879-4f87-88a9-9cbb89b3b865] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi Sean, It's been a while.&lt;/p&gt;&lt;p&gt;Yes, now I have the scroll, BUT...&lt;/p&gt;&lt;p&gt;Look at this:&lt;/p&gt;&lt;p&gt;My member is a field... and It has to be a field and when the RTF is imported, it becomes a text member. I tried THIS, but it doesn't work.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif; color: #333333;"&gt;member("MyTEXT").importFileInto(_movie.path &amp;amp; "mytext.rtf")&lt;/p&gt;&lt;p style="font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif; color: #333333;"&gt;member("MyTEXT").boxType = #scroll&lt;/p&gt;&lt;p style="font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif; color: #333333;"&gt;&lt;span style="color: #333333; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif;"&gt;member("MyTEXT").type = #field&lt;/span&gt;&lt;/p&gt;&lt;p style="font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif; color: #333333;"&gt;&lt;span style="color: #333333; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif;"&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif; color: #333333;"&gt;&lt;span style="color: #333333; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif;"&gt;It there any way to solve this? &lt;/span&gt;&lt;/p&gt;&lt;p style="font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif; color: #333333;"&gt;&lt;span style="color: #333333; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif;"&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif; color: #333333;"&gt;&lt;span style="color: #333333; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif;"&gt;Thanks&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:7d424c91-8879-4f87-88a9-9cbb89b3b865] --&gt;</description>
      <pubDate>Sat, 18 Oct 2014 17:15:50 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6843165?tstart=0#6843165</guid>
      <dc:date>2014-10-18T17:15:50Z</dc:date>
      <clearspace:dateToText>3 weeks 5 days ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Formatted text file Into TextMember with Scrolling... Problem.</title>
      <link>https://forums.adobe.com/message/6842096?tstart=0#6842096</link>
      <description>&lt;!-- [DocumentBodyStart:5f55a616-d6f9-4df6-8ac1-796d79a74bdd] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;member("MyTEXT").importFileInto(_movie.path &amp;amp; "mytext.rtf")&lt;/p&gt;&lt;p&gt;member("MyTEXT").boxType = #scroll&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:5f55a616-d6f9-4df6-8ac1-796d79a74bdd] --&gt;</description>
      <pubDate>Sat, 18 Oct 2014 02:42:59 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6842096?tstart=0#6842096</guid>
      <dc:date>2014-10-18T02:42:59Z</dc:date>
      <clearspace:dateToText>3 weeks 6 days ago</clearspace:dateToText>
      <clearspace:replyCount>5</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Formatted text file Into TextMember with Scrolling... Problem.</title>
      <link>https://forums.adobe.com/message/6841720?tstart=0#6841720</link>
      <description>&lt;!-- [DocumentBodyStart:e4e458e9-071e-48b2-853b-a130a2c4f40c] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;&lt;span style="font-size: 12pt;"&gt;Hi,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 12pt;"&gt;I have this script which works OK but...&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 12pt;"&gt;&lt;span style="color: #339966;"&gt;membe&lt;/span&gt;&lt;span style="color: #339966;"&gt;r&lt;/span&gt;(&lt;span style="color: #808080;"&gt;"MyTEXT"&lt;/span&gt;)&lt;span style="color: #339966;"&gt;.importFileInto&lt;/span&gt;(&lt;span style="color: #808080;"&gt;"mytext.rtf"&lt;/span&gt;)&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 12pt;"&gt;It preserves the RTF word format, but the scrolling disappears.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 12pt;"&gt;Is there any solution to this? I want to have a external RTF file that when imported into a text member with scrolling, it preserves its formatting&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 12pt;"&gt;without messing up the text member.&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 12pt;"&gt;Thanks&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:e4e458e9-071e-48b2-853b-a130a2c4f40c] --&gt;</description>
      <pubDate>Sat, 18 Oct 2014 00:07:59 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6841720?tstart=0#6841720</guid>
      <dc:date>2014-10-18T00:07:59Z</dc:date>
      <clearspace:dateToText>3 weeks 6 days ago</clearspace:dateToText>
      <clearspace:replyCount>6</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

