This is what I was trying to do:
Unfortunately, this is all I could accomplish: Visit my webpage
And this is the code I used to get it:
package {
import flash.display.MovieClip;
import flash.text.Font;
import flash.text.TextField;
import flash.text.TextFormat;
import flash.events.Event;
public class Main extends MovieClip{
var shapeOne:MovieClip;
var shapeTwo:MovieClip;
var shapeThree:MovieClip;
var shapeFour:MovieClip;
var shapeFive:MovieClip;
public function Main() {
// constructor code
trace ("I really hate coding this shit!");
//End printing stuff
shapeOne = new TitleScreen;
shapeTwo = new PeriodicTable;
shapeThree = new BioCollage;
shapeFour = new OrganicCollage;
shapeFive = new InorganicCollage;
//Now, the stage manipulation stuff...
//the colon says "It MUST be a MovieClip"
//CHANGE "Chlorine" -> the "Linkage" of one of your symbols
addChild(shapeOne); //add to stage
addChild(shapeTwo);
addChild(shapeThree);
addChild(shapeFour);
addChild(shapeFive);
shapeOne.x = 125;// location LEFT RIGHT
shapeOne.y = 100; //location UP DOWN
//NOTE: Y-DOWN is Positive
shapeOne.scaleX = .5;
shapeOne.scaleY = .5;
shapeTwo.x = 88;
shapeTwo.y = 187;
shapeTwo.scaleX = .5;
shapeTwo.scaleY = .5;
shapeTwo.rotation = 45;
shapeThree.scaleX = .5;
shapeThree.scaleY = .5;
shapeThree.x = 224;
shapeThree.y = 324;
shapeThree.rotation = 315;
shapeFour.x = 280;
shapeFour.y = 67;
shapeFour.scaleX = .5;
shapeFour.scaleY = .5;
shapeFour.rotation = 315;
shapeFive.scaleX = .5;
shapeFive.scaleY = .5;
shapeFive.rotation = 45;
shapeFive.x = 0;
shapeFive.y = 0;
} //Function Main
}
}
ahhhh...i feel like im supposed to know what all that says!!! but the picture is pretty...lol
ReplyDelete