Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

marker in miaw

Status
Not open for further replies.

pinoypride85

Programmer
Dec 4, 2005
1
CA
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
 
[tt]--
property whatMarker

on whatScript
openPlayer = window().new("player")
openPlayer.open()
openPlayer.movie.go(whatMarker)
end

on mouseUp me
whatScript()
end

on getPropertyDescriptionList me
pdList = [:]
pdList.addProp(#whatMarker,[#comment:"to what marker:", #format:#String, #default:""])
return pdList
end
--[/tt]

You have to type in the frame label in the Property Inspector and that label must exist in your MIAW.

Kenneth Kawamoto
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top