chuanho
04-10-2006, 05:09 AM
Hi guys,
I’m having trouble with scrolling my flash map. When I try to zoom into the map, I can’t see the other parts. How do I increase the scroll length? Anyone have any ideas?
Here are the links to the flash map.
URL
http://www.howgreen.net.au/develop/flash%20map/old.html
http://www.howgreen.net.au/develop/flash%20map/ver%201.zip
scroll.contentPath = map
Action scripts on first frame:
_root.scroll.content._xscale = 60;
_root.scroll.content._yscale = 60;
Action scripts on “zoom in” button:
on (press){
_root.scroll.content._width +=20;
_root.scroll.content._height +=20;
_root.scroll.hLineScrollSize =1000;
_root.scroll.hPageScrollSize =1000;
if (_root.scroll.content._width>=665.25){
_root.scroll.content._width =665.25;
}
if (_root.scroll.content._height>=580.1){
_root.scroll.content._height =580.1;
}
}
I’m having trouble with scrolling my flash map. When I try to zoom into the map, I can’t see the other parts. How do I increase the scroll length? Anyone have any ideas?
Here are the links to the flash map.
URL
http://www.howgreen.net.au/develop/flash%20map/old.html
http://www.howgreen.net.au/develop/flash%20map/ver%201.zip
scroll.contentPath = map
Action scripts on first frame:
_root.scroll.content._xscale = 60;
_root.scroll.content._yscale = 60;
Action scripts on “zoom in” button:
on (press){
_root.scroll.content._width +=20;
_root.scroll.content._height +=20;
_root.scroll.hLineScrollSize =1000;
_root.scroll.hPageScrollSize =1000;
if (_root.scroll.content._width>=665.25){
_root.scroll.content._width =665.25;
}
if (_root.scroll.content._height>=580.1){
_root.scroll.content._height =580.1;
}
}