Wallop的Mod的上传和管
下面讲述了如何上传和管理你的Wallop的Mod。上传.swf不像上传picture或mp3文件,你必须进行一些选项设置来让swf将会在Wallop中如何显示 。你可以在上传时设置这些选项,但你也可以先上传swf文件,然后通过'Manage Your Mods'页来修改这些选项。
创建一个新的Mod
上传你的Mod的swf文件到Wallop,可以使用如下链接:
http://devsandbox.wallop.com/uploadswf.aspx - use this link for testing/sandbox site
http://members.wallop.com/uploadswf.aspx - use this link for the production/beta site
本章主要讲解上传swf文件到Wallop的页面上的各个选项说明。
NOTE: Definition of Mod and Instances - Mod指的是上传到Wallop里的.swf文件。这个.swf文件存储在你的市场院帐号里。Mod对象(instance)指的是一个实际运行的Mod,你在你的Wallop帐号或其它人的帐号中中看到的。
- Flash .swf to Load (required) 你要上传的.swf文件(必添)
- 这里用来设置你要上传的.swf文件的目录。点击Browse按钮去选择你机子上要上传的.swf文件。
- Title of Mod (required)Mod的名字(必添)
- "Title of Mod"是你给你的Mod起的名字。例如,如果我上传了一个.swf文件,这个swf显示的是一个幻灯片(slideshow),我会给这个Mod起名为"Slideshow"。你的每个Mods必须有唯一的名字。
- Static Thumbnail Image (required)静态预览图像(必添)
- 在Wallop的某些界面中,Mods有时会以一个静态图片显示,而不是显示为动态的swf。这里是用来选择一个静态图片,这个图片将会当作某些界面中你的Mods的静态预览图。使用Browse按钮去选择你机子上的图像文件。
- Rich Thumbnail .swf
- This is where you choose another .swf file to use as a rich thumbnail for your Mod. Click the Browse button to choose a file on your local file system. These .swf files cannot use ActionScript.
- Initial Instance初始化对象(instance)
- 你的Mod的实例(instance)就是实际加载到Wallop用户进程中的运行的swf对象。每个使用你Mod的用户,不管Mod从那里加载,都是在观看你这个swf实例。
- Title标题
如果你选择了"Create"复选框,这个输入文字框会让你命名你Mod实例的名字。如果你将这个文本框为空,你的Mod实例名将会为"Instance of <ModTitle>"。这里<ModeTitle>中的ModTitle将是你前面设置的表格中的Mod名字。
- Create (default: checked)(默认:选择)
This checkbox indicates that you would like to create an instance as well as a Mod on initial upload. If you choose this option, after you upload your .swf, return to your Wallop homepage and you'll see your .swf in two places. An running version of your Mod (instance) will be visible in your blog, and the "SWFs" tab will display thumbnails of each Mod you have created. If you uncheck this box you will not see your .swf file in Wallop but it will be available via the Mod Management page (details below).
- Title标题
- Full screen on click (default: unchecked)点击时全屏(默认:不选择)
- 如果你选择这个选项,你的Mod对象被点击时会将一个变成全屏。在这个全屏窗口的右上角有一个'X'按钮,用来让用户退出全屏模式。
- Initial State
- 当Wallop用户首次观看swf实例时,这里有三种方法观看。你可以选择一个方式做为swf的初始状态。
- Start Automatically (default)
当用户访问你的Mod实例时,它会自动运行。
- Click static thumbnail to start点击预缩图开始
When a user accesses an instance of your Mod, they will see a static image (which you can upload using this form). When the user clicks the image, the .swf instance will start. Until the thumbnail is clicked instances of your Mod will not start - they will not load in the background.当用户看到你的Mod时,它将是一个静态略缩图(通过这个表单上传的图像)。当用户点击静态略缩图时,这个.swf实例将会自动运行。Mod不会开始,只有你点击它时才开始在你的屏幕上运行。
- Click rich (.swf) thumbnail to start
When a user accesses an instance of your Mod they will see a small .swf file (which you can upload using this form). This .swf file functions as a thumbnail. When the user clicks it the instance will start. Rich thumbnails should not contain any ActionScript. Until the thumbnail is clicked, instances of your .swf Mod will not start - they will not load in the background.
- Render State
- There are three Render States your Mod can have. This option determines where instances of your Mod are rendered within Wallop.你的Mod有3种显示方式。在Wallop中,这个选项用来设置你的Mod使用那一种那种显示方式。
- Bounded (默认)
Instances of your Mod will be bounded within a region, which is the layout that holds the instance. Bounded .swfs look like other Wallop objects-- pictures, for example-- in terms of the screen territory they occupy.你的Mod实例会拥有一个边界框,你的Mod显示在这个框中。当它们出现在屏幕上时,框起来的.swf看起来如同其他Wallop对象(例如,图片)一样。
- Fullscreen
只要运行,你的Mod实例就会布满整个Wallop屏幕。在右上角会有一个'X'按钮,它用来关闭你的Mod。
- Free
你的Mod实例将会充许出现在屏幕的任何位置。Free roaming Mods will appear on top of Wallop UI elements.
- Scaling mode
- There are two choices for the default handling of scaling of your Mod.
- Scale handled by Wallop (default)
This option will allow Wallop to scale Mod instances based on the size and configuration of the Wallop client. While the instances retain the same logical dimensions that the .swf was originally compiled with, they can be scaled depending on the size and configuration of the Wallop client, plus the space allocated to the instance itself.这个选项表示你可以根据Wallop客户端的大小来改变Mod实例的大小。
- Scaling handled by .swf
Instances of your Mod will be rendered at the size specified in the .swf file itself. Instances of the Mod will be rendered at a 1:1 scale, but this may not have the same logical dimensions the Mod was compiled with.你的Mod实例将会以.swf文件中指定的尺寸进行显示。
- Permission Mode
- This option only applies to instances of Mods which call the Wallop APIs (WAPI). Currently only the Per-instance data writable option is implemented.
- Per-instance data writable (default)
Instances of Mods with this option can only store data associated with the instance, using the WAPI calls getInstanceData and setInstanceData.
- Per-user data accessible
Instances of Mods with this option can only store data associated with the user, using the WAPI functions getUserData and setUserData.
- UI Implementer
- This option controls whether instances of your Mod will get UI events through normal Flash mechanisms, or through Wallop.这个选项用来指定你的Mod实例的UI事件信息是从正常的Flash消息方式,还是从Wallop中得到。
- Mod (default)
设置了这个选项的Mod,将如同正常的Flash文件那样接收事件。
- Wallop
Instances of Mods with this option must register with Wallop to receive UI events from the Wallop client itself. Choosing this option will make elements of Wallop's UI, like halo menus, work better. This option is necessary for some WAPI events such as receiving drag/drop events.
- User Scaling
- 用来设定用户是否能够改变Mod实例的大小。
- Allow (default)
充许用户改变Mod的大小。
- Do not allow
不充许用户改变Mod的大小。
- Background
- 这个选项用来指定Mod实例的对象的背景颜色,色彩可以为一个指定颜色(.fla中指定的背景色)或是透明。
- Solid (默认设置)
- Transparent透明
- Submit Button(提交按钮)
- 提交按钮将会把你的swf文件和相关参数上传到Wallop网站。当文件被上传和处理后,会在页面上方显示一个成功或失败的信息。
Manage Your Mods
你可以通过下面的链接来修改你的Mod的swf文件,以及Mod的参数:
http://devsandbox.wallop.com/manageswf.aspx - 测试站点(devsandbox.wallop.com)专用
注意:一旦Mods上传到产品站点(如Modder),那么Mods将不能再被改变。
这个页面是让你用来管理你自己创建的Mods的管理页面。此页例出了你所有上传的Mods例表,显示了Mods的名字、创建日期和时间。你可以通过点击选择按钮,并点击'Modify Mod'按钮来修改你的任何Mod。
If you click 'Modify Mod' you will be taken to the 'Create Your Mod' page where you'll see the previous settings for the Mod you selected. Edit any fields and save your changes by clicking "Submit." You can also use the Modify function to upload new .swf files and thumbnails to overwrite existing files.
If you want to create a new instance of a Mod without changing its settings, enter a new instance name in the field (at the bottom right of the form) and click "Create Instance". This creates a new instance of the Mod in your blog. You can also do this by dragging a Mod from your "SWFs" tab into a blog entry.
0 评论:
发表评论