Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
3DVista Studio Director Xtra
detecting hard disk
Fireworks Xtra
macromedia.director.lingo
Director 8.5 Studio
W3D Texture Extractor
Making Stage fill screen or not
Josh Chunick's Personal Site
Mac Disk
DOMAJ Site and Forum
MediaMacros Xtras Mall
 

 

 

Behavior Grabbing the Stage (D7)

Added on 6/30/1999

 

Compatibilities:
D7 D8 Mac PC Script

This item has not yet been rated

Author: RogerJones

save the stage to a new member - grabPicture save the stage to member 7 of castlib 1 - grabpicture 0, member 7,1 save a subrect of the stage to a new member - grabpicture rect(100,100,200,200) save a subrect of the stage to member 10 of castlib 1 - grabpicture rect(100,100,200,200), member 10,1

on grabPicture croprect, targetmember

if voidp(targetmember) then
    targetmember = new(#bitmap)
  else
    if not ( member(targetmember).type = #bitmap) then
      beep
      return
    end if
  end if

  member(targetmember).picture = the stage.picture
  if ilk(croprect, #rect) then  crop(member targetmember, croprect)
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