PDA

View Full Version : ie flash iframe javascript


zacksmith
08-16-2006, 07:06 AM
hello. please help me.

i've got a flash movie inside a div (the div's appearance is controlled by js when the user clicks the submit button.

the flash movie continually requests a php script which returns a few variables to calculate the progress of a file upload.

it works in safari but not ie/pc. does anyone have experience with a browser issue like this one?

thanks in advance...

DarthJay
08-17-2006, 05:55 AM
Can you post your HTML code? It could be a simple matter of DIV placement as Safari interprets the DOM different from IE...

zacksmith
08-17-2006, 06:01 AM
thanks for the reply... what you're seeing here is my most recent attempt, where there is a special iframe devoted to displaying the swf itself, rather than placing the swf inside the div. still works in safari but not ie(pc). when the submit button is pressed there is some form validation and then a div-visibility-swapping function, which, in effect, makes the progress bar and surrounding text appear. i look forward to your reply.

<div id="empty"></div>
<div id="full" style="display: none">
<p class="colored">UPLOADING...</p>
<p><iframe name="progress" frameborder="0" scrolling="no" allowtransparency="true" width="330" height="10" src="upload_progress.swf"></iframe>
</p>
<p>your mp3 may take a few minutes to process. please be patient. <br />
please do not press the stop, back, or forward button on your browser.<br />
please do not close this window or attempt to view another page in it.</p>
<p>you will be redirected to the music index when your upload is complete. </p>
</div>
<iframe name="upload" frameborder="0" scrolling="no" allowtransparency="true" width="1" height="1"></iframe>
<iframe name="helper" frameborder="0" scrolling="no" allowtransparency="true" width="1" height="1"></iframe>

zacksmith
08-17-2006, 06:03 AM
i should also add, that when i say it doesn't work in ie... what i mean is that the swf appears on the page, but doesn't actually play... as if it's stuck on the first frame. this occurs even after "clicking to activate this control" or applying a flash "iefix" javascript to get around the issue.

thanks!

DarthJay
08-17-2006, 06:39 AM
So you're getting the SWF become visible, but it doesn't play. Hmmmmmm. Any chance of getting a link to the page? Hard to isolate the problem with the code you sent...