Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Auto install flash player to the client where the flash.exe was located on server
Old 10-26-2010, 08:32 PM Auto install flash player to the client where the flash.exe was located on server
Skilled Talker

Posts: 97
Name: rhoda
Trades: 0
Good day!
I created an intranet site for the company and it is on the server, so the staff can view it. My webpage consist of flash for the viewing of images. The problem is the client who can view my webpage has no flash installer or totally no flash installed on their computer. Actually I have a flash.exe or flash installer in my server. I want to happen is when they view my webpage there is a pop up message for the auto install of flash installer and once they click automatically the flash would be installed. I mean the location of installer in the server they can catch? Is it possible?
Honestly, I have no idea about it. I have a lot of idea and questions in my mind on how the client can have the installer through pop up or any way.
Thank you

newphpcoder is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-26-2010, 08:33 PM Re: Auto install flash player to the client where the flash.exe was located on server
Skilled Talker

Posts: 97
Name: rhoda
Trades: 0
Good day!
I run my intranet website in IE8 without internet connection. I uninstalled my Adobe Flash Player Installer 10.1 which is located in my documents to test if I used the swfobject for the auto install of flash player. As I’ve said on my past thread that I want to happen is the client got a popup message to tell them that they need to install flash player and follow the link where the installer found. Honestly, I did not totally understand what is the use of swfobject why I need it to solve my problems?
Here is my code:
Code:
<script type="text/javascript" src="swfobject.js"></script>
<div id="Products_Gallery">
  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/s...rsion=7,0,19,0" width="450" height="375" id="Products_Gallery">
    <param name="movie" value="PRODUCTS_GALLERY.swf?variable=varvalue" />
    <param name="quality" value="high" />
 <param name="wmode" value="transparent"/>
    <embed src="PRODUCTS_GALLERY.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="450" height="375" wmode="transparent"></embed>
  </object>
</div>
<script type="text/javascript">
 var so = new SWFObject("PRODUCTS_GALLERY.swf", "Products_Gallery", "450", "375");
 so.addVariable("variable", "varvalue");
 so.write("Products_Gallery");
</script>
And I encountered error:
‘SWFObject’ is undefined.
newphpcoder is offline
Reply With Quote
View Public Profile
 
Old 10-27-2010, 04:55 PM Re: Auto install flash player to the client where the flash.exe was located on server
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Put the local location of the installer in the codebase attribute.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-27-2010, 08:41 PM Re: Auto install flash player to the client where the flash.exe was located on server
Skilled Talker

Posts: 97
Name: rhoda
Trades: 0
Quote:
Originally Posted by chrishirst View Post
Put the local location of the installer in the codebase attribute.

I do what you suggest
here is my revise code:
Code:
<script type="text/javascript" src="swfobject.js"></script>
<div id="Products_Gallery">
  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="../../../Documents and Settings/Administrator/My Documents/Windows IE/install_flash_player_10_active_x.exe" width="450" height="375" id="Products_Gallery">
    <param name="movie" value="PRODUCTS_GALLERY.swf?variable=varvalue" />
    <param name="quality" value="high" />
 <param name="wmode" value="transparent"/>
    <embed src="PRODUCTS_GALLERY.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="450" height="375" wmode="transparent"></embed>
  </object>
</div>
<script type="text/javascript">
 var so = new SWFObject("PRODUCTS_GALLERY.swf", "Products_Gallery", "450", "375");
 so.addVariable("variable", "varvalue");
 so.write("Products_Gallery");
</script>
I change the codebase to the path location of flash.msi but still I got an error 'SWFObject' is undefined

Last edited by newphpcoder; 10-27-2010 at 11:24 PM..
newphpcoder is offline
Reply With Quote
View Public Profile
 
Old 10-27-2010, 08:50 PM Re: Auto install flash player to the client where the flash.exe was located on server
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
is the swfobject.js in the same folder as the page the script is on?
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-27-2010, 09:44 PM Re: Auto install flash player to the client where the flash.exe was located on server
Skilled Talker

Posts: 97
Name: rhoda
Trades: 0
Quote:
Originally Posted by chrishirst View Post
is the swfobject.js in the same folder as the page the script is on?
yes

Thanks
newphpcoder is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Auto install flash player to the client where the flash.exe was located on server
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.24881 seconds with 12 queries