-
What was the code?
I seem to remember there was a code that you could put in the first frame of your clip that upon opening the swf file the code would insure shockwave or Macromedia Flash Player was installed so client could view the clip. Am I imagining this or no? I know there is html code for html pages for shock wave in this format.
type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
-
Senior Member
You can use getVersion();
v = getVersion();
..will get the the OS and veriosn of Flashplayer into variable v.
-
I will try that, will that actually check the version or check and install the latest?
-
Senior Member
It will only check the version. But you can write an if statement to make it go to a download page if the number is to low.
-
OK, then that won't work, the file is named the standard index.swf and I can't change the name. Its version is decided by modified date.
-
No, getVersion() gets the Version of the Flash Player that your user has, not the version that the .swf was made. You don't have to change the name of the .swf, just check the version and make sure that it is at least 6, then if it isn't, open a popup window to http://www.macromedia.com/downloads/
Duct Tape is like The Force: It has a Light Side and a Dark Side and it binds the galaxy together.
-
Now that sounds ok, could you please show me the code?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|