PDA

View Full Version : Interactive Flash Map


oaker
03-18-2003, 09:14 PM
sup,

I have a school project due very soon, and it requires some sort of interactive map. I thought flash would be the best choice, even though the entire site will just be static. My problem is that my knowledge of actionscript is minimal, but I do know the program well, enough to get by with tweens, scenes, ect. The basics :rolleyes: Anyway...i was wondering if anyone could point me in the direction of a good idea on how to go about doing this in an effective, yet simple way. (Not too much time to complete this project.)

Here is the map i will be using, I will recreate it in illustrator.

http://www.nps.gov/romo/downloads_photos/maps.html (The Basic Map)

Any suggestions and links to places where i can learn more about it would be appreciated.

Thanks!

** i know what your thinking....over 100 posts, and you know crap about actionscript! I am a cool site's forum whore :cool:

** enough interactivity would probably be maybe a scrolling feature up, down, and side to side depending on where the mouse was, and maybe a zoom feature or something like that. That would not be too hard to learn in a weekend would it?

// If this is starting to sound like more of "General Help" question...please move it to that forum...sry:rolleyes:

simontheak
03-19-2003, 04:11 PM
Well having a think about it, I'd suggest that for a basic map you're going to need to know about 3 things:

Masks
_x / _y properties
_xscale / _yscale

(Stop me here anyone else if I'm wrong!)
Basically if you've got a mask that's a fixed size you can make the map appear to zoom in and out by making it bigger and smaller (its _xscale and _scale properties)

As for moving it left and right (or up and down) then you're going to need to adjust the _x and _properties of your map. Again it will appear to scroll if your mask remains in the same place at a fixed size.

CyanBlue
03-19-2003, 04:44 PM
Howdy...** i know what your thinking....over 100 posts, and you know crap about actionscript! I am a cool site's forum whorePosting number has nothing to do with what you know... ;)** enough interactivity would probably be maybe a scrolling feature up, down, and side to side depending on where the mouse was, and maybe a zoom feature or something like that. That would not be too hard to learn in a weekend would it? Why not use ScrollPane component if you are using FMX??? If it is F5 project, what simontheak says should be the way you should do about it...// If this is starting to sound like more of "General Help" question...please move it to that forum...sryYes... That sounds like the place where this thread should be located... ;) I think there were several people who did map in the forum... Do the search... You might end up with valuable information... :D

boyzdynasty
03-19-2003, 08:33 PM
CyanBlue...dam...you got over 2,000 already. :mad:

I remember I was only half way....I guess that is what you have been doing when you were up for 30hrs?!

*lol*

Oaker >> In a weekend...hmm....that maybe possible but I don't I can do it.

:(

scroll pane will work but i wouldn't use it.....

hmm....and to avoid masking....I think you can make the map image bigger than the stage... so when the user moves up, down, left right....

just move the image using the _x and _y properties....of course set limits...because you don't want to move it off stage

.....that is as simple as I could think of. *never tried it*

CyanBlue
03-20-2003, 02:48 AM
Let me depend myself, boyzdynasty... ;)

I have a project going on at the moment, gotta pay the bill, and that IS the main reason why I had to sit in front of the computer all day long... But sometimes people, I, get lazy and need to refresh their brain from time to time... So, I am here, and as soon as I am here, I see too many people waving towards me which I cannot resist... :D

I said ScrollPane because of this...My problem is that my knowledge of actionscript is minimal, but I do know the program wellandThat would not be too hard to learn in a weekend would it?He doesn't really have time to put big time on the scrolling issue since he's got much more things to deal with within given time frame... That's all... ;)

boyzdynasty
03-20-2003, 02:54 AM
okie dokie.

oaker
03-21-2003, 08:08 AM
thanks for all your comments...i was thinking of just creating a little control panel on the right hand side of the interface that would control everything. Up, down, left, right, zoom in/out ect. That would prolly be my best bet. I'm sure I will be posting many question over the weekend, so I will cya round :)