so here goes
the site i'm working on: http://grand-entrance.com
i have the menu on the side as an accordion component (curently developing in flash mx pro 2004). my boss has a problem with the fact that the mouse cursor doesn't change to the little hand cursor when you mouse over. you'd think this would be an easy process. is there a way to do this without creating a custom cursor?
i've tried using different variations of actionscript for the accordion symbol like this:
this.mc.useHandCursor
but each variation seems to change the cursor, yes, but disable any other functionality it might have had
here's my code so far so you can see that it does...
code:
myAccordion.setStyle("fontFamily", "Arial");
myAccordion.setStyle("backgroundColor", "0xFFFF99");
myAccordion.setStyle("borderStyle", "solid");
myAccordion.setStyle("borderColor", "0x004AAD");
myAccordion.setStyle("color", "0xFEFE4F");
myAccordion.Entrance.setStyle("color", "0x000000");
myAccordion.Entrance.setStyle("fontSize", "11");
myAccordion.Entrance.setStyle("fontWeight", "bold");
myAccordion.Entrance.setStyle("themeColor", "haloBlue");
myAccordion.LogoMats.setStyle("color", "0x000000");
myAccordion.LogoMats.setStyle("fontSize", "11");
myAccordion.LogoMats.setStyle("fontWeight", "bold");
myAccordion.AntiFatigue.setStyle("color", "0x000000");
myAccordion.AntiFatigue.setStyle("fontSize", "11");
myAccordion.AntiFatigue.setStyle("fontWeight", "bold");
myAccordion.SurfaceProtection.setStyle("color", "0x000000");
myAccordion.SurfaceProtection.setStyle("fontSize", "11");
myAccordion.SurfaceProtection.setStyle("fontWeight", "bold");
myAccordion.falseOverSkin = "AccordionRolloverSkin";
myAccordion.SurfaceProtection.onRollover = function(){
myAccordion.SurfaceProtection.useHandCursor = true;
}
myAccordionListener = new Object();
myAccordionListener.change = function(){
trace(myAccordion.selectedChild);
if(myAccordion.selectedChild == _level0.empty_menu.myAccordion.SurfaceProtection){
myAccordion.setSize(125, 208);
}else{
myAccordion.setSize(125, 138);
}
}
myAccordion.addEventListener("change", myAccordionListener);
//Entrance Buttons---------------------
myAccordion.Entrance.info_btn.onRelease = function(){
loadMovieNum("flash/GE_Entrance_Intro.swf", 10);
}
myAccordion.Entrance.select_btn.onRelease = function(){
loadMovieNum("flash/GE_EFS.swf", 10);
}
//Logo Mats Button---------------------
myAccordion.LogoMats.info_btn.onRelease = function(){
loadMovieNum("flash/GE_LogoMats_Intro.swf", 10);
}
myAccordion.LogoMats.select_btn.onRelease = function(){
loadMovieNum("flash/GE_Logo.swf", 10);
}
//Anit Fatigue Buttons------------------
myAccordion.AntiFatigue.info_btn.onRelease = function(){
loadMovieNum("flash/GE_Anti_Intro.swf", 10);
}
myAccordion.AntiFatigue.select_btn.onRelease = function(){
loadMovieNum("flash/GE_Anti.swf", 10);
}
//Surface Protection Buttons-------------
myAccordion.SurfaceProtection.intro_btn.onRelease = function(){
loadMovieNum("flash/GE_Acrovyn_Intro.swf", 10);
}
myAccordion.SurfaceProtection.corner_btn.onRelease = function(){
loadMovieNum("flash/GE_Corner.swf", 10);
}
myAccordion.SurfaceProtection.bumper_btn.onRelease = function(){
loadMovieNum("flash/GE_Bumper.swf", 10);
}
myAccordion.SurfaceProtection.crash_btn.onRelease = function(){
loadMovieNum("flash/GE_Crash.swf", 10);
}
myAccordion.SurfaceProtection.wall_btn.onRelease = function(){
loadMovieNum("flash/GE_Wall.swf", 10);
}
so any ideas?
~Sir_KiTree~Scan~
..::ill communications network::..