home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
3D World 110
/
3DW_110.iso
/
mac
/
Menu
/
Scenes
/
home.dir
/
00016_Script_Sub_Item_Rollover
< prev
next >
Wrap
Text File
|
2008-09-12
|
766b
|
41 lines
global gRootPath
global gDiv
global gMenuList
global rollcolor
global SectionNumber
global SectionPath
global gFullPath
property Sp
property myEntry
on Initialize me, aNumber, aListEntry, aItemTitle
Sp = sprite(aNumber)
myTitle = aItemTitle
myEntry = aListEntry
Sp.member.color = rgb(255,255,255)
end
on mouseEnter me
cursor 280
Sp.member.color = rgb(132,220,253)
end
on mouseLeave me
cursor -1
Sp.member.color = rgb(255,255,255)
end
on mouseUp me
fullPath = gRootPath & "DiscContent" & gDiv & SectionPath & gDiv & (gMenuList[SectionNumber].itemList[myEntry].itemPath) & gDiv
gFullPath = fullPath
generateProductPage(fullPath)
member("product_title").text = Sp.member.text
end