Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
detekcija flash playera

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Flash
View previous topic :: View next topic  
Author Message
taja1502



Joined: 26 Apr 2007
Posts: 7
Location: Zagreb

PostPosted: 16.10.2007 17:26    Post subject: detekcija flash playera Add user to your forum ignore list Reply with quote

Pozdrav svima Very Happy
evo ako trebam savjet, zanima me da li je bolje koristiti swf object ili preko publisha u flashu napraviti skriptu za detekciju potrebne verzije flash playera?

Hvala svima na odgovoru Smile Smile [/b]
Back to top
View user's profile Send private message
mile



Joined: 10 Sep 2003
Posts: 1327
Location: Jeruzalem

PostPosted: 16.10.2007 20:49    Post subject: Add user to your forum ignore list Reply with quote

neznam, ali znam da možeš koristiti UFO

_________________
mile.is
Back to top
View user's profile Send private message Visit poster's website
taja1502



Joined: 26 Apr 2007
Posts: 7
Location: Zagreb

PostPosted: 16.10.2007 21:30    Post subject: Add user to your forum ignore list Reply with quote

thanks na odgovoru Very Happy
Back to top
View user's profile Send private message
taja1502



Joined: 26 Apr 2007
Posts: 7
Location: Zagreb

PostPosted: 17.10.2007 10:04    Post subject: Add user to your forum ignore list Reply with quote

Shocked hello drustvo, da li mozda jos netko ima kakav prijedlog Wink

thanks svima
Back to top
View user's profile Send private message
Vj3k0



Joined: 12 Jul 2007
Posts: 185
Location: Zagreb

PostPosted: 18.10.2007 15:52    Post subject: Add user to your forum ignore list Reply with quote

moj izbor je publish.
Back to top
View user's profile Send private message Visit poster's website
tubak



Joined: 14 Mar 2005
Posts: 133
Location: Istra

PostPosted: 18.10.2007 19:27    Post subject: Add user to your forum ignore list Reply with quote

Ako ti nije bed da je Javascript, ima skripta!

Code:
<head>
<script language="javascript" type="text/javascript">
<!--

function MM_CheckFlashVersion(reqVerStr,msg){
  with(navigator){
    var isIE  = (appVersion.indexOf("MSIE") != -1 && userAgent.indexOf("Opera") == -1);
    var isWin = (appVersion.toLowerCase().indexOf("win") != -1);
    if (!isIE || !isWin){ 
      var flashVer = -1;
      if (plugins && plugins.length > 0){
        var desc = plugins["Shockwave Flash"] ? plugins["Shockwave Flash"].description : "";
        desc = plugins["Shockwave Flash 2.0"] ? plugins["Shockwave Flash 2.0"].description : desc;
        if (desc == "") flashVer = -1;
        else{
          var descArr = desc.split(" ");
          var tempArrMajor = descArr[2].split(".");
          var verMajor = tempArrMajor[0];
          var tempArrMinor = (descArr[3] != "") ? descArr[3].split("r") : descArr[4].split("r");
          var verMinor = (tempArrMinor[1] > 0) ? tempArrMinor[1] : 0;
          flashVer =  parseFloat(verMajor + "." + verMinor);
        }
      }
      // WebTV has Flash Player 4 or lower -- too low for video
      else if (userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 4.0;

      var verArr = reqVerStr.split(",");
      var reqVer = parseFloat(verArr[0] + "." + verArr[2]);
 
      if (flashVer < reqVer){
        if (confirm(msg))
          window.location = "http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash";
      }
    }
  }
}
-->
</script>
</head>

<body onLoad="MM_CheckFlashVersion('7,0,0,0','Sadržaj ove stranice traži noviju verziju Macromedia Flash Playera. Želite li je instalirati sada?');">
Back to top
View user's profile Send private message Visit poster's website
taja1502



Joined: 26 Apr 2007
Posts: 7
Location: Zagreb

PostPosted: 23.10.2007 08:27    Post subject: Add user to your forum ignore list Reply with quote

ok, svima hvala Smile
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Flash All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group