[flexcoders] Re:Separate browser sessions in AIR
Have you considered using a single session, but separating out your different user logins into separate child objects within that one session? eg: in a typical session, you might have a session object with the following keys: session.firstname session.lastname session.email session.cart ..., etc. So, why not instead use: session.user1.firstname session.user1.lastname session.user1.email session.user1.cart ..., etc. and session.user2.firstname session.user2.lastname session.user2.email session.user2.cart ..., etc. If the user is logging in from the same computer, then they are the same person, but using separate objects for each of their logins/profiles like the above may solve the problem you have. Kind regards, Martyn
Re: [flexcoders] Flex 3 Tree - Moving Nodes
You could consider using a combination of a key input and being over a certain node as to how you interact with it. ie: if the CTRL key is down, then treat the node as a folder and drop the page you are dragging as a child, otherwise drop the page you are dragging as a sibling. Cheers, Martyn Alan Rother wrote: Yeah, I tried something similar, but since all of my nodes are essentially the same (all pages) and can all be a parent or a child (leaf or branch as it were) but the problem I'm running into is how do Idiscriminate between intent, in other words how do I know if the user wanted to move the page between two pages on the same level (re-ordering) or if they wanted to move the page to be the child of the page is was dropped onto. That ExtJS example seems to be doing what I want (albeit, you cant drag a file to another file, only folders) I have to believe Flex can do this as well, I really don't want to do it in Ext... =] -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org __ Information from ESET NOD32 Antivirus, version of virus signature database 3922 (20090309) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -- Dr Martyn Bowis (PhD Engineering) Director Net Design Ltd New Zealand www.netdesign.co.nz Mob: +64 21 932626 Skype: mbowis MSN: mbowis @ msn.com Truth brings Freedom The content of this email is confidential. If you are not the intended recipient, you must not use or distribute this information in any way, shape or form. Please notify the send of this error. Thank you.
Re: [flexcoders] Flex 3 Tree - Moving Nodes
Another alternative is to have the node you are dragging over open after two seconds and display a placeholder child. If you want to make it a sibling, that will be your first option before the node has time to open. If you want it to be a child, wait a couple of seconds whilst the node opens to display any current children (and if not a placeholder child that you dynamically create for that purpose) Cheers, Martyn Alan Rother wrote: Yeah, I tried something similar, but since all of my nodes are essentially the same (all pages) and can all be a parent or a child (leaf or branch as it were) but the problem I'm running into is how do Idiscriminate between intent, in other words how do I know if the user wanted to move the page between two pages on the same level (re-ordering) or if they wanted to move the page to be the child of the page is was dropped onto. That ExtJS example seems to be doing what I want (albeit, you cant drag a file to another file, only folders) I have to believe Flex can do this as well, I really don't want to do it in Ext... =] -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org __ Information from ESET NOD32 Antivirus, version of virus signature database 3922 (20090309) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -- Dr Martyn Bowis (PhD Engineering) Director Net Design Ltd New Zealand www.netdesign.co.nz Mob: +64 21 932626 Skype: mbowis MSN: mbowis @ msn.com Truth brings Freedom The content of this email is confidential. If you are not the intended recipient, you must not use or distribute this information in any way, shape or form. Please notify the send of this error. Thank you.
Re: [flexcoders] Common base class for components
it :) Perhaps even an include file would be the way to go... -- Dr Martyn Bowis (PhD Engineering) Director Net Design Ltd New Zealand www.netdesign.co.nz http://www.netdesign.co.nz Mob: +64 21 932626 Skype: mbowis MSN: mbowis @ msn.com http://www.netdesign.co.nz Truth brings Freedom The content of this email is confidential. If you are not the intended recipient, you must not use or distribute this information in any way, shape or form. Please notify the send of this error. Thank you.
Re: [flexcoders] Does anyone know how to disable mouseover for a button.
mx:Button enabled="false" ... / yms0411 wrote: Hi i'm making a kiosk application at the moment and I want to disable all mouse actions on a button such as mouseover, rollover, rollout, etc I've extended Button and wrote the following code on the constructor this.addEventListener(MouseEvent.MOUSE_OVER, ignoreMouseEvent, true); private function ignoreMouseEvent(event:MouseEvent):void { event.stopPropagation(); } I've tried this, but it doesn't seem to be working. Any suggestions to how i can approach this? Thanks __ Information from ESET NOD32 Antivirus, version of virus signature database 3811 (20090129) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -- ==== Dr Martyn Bowis (PhD Engineering) Director Net Design Ltd New Zealand www.netdesign.co.nz Mob: +64 21 932626 Skype: mbowis MSN: mbowis @ msn.com Truth brings Freedom The content of this email is confidential. If you are not the intended recipient, you must not use or distribute this information in any way, shape or form. Please notify the send of this error. Thank you.