?
Solved

Flash button activation

Posted on 2007-10-18
14
Medium Priority
?
263 Views
Last Modified: 2010-04-03
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
Comment
Question by:LMServices
  • 5
  • 4
  • 4
13 Comments
 
LVL 11

Accepted Solution

by:
Tom Ray earned 252 total points
ID: 20103438
0
 

Author Comment

by:LMServices
ID: 20103554
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
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 20103581
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:LMServices
ID: 20103620
Dreamweaver 4
0
 

Author Comment

by:LMServices
ID: 20103673
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
 
LVL 70

Assisted Solution

by:Jason C. Levine
Jason C. Levine earned 252 total points
ID: 20103730
>> 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
 
LVL 11

Expert Comment

by:Tom Ray
ID: 20103970
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
 

Author Comment

by:LMServices
ID: 20104004
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
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 20104170
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
 
LVL 11

Expert Comment

by:Tom Ray
ID: 20104192
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
 

Author Comment

by:LMServices
ID: 20744062
Please close this subject
0
 
LVL 11

Expert Comment

by:Tom Ray
ID: 20744808
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
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 20745036
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

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question