Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
Domicilia
DirectSMS Xtra
Vector Shapes - Create Donut
example the filmloop
Buddy Tray
simFile Xtra
Compress integer list
FreePPP Control
MD5
Show Me the Movie
MediaMacros Xtras Mall
 

 

 

Behavior Add to the back list

Added on 6/8/1999

 

Compatibilities:
behavior D6_5 D7 D8 Mac PC

This item has not yet been rated

Author: MediaMacros (website)

Use this to generate a backlist. This is a straight foward way to track where a user goes. You can place it on the same frame as each marker and track the users progress. To go back, set backState = true and go to the NEXT TO LAST item in the list (the last is the currennt frame). It takes some tweaking for your uses, but is a good start for a back button behavior.

--Copyright 1999 Chuck Neal
--chuck@mediamacros.com
--If you find this code helpful, send me an e-mail and let me know.  :-)

on prepareFrame
  global gBackState, gBackList  
  if gBackList = void then gBackList = []
  if gBackState = False then      
    if count(gBackList) > 0 then      
      if getAt(gBackList, count(gBackList)) <> the movieName & return & marker (0) then      
        add gBackList, the movieName & return & marker (0)
      end if  
    else
      add gBackList, the movieName & return & marker (0)
    end if    
  else if gBackState = True then    
    deleteAt (gBackList , count(gBackList))    
    set gBackState = False    
  end if
  if count(gBackList) > 30 then
    repeat with x = 1 to (count(gBacklist) - 30)
      deleteAt (gBackList, 1)
    end repeat
  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