Hello Yo,
    I have done some playing around with your scripts and added some stuff
to them, here it is:

--- this goes on the back button
on mouseUp me
  backButton()
end 

on backButton
  Global histList, gFlag, gFlag2   -- declares globals
  deleteAt(histList, 1)            -- deletes the first item in the histList
  lastPage = getAt(histList, 1)    -- gets the first position(or last page)
  put lastPage into field "test"
  
  gFlag = 0
  go lastPage  
  gFlag2 = 1                       -- this prevents the previous marker from
end                                -- being added twice
-----------------

---- this is a frame script ------
on enterFrame me
  global histList, gFlag, gFlag2
  if gFlag2 = 1 then                -- this prevents the previous marker
                                    -- from being added twice
    nothing
  else
    if gFlag = 1 then
      nothing
    else
      tempMarkerName = the frameLabel
      addAt histList, 1, tempMarkerName  -- adds the marker name to the
                                         -- histList
      gFlag = 1
    end if
  end if
  
end

on exitFrame me
  go the frame
end
-------------------

--- movie script---------
on  startMovie 
  global histList, gFlag, gFlag2
  
  gFlag = 0
  gFlag2 = 0
  histList = []
  
end
--------------

----- next button-----------
on mouseUp me
  nextButton()
end 

on nextButton
  Global histList, gFlag,gFlag2
  gFlag = 0
  gFlag2 = 0
  go next
  
end
----------------


Hope this helps!


-- 
Carl D. Earnhart II
Software Engineer
DxR Development Group
(618) 453-5877
[EMAIL PROTECTED]
AOLIM: cdacota

"No temptation has seized you except what is common to man.  And God is
faithful; he will not let you be tempted beyond what you can bear.  But when
you are tempted, He will also provide a way out so that you can stand up
under it."

1 Corinthians 10:13
--


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to