need help with map application thingy

  • fifin04
  • Student
  • Student
  • fifin04
  • Posts: 70

Post 3+ Months Ago

Hi guys....
I really need u guys help with my map application...since I'm stuck up here

u can see the mockup preview here..

http://www.franzacollections.net/mapstuff/mockup.swf

as u guys can see and test the map.I already done with preparing the navigation and controller for the maps..but there is still minor issues occured..and realy need u guys help/ at least give me some shed on light how to overcomes it.. really need u guys help....

1.How to easing the map within map boundary..as u guys obviously can see when the menu item being click the maps will ease to certain location based on assigning x,y coordinate read from array.But how to detect/rectify by the times the map easing is it the maps easing over beyonds the boundary or not,if so it will only easing within boudary only...not using that given coordinates....does make sense?

2.Regarding the bubble thingy...how to keep it's remain their xscale and yscale property eventhough the map it scaling...as u guys can see in the mockup...the bubbles also scaling together with the maps..pretty annoying...I try to keep bubbles scale remain by using this code but not to avail I guess...
Code: [ Select ]
//inside zoom in function
zoomin.onPress = function(){
    if (mapmc._xscale < maxScale) {
        mapmc._xscale = mapmc._xscale + scaleSpeed/0.5;
        mapmc._yscale = mapmc._yscale + scaleSpeed/0.5;
//////////////////// how to keep remain child scale ///////////////     
        orichildXscale = orichildYscale = (100/mapmc._xscale)*100;
///////////////////////////////////
        
    }
}
  1. //inside zoom in function
  2. zoomin.onPress = function(){
  3.     if (mapmc._xscale < maxScale) {
  4.         mapmc._xscale = mapmc._xscale + scaleSpeed/0.5;
  5.         mapmc._yscale = mapmc._yscale + scaleSpeed/0.5;
  6. //////////////////// how to keep remain child scale ///////////////     
  7.         orichildXscale = orichildYscale = (100/mapmc._xscale)*100;
  8. ///////////////////////////////////
  9.         
  10.     }
  11. }


3.I do manage keep the map within boundary upon panning...by dragging the maps..but the problem occurred when I start rescale the map I cant reach certain point on maps when I dragging the maps...(is it because of I'm setting off the boudary manually at the 1st places???) ..

Anyway sorry for th elong questions but at least give me some shed on light and point me to the rite path....I just really need help with it..then I'm done ;)....because it's just a simple and basic map controller I guess...hope I will get reply from u guys...thanks for u guys time and concern...

thanks in advanced...

in case u guys wanna see my current code and my mockup fla

http://www.franzacollections.net/mapstuff/mockup.fla

any help are appreciate...
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 17 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.