Solved

How important is the <object> tag for mozilla based browsers?

Posted on 2006-06-12
3
225 Views
Last Modified: 2008-03-03
Hi,

I took over development of a web app.
It has two different code repositories for IE and Mozilla (NN/FF) browsers.

So, part of the Mozilla based code was meant to control flash objects.
But it didn't work until I removed the <object> tag and left the <embed> only.

So, my question is - can the <object> tag make any difference in Mozilla based browsers?
Also, could it affect somehow on communication of the flash object with the page (fscommands/geturl).

Thanks
- Maddog
0
Comment
Question by:_Maddog_
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 9

Expert Comment

by:ddlam
ID: 16886910
Firefox have to recognize the <object> tag
You would better leave the HTML remain unchange aftef it published by Flash>File>Publish

In order to display Flash on multi-browser correctly
The <object> tag is a must
The <embed> tag is a must
The <param name="movie" ...> is a must

These script may affect getURL()
<param name="allowScriptAccess" value="sameDomain" />
<embed allowScriptAccess="sameDomain" ...>

but I am not sure whether fscommand() will be affected or not. Anyway, I can't see any parameter related to the HTML code from fscommand().
0
 
LVL 12

Author Comment

by:_Maddog_
ID: 16886987
ddlam,

No, the entire point is that there are different scripts for different browsers.
Therefore, I'm asking if the <object> tag is necessary for Mozilla based browsers.
I don't care about IE in this case, the IE codes are performing as they should.

- Maddog
0
 
LVL 34

Accepted Solution

by:
Aneesh Chopra earned 250 total points
ID: 16887026
HI,

<object> tag is useless for Mozilla based browser...
you can show Flash SWFs only using <embed> tag for Mozilla based browsers

<object> tag is only required for IE

Rgds
Aneesh
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question