You've been seeing the embed code of a Flash object for years, but as Listing 1 shows, lengthy exposure doesn't make it any less complex.
一个Flash对象的嵌入代码已存在很多年了,但是像清单1所示的代码,就算您研究很长时间,也不能让它简单多少。
While the author doesn't know of a recent write-up on their use, read this 2002 comparison of object and embed by Damian Cugley, that also mentions the other three alternatives.
尽管作者不知道最近涌现了很多文章介绍这些元素的使用,我们还是值得一读这篇由DamianCugley写于2002年、比较对象和嵌入的文章,文章中还提到了其他3种替代物。
If the XFDL file doesn't open in Mozilla Firefox, then make sure that when you embed the XFDL, you define the right object.
如果XFDL文件没能在MozillaFirefox中打开,请确保在嵌入这个XFDL时,定义了正确的对象。
Although this action has only a single object, it is valid to embed multiple objects in an Activity Streams entry-for example, to modify Listing 3 to represent the action Ben posted two blog entries.
虽然这个动作只有一个对象,但是可以在ActivityStreams项中嵌入多个对象—例如,修改清单3以表示动作Benpostedtwoblog entries。
To run the Flex application in a browser, all you need to do is embed an object tag to an HTML page.
要在浏览器中运行Flex应用程序,只需将一个object标记嵌入到HTML页面中。
WSRR also lets you create user code and embed it into the WSRR profile as a plug-in, so that it is executed during processing for every object loaded or modified in WSRR.
WSRR还允许您创建用户代码,并将其作为插件嵌入到WSRR配置文件中,以便在处理过程中对WSRR中加载或修改的每个对象执行它。
Listing 2 shows the proposal, which was much more elegant and finger-friendly than the verbose object-embed markup needed for plug-ins.
清单2展示了这一提议,比起插件所需的冗长的对象嵌入标记,它更优雅更易于操作。
Tags like img and a can easily be sanitized, but more powerful tags like object and embed need to be removed completely.
诸如img和a的标签可以比较方便的清理,但是一些更强大的标签如object和embed需要被完全得滤去。
After you have finished constructing the object tag with the correct parameter values, you can embed it inside the Flex application placeholder div tag by calling.
用正确的参数值构造好object标记后,就可以通过以下调用将它嵌入到Flex应用程序占位符d iv标记中。
Although web standards are created to avoid compatibility issues, the embed element is more unambiguous than the W3C-approved object element.
尽管web标准是为了避免兼容性问题而建立的,但embed却比W3C支持的object更为明确。
Why object is better than embed?
为什么object比embed更好?
You can also use it to caption audio, video, iframe, object, and embed elements.
还可以使用它给audio、video、iframe、object和embed元素加说明。
The id attribute of the object tag and the name attribute of the embed tag must be unique throughout a mashup page.
object标记的id属性和embed标记的name属性在整个mashup页面内必须是惟一的。
Unlike the object element, embed doesn't support alternative content when the embed element is supported, but the Flash plugin is not installed.
不像object,当embed被支持但是却没有安装flash插件的时候,它并不支持替换内容。
Define the OBJECT and EMBED tags inside the div tag as shown in lines 17 though 34 of the code shown in listing 2.
在div标记内部定义object和EMBED标记,如清单2的17至34行所示。
"If we are to embed some level of intelligence in every object that would change electronics and it would change society," Palacios says.
“如果我们在每个客观事物中嵌入某种程度的智能,那将会改变所有电子产品,同时也会改变了整个社会。”帕拉西奥斯说道。
"If we are to embed some level of intelligence in every object that would change electronics and it would change society," Palacios says.
“如果我们在每个客观事物中嵌入某种程度的智能,那将会改变所有电子产品,同时也会改变了整个社会。”帕拉西奥斯说道。
应用推荐