Copy link to clipboard
Copied
Hi,
Flash CS5.
We have the same datagrid visible on two maps, selecting a row on the first map displays MC's, click a button and see second map and same dg shows, but the selection from the first map again as MC's fails to show, though we have code that should show it, and does when user just touches and leaves dg. It needs a momentary hover to get the held data from the first map to re-appear.
Can we extend dg in some way so that any movement on the second map is in fact activating the dg.
Maybe a clone of the dg again and again with alpha 0 across the map !
Maybe extend its margins but I dont think it has such.
...else what code placed in function for button click that goes to second map would activate and kick start this ? We have tried running the code that captures the last click in the button function but with no success.
..but for this irritating problem the jobs done...and now well overdue for handover.
Envirographics
Copy link to clipboard
Copied
Your requirement is unusal. tbh I´m not sure what you are trying to accomplish:: Having 2 cursors that move identical? having two FocusEvents at once? Having a "virtual" datagrid field that copies the data you type in the original?
We have tried running the code that captures the last click in the button function but with no success.
What do you mean by "capture the last click"? Like Screenrecording capture?
You will have to be far more specific if you want actual help (screenshots, code).
Copy link to clipboard
Copied
Hi,
Rather than type out here the story so far, can I refer to the problem first raised in the following thread, which without any replies now after 2 weeks would seem to indicate this is unsolvable, the apparent cause for failure being unfounded after tests carried out. Most grateful to KGlad for persevering with this quest. We need to solve this need to touch dg to kick start the display of MC's when display shows a different map. It has prompted us to try for a different plan of attack to solve the simple problem, or so we had thought simple !
http://forums.adobe.com/thread/1156083?tstart=30
It explains what we have operating.
The code there shows how output from the last click on a row in the datagrid in the one map is applied to reshow the MC's as soon as the user navigates to the second map (my meaning of 'capture the last click'), this second map features the same datagrid , well thats what should happen ! Click button to go to Level3 map and it runs the function that displays the MC's from the last row clicked, but it doesnt do so, why, we havent a clue.
We should see the corresponding MC's reshow but until the user hovers the dg in the second map, no MC's show at all, touch upon the dg and the MCs for the hovered row in this map then show, and move off the dg and the MC's for the last clicked row in the previous maps dg then show. Our goal !
Also when user navigates back to Map Level2 the MC's are incorrect until again the dg is touched with cursor, then when cursor moves off, the MC's for the last clicked dg row appear.
User has one cursor by the way, not aware of a two cursor mouse.
Hope this helps. We could write something under the map saying, 'after navigatin to next map, touch datagrid with cursor then move off to kick start display of your last selection', but thats not very professional though.
Envirographics
Copy link to clipboard
Copied
I read both threads and still have difficult time to visualize this use cases. It may be me but I suspect that solution is not found, well, because use cases are not well articulated/illustrated to begin with - this is usually the reason for roadblocks in programming.
I am not here to lecture but ask if you have any illustrations or diagrams that will allow for a better understanding of your needs. I am willing to look into your files as well.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now