Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-31-2008, 09:53 PM   #1
flycast
Registered User
 
Join Date: Mar 2005
Posts: 30
Default style.overflow= "visible" causing refresh

I am using style.overflow= "visible" to make an expanding flash movie on a web page. I have a div that contains the movie. I use style.overflow= "hidden" as default and then change it to style.overflow= "visible" when it is clicked. The challenge is that when the state changes the flash movie inside the div is refreshed and starts over - but only in Firefox. It works fine in IE. When you click on it a second time it works properly.

Any ideas on why the div and flash animation is refreshing when that value is changed and how can I avoid this?
flycast is offline   Reply With Quote
Old 05-31-2008, 11:56 PM   #2
Gambyt
Member
 
Gambyt's Avatar
 
Join Date: Apr 2008
Posts: 92
Default

no offense this is for actionscript. You are asking about CSS bra... maybe you could start a CSS forum like actionscript.org is to actionscript
Gambyt is offline   Reply With Quote
Old 06-01-2008, 02:19 AM   #3
ASWC
Super Moderator
 
ASWC's Avatar
 
Join Date: Dec 2007
Location: Greenville, SC
Posts: 6,528
Default

You propbaly use a javascript function to do that, just add return false; at the bottom of the function and you should be fine.
__________________
aswebcreations
Super Duper!
ASWC is offline   Reply With Quote
Old 06-02-2008, 11:08 PM   #4
flycast
Registered User
 
Join Date: Mar 2005
Posts: 30
Default

I tried that. When I have return false; at the end it opens a new empty browser tab - not good.

Any other ideas?
flycast is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Refresh script zizther ActionScript 2.0 0 05-13-2008 05:52 PM
Refresh movie, setInterval vs timeline loop americanloti ActionScript 2.0 3 12-16-2006 02:12 PM
refresh screen code Johnny30 ActionScript 2.0 0 12-15-2006 04:04 AM
Dreaded 'A script in this movie is causing Macromedia Flash ...' Reflex ActionScript 1.0 (and below) 6 08-21-2005 02:24 AM
Guestbook won't refresh entries on sendAndLoad mmm..pi..3.14.. ActionScript 2.0 8 10-17-2004 11:15 AM


All times are GMT. The time now is 02:45 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.