i would need to know how I can number the pages of a movie. I've done the following but it doesn't work, could you help me please??
1) created a text member called "slideNumber"
2) created a Movie Script:
gMarkerList = _movie.markerList
vCount = gMarkerList.count
repeat with ii = 1 to vCount
ii = i + 1
put value (ii) into member("slideNumber")
Whenever i run it, what i always see in member "slideNumber" is 108 (which is the total number of markers). I would like to see 1, 2, 3...and so, on each page
You need to run some code every frame under a marker that displays the current page/slide number:
on beginSprite me bFound = 0 mList = _movie.markerList tMarker = marker(0) repeat with ind = 1 to count(mList) if mList.getPropAt(ind) = tMarker then bFound = 1 exit repeat end if end repeat if bFound then member("slideNumber").text = string(ind) end on exitFrame me go to the frame end
Fine!! Many many thanks Sean!!