Skip to main content
Inspiring
October 27, 2017
Answered

Importing Caurina Transitions Tweener.as to my AS3 File (Flash CS6)

  • October 27, 2017
  • 1 reply
  • 1131 views

Hi there,

I'm working on an old Flash cs6 file (that I did not write) - and I'm trying to understand how to incorporate the tweener.as file from caurina/transitions into my project.

I have the caurina folder (with the transitions folder and tweener.as file) in the same folder as my .FLA source file that I'm working off of.

This project was apparently built using the caurina transition tweener class, but now I'm at a loss for how to incorporate this class.

I keep getting the error 5001:The Name of package "caurina.transitions' does not reflect the location of this file. Please change the package definition's name inside this file, or move the file. (Then it lists the current file path).

I'm confused because it is in the same file as my .FLA file and the path ends with caurina\transitions\Tweener.as  - what am I missing?

I tried renaming the package name in the Tweener.as file to include a longer file path, but that just gave me a bunch of syntax errors.

I'm not familiar with AS3 or including external libraries in CS6 very much at all, so I apologize for my slowness. .

Any help would be much appreciated, thanks!

This topic has been closed for replies.
Correct answer kglad

put your tweener.as file in a caurina/transitions subfolder of the folder that contains your fla.

1 reply

kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
October 27, 2017

put your tweener.as file in a caurina/transitions subfolder of the folder that contains your fla.

KeelyMAuthor
Inspiring
October 27, 2017

Thanks! I ended up moving my file and the caurina/transitions folder to a new folder on a local hard drive (it was on a shared network drive before, not sure if that would matter?), but for whatever reason that seemed to do the trick.

kglad
Community Expert
Community Expert
October 28, 2017

you're welcome.