What is the technique that u have used to display data from one node to another ???
Have u used modules to reload the entire screen with the new node map details or are u just overwriting the existing screen with the new information??? In either case u will have to store the data temporarily in the application and redraw the polygons on reload. If the data is small (since u mentioned 3 polygons) u can store this information in the application itself to some persistent variable that u can access later even when the old node is reverted. If the data is medium then u should use shared objects as they allow to save upto 100 MB data on the client machine (provided the user has allowed it) But then again the user can disable shared objects or reduce the size limit for it thus causing u problems. If the data is large u have to go for a server side data storage approach. There is no other alternative. But i feel the first approach should suite u fine if u only need to store the data of the previous node & the current node. If u want to maintain all history then try the other 2 options. FYI ... I have used the first approach in my project on medium size data. On May 18, 3:45 pm, Flex based developments <[email protected]> wrote: > Hello, > > Thanks for the response.Currently I am using some collection of sprite > objects,drawn on a map.Now when use goes to a next node the whole > application is refreshed and also the new map image loads.If i again > revert back to previous node so i should see the old shapes drawn. > For example I draw three polygons on the node 1 link and than goes to > node 2 link.now again when i want to revert to node 1 the whole page > gets refreshed and the shapes are gone.I am trying for redraw as not > really clear how to redraw the bunch of shapes. > > Also if there is any other approach such as Sessions please do > suggest. > > Thanks. > > Abhilash > > On May 18, 11:46 am, Kronos <[email protected]> wrote: > > > > > > > > > What do u mean by page refresh ??? > > If you are reloading the page from the browser then there is nothing > > that u can do to prevent it. > > > If not, you will have to redraw the polygons every time the page is > > refreshed. > > You could move the code to the creationComplete of the page (unless > > the code is user event driven) that way the code will get executed > > every time the page loads. > > > If u can gimme some details regarding what it is u mean by page > > refresh I will be able to help u better. > > > On May 17, 11:21 am, Flex based developments <[email protected]> > > wrote: > > > > I got some sprite objects(polygon) on a mxml page.The problem is as > > > soon as the page is refreshed the sprite is cleared. > > > Can anyone suggest how to keep or stop the clearing of sprite objects > > > on refresh. > > > > Thanks. > > > > Abhilash -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

