RE: lingo-l Any idea?
snip Using a flash member also has speed implications. If you have one large map with every little object on it, when it's zoomed out to see a lot of the map, there will be so many little objects visible that it will bog down the playback, possibly worse than an image would (you'd have to do some tests to see which is worse). snip Just a thought..the problems of speed can be minimized if you go down the multiple movieclips route Regards, Anand Ravi [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
lingo-l Any idea?
Hi there I made a similar app which was basically a searchable street map of the entire UK city of Cardiff. I initially started off using imaging Lingo to copy the relevant section of the entire map however this was far too slow when scrolling especially as the client required it to scroll at 10 different zoom levels. I found that using a flash sprite was an ideal solution as it had the ability to zoom built in and the performance of scrolling and zooming at the same time was very good. Please feel free to email me if you have any questions about this approach. Cheers Paul http://www.themediakitchen.co.uk [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: lingo-l Any idea?
Best way to zooming map, using vector flash member. it gives best quality. When you're using an image, on zoomstate %300 (any) set the flash movieclip.alpha down. It hides to image pixel problem. emredk® - Original Message - From: sasa [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 01, 2003 6:41 AM Subject: Re: lingo-l Any idea? At 19:08 30. 11. 03, Diego Landro [EMAIL PROTECTED] wrote: For the zoom option map the best way would be to use a big image and resize it as you use the zoom in-out tool, but that way maybe the image is too big and the app would slow down a lot because of the big image. If this happens i guess your best shot would be to use different images for different degrees of zooming, and you should be careful enough to register these variations between maps so you can then adjust your coordinates for object Yes, picture of the map is very big and it slow down any moving and resizing. it looks like more pictures will be better solution. for making n-markers (if i understand quite right what youre trying to do) your best possibility is to use lists (marker=[m1,m2,m3...]) if youre not familiar with lists check the lingo dictionary, is quite simple (again, i Ufff, my english, sorry. Markers are on the map annd they must be buttons. For example, i select from database all objects from group museums and have 34 results with x and y coordinates for display on the map (markers) and every dot on the map must be mouse clickable. I can handle more pictures and scaling between them and i can use loop: repeat with i=1 to GetRecordCount(ValentinaCursor) ... end repeat to display dots on the map: member(map).image.fill(rect(0,0,20,20).offset(x_koord, y_koord), [#color : rgb(255,0,0), #shapeType : #oval, #lineSize : 2]) but i have not any idea how to make them mouse sensitive - when you click on some map object you get more information about. Best posibble way is that click return some record ID and this is a reason to make sprites on the fly not to draw on the image. Alex [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!] [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
RE: lingo-l Any idea?
You might want to explore integrating flash content within Director for this. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of sasa Sent: Sunday, November 30, 2003 5:21 PM To: [EMAIL PROTECTED] Subject: lingo-l Any idea? I want to make one CD ROM project - dinamic map of the city with city objects which are shown dinamicly on the map from database.(Valentina). I have a problem how to make map of the city with zoom option. Is it one big image or to make it from many small images, or something else. I have done similar thing with one image and one object. In database I store x and y location of object and then position a marker sprite on selected object. If i have more objects to show, how to make n-markers? I can draw oval on bitmap but there is a problem to detect mouse click on one of them and which one and call display_more_information function or miaw. Did someone have done something similar or have idea how to do this? Thanks, and sorry for my english Alex [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!] [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: lingo-l Any idea?
Using a flash member also has speed implications. If you have one large map with every little object on it, when it's zoomed out to see a lot of the map, there will be so many little objects visible that it will bog down the playback, possibly worse than an image would (you'd have to do some tests to see which is worse). I would probably go a different route altogether and use a copyPixels solution. Have one large map that is the whole map at as large a resolution as you would ever need, and then have another bitmap that is just for display. Then you can use copyPixels to copy different parts of the large map into the display bitmap for display. To zoom out, simply copy a larger rect of the source bitmap into the smaller one of the display bitmap and it will be resized to fit (antialiasing and all!). Charlie Fiskeaux II Media Designer Cre8tive Group cre8tivegroup.com 859/858-9054x29 cell:859/608-9194 - Original Message - From: emredk [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 01, 2003 3:04 AM Subject: Re: lingo-l Any idea? Best way to zooming map, using vector flash member. it gives best quality. When you're using an image, on zoomstate %300 (any) set the flash movieclip.alpha down. It hides to image pixel problem. emredk® - Original Message - From: sasa [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 01, 2003 6:41 AM Subject: Re: lingo-l Any idea? At 19:08 30. 11. 03, Diego Landro [EMAIL PROTECTED] wrote: For the zoom option map the best way would be to use a big image and resize it as you use the zoom in-out tool, but that way maybe the image is too big and the app would slow down a lot because of the big image. If this happens i guess your best shot would be to use different images for different degrees of zooming, and you should be careful enough to register these variations between maps so you can then adjust your coordinates for object Yes, picture of the map is very big and it slow down any moving and resizing. it looks like more pictures will be better solution. for making n-markers (if i understand quite right what youre trying to do) your best possibility is to use lists (marker=[m1,m2,m3...]) if youre not familiar with lists check the lingo dictionary, is quite simple (again, i Ufff, my english, sorry. Markers are on the map annd they must be buttons. For example, i select from database all objects from group museums and have 34 results with x and y coordinates for display on the map (markers) and every dot on the map must be mouse clickable. I can handle more pictures and scaling between them and i can use loop: repeat with i=1 to GetRecordCount(ValentinaCursor) ... end repeat to display dots on the map: member(map).image.fill(rect(0,0,20,20).offset(x_koord, y_koord), [#color : rgb(255,0,0), #shapeType : #oval, #lineSize : 2]) but i have not any idea how to make them mouse sensitive - when you click on some map object you get more information about. Best posibble way is that click return some record ID and this is a reason to make sprites on the fly not to draw on the image. Alex [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!] [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!] [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: lingo-l Any idea
Hi Alex, I have done something like this last year. I used maps of different size (10%, 25%, 50% and 100%) and allowed the user to zoom in. With this approach, like Diego says, you must harvest all marker positions and transform their coordinates and size when going from one map to another. Just make sure all marker positions are made relative to the map as a reference, of course, and not the stage. Overall this means a few tricks to implement, but it works quite well. Denis On Monday, December 1, 2003, at 12:01 PM, [EMAIL PROTECTED] wrote: Message: 1 From: Diego Landro [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: lingo-l Any idea? Date: Sun, 30 Nov 2003 15:08:51 -0300 Reply-To: [EMAIL PROTECTED] Well, never done anything of the sort, but here are some ideas. For the zoom option map the best way would be to use a big image and resize it as you use the zoom in-out tool, but that way maybe the image is too big and the app would slow down a lot because of the big image. If this happens i guess your best shot would be to use different images for different degrees of zooming, and you should be careful enough to register these variations between maps so you can then adjust your coordinates for object displaying and placing (example: if you use a 100% and a 50% map, then in the 50% map you should display your objects at object.size/2) for making n-markers (if i understand quite right what youre trying to do) your best possibility is to use lists (marker=[m1,m2,m3...]) if youre not familiar with lists check the lingo dictionary, is quite simple (again, i don´t know if i understood right what you´re trying to do, i guess it´s that you have one set of variables and you want to use many sets and not just one, then lists is the way to go) Diego Landro - Original Message - From: sasa [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, November 30, 2003 8:50 AM Subject: lingo-l Any idea? I want to make one CD ROM project - dinamic map of the city with city objects which are shown dinamicly on the map from database.(Valentina). I have a problem how to make map of the city with zoom option. Is it one big image or to make it from many small images, or something else. I have done similar thing with one image and one object. In database I store x and y location of object and then position a marker sprite on selected object. If i have more objects to show, how to make n-markers? I can draw oval on bitmap but there is a problem to detect mouse click on one of them and which one and call display_more_information function or miaw. Did someone have done something similar or have idea how to do this? Thanks, and sorry for my english Alex [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
lingo-l Any idea?
I want to make one CD ROM project - dinamic map of the city with city objects which are shown dinamicly on the map from database.(Valentina). I have a problem how to make map of the city with zoom option. Is it one big image or to make it from many small images, or something else. I have done similar thing with one image and one object. In database I store x and y location of object and then position a marker sprite on selected object. If i have more objects to show, how to make n-markers? I can draw oval on bitmap but there is a problem to detect mouse click on one of them and which one and call display_more_information function or miaw. Did someone have done something similar or have idea how to do this? Thanks, and sorry for my english Alex [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: lingo-l Any idea?
Well, never done anything of the sort, but here are some ideas. For the zoom option map the best way would be to use a big image and resize it as you use the zoom in-out tool, but that way maybe the image is too big and the app would slow down a lot because of the big image. If this happens i guess your best shot would be to use different images for different degrees of zooming, and you should be careful enough to register these variations between maps so you can then adjust your coordinates for object displaying and placing (example: if you use a 100% and a 50% map, then in the 50% map you should display your objects at object.size/2) for making n-markers (if i understand quite right what youre trying to do) your best possibility is to use lists (marker=[m1,m2,m3...]) if youre not familiar with lists check the lingo dictionary, is quite simple (again, i don´t know if i understood right what you´re trying to do, i guess it´s that you have one set of variables and you want to use many sets and not just one, then lists is the way to go) Diego Landro - Original Message - From: sasa [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, November 30, 2003 8:50 AM Subject: lingo-l Any idea? I want to make one CD ROM project - dinamic map of the city with city objects which are shown dinamicly on the map from database.(Valentina). I have a problem how to make map of the city with zoom option. Is it one big image or to make it from many small images, or something else. I have done similar thing with one image and one object. In database I store x and y location of object and then position a marker sprite on selected object. If i have more objects to show, how to make n-markers? I can draw oval on bitmap but there is a problem to detect mouse click on one of them and which one and call display_more_information function or miaw. Did someone have done something similar or have idea how to do this? Thanks, and sorry for my english Alex [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!] -- Incoming mail is certified Virus Free. Checked by AVG Anti-Virus (http://www.grisoft.com). Version: 7.0.203 / Virus Database: 261.3.2 - Release Date: 27/11/2003 -- Outgoing mail is certified Virus Free. Checked by AVG Anti-Virus (http://www.grisoft.com). Version: 7.0.203 / Virus Database: 261.3.2 - Release Date: 27/11/2003 [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
Re: lingo-l Any idea?
At 19:08 30. 11. 03, Diego Landro [EMAIL PROTECTED] wrote: For the zoom option map the best way would be to use a big image and resize it as you use the zoom in-out tool, but that way maybe the image is too big and the app would slow down a lot because of the big image. If this happens i guess your best shot would be to use different images for different degrees of zooming, and you should be careful enough to register these variations between maps so you can then adjust your coordinates for object Yes, picture of the map is very big and it slow down any moving and resizing. it looks like more pictures will be better solution. for making n-markers (if i understand quite right what youre trying to do) your best possibility is to use lists (marker=[m1,m2,m3...]) if youre not familiar with lists check the lingo dictionary, is quite simple (again, i Ufff, my english, sorry. Markers are on the map annd they must be buttons. For example, i select from database all objects from group museums and have 34 results with x and y coordinates for display on the map (markers) and every dot on the map must be mouse clickable. I can handle more pictures and scaling between them and i can use loop: repeat with i=1 to GetRecordCount(ValentinaCursor) ... end repeat to display dots on the map: member(map).image.fill(rect(0,0,20,20).offset(x_koord, y_koord), [#color : rgb(255,0,0), #shapeType : #oval, #lineSize : 2]) but i have not any idea how to make them mouse sensitive - when you click on some map object you get more information about. Best posibble way is that click return some record ID and this is a reason to make sprites on the fly not to draw on the image. Alex [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]