Contents
Articles
Behaviors
Books
Director News
Director Web Sites
FAQ
Games
Mailing Lists
News Groups
Project Examples
Reviews
Software
Tools
Useful Web Sites
Utilities
Xtras

Don't miss these
ProjectorLook Xtra
Toggle Stay On Top-Button
Writing text to the user's drive
Application Xtra
Royalty free Music and Loops
Amara Flash Menu and Flash Button Maker
Slider behaviour v2.2
Useful string functions
Billenium Transitions Xtra v1.1
Firefly CD Burning Xtra
 

 

 

Behavior Button - De-Xploding behaviour

Added on 5/20/2000

 

Compatibilities:
behavior D6_5 D7 D8 Mac PC Shockwave

This item has not yet been rated

Author: Noisecrime

Part of the Xploding Text behaviors. Full set includes Xploding Text Prepare Movie, De-Xplode Text position relative, De-Xplode Random, Xplode Text, De-Xplode Button, and Wait for Xplode to finish.

Download PC Source    Download Mac Source
-- Xplodingtext by Noisecrime 14 Sept 1999 @ NOISECRIME PRODUCTIONS

-- EMAIL: simtek@dircon.co.uk

-- THIS BEHAVIOUR IS FREE TO USE
-- IF YOU USE ALL OR ANY PART OF THESE BEHAVIOURS, YOU MUST LEAVE IN THE ACKNOWLEDGEMENT TO NOISECRIME PRODUCTIONS WITHIN THE BEHAVIOURS
-- ALSO YOU MUST ACKNOWLEDGE ADDITIONAL PROGRAMING BY NOISECRIME IN THE CREDITS
-- updated to allow for exploding existing buttons, before de-exploding

on getBehaviorDescription me
  return ("This behaviour written by NoiseCrime 14 sept 1999" & RETURN & "This is the button object, it waits untill all letters for a word have arrivedŽ
at their final position, then allows the button to be active" & RETURN & "The behaviour will be added to the invisible button" )
end

property NCletterStart
property NCletterEnd
property NCjumpTO
property NCbuttonActiveFlag
property NCexplodeframe

global theNextJumpIs

on getPropertyDescriptionList me
  set description = [:]  
  addprop description, #NCletterStart, [#comment: "Enter START sprite of word",#format:  #integer , #default: 1]  
  addprop description, #NCletterEnd, [#comment: "Enter END sprite of word",#format:  #integer , #default: 1]  
  addprop description, #NCjumpTO,  [#comment: "Jump to Marker (after exploding)" ,#format: #marker, #default:"a" ]
  addprop description, #NCexplodeframe,  [#comment: "Framemarker to explode the text before jumping" ,#format: #marker, #default:"a" ]
  return description
end

on beginsprite me
  set NCbuttonActiveFlag to 0
end

on checkrollover me
  checkactivebutton me
  
  if NCbuttonActiveFlag = 1 then  cursor [41,42]
end

on mousewithin me
  checkrollover me
end

on mouseenter me
  checkrollover me
end

on mouseleave me
  cursor -1
end

on mouseup me
  checkactivebutton me  
  if NCbuttonActiveFlag = 1 then
    cursor -1
    set theNextJumpIs to NCjumpTO
    go to NCexplodeframe
  end if  
end

 


Contact

MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA

Send e-mail