
make a new movie in swishmax 4 width 252 x height 210, 25 frame rate and a white background colour.
copy and paste the following script on to Scene_1 on the movie.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | onFrame (1) { /*/// Do Not Remove /// Serbia National flag by Craig Lowe www.loweonline.co.uk script © 2011 Craig Lowe please give credit */// Do Not Remove /// myShadow = new flash.filters.DropShadowFilter(0, 0, 0x333333, 0.50, 2, 2, 2, 15, false, false, false); _root.createEmptyMovieClip("rectangle_mc", 1); _root.createEmptyMovieClip("red", 2); _root.createEmptyMovieClip("blue", 4); _root.createEmptyMovieClip("white", 3); rectangle_mc.beginFill(0xFFFFFF, 100); rectangle_mc.lineStyle(1, 0x000000, 100); red.beginFill(0xEE1C25, 100); red.lineStyle(1, 0xEE1C25, 100); blue.beginFill(0x054C8E, 100); blue.lineStyle(1, 0x054C8E, 100); white.beginFill(0xFFFFFF, 100); white.lineStyle(1, 0xFFFFFF, 100); rectangle_mc._x=50; rectangle_mc._y=50; rectangle_mc.filters = [myShadow]; red._x=51; red._y=51; blue._x=51; blue._y=84; white._x=51; white._y=114; rectangle_mc.lineTo(150, 0); rectangle_mc.lineTo(150, 100); rectangle_mc.lineTo( 0, 100); rectangle_mc.lineTo( 0, 0); red.lineTo(148, 0); red.lineTo(148, 35); red.lineTo( 0, 35); red.lineTo( 0, 0); blue.lineTo(148, 0); blue.lineTo(148, 32); blue.lineTo( 0, 32); blue.lineTo( 0, 0); white.lineTo(148, 0); white.lineTo(148, 35); white.lineTo( 0, 35); white.lineTo( 0, 0); } |
Press Ctrl+T to see the flag in the player.





1 ping
Superheroes Cheer Children In Japan's Tsunami Zone | Natural Disasters
May 5, 2011 at 9:16 pm (UTC 1) Link to this comment
[...] Loweonline.co.uk » Blog Archive » Serbian National Flag swishmax 4 [...]