pinoypride85
Programmer
i tried creating a on getPropertyDescriptionList which allows me to go to a specific marker in a MIAW but i keep getting a "frame not defined" error. the error seems to be the section in bold. TIA
property whatscript
property whatMarker
on whatScript
global openPlayer
openPlayer = window().new("player")
openPlayer.open()
openPlayer.movie.go(whatMarker)
end
on mouseUp me
whatScript
end
on getPropertyDescriptionList me
pdList = [:]
addProp pdList #whatScript,[#comment:"Put script name:", #format:#String,#default:""]
addProp pdList #whatMarker,[#comment:"to what marker:", #format:#String,#default:""]
return pdList
end
property whatscript
property whatMarker
on whatScript
global openPlayer
openPlayer = window().new("player")
openPlayer.open()
openPlayer.movie.go(whatMarker)
end
on mouseUp me
whatScript
end
on getPropertyDescriptionList me
pdList = [:]
addProp pdList #whatScript,[#comment:"Put script name:", #format:#String,#default:""]
addProp pdList #whatMarker,[#comment:"to what marker:", #format:#String,#default:""]
return pdList
end