Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
Install-us Pro
Cast Control
EZ CD Creator
Spam and Faoul language filter for shockwave
File Association and save
SmartOLE Xtra
Universal serial port behavior
The Complete Uninstall
Control Buttons for DirectMedia Sprite
Jaw Wars
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