Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Macromedia flash determine windows ver or read registry

Posted on 2003-11-06
1
575 Views
Last Modified: 2013-12-16
is it possible to read a value from the registry through macromedia flash mX?

 i would just like to determine the windows version the user is operating on
 
 
0
Comment
Question by:jxharding
1 Comment
 
LVL 2

Accepted Solution

by:
Mikehd earned 125 total points
ID: 9782269
You don't need to read the registry settings, don't think you can...

As long as the swf will be used in a browser you can use javascript to detect the windows version and send it in to flash.

<script>
if (navigator.appVersion.toLowerCase().indexOf("windows nt 5.1") != -1){
      myOs = "windows XP"
} else if (navigator.appVersion.toLowerCase().indexOf("windows nt 4") != -1){
myOs = "windows NT"
}
ect...
</script>
You'll have to get all the correct appVersions to search for, but a google search should work.
I found this page:
http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html

Then send the variable in the swf, to do this you have to write the flash stuff with javascript:

 document.write("<PARAM NAME=movie VALUE=\"getWindowVersion.swf?myFlashOsVar=\" + myOs "\">"

add the ?myFlashOsVar=\" + myOs "\" in the embed tag also

Does this make sense?

M=
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
illegal characters in XML using UTF-8 8 43
Blue Coat API portal URL 2 176
Could you point a workaround on how to open this Adobe Flash documents? 5 166
Form submit issue 11 86
Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question