Archive for September, 2010

Chad Upton

Actionscript Capabilities.os for Windows Vista and Windows 7

Monday, September 20th, 2010

By Chad Upton

When you’re building an application, particularly a desktop (AIR) application, you may need to know which operating system the user is running for various reasons.

Perhaps you’ve got a logging system or an analytics service you need to report to; maybe your application interacts with each operating system differently.

Either way, it’s a good practice to use the constant file paths that are defined in the File class (ex. File.ApplicationDirectory). That way, no matter which operating system the user is running, AIR will map the path to that folder correctly. But, if you’re interacting with files that were put there by another application, it may be necessary to detect the operating system so you can build your own file paths.

To get the operating system, you’ll read the value from: Capabilities.os

You should get a value such as “Windows XP”, “MacOS” or “Linux”, which you’ll find reference to in the docs. However, the docs do not indicate what you’ll get for Windows Vista and Windows 7. As you can probably imagine, you will get “Windows Vista” and “Windows 7″, which is true. But beware, if you launch your application from Flash Builder on Windows 7, the value will actually be simply, “Windows”. It does return the correct value on Windows XP and Vista.

So, here are the values you should get for the more recent versions of Windows:

  • XP: “Windows XP”
  • Vista: “Windows Vista”
  • 7: “Windows 7″
  • 7 Debug mode (launched from Flash Builder): “Windows”

For more information, please consider our professional onsite and online training services.

edv

Adobe Connect: Alberta Government Webinar – October 14, 2010

Wednesday, September 1st, 2010

New Toronto Group and Adobe Systems have partnered to provide Adobe Acrobat Connect Pro software. Rated number one for Web Conferencing in 2009 by TopTen Reviews, Connect Pro is a “must see” if your organization is evaluating eLearning and conferencing software tools. New Toronto Group is the Ontario Government Vendor of Record for Connect Pro.

Join New Toronto Group and Adobe for a live seminar showcasing how Adobe Acrobat Connect Pro can provide the ability to captivate audiences with interactive web meetings and virtual classroom experiences. This award winning package provides unique capabilities including:

  • Flash technology base – allows easy access to on line sessions.
  • Reduced network requirements – allows better interactivity.
  • Strong security – feel comfortable with sharing information.
  • Feature rich environment – based on established software base.
  • 7th generation solution – thousands of customers worldwide.

Learn how organizations like Alberta Sustainable Resource Development, Saskatchewan Ministry of Education, University of Lethbridge, the Ontario Ministry of Education and U.S. Dept. of Defence have rolled out Adobe Connect Pro for their Web Conferencing and eLearning needs.

Date / Time: October 14, 10:00am MST – 12:00am MST

Location: Online, using Adobe Connect

To register: http://ntg.mmalliance.acrobat.com/oct14alberta/event/registration.html
For more details, phone 866-464-7790 x.4041

edv

Adobe Connect: Toronto Seminar (Commercial) – October 27, 2010

Wednesday, September 1st, 2010

New Toronto Group and Adobe Systems have partnered to provide Adobe Acrobat Connect Pro software. Rated number one for Web Conferencing in 2009 by TopTen Reviews, Connect Pro is a “must see” if your organization is evaluating eLearning and conferencing software tools.

Join New Toronto Group and Adobe for a live seminar showcasing how Adobe Acrobat Connect Pro can provide the ability to captivate audiences with interactive web meetings and virtual classroom experiences. This award winning package provides unique capabilities including:

  • Flash technology base – allows easy access to on line sessions.
  • Reduced network requirements – allows better interactivity.
  • Strong security – feel comfortable with sharing information.
  • Feature rich environment – based on established software base.
  • 7th generation solution – thousands of customers worldwide.

Learn how companies like Panasonic, Toshiba and Wal-mart have implented Adobe Connect Pro for their eConferencing and eTraining needs.

Date / Time: October 27, 8:30am – 11:00am

Location: Ryerson University, Oakham House – Room A/B, 63 Gould St.. Toronto, ON

To register: http://ntg.mmalliance.acrobat.com/oct27tor/event/registration.html
For more details, phone 866-464-7790 x.4041

edv

Adobe Connect: Ottawa Seminar (Federal Gov’t) – October 20, 2010

Wednesday, September 1st, 2010

New Toronto Group and Adobe Systems have partnered to provide Adobe Acrobat Connect Pro software. Rated number one for Web Conferencing in 2009 by TopTen Reviews, Connect Pro is a “must see” if your organization is evaluating eLearning and conferencing software tools. Connect Pro is also available on the Federal Government DISO.

Join New Toronto Group and Adobe for a live seminar showcasing how Adobe Acrobat Connect Pro can provide the ability to captivate audiences with interactive web meetings and virtual classroom experiences. This award winning package provides unique capabilities including:

  • Flash technology base – allows easy access to on line sessions.
  • Reduced network requirements – allows better interactivity.
  • Strong security – feel comfortable with sharing information.
  • Feature rich environment – based on established software base.
  • 7th generation solution – thousands of customers worldwide.

Learn how organizations like the Ontario Ministry of Health, the Ontario Ministry of Education and U.S. Dept. of Defence have rolled-out Adobe Connect Pro for their Web Conferencing and eLearning needs. Connect Pro is currently used by several Canadian Federal Government departments including NRC, DND, HRSDC and CRA.

Date / Time: October 20, 8:30am – 11:00am

Location: Adobe Systems Canada – Algonquin Room, 343 Preston Street, Ottawa

To register: http://ntg.mmalliance.acrobat.com/oct20ottawa/event/registration.html
For more details, phone 866-464-7790 x.4041

edv

Adobe Connect: Toronto Seminar (Prov Gov’t) – October 6, 2010

Wednesday, September 1st, 2010

New Toronto Group and Adobe Systems have partnered to provide Adobe Acrobat Connect Pro software. Rated number one for Web Conferencing in 2009 by TopTen Reviews, Connect Pro is a “must see” if your organization is evaluating eLearning and conferencing software tools. New Toronto Group is the Ontario Government Vendor of Record for Connect Pro.

Join New Toronto Group and Adobe for a live seminar showcasing how Adobe Acrobat Connect Pro can provide the ability to captivate audiences with interactive web meetings and virtual classroom experiences. This award winning package provides unique capabilities including:

  • Flash technology base – allows easy access to on line sessions.
  • Reduced network requirements – allows better interactivity.
  • Strong security – feel comfortable with sharing information.
  • Feature rich environment – based on established software base.
  • 7th generation solution – thousands of customers worldwide.

Learn how organizations like the Ontario Ministry of Health, the Ontario Ministry of Education and U.S. Dept. of Defence have rolled-out Adobe Connect Pro for their Web Conferencing and eLearning needs.

Date / Time: October 6, 8:30am – 11:00am

Location: Ryerson University, Oakham House – Room A/B, 63 Gould Street, Toronto, ON

To register: http://ntg.mmalliance.acrobat.com/oct6tor/event/registration.html
For more details, phone 866-464-7790 x.4041