将博客链接到 SWF 文件的滚动文本中

发布于 2024-08-13 04:11:42 字数 412 浏览 1 评论 0原文

我正在为一位已经使用 Blogspot 进行新闻/主页更新的客户开发一个完全基于 Flash 的网站。他希望通过 Blogspot 继续更新,但希望博客自动填写 Flash 站点主页上的文本框。我不确定这是否可能,或者我将如何去做。

这是 blogspot 页面:
http://atmarsamps.blogspot.com/

以下是滚动 SWF 文本框的示例喜欢:
http://eloquentcreative.com/

这可能吗?任何帮助都将是绝对惊人的!

I'm working on an entirely flash-based site for a client who has already been using Blogspot for his News/Homepage updates. He wants to continue updating through Blogspot, but wants the blog to automatically fill in the text box on the flash site Homepage. I'm not sure if this is possible, or how I would go about doing it.

Here is the blogspot page:
http://atmarsamps.blogspot.com/

Here is an example of what the scrolling SWF text box will be like:
http://eloquentcreative.com/

Is this possible? Any help would be absolutely amazing!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

花辞树 2024-08-20 04:11:42

您可以使用 URLLoader 将页面加载为文本。但我不确定解析它的最佳方法。

也许您可以尝试查找用于相关文本的 CSS 标签,然后抓取这些标签之间的文本?不过,可能有更好的方法来做到这一点。

请注意,您可以更新文本框的 htmlText 属性的值,这将允许 Flex 保留从加载的页面指定的某些样式。

You can use URLLoader to load the page as text. I'm not sure of the best way to parse it though.

Maybe you can try looking for the CSS tag that is being used for the text in question and then grabbing the text in between those tags? There might be better ways to do this though.

Note, you can update values to the htmlText property of a text box, which will allow Flex to maintain some of the styles specified from the loaded page.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文