General Question

tantaikooi's avatar

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

Asked by tantaikooi (122points) February 7th, 2008

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”>

Observing members: 0 Composing members: 0

3 Answers

jrpowell'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.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther