Jobs!
Meetups by TopicMeetups by CityStart a MeetupWhat's Meetup
Home > All Topics > Internet & Technology > Web Design Meetups Everywhere > The Prescott Web Design Meetup Group
Organizer:

Join The Prescott Web Design Meetup Group!

We'll never share your email address without your permission. Already a Meetup member? Sign in.

Messages

Do you use the <object> tag?

Message Board › Do you use the <object> tag?

Derek Collins
derekpcollins
Prescott, AZ
8th Post

If you do, you might want to check out this article:

Patents v. Microsoft

And this article:

Microsoft IE ActiveX Update

Edited by Derek Collins on Mar 31, 2006 at 1:56 PM

Nancy Timper
swami12
Prescott, AZ
6th Post

Thank you for the "heads up". I use Flash quite a bit and the object tag to embed the movie. I see that there's a javascript fix that I will have to try..... got several sites that will need fixing!

Will let you know how it goes.

Nancy

PS. This isn't some sort of elaborate April Fool's joke is it????????

Edited by Nancy Timper on Apr 1, 2006 at 9:13 AM

Mike Kreidel
user 2662246
Prescott Valley, AZ
2nd Post

Thanks, I read about this the day it was made available. It will effect nearly everyone eventually so we should stay ahead of the game.
Here is another good article from Microsoft.
Active X
BTW, I use IE 7.

Spheric
user 2597674
Prescott, AZ
1st Post

howdy!

the object tag is usefull for calling things like Flash and other OO stuff, but can be a real pain to get to validate to W3 standards. here's a format that you'll find will validate to XHTML 1.0 Strict and it's quite versatile. in this case, the example is to call a Flash movie:

<div class="obj">
<object type="application/x-shockwave-flash " data="pathto/movie.swf" width="" height="">
<param name="movie" value="pathto/movie.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<img src="pathto/static_image" alt="you can actually insert a static image with this and this
is your alt text for that static image which buys you better accessibilty!" width="300" height="220" />
</object>
</div>

hope that helps!

Nancy Timper
swami12
Prescott, AZ
7th Post

I'm getting ready to update all my pages that use Flash and I thought I'd double check on Spheric's code fix to see if anyone has tried it, likes it, had problems etc. It does work for sure, just thought I'd check to see if there any down sides to doing it that way.

thanks

nancy

Mike Kreidel
user 2662246
Prescott Valley, AZ
3rd Post

Hi Nancy,
Yes, that script will work just fine but I can honestly say it isn't the 'best method' to display flash in you web pages. Aside from validation standards, flash and your browser need a bit more information from the script.
Here is a sample script Flash 8 generates when publishing a movie:

<object classid="clsid:d27cdb6e-ae6d-11cf-9 6b8-444553540000" codebase="http://fpdownload.mac... width="950" height="650" id="index" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="index.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#276382" />
<embed src="index.swf" quality="high" bgcolor="#276382" width="950" height="650" name="index" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash " pluginspage="http://www.macromedia... />
</object>


As you can see, this movie was published for flash 8,0,0,0. Without this in your code, the browser will struggle trying to determine the best method to play this movie. For instance, if your user is running flash player 6 on their machine, this movie will not play until they download the latest version, player 8. Also, with a full script like the one above, you give the user the ability to download the correct player if they aren't running a current version. So, there are other factors to consider when working with flash codes specifically.
I know this isn't a discussion about Flash but I thought I chime in with my 2 cents.

Edited by Mike Kreidel on Apr 11, 2006 at 8:28 AM

Nancy Timper
swami12
Prescott, AZ
8th Post

Thanks for your input!

Kerry Wilson
kwdesigner
Group Organizer
Prescott, AZ
11th Post

This is the format I use:

<object type="application/x-shockwave-flash " data="../meetup.swf" width="300" height="140">
<param name="movie" value="../meetup.swf" />
<param name="loop" value="false"/>
<img src="banner.gif" width="300" height="140" alt="banner" /> </object>

If you go to this page you can see it working and check that it validates using the links on the bottom of the page.

Nancy Timper
swami12
Prescott, AZ
9th Post

I started paying more attention when I began having problems with a site.......I noticed that all the suggestions above still use the <object> tag, and isn't that the issue here? (Besides validation of course. Thats another problem)

The solutions at theripaa.blogspot that Derek so kindly included seem to be having some malfunctions if you read through the article. I tried the "header" fix and that failed in IE. Perhpas I didn't understand it completely. ( I am now using the html code generated by publishing in Flash but this doesn't address the new Microsoft security issue.) Now I am reading thru the instructions from MS - oh no.

I came across this link - looks like maybe a pretty simple fix. Uses external javascript file. Any one tried that?

http://blog.deconcept...

nancy

Edited by Nancy Timper on May 1, 2006 at 12:33 PM

Nancy Timper
swami12
Prescott, AZ
10th Post

I discovered that Adobe/Macromedia has addressed the <object> tag IE active control issue with an updater that supposedly allow you to fix the problem from within DW. I am giving it a try and hope this will do the trick as the other solutions have not worked well for me.

http://www.adobe.com/...


Hope this does it!

nancy

PS. LATER: It is working to open existing pages in DW and use the prompt that the update creates to fix the pages. It creates a javascript file that must be uploaded. What did NOT work however, was to use the Flash Detection created on html pages from within Flash, tho its supposed to fix the IE active control issue. Flash movie either did not display or big ugly white box showed up. Thats going to take more investigation.

Edited by Nancy Timper on May 31, 2006 at 10:09 AM

Powered by mvnForum