Notes
If
you're interested, here's the Macromedia action code for the
Fwd button:
On (Release)
Set Variable: "img" = img+1
If (img<0)
Set Variable: "img" = max
End If
If (img>max)
Set Variable: "img" = "0"
End If
If (img<10)
Set Variable: "str" = "flash_pics/000"
& /:img & ".swf"
Else If (img<100)
Set Variable: "str" = "flash_pics/00" & /:img
& ".swf"
Else
Set Variable: "str" = "flash_pics/0"
& /:img & ".swf"
End If
Load Movie (str, "/ViewPort/View")
Set
Variable: "mes" = eval("message"&img)
Set Variable: "picnumber" = str & " (" & mes & ")"
End On
The
only change for the Back button is:
On (Release)
Set Variable: "img" = img-1
:: ::
End On
The
JPG image button has the following action:
On (Release)
If (/:img<10)
Set Variable: "str" = "newpics/000"
& /:img & ".jpg"
Else If (/:img<100)
Set Variable: "str" = "newpics/00" &
/:img & ".jpg"
Else
Set Variable: "str" = "newpics/0" &
/:img & ".jpg"
End If
Get URL (str, window="_blank")
End On
The
initial frame has the following settings:
Set Variable:
"str" = "flash_pics/0000.swf"
Set Variable: "message0" = "New Year's Day Lunch 2000"
Set Variable: "message1" = "Jamie, David and Me at the beach"
: : etc
Set Variable:
"img" = "0"
Load Movie (str, "/ViewPort/View")
Set Variable: "picnumber" = str & " (" & message0 & ")"
Set Variable: "max" = "32"
|