Chrome on PC: Flash/javascript function not working?

Please don't comment on the site intro, design, etc -- it's not my fault!

For some reason this script combination seems to work in everything except Chrome on the PC.


In order to keep the Add This buttons off of the intro, but bring them in once the home page comes on screen, I'm using this Javascript:  
<script type="text/javascript">
function ContentRight()
	var obj = document.getElementById('addThis');
	var currentPosition = parseInt(
	var middle = document.get = 50+'%';

Open in new window

Together with this div  
<div id="addThis" style="position: absolute; top:0; left:0; width: 330px; margin: 620px 0 0 -510px;"><!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style addthis_32x32_style">
<a class="addthis_button_facebook"></a>
<a class="addthis_button_twitter"></a>
<a class="addthis_button_tumblr"></a>
<a class="addthis_button_email"></a>

Open in new window

And calling the Javascript from AS 2.0:
onClipEvent (load) {

Open in new window

As I say, it works in everything except Chrome. Any ideas? Thanks!
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

What is not working on my Chrome I can see your page the same as on IE
Tom BeckCommented:
I see the button group in Firefox except that it's partly covered by the background. In Chrome there's no space at the bottom of the movie for the button group and no way to scroll or zoom out. In IE the buttons are fully visible if my browser window is large enough.

Maybe I'm missing something. It looks like you are using the Flash intro's last frame as the Home page of the web site. Wondering why you don't just leave the Flash page and redirect to an actual home page at the end of the intro. You could place the button group there permanently. I'm no Flash expert, but maybe this will help:
amateur6Author Commented:
Hi again dgofman -- here are the two images for comparison (the IE one shows the disappearing background my other question is about). in IE 8 on PC in Chrome 14 on PC
tommyBoy -- are you seeing what's in the two pix above? And yes, you're absolutely right about what I'm doing; the problem is that the client is in love with the animated menu that's on the Flash home page (under products).

But maybe I can talk them around to the other, non-Flash home page now (there's already one made since we needed to accommodate the iPad).
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.


I will recommend play SWF inside iframe in this case you will get full page with footer what is high important for you and user will scroll Flash context inside iframe in this case you don't need main page scrolling. Unfortunately who designed this page made many mistakes and this solution will be the best for you

i think the issue is with the z-index and the object

try this
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=",0,0,0" id="test" width="100%" height="100%">
<param name="movie" value="sqPod-add-ie.swf">
<param name="quality" value="best">
<param name="play" value="false">
<param name="loop" value="false">
<param name="menu" value="false">
<param value="transparent" name="wmode">

<param name="bgcolor" value="7799cc">

<embed src="sqPod-add-ie.swf" name="sqPod-add-ie" width="100%" height="100%" quality="best" loop="false" play="false" menu="false" bgcolor="666666" wmode="transparent" pluginspage="" type="application/x-shockwave-flash"></div></object>

Open in new window

However I think the buttons are always visible so may need to add code to hide show  them when you want

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
amateur6Author Commented:
Thanks folks -- I'll try these solutions when I get a break in my current workload! This hasn't been abandoned!
ok let's as know if you will able to use iframe
amateur6Author Commented:
Argh! Still not had time. Still not abandoned. Thanks...
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.