Solved

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

Posted on 2006-06-12
3
223 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 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

Independent Software Vendors: 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

Suggested Solutions

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
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 which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

756 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