Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
Drag Light-Alphamania
Set Properties of a Flash Sprite
E-mailExec 2.01
ADO Xtra For MUS
Lingo MarkUp Xtra
Check for DirectShow Installation
Set Up Users Components
ADOXtra Lite
Hyper Midi
VdigXtra
MediaMacros Xtras Mall
 

 

 

Behavior Copy and Paste inside non-editable fields

Added on 10/2/2000

 

Compatibilities:
behavior D7 D8 PC

Required Xtras:
Buddy API

This item has not yet been rated

Author: MediaMacros (website)

This behavior alows non-editable field members to use the Ctrl + C, command for copy. This is not a variable, it actually writes to the windows clipboard so the data is available to other fields as well as other programs. Note- this will only work with field members, not text members and it does not function correctly in authoring mode, only in projectors. Requires the Copy key down script.

property spriteNum

global currentField, startChar, endChar

on mouseDown me
  currentField = sprite(spriteNum).member
  startChar = the mouseChar  
  endChar = the mouseChar
  add the actorList, me  
end

on stepFrame me
  endchar = the mouseChar
  if endChar > startChar then
    hilite char startChar to endChar of field(currentField)
  else
    hilite char endChar to startChar of field(currentField)
  end if
end

on mouseUp me
  if endChar > startChar then
    hilite char startChar to endChar of field(currentField)
  else
    hilite char endChar  to startChar of field(currentField)
  end if
  deleteOne(the actorList, me)
end

on mouseUpOutside me
  if endChar > startChar then
    hilite char startChar to endChar of field(currentField)
  else
    hilite char endChar to startChar of field(currentField)
  end if
  deleteOne(the actorList, me)
end



on getBehaviorDescription me
  describe = "This behavior alows non-editable field members to use the Ctrl + C, command for copy.  This is not a variable, it actually writes to the windows clipboard so the data is available to other fields as well as other programs." & return & "Note- this will only work with field members, not text members and it does not function correctly in authoring mode, only in projectors." & return & "Requires the Copy key down script."
  return describe  
end

 


Upload Provided by ABCUpload ASP

Contact

MMI
22 West Court Sq
Suite 2C
Newnan, GA 30263
USA

Fax - (206) 339-5833

Send e-mail