• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 267
  • Last Modified:

Flash button activation

Hi -
I have created a website and inserted Flash button through dreamweaver.

All of the links work ok, but you have to double-click on them to activate them to view the selected page.

Is there a way to activate them when the page loads?

Here's the link to my page http://www.btsports.com/main.htm

Thanks
0
LMServices
Asked:
LMServices
  • 5
  • 4
  • 4
2 Solutions
 
Tom RayCommented:
0
 
LMServicesAuthor Commented:
I'm a novice using Flash, but this script looks like it is designed for movies.

All I want are the button to be active without the user being required to click them first to activate.
0
 
Jason C. LevineNo oneCommented:
The script is designed to work with any Flash object, not just movies.

As an aside, Dreamweaver should be taking care of this for you...what version are you using?
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

 
LMServicesAuthor Commented:
Dreamweaver 4
0
 
LMServicesAuthor Commented:
I noticed in the Dreamweaver properties page that there is a Play button.

I tried using that and it works in demo mode, but when I load it onto the server, it requires a double-click.
0
 
Jason C. LevineNo oneCommented:
>> Dreamweaver 4

Yikes.  Are you ever out of date.

The reason you are seeing the double click is due to the MS Active Content block:

http://www.adobe.com/devnet/activecontent/

and sibqiq is showing what to do to bypass it.  If you had a more recent version of Dreamweaver (8 or CS3) the fix for this is available there and gets applied whenever you add active content to your page.
0
 
Tom RayCommented:
not to mention, with swfobject you have the option to show alternative content (text or an image) if the user does not have flash or doesn't have a high enough version of the flash player.
0
 
LMServicesAuthor Commented:
I'm a little confused right now on what I need to do.

Here is the code I have inserted for each falsh button:

<p><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
        <param name="BASE" value=".">
        <param name=movie value="home.swf">
        <param name=quality value=high>
        <param name="BGCOLOR" value="">
        <embed src="home.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="" base=".">
        </embed>
0
 
Jason C. LevineNo oneCommented:
LMServices,

Read the links we sent you.  If you use <object> tags, Internet Explorer will block the content until the user double clicks to activate it.

Instead, you need to use the javascript sibgig talked about to bypass the block.
0
 
Tom RayCommented:
read up on some of the resources provided at the bottom of the page jason gave you (http://www.adobe.com/devnet/activecontent/)

you have:
Beginner's guide to publishing active content
Preparing your website to handle the Microsoft changes to Internet Explorer
Active content FAQ
Before and after examples of the JavaScript solution
0
 
LMServicesAuthor Commented:
Please close this subject
0
 
Tom RayCommented:
um.... its your question, its your responsibility to close.

see the following for instructions on how to close a question:
http://www.experts-exchange.com/help.jsp#hi331
0
 
Jason C. LevineNo oneCommented:
sibgig is right, you need to close this.  Since we gave you a correct answer, you should probably award points.  If you try to close it as unanswered, I think both of us will object.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

  • 5
  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now