I'm new to Flash so I may be missing the boat here, but I having trouble getting Flash Node to work the way I expect it to.

I would like to use flash node as a means of adding tutorials to our library's website. Flash node and SWF Tools are both installed. The problem I have run into is this: The only way that I am able to get a .SWF file to display at all after saving a flash node is to set |SWF Tools:Embedding Settings:Default setting for Embedding| to include Play Immediately, Loop Movie, & Full Menu. The Flash file is not displayed otherwise. However, even with these setting, the file only plays once and no menu is present. To SWF Tools, I have added the three suggested JS methods (jQuery, UFO, SWFObject). None of the three change the problem. Wijering Flash is also installed. But I don't see a way to associate it to .swf files in the |SWF Tools:file handling| options. Should it be listed under Default player for SWF? It does appear under.flv and .mps file.

A sample page can be found at:

http://duno.ulib.iupui.edu/dev/content/firefox-cut-and-paste

Thanks for any help.

Comments

Stuart Greenfield’s picture

I have taken a look at your page and I kind of see what you mean. When you say there is no menu present I assume the swf file is supposed to have some kind of media player controls? That said, if I open the Flash file directly in my browser (bypassing Drupal and any embedding code by going to http://duno.ulib.iupui.edu/dev/files/flash/cut_paste_firefox.swf) then I see the same movie, also without controls, so the lack of controls seems to be related to the swf, not Flash node's handling of it? It also plays once through and then stops. Does the swf file need editing to tell it to loop (I usually code that in ActionScript rather than rely on the loop setting).

However, the not displaying unless you set other options is a new one - there is (was?) an SWFTools bug that meant flash didn't display unless you went to the SWFTools admin page, chose a method, and forced a save. However, it sounds like you've tried various embedding methods without much luck.

Normally the only setting that's needed is Play movie immediately. The menu setting here is to do with the popup menu that you can open to control how flash interacts with your local machine.

You don't need to specify a file association for swf, as swf is "native" flash. The associations settings in SWFTools control how flash handles other types (generally by letting you choose what player will handle them). Upload of swf files doesn't require a handler.

I will try to simulate a "clean" installation of the SWFTools and Flash node modules on my test rig. It might help (?) if you could email me a copy of the swf file - that way I can test using your actual file in case it is file specific (although gut feel is that this is unlikely). If you don't mind mailing it, please post it to web@stuartandnicola.com.

Please post again in the meantime if you have other problems or further info!

andjsmit’s picture

Placing the controls in the flash file did the trick. Newbie Flash misunderstanding... Using CCK Content.plate, I also added an introduction section before the flash file. Here is an example of what I came up with.

http://www.ulib.iupui.edu/test/flash/iucat_keyword

Thanks for your help!

Stuart Greenfield’s picture

Status: Active » Fixed

No problem!

I'll set this issue to fixed as you seem to have fixed the problem!

Anonymous’s picture

Status: Fixed » Closed (fixed)