|
Mailing Lists
|
Home /
Groups /
Adobe Flex
Getting the name of the monitor
I have an application that shows different windows based on the monitor station it is running from.Kim Hoopingarner 05/14/10 10:13 A > I have an application that shows different windows based on the monitor station it isDave Watts 05/14/10 11:08 A Hi Dave - thanks for the reply. It is a flex app- meant for an in-house project. I guess I can use cookies... I'll go that route unless you have something more clever.Kim Hoopingarner 05/14/10 11:29 A Apparently I can't win - cookies aren't supported in Flex. I'll continue to look around for a solution. UGHKim Hoopingarner 05/14/10 11:44 A I have an application that shows different windows based on the monitor station it is running from. Any suggestions on how to accomplish this? I have not hit the right Google words yet to get a good answer. So thought I'd throw it out to the experts. :) Kim > I have an application that shows different windows based on the monitor station it is > running from. > > Any suggestions on how to accomplish this? I have not hit the right Google words yet > to get a good answer. So thought I'd throw it out to the experts. :) Is this a regular Flex app, or an AIR app? I don't think it's possible to do this from a Flex app running from the web. From AIR, there's a Screen class that exposes all sorts of information about monitors: http://blogs.adobe.com/cantrell/archives/2007/12/multi-monitor_s.html Joris Timmerman wrote a helpful wrapper for Screen called ScreenManager: http://www.joristimmerman.be/wordpress/2009/03/03/screenmanager-expand-your-air-application/ Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsi Hi Dave - thanks for the reply. It is a flex app- meant for an in-house project. I guess I can use cookies... I'll go that route unless you have something more clever. Kim Apparently I can't win - cookies aren't supported in Flex. I'll continue to look around for a solution. UGH > Apparently I can't win - cookies aren't supported in Flex. I'll continue to look around for a solution. UGH I'm not sure how cookies would help here, but you can access cookies from Flex, if the cookies weren't set as "httpOnly". You can invoke JavaScript in the browser from Flex/Flash using ExternalInterface: http://livedocs.adobe.com/flex/3/langref/flash/external/ExternalInterface.html http://blog.flexexamples.com/category/externalinterface/ Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsit
|
June 20, 2013
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||