Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
DiskJockey CD-ROM Builder
Controlling DIgital Video
keyboard input control
Saving Data in Shockwave
Spam and Faoul language filter for shockwave
Dean's Director Resources
Snap Shot Maker
DirectInteraction Xtra.
Elapsed Time
Focus 3D
MediaMacros Xtras Mall
 

 

 

Behavior Set Sprite Full Screen

Added on 7/28/2003

 

Compatibilities:
D9 PC

Rating:

Author: tcoursey

One of my first Behaviors. (Its really a script) not customizable or very friendly but works pretty good. Setup the behavior script and then place on your sprites that you want to zoom full screen.

property spriteNum
property mySprite
property cloch
property clocv
property cwidth
property cheight
property cursor

on beginSprite me
  mySprite = sprite (me.spriteNum)
  mySprite.cursor = 303
  cloch = mySprite.loch
  clocv = mySprite.locv
  cwidth = mySprite.width
  cheight = mySprite.height
end beginSprite

on mouseup
  
  if mySprite.loch = cloch then
    mySprite.cursor = 302
    mySprite.loch = 200
    mySprite.locv = 200
    mySprite.width = 400
    mySprite.height = 400
  else
    mySprite.cursor = 303
    mySprite.loch = cloch
    mySprite.locv = clocv
    mySprite.width = cwidth
    mySprite.height = cheight
  end if
  
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