Solved

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

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
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.
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.

707 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now