ActionScript 2.0 :: Detecting Browser Version?
Aug 9, 2004Is it possible to detect, through flash, browser version on a user�s computer?
View 1 RepliesIs it possible to detect, through flash, browser version on a user�s computer?
View 1 RepliesIs it possible to detect, through flash, browser version on a user�s computer?
View 1 RepliesI've seen two answers: Adobe Flash Detection Kit - Javascript detect flash version JavaScript routines only:[URL] Simple questions: are the detection algorithms, described above, identical and if not - which way is better? Will they work the same for desktop and mobile browsers (both iPhone/iPad and Android)?
View 1 RepliesAnybody have (or know a source for) an actionscript that will do all of the following:
1. Detect the broadband connection speed of a site visitor.
2. Detect the version of Flash Player they have.
3. Use above information to steer the visitor (seamlessly and unbeknownst to them) to the one of several versions (on a streaming server) of an flv'd video that is the most appropriate for their connection speed/player version combo?
Also, what range of kbps versions would cover *most* situations (e.g., 100, 300, & 450?)
I am trying to build a preloader that detects the user's Flash Player version, and then loads the matching content: if the user has Flash Player 11, Stage3D content should be loaded.
The problem I'm running into is that a preloader that is compiled for Flash Player 10 can't display Flash Player 11 content, even if it is running in Flash Player 11.
Is this true? Are there solutions other than detecting the player version in JavaScript?
Trying to detect a browser close event and send some data to the database when the user closes the browser window...but can't seem to get it to work.[code]
View 6 Replies[URL].. Anyone know the AS to make it automatically check the size of the browser for the listeners_notice when you resize the browser it works perfectly...but not when it first loads up.
[Code]...
I have tried various codes (probably wrongly) and read different posts and failed to achieve what I am after. So to cut going round in circles I have just made a simple test folder. There are 3 things I am trying to achieve so that latest files are loaded instead of browser cached versions.
Everything is linked properly in the TEST folder (apart from the code to get latest non cached version)
You can download the TEST.zip folder (73KB) here- [URL] It's completely safe to download and please ignore the annoying pop up ads. I signed up for free service hence the ads.
The three things I want to achieve-
In the TEST.zip folder start with index.html.
1- There you will see >Enter Button< and >portfolio.pdf< button. Nothing will change on index.html page but the portfolio pdf will be regularly updated. So I want the >portfolio.pdf< to fetch the latest pdf always. I assume the code will go on the >portfolir.pdf< button?
2- >Enter Button< will take us to master.html page which contains master.swf. Master.html is only a container but master.swf will be regularly updated and needs to always load the latest master.swf version.
3- Load image.swf button will load image.swf. I want the button to load the latest image.swf file always.
I want to know the type and version the browser that the user is running from within my Flex 4 application. I know I can get that information by using ExternalInterface to call Javascript. I know I can get that information from the server. I'm looking for a way to get that information directly from actionscript. I mean, isn't there a global variable or something that keeps this information?
View 1 RepliesI updated the flash library XML/SWF (chart library) to the latest version on my web application but the users still see the charts with the old library which is saved in there browser cache.How can I force the browsers of my users to download the latest version of the SWF files.I can't add a parameter at the end of the SWF file like : charts.swf?v=1234.
If I do that I get an error because the chart library load dynamically other SWF files of the library. The charts.swf file will be the new version but the other files will still be from the older version and I will get an error...
This might be a simple question, but I'll ask it anyways. I know when I update my flash website I have to clear the cache to view the changes. Now, will all users have to do that to see the new changes, or will the browser eventually detect changes and download the new version?
View 1 RepliesI put a swf file on a website, then I made some changes and replace the old version. However, some browsers seem to have some kind of cache to remember the last swf file, they only show the old version instead of the new one. What can I do to stop the browser caching the old version?
View 9 RepliesIs there a way to detect when a browser resize has completed? I have a function I want to execute once when the browser has finished resizing, but putting it in my resize function causes it to get called multiple times.
View 2 RepliesI am writing a type of mail form in AS2 of Flash CS4. I collect two variables (nameCli and messageCli) I setup a "sending button" to appear only when there is a minimum of characters (2) under nameCli AND a minimum of 10 characters in messageCli. When that button is pressed I POST these two vars tru email_lv to email2.php. I do this check to be absolutely sure that these vars have contents.
It works and tests well on several computers (PCs) under XP, Vista and 7.
I haven't tested on a Mac
Under IE and Firefox 3.0.xx
I get the email with the correct values.
The problem: somehow, now and then I get (and worse, my client, to whom I wrote this app, gets) an "empty" email. That is, the subject of these emails are: "Request from" and blank. No name. The message is also blank. Since I know, with no doubt that these vars have content, otherwise the send button wouldn't come up, I am puzzled. I have no idea of what OS or Browsers these users have. Would be possible that some browsers would "block" the vars sent via POST?
email_lv.sendAndLoad("email2.php",dummy_lv, "POST");
email2.php is:
<?php
$to = 'any@whomever.com';$to2 = 'another@whomever.com';
$subject= 'Request from ' . $_POST["nameCli"];
$message = $_POST["messageCli"];
$headers = 'From: WebSite@clientserver.com'. "
" . 'Reply-To: doNOTreply@clientserver.com'. "
" . 'X-M ailer: PHP/'.phpversion() ." ";
mail($to, $subject, $message, $headers);mail($to2, $subject, $message, $headers);
?>
How to detect resolution when browser window is resized?
View 6 RepliesI came across a website recently that outputs a whole bunch of user info: IP, browser, OS, flash version, javascript, etc in a very easy to use format. It was specifically designed for remote support, in order to determine user operating environment. However, I cant recall the name of the website.
View 1 RepliesI frequently update my website. But customers do not see immediately the changes as the cache displays the previous version.
View 2 RepliesHow can I install flash player plugin (version 8) in browser without downloading setup or redirecting to macromedia site if flash plugin is not available in browser.
View 1 Repliesa client asked me to incorporate a flash version check in a flash application i made for him.it should read something like: "you have flash player 10.x.x.x.x.x.x.x the current version is 10.1.x.x.x.x.x.x"the user veriosn is easy to get with Capabilities.versionbut is there an url on adobe's site to get the string of the current downloadable version from?
View 6 RepliesI need to validate an uploaded SWF to ensure it meets certain Flash and ActionScript version limitations. Anyone know a good Python library to parse metadata out of a SWF?
View 2 RepliesAre there any plans to upgrade the SDK to version 8 or 9 or release a updated flash version for the Wii. It's ridiculous that Adobe has not done this already considering the sheer volume of people using the Wii web browser.
View 4 Repliesi have a Main class and a other class called Calc everything seems to works when its written fully written but when i condense it into a loop, behavior becomes different and broken posted the FLA and Class heres the working version [URL] and the loop [URL] im trying to get the loop version to behave just like the written out version,
View 5 RepliesI identify my current installed debug version? Basically, I am using Flex 3, for past 2-3 days whenever I launch any Project or debug it, I get the message box saying "Flex Builder requires a more recent version of Flash Player." It says my curent FP as 9.0.115.0 and debug version as 9.0.45.0. However, my actual FP version if FP 10.0.22.87. I don't understand why this confussion! I don't know how can I know my actual version of Debug player.
View 2 Repliesi m using adobe flash cs3 with AS3 . I have updated my flash player in version 10 and it's activeX. But while I gonna publishing it , I do not get option of version Flash Version 10 in Flash Tab of File>Publish Settings. How, can I have option of Flash Player 10 ?
View 1 Repliesin other words, suppose I want to send data, like text, programmatically from a Windows app (such as a browser plugin) to a Flash app running in the browser. Well, conceptually, an example of this might be a Flash instant messenger with a textbox and button "Send"; so let's say I want to be able to programmatically paste the text and press Send or otherwise activate it. That's NOT what I am trying to do here in reality (i.e., no,I am not trying to spam other people's chat rooms or anything)but just an illustration of a similar situation.I can include in it whatever widget or hack that may be necessary.The reason why this problem is arising for me is that AFAIK the SDK that is providing me the data I want cannot be directly accessed from Flash, so I need a way to pipe the data from a regular app into Flash. can I have the Flash app interact with other apps through localhost IP? Or are there draconian restrictions on which server Flash in browser can and cannot interact?
View 1 RepliesI have a standalone Flash projector running off CD. Currently, I use
getURL("http:url....);
to open the page on default browser. Only problem is the browser window is opening at the size it was last used. I like to see it opens full screen.
The title essentially is the question, how do I open the .swf without the browser's control bar junk? and maximize the window?
View 2 Replies I have a PHP mailer form on my site which needs to be published in action script2 to work, but I also have a script set up to open browser windows of a certain size & location which needs actionscript 1 to work? The PHP mailer form has a "Name" field, "Email" field & "Message" field, theses can all be reset with a button. The button clears off any text in the 3 boxes to wipe them clean. The script on the reset button is:
on(release) {
_root.myForm.formNameField.txt = ""
_root.myForm.formEmailField.txt = ""[code].....
This works fine with section script 2 but not with as1. Does anyone know of a script that resets the .text field on as1 Alternatively is there any way of opening browser windows from a flash movie with browser win controls, eg. centre win, no scrollbars.
I have looked around for this and haven't found a way that clearly explains how to do this. More often than not the button will close the browser window in one but not another browser.
Is the a simple way of closing a browser window in all types of browser ( Or mainly Firefox, IE and safari on both Mac and PC ) with actionscript?
I created a photo album viewer which grabs an XML file from my web site, and then parses the XML to get the paths to all the photos to be displayed by the album viewer. The code makes use of the URLLoader class to fetch the XML. The problem, though, is that in google Chrome it works-- but in IE8, it doesn't work. For example, the XML code and the image fetching code work seemlessly on Chrome. But in IE8 and in IE6, it seems to not be able to fetch such information.
I've read somewhere that you need a crossdomain.xml file at the root directory of your server. But I'm not crossing any domains! It's all coming from my server where the swf is being hosted!