• Style Pro CMS Flash Template
    Paypal Shopping Cart
    iPhone/iPad compatible



  • Style Portfolio v.3 CMS Flash Template
    Paypal Shopping Cart
    iPhone/iPad compatible



Welcome, Guest

TOPIC: disabling zoming entirely?

disabling zoming entirely? 1 year, 10 months ago #415

Hi,

is it possible to disable the zooming functionality entirely? no cursor change on vhover, no zooming in on clicking on images.
I would like to be able to take it out completely -
if anyone finds out how to do this please msg me. I gave it a few tries but failed miserably...

cheers

Greg

Re:disabling zoming entirely? 1 year, 10 months ago #416

nevermind, found it heheheh...

in gallery.as edit as follows, comenting out the lines:

private function go():void {

//listen to zoom
// cont_img.img_mc.addEventListener(MouseEvent.CLICK,zoom,false,0,true);
// cont_img.img_mc.addEventListener(MouseEvent.MOUSE_MOVE,zoomM,false,0,true);
// cont_img.img_mc.addEventListener(MouseEvent.MOUSE_OVER,zoomOver,false,0,true);
// cont_img.img_mc.addEventListener(MouseEvent.MOUSE_OUT,zoomOut,false,0,true);
// cursor=new zoomin_mc();
}

private function UNgo():void {

//listen to zoom
// cont_img.img_mc.removeEventListener(MouseEvent.CLICK,zoom);
// cont_img.img_mc.removeEventListener(MouseEvent.MOUSE_MOVE,zoomM);
// cont_img.img_mc.removeEventListener(MouseEvent.MOUSE_OVER,zoomOver);
// cont_img.img_mc.removeEventListener(MouseEvent.MOUSE_OUT,zoomOut);
//cursor=new zoomin_mc();
}

Re:disabling zoming entirely? 1 year, 3 months ago #768

  • quang
  • OFFLINE
  • Junior Boarder
  • Posts: 22
  • Karma: 0
awesome. i was looking for this too!

Re:disabling zoming entirely? 1 year, 3 months ago #773

  • quang
  • OFFLINE
  • Junior Boarder
  • Posts: 22
  • Karma: 0
where do i find the gallery.as file to edit this?

Re:disabling zoming entirely? 1 year, 3 months ago #774

  • admin
  • OFFLINE
  • Administrator
  • Posts: 568
  • Karma: 13
src/gallery.as

Re:disabling zoming entirely? 1 year, 3 months ago #775

  • quang
  • OFFLINE
  • Junior Boarder
  • Posts: 22
  • Karma: 0
thanks!

just noticed

" //THUMBNAIL MODE ON OFF - Tell the script to take thumbs from XML or autogenerate them (suggested for pics at default size)
//TRUE= Thumbs from file
//False= Autogenerate thumbs"

how do i set it so it auto makes thumbs?
Time to create page: 0.24 seconds