The Artima Developer Community
Sponsored Link

Web Buzz Forum
View Source of Flash

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Syam Kumar

Posts: 752
Nickname: skr
Registered: Apr, 2004

Syam Kumar is.
View Source of Flash Posted: Apr 11, 2005 2:41 AM
Reply to this message Reply

This post originated from an RSS feed registered with Web Buzz by Syam Kumar.
Original Post: View Source of Flash
Feed Title: WebMaster View
Feed URL: http://feed.webmasterview.com/
Feed Description: WebMaster View is an online magazine for web site owners, designers and developers, featuring News, How-to articles and tips.
Latest Web Buzz Posts
Latest Web Buzz Posts by Syam Kumar
Latest Posts From WebMaster View

Advertisement

If you use Flash, and want to share your work, you can now easily add a view source menu item to allow downloading the source code.

Usage :

Place the viewFlashSource.as file in the same directory as your Flash source file (FLA), and add the following line to the main timeline of your source file:

#include viewFlashSource.as

You can then specify the source URL through the flashParams HTML tag / attribute.

There are two values you can specify:

flashSource : Points to a URL to download the source for the contnet.
contentLicense : Points to the distribution / re-use license for the content.

<embed src="example.swf" quality="high" bgcolor="#ffffff" width="550" height="400" name="example" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashVars="flashSource=example%2Efla&contentLicense=http%3A%2F%2Fcreativecommons%2Eorg%2Flicenses%2Fby%2F2%2E0%2F" />

Adding a View Source Menu item to Macromedia Flash Content

(Via Creative Commons Weblog)

Comments

Read: View Source of Flash

Topic: firefox and thunderbird 1.0.2 Previous Topic   Next Topic Topic: Xrcising with my XBox

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use