PDA

View Full Version : My AS project doesn't have Tween in Flex 3


darkmist29
05-22-2008, 11:26 PM
I've been working on an ActionScript project in Flex Builder 3 that I expected to have the Tween classes. Since I built the ActionScript project in Flex 3, it seems that I'm missing some classes that I would normally have if I was using Adobe Flash CS3 or if I had built a Flex Project in Flex 3.

I was looking for fl.transitions.Tween or mx.effects.Tween - among others.

I'm looking at using the classes under fl.* because I can find them inside Adobe Flash CS3. I'm trying to add a source folder, but only my intellisense finds the classes - my builder doesn't seem to recognize anything. I get an error saying fl.transitions.Tween cannot be found.

How do I get Tween functionallity? Am I headed in the right direction?

darkmist29
05-30-2008, 11:04 AM
Just in case anyone is wondering how I fixed the problem: It was in the file structure. I built a folder into my project with all of the Action Script classes that I needed from fl.transitions.Tween (and some others). I was trying to include them from elsewhere and Flex 3 builder didn't find them that way.

Just put the classes you don't have into the project directly.

vikktor
06-22-2008, 12:36 AM
thank you