Question

tantaikooi's avatar

In the HTML embed tag, what does the "base" attribute do?

Asked by tantaikooi (107 points) | asked February 7th, 2008 | 3 responses | “Great Question” (1 points) | Flag as…

i know i can check this from the document (adobe flash or anything that use embed), but i think it’s good to ask it here in fluther. basically what’s “base” for?

for example, embed a flash file.
<embed src=“the swf address here” base=“address here”>

Topics: , , , ,
Observing members: 0 Composing members: 0

Answers

johnpowell's avatar

From: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_12701

base – . or [base directory] or [URL]. Specifies the base directory or URL used to resolve all relative path statements in the Flash Player movie. This attribute is helpful when your Flash Player movies are kept in a different directory from your other files.

tantaikooi's avatar

hrm….still don’t get it.

Why cant i just write it in SRC attribute?

tantaikooi's avatar

http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_04157&sliceId=2

now i see. “Relative URLs may be referenced incorrectly when the SWF file and the HTML file are in different locations.”

Answer this question

Login

or

Join

to answer.
Your answer will be saved while you login or join.