views:

63

answers:

2

Has anyone found a way around this yet? I have a project where the client wants the Flash button to have a progress bar embedded within it. So far i'm doing this by having a Div with CSS hidden and then displayed after the file has started uploading.

The Button is then hidden however when the button is hidden the event's stop firing. This is the same even I only modify the CSS to move it around the screen.

+1  A: 
.helper-hidden {
  position: absolute;
  left: -99999px;
}

when you are uploading, add the helper-hidden class to the button and remove it when you're done. You can even apply this class to any element you wish to 'hide' from the viewport without affecting it's visibility.

Yanick Rochon
Anything that causes the flash video to reinitialize breaks it sadly, Setting its visibility to hidden works however getting the progress are positioned on-top is a bit of a pain :)
Danny Goodayle
A: 

Best way to fix it was to use Visibility:hidden for a SWFUpload div, this lets the flash still run and doesn't break the Flash / Browser connection.

Danny Goodayle