I've got a very simple requirement, but I've run into what I believe 
is a bug in text members.

D8, Mac 8.5 (haven't tried it on Windows but I need to have it work 
cross platform).

Requirement:
I need to have multiple text members on the screen, and give the user 
the ability to highlight any amount of text within any one.  This 
should work identically to highlighting text within a browser window. 
(Then the user can copy text - but I've got this taken care of).

My Implementation:
1) Create a movie with a non-white background color
2) Create two text (not field) members, set the editable attribute to 
TRUE, let all other attributes default
3) Drag these members to the stage into channels 1 and 2.  Set the 
ink to Background transparent.
4) Add a go to the frame script.
5) To disallow typing, I am also adding a behavior like the following 
- but the problem is visible even without this:

    on keydown me
       dontpassevent
    end
    on keyup me
        dontpassevent
    end

What I see:
I can click on either text member, and drag across any amount of 
text, and the selected text does get highlighted correctly.  However, 
when I click on either text member, the background rectangle of the 
member becomes white.  That is, it loses it background transparency. 
Interesting thing is that if you click back and forth between these 
two text members, when you click onto one, the other one (non-active) 
goes back to being background transparent.

Anybody have an easy work-around?

Thanks,

Irv
-- 
Lingo / Director / Shockwave development for all occasions.

        (Over two millions lines of Lingo code served!)

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to