I am making an animation in Flash professional and I need a constructor that can pick different movie clips that were converted from Fireworks. When I import the image in the Flash and convert it to a movie-clip and export to AS it requires a unique name. I want to have multiple images all into a single class is that possible?
When I go to edit the AS class it is basically empty
package {
import flash.display.MovieClip;
public class fallingSymbol extends MovieClip {
public function fallingSymbol() {
// constructor code
}
}
}
I want to add to the class and put the extra movie clips in but I am not sure if that is even an option. My attempt is below I created a blank class and cut and pasted the above in there. Doesn't seem to work.
package {
import flash.display.MovieClip;
public class fallingSymbol {
public function fallingSymbol() {
// constructor code
}
public class Integral extends MovieClip {
public function Integral() {
// constructor code
}
}
public class Multiplication extends MovieClip {
public function Multiplication() {
// constructor code
}
}
}
} Any ideas?