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
Get Crazy
Title Bar MIAW
Copy Progress handler for Buddy API
Macromedia Director 7: Creating Powerful Multimedia
Anatomy of an Alpha Channel
Detect MS Media Player v9
DirectSound Xtra
Graphing a Function
MPEG / ActiveMovie ActiveX control
A Simple Coloring Book
 

 

 

Behavior Avance de imagenes continuo - Continuous advance of imagenes

Added on 9/13/2004

 

Compatibilities:
behavior

This item has not yet been rated

Author: Fernando Miro (website)

Breve pero efectivo control de paso de imágenes en forma continua --------------------------- Brief but effective pitch control of images in continuous form

-- Aqui se controla el numero
--existente en un campo de texto
--llamado "cont".
--Si el número es igual a 8 (la cantidad de fotos)
--pone 1 y cambia el member que se muestra

-- Va en un frame de script

on exitFrame me
  go to the frame
  if integer (field "cont") = 8 then
    put 1 into field "cont"
  end if
  
  member(1).picture = member(field "cont").picture
end


---------------------------------------------------
---------------------------------------------------

--Este es el behavior que se aplica al botón
--de paso de fotografías.


on mouseenter me
  cursor 280
end
on mouseleave me
  cursor 0
end
on mousedown me
  put integer (field "cont")+1 into field "cont"
  if integer (field "cont") = 9 then
    put 1 into field "cont"
  end if
  
end

 


Contact

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

Send e-mail