Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2006-06-12
3
Medium Priority
?
227 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_
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 1000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
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 select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
Suggested Courses

885 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