So we have a site that has been running on Drupal 5.x (currently at latest 5.19) and we are using SWFTools version 5.x-1.1. The update status log tell us there is a new version we should be upgrading to. So I took some time this weekend to try to upgrade and here is what we encountered:

  • Our homepage has an Flash animation written on ActionScript 3 and using Caurina class for animating several items from the timeline in a smoother fashion. The animation also has a loader swf file that loads a second main swf file containing the animation and all the ActionScript used to load graphic elements from disk. The only purpose of the loader swf is to load this file and provide some feedback to the visitor on download progress etc.
  • While this works perfectly using the currently installed version of SWFTools (5.x-1.1), when we upgrade to version 5.x-2.4, the animation reports a Load Error. Further testing revealed that if we create a simple animation, timeline based, the animations play completely so presumably the problem lies on using AS3 and the Caurina class for animation effects.

I would love to be able to upgrade as I know support for our old version of SWFTools will be less and less feasible as the module progresses, but I can't figure out why the new version is having trouble working with the said combination of animation classes. Is this module being supported elsewhere as I don't see the link to create a support case? Has anyone out there been able to use the current version of SWFTools and Caurina classes while loading assets from disk instead of embedding in the library?

Any help or suggestions are appreciated.
Thanks,
RG

Comments

rgracia’s picture

Really hoping someone from the SWFTools support team can help us resolve this.

rgracia’s picture

Is this not the correct way to request for support ion this module?

Stuart Greenfield’s picture

Yes - it's the way to request - it's just that the maintainer has been sidetracked recently!

It's a while since I looked at the 5.x code, so we'll need to back track through the change log to see what was done.

Off the top of my head it sounds like maybe the loader isn't finding the support files properly, so it might be that the base path is going wrong.

If possible, can you paste the page source code that version 5.x-1.1 is producing, and then the code that 5.x-2.4 is producing - that will highlight if there are any major differences in the code that's being output.

It might be that the support files need to go somewhere else, or that you need to tell SWF Tools what it should be using as base.

--edit
Just checked the change log. One change is described as "Also fixes full screen and base parameter errors that occurred if using direct embedding." Firstly, note to self, I have no idea what the original error was! Secondly, it looks like something has been changed, so that tends to support the idea that maybe the base path is different and the animation can't find the support files it needs. Where are you putting the supporting files at the moment? Also, try checking your site log to see if you're getting any page not found errors relating to the additional files. That could give a clue, and that has worked as a diagnostic for other users who had sub-files that weren't loading.
/--edit

rgracia’s picture

Status: Active » Fixed

This is resolved now. It seems that although under version 5.x-1.1, relative paths to assets were sufficient, 5.x-2.4 required absolute ones in order to find them. I changed the code to use absolute paths for assets and it now works correctly under 5.x-2.4.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.