Solved

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

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
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.

813 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

18 Experts available now in Live!

Get 1:1 Help Now