This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > February 2007 > i item remaining in i.e. - swf files "a toughy though"





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author i item remaining in i.e. - swf files "a toughy though"
bobby robo

2007-02-13, 6:15 pm

HI all hope your all good. Bit of a toughy for u to get your heads round. (its
a little long but its a tester for u real webmasters)

i.explorer. active x controls - swf files load but the i.e browser still says
1 item remaining. cause <object> tags. My site has an email form that uses php
to send to a mail server. this works fine on all browsers except i.e. due to
the fact it can't excercute due to the page has not fully loaded.
SO
Use deconcept swf object, I hear you all cry. Problem being is this.

My site is based in flash. In flash it has a stage width of 430 x 430pixels.
But the file has an actual area of 1482 x 1482 pixels (this is for background
image and any imported swf files bigger than 430x430). Then the swf file is
then put into a html page with a a setting of center, WIDTH="100%"
HEIGHT="100%". SO the browser always centres the swf and no matter how big the
browser is made displays all the flash. for example your browser is 1024 x 768
you will see the swf stage 430x430 but also all the background detail which
will fill the remaing browser space, giving the site greater impact.

Then i use the i.e update to stop active x sillyness.

"<script type="text/javascript"
src="http://www.uyrproduction.com/ieupdate.js"></script>"

But this doesn't stop the 1 item remaining bug. (give me strength)

So swfobject is the all browser answer to all my problems. but unforunately
when set to w100% h100% (as below)

<script type="text/javascript">
var so = new SWFObject("mysite:-).swf", "A pint to the man who can solve
this "100%", "100%", "6", "#000000");
so.addParam("quality", "high");
so.addParam("wmode", "transparent");
so.write("flashcontent");
</script>

it only displays the 430 x 430 flash stage and not all the background info as
mentioned before. I've put the setting to the actual pixel size i.e.

var so = new SWFObject("mysite:-).swf", "A pint to the man who can solve this
"1482", "1482", "6", "#000000");

alas, this the right size but not centered and has scoll bars, boo. tried all
sort of java script to sort it out but to no luck.

the person who can help will be in my good books for ever more.

Cheers

Bob

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews