Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
Password Field
Cinemac
ADOxtra for Shockwave Multiuser Server
Page turn
Open CD Door Behavior
PDF export: text and vector shapes
Import SWA (Shockwave Audio)
Sneakers
Make Bitmaps from Flash
Lingo MarkUp Service
MediaMacros Xtras Mall
 

 

 

Behavior Timeline re-direction and navigation

Added on 7/1/2004

 

Compatibilities:
D8 D8_5 D9

This item has not yet been rated

Author: Raschko

This script will navigate to the desired frame, frame marker; or loop ( loop will sit on the attached frame). Very easy to implement; the default sits on a frame.

Download PC Source
-- 31 May 2004, written By Brian Raschko

-- Variables -- Property Box specific
Property description

property myChoice

------------------
-- Main Scripts --
------------------

on exitFrame me
  
  case myChoice of
      
    #loop:
      
      go to the frame -- sit on this frame
      
    #previous,#next:
      
      go myChoice -- go to a specific spot
      
    otherwise:
      
      go to myChoice -- move to a marker
      
  end case
  
end exitFrame

---------------------------------
-- Property "Pop-Up" Functions --
---------------------------------

on isOKToAttach (me, aSpriteType) -- What am I attached to?
  
  case aSpriteType of
    #graphic:
      return FALSE -- You can't attach ME to that!
    #script:
      return TRUE  -- I can be attached to that. ( script = attached to a frame )
  end case
  
end isOKToAttach

on getPropertyDescriptionList -- Open the Property "Pop-Up" Box.
  
  description = [:] -- Declare the Property Variable Array.
  
  -- Add the Property Vairables.
  addprop description,#myChoice,[#comment: "Go to?",        #format: #marker, #default: #loop                      ]

  -- Display these Variables.
  return description
  
end getPropertyDescriptionList

------------------------
-- Script Description --
------------------------

on getBehaviorDescription me
  RETURN
  "TimeLine Re-Direction and Navigation" & RETURN & RETURN &
  "Parameters: " & RETURN &
  "   *Move to / sit on a frame."
end getBehaviorDescription

 


Upload Provided by ABCUpload ASP

Contact

MMI
22 West Court Sq
Suite 2C
Newnan, GA 30263
USA

Fax - (206) 339-5833

Send e-mail