Author Topic: v1.38 - Navigation Buttons, Color Change  (Read 925 times)

CappMarvell

  • Newbie
  • *
  • Posts: 5
v1.38 - Navigation Buttons, Color Change
« on: October 09, 2009, 09:01:55 pm »
Hi All,

I'm using version 1.38. I modified the code and pretty much have everything the way I want it. However, I want to do one last task.

I'd like to have the page buttons (the white dots) change from white to another color (other than white) on mouseover. And when that page/spread is selected, I'd like for the page button to be the same color as it was on mouseover.

I've tried using "buttoncolor", but that doesn't work quite as expected.

Is this feature available?

Thanks.

-Stephen

Florian Nücke

  • κρύα πόδια
  • Administrator
  • Hero Member
  • *****
  • Posts: 1985
  • MegaZine3 Developer
    • MegaZine3
Re: v1.38 - Navigation Buttons, Color Change
« Reply #1 on: October 10, 2009, 02:08:00 pm »
Hi,

the buttoncolor attribute is for changing the overall color, yes... to change it on mousover only, you'll have to change the interface.fla and publish a new interface.swf. More specifically, the ButtonPage library element. Change the over state accordingly.
That'll be applied to all page buttons, though. If you need it to be specific you'll have to dig into the actual code of the... NavigationBar if I'm not mistaken... and change handle that using an additional event listener for mouseover/out events for the buttons.

Regards,
Florian
For the Snark was a Boojum, you see.

Before you ask a question
          After you get an answer
  • please document your problem with the answer in the Project Wiki. (e.g. in the FAQs)
  • help others out if you can, by answering their questions on the forum.