Flash Map Questions
Hello all... This is my first post.... Glad to finally find a good forum for flash web development.... I am using Flash MX 2004 and I am very familiar with its interface... My ActionScripting skills are becoming better with each passing day and I need your help.... I am currently working on an independent undergraduate study of which my subject matter is to create a flash interactive campus map of Salisbury University.... I have a few questions i am hoping you may be able to help me with... I have included a link to the test site as well as attached the fla I am working on... below...
1. I have created a main map frame as well as a overview map frame(upper left corner).... currently if the user clicks and drags a box within the main map frame the coordinates of that box will become the extent of the main frame as and the overview map will update in order to show the focus of the main frame in relation to the entire map.... the user may also pan the main frame by click and dragging the box within the ovmap frame ... I have also included a slider movie clip to allow the user to easily snap back to the full extent or zoom in further...(right side of the main frame)... these functions work perfectly and I am happy with them but here is my question
If you look in the lower left hand corner you will see my info box containing the initials as well as the title of all of the buildings on campus.... these are each buttons to which i want to allow the user to click on and the map will update and zoom itself to that particular building..... at first i just used seperate frames within the main map frame and called them by the on(Release) command... this did work but now that i have the zoom and pan feature it will not work with that..... If you click on the "AD - Admissions House" (first in the list) you will see that the map will zoom to that building but the main frame now considers that to be the full extent of the map and you cannot zoom back out...... as well the overview map doesnot update itself to show the new focus..... I guess what im asking is is there a way to make the buttons call a certain x,y coordinate of the main map so that it will actually be all on one frame yet it will still zoom to the location clicked..... that way the slider, and overview map will still remain in unison with the main frame. Sorry i trying to explain it as best as I can
2. Anyone know a way in Flash to use ScaleDependentRenderers... In other words i want the name of the buildings to appear when the map is zoomed into a certain extent ... Currently the max zoom of the map frame is 700 say i want the text to appear at 400 anyone help me with that....
3. the list i have in the lower left corner is the infobox and as i stated before each text is a button, how can i make it so that the button is active when the cursor is within the buttons bounding box rather than the way it is (only when the cursor is right over the text itself) it is hard to click on the text exactly and it is very annoying to try and get over the text just right....
Thank you very much in advance for your help..... im sorry to throw all these questions at you like this hope ive explained myself well enough for you to understand what i want to do....
I have just begun to read colin moock's ActionScript for Flash MX so im hoping when im done i will be able to return the favors to others....
here is the link to the test site http://www.students.salisbury.edu/~jw08193/sumap.swf
and ive also attached the fla
|Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)|
|Thread||Thread Starter||Forum||Replies||Last Post|
|i search a flash expert for a 3d world map for my browser game||panzerot||Work/Job Opportunities||0||06-12-2009 03:29 PM|
|Flash Video Encoder Compare||flashfever2nd||New Softwares||1||05-20-2006 03:46 AM|
|Questions of abit everything in this new flash||xCanadian||Flash MX 2004||1||10-07-2003 05:25 PM|
|Publishing a Flash site, 3 questions||adhocgraphics||General Flash||1||09-10-2001 02:00 PM|
|A few flash 5 questions||sculpteur||Design and Animation||19||07-09-2001 03:22 PM|