STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228079
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2560 · P5120

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/85902416?noj=FRM85902416-1DC" width="1" height="1"></div>

SAI Linework Tutorial.swf

This is the info page for
Flash #101214

(Click the ID number above for more basic data on this flash file.)


Text
Text

Text

ActionScript [AS1/AS2]

Frame 1
function switchslide(newslide) { currentslide = newslide; } function saveslide() { slide[dia] = currentslide; } function playslide() { currentvideo = slide[currentdialog]; swapvideo(); } function playvideo(index) { screen.attachMovie(video[index], "slide", 0); } function swapvideo() { if (currentvideo != previousvideo) { playvideo(currentvideo); } previousvideo = currentvideo; } video = new Array(); video[1] = "slide1"; video[2] = "slide2"; video[3] = "slide3"; video[4] = "slide4"; video[5] = "slide5"; video[6] = "slide6"; video[7] = "slide7"; video[8] = "slide8"; video[9] = "slide9"; video[10] = "slide10"; video[11] = "slide11"; video[12] = "slide12"; video[13] = "slide13"; video[14] = "slide14"; video[15] = "slide15"; video[16] = "slide16"; video[17] = "slide17"; video[18] = "slide12_2"; video[19] = "slide8_2"; video[20] = "slide14_2"; video[21] = "slide1_2"; slide = new Array(); currentslide = 1; currentvideo = 1; previousvideo = 0; function resettext() { textbox.text = ""; textbox.gotoAndPlay("reset"); } function settext(text, color, speed, newdelay) { textbox.delay = newdelay; textbox.color = color; textbox.text = text; textbox.speed = speed; textbox.gotoAndPlay("reset"); stop(); } function setdialog(number) { var _local2; _local2 = 3; currentdialog = number; settext(dialog[number * _local2], dialog[(number * _local2) + 1], dialog[(number * _local2) + 2], delays[number]); playslide(); } function nextdialog() { if ((currentdialog + 1) < (dialog.length / 3)) { currentdialog = currentdialog + 1; } else { currentdialog = 0; } setdialog(currentdialog); } function previousdialog() { currentdialog = currentdialog - 2; if (currentdialog < 0) { currentdialog = (dialog.length / 3) - 2; } play(); } function initdialog(text, color, speed) { var _local1; _local1 = 3; dialog[dia * _local1] = text; dialog[(dia * _local1) + 1] = color; dialog[(dia * _local1) + 2] = speed; saveslide(); delays[dia] = currentdelay; currentdelay = 0; dia++; } function setdelay(delay) { currentdelay = delay; } esp = 0; fla = 1; gla = 2; mig = 3; character1 = 4; dialog = new Array(); delays = new Array(); currentdelay = 0; currentdialog = -1; dia = 0;
Frame 2
switchslide(17); initdialog("Click this textbox.", character1, 10); initdialog("Press RIGHT. DO IT NOW!", character1, 10); initdialog("Now press LEFT!", character1, 10); initdialog("This is a short tutorial teaching the basics\nof linework layers in SAI.", character1, 10); initdialog("To get started", character1, 10); switchslide(1); initdialog("To get started we need a sketch.", character1, 10); initdialog("Okay, let's ink it now.", character1, 10); switchslide(2); initdialog("First, make a new linework layer.", character1, 10); switchslide(3); initdialog("Select the pen tool, keep pressure sensitivity deactivated.", character1, 10); switchslide(4); initdialog("Draw a line.", character1, 10); switchslide(5); initdialog("Now hold Ctrl and you should see points along the line.", character1, 10); switchslide(6); initdialog("You can add and move points by clicking and dragging the line while holding ctrl.", character1, 10); switchslide(7); initdialog("Alt+click removes points. Do that to smooth lines out.", character1, 10); initdialog("Large, slightly curvy lines are no problem this way.", character1, 10); switchslide(1); initdialog("And that's all you're working with.", character1, 10); switchslide(8); initdialog("And that's all you're working with.\nInk the sketch now.", character1, 10); switchslide(15); initdialog("Press ctrl+A to select all points.", character1, 10); switchslide(9); initdialog("Select the weight tool.\nActivate pressure sensitivity and click a line.", character1, 10); initdialog("After that, clear the selection (Ctrl + right click).\nMake sure no point is selected!", character1, 10); switchslide(10); initdialog("Select the pressure tool.", character1, 10); switchslide(11); initdialog("click and drag points to adjust the lines weight.", character1, 10); switchslide(19); initdialog("Apply that on all the lines.\nHow exactly you do that is up to you.", character1, 10); switchslide(12); initdialog("Almost done.", character1, 10); switchslide(13); initdialog("Select the Pen tool with pressure sensitivity activated.", character1, 10); switchslide(18); initdialog("Select the Pen tool with pressure sensitivity activated.\nNow you can add some fine details.", character1, 10); switchslide(14); initdialog("Done.", character1, 10); switchslide(16); initdialog("Linework layers are freely resizeable just like vectors.\nIf you want a larger picture, now is the time to make adjustments.", character1, 10); switchslide(20); initdialog("And now", character1, 10); switchslide(1); initdialog("And now your turn.", character1, 10); switchslide(21); initdialog("And now your turn.\n\nEND", character1, 10);
Frame 3
nextdialog();
Instance of Symbol 73 MovieClip "screen" in Frame 3
on (keyPress "<Right>") { _parent.textbox.buttonpress(); } on (keyPress "<Left>") { with (_parent) { previousdialog(); } }
Frame 4
gotoAndPlay ("dialog");
Symbol 67 Button
on (release) { buttonpress(); }
Symbol 70 Button
on (release) { _parent.previousdialog(); }
Symbol 71 MovieClip Frame 1
function buttonpress() { if (delay <= 0) { if (q < text.length) { q = text.length; } else { _parent.play(); } } } q = 1; text = ""; prevtext = text; textcolors = new Array(8396458, 11964690, 812969, 5395026, 0); color = 1; speed = 0.5; delay = 0;
Symbol 71 MovieClip Frame 2
if (prevtext.substring(0, q - speed) != text.substring(0, q - speed)) { q = 1; textbox = ""; } prevtext = text;
Symbol 71 MovieClip Frame 3
textboxx.textColor = textcolors[color]; if (delay <= 0) { if (q < text.length) { textbox = text.substring(0, q); q = q + speed; } else { textbox = text; } } else { delay = delay - 1; } dialognumber = _root.currentdialog; slidenumber = _root.currentvideo;
Symbol 71 MovieClip Frame 4
gotoAndPlay (3);

Library Items

Symbol 1 BitmapUsed by:2 4
Symbol 2 GraphicUses:1Used by:3
Symbol 3 MovieClip [slide1_2]Uses:2
Symbol 4 GraphicUses:1Used by:5
Symbol 5 MovieClip [slide1]Uses:4
Symbol 6 BitmapUsed by:7
Symbol 7 GraphicUses:6Used by:8
Symbol 8 MovieClip [slide2]Uses:7
Symbol 9 BitmapUsed by:10
Symbol 10 GraphicUses:9Used by:11
Symbol 11 MovieClip [slide3]Uses:10
Symbol 12 BitmapUsed by:13
Symbol 13 GraphicUses:12Used by:14
Symbol 14 MovieClip [slide4]Uses:13
Symbol 15 BitmapUsed by:16
Symbol 16 GraphicUses:15Used by:17
Symbol 17 MovieClip [slide5]Uses:16
Symbol 18 BitmapUsed by:19
Symbol 19 GraphicUses:18Used by:20
Symbol 20 MovieClip [slide6]Uses:19
Symbol 21 BitmapUsed by:22
Symbol 22 GraphicUses:21Used by:23
Symbol 23 MovieClip [slide7]Uses:22
Symbol 24 BitmapUsed by:25 27
Symbol 25 GraphicUses:24Used by:26
Symbol 26 MovieClip [slide8_2]Uses:25
Symbol 27 GraphicUses:24Used by:28
Symbol 28 MovieClip [slide8]Uses:27
Symbol 29 BitmapUsed by:30
Symbol 30 GraphicUses:29Used by:31
Symbol 31 MovieClip [slide9]Uses:30
Symbol 32 BitmapUsed by:33
Symbol 33 GraphicUses:32Used by:34
Symbol 34 MovieClip [slide10]Uses:33
Symbol 35 BitmapUsed by:36
Symbol 36 GraphicUses:35Used by:37
Symbol 37 MovieClip [slide11]Uses:36
Symbol 38 BitmapUsed by:39 41
Symbol 39 GraphicUses:38Used by:40
Symbol 40 MovieClip [slide12_2]Uses:39
Symbol 41 GraphicUses:38Used by:42
Symbol 42 MovieClip [slide12]Uses:41
Symbol 43 BitmapUsed by:44
Symbol 44 GraphicUses:43Used by:45
Symbol 45 MovieClip [slide13]Uses:44
Symbol 46 BitmapUsed by:47
Symbol 47 GraphicUses:46Used by:48
Symbol 48 MovieClip [slide14_2]Uses:47
Symbol 49 BitmapUsed by:50
Symbol 50 GraphicUses:49Used by:51
Symbol 51 MovieClip [slide14]Uses:50
Symbol 52 BitmapUsed by:53
Symbol 53 GraphicUses:52Used by:54
Symbol 54 MovieClip [slide15]Uses:53
Symbol 55 BitmapUsed by:56
Symbol 56 GraphicUses:55Used by:57
Symbol 57 MovieClip [slide16]Uses:56
Symbol 58 BitmapUsed by:59
Symbol 59 GraphicUses:58Used by:60
Symbol 60 MovieClip [slide17]Uses:59
Symbol 61 GraphicUsed by:71
Symbol 62 FontUsed by:63 64
Symbol 63 EditableTextUses:62Used by:71
Symbol 64 EditableTextUses:62Used by:71
Symbol 65 GraphicUsed by:67
Symbol 66 GraphicUsed by:67
Symbol 67 ButtonUses:65 66Used by:71
Symbol 68 GraphicUsed by:70
Symbol 69 GraphicUsed by:70
Symbol 70 ButtonUses:68 69Used by:71
Symbol 71 MovieClipUses:61 63 64 67 70Used by:Timeline
Symbol 72 GraphicUsed by:Timeline
Symbol 73 MovieClipUsed by:Timeline

Instance Names

"textbox"Frame 1Symbol 71 MovieClip
"screen"Frame 3Symbol 73 MovieClip
"textboxx"Symbol 71 MovieClip Frame 1Symbol 64 EditableText

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 3 as "slide1_2"
ExportAssets (56)Timeline Frame 1Symbol 5 as "slide1"
ExportAssets (56)Timeline Frame 1Symbol 8 as "slide2"
ExportAssets (56)Timeline Frame 1Symbol 11 as "slide3"
ExportAssets (56)Timeline Frame 1Symbol 14 as "slide4"
ExportAssets (56)Timeline Frame 1Symbol 17 as "slide5"
ExportAssets (56)Timeline Frame 1Symbol 20 as "slide6"
ExportAssets (56)Timeline Frame 1Symbol 23 as "slide7"
ExportAssets (56)Timeline Frame 1Symbol 26 as "slide8_2"
ExportAssets (56)Timeline Frame 1Symbol 28 as "slide8"
ExportAssets (56)Timeline Frame 1Symbol 31 as "slide9"
ExportAssets (56)Timeline Frame 1Symbol 34 as "slide10"
ExportAssets (56)Timeline Frame 1Symbol 37 as "slide11"
ExportAssets (56)Timeline Frame 1Symbol 40 as "slide12_2"
ExportAssets (56)Timeline Frame 1Symbol 42 as "slide12"
ExportAssets (56)Timeline Frame 1Symbol 45 as "slide13"
ExportAssets (56)Timeline Frame 1Symbol 48 as "slide14_2"
ExportAssets (56)Timeline Frame 1Symbol 51 as "slide14"
ExportAssets (56)Timeline Frame 1Symbol 54 as "slide15"
ExportAssets (56)Timeline Frame 1Symbol 57 as "slide16"
ExportAssets (56)Timeline Frame 1Symbol 60 as "slide17"

Labels

"dialog"Frame 3
"reset"Symbol 71 MovieClip Frame 2

Dynamic Text Variables

textboxSymbol 63 EditableText"Text"
textboxSymbol 64 EditableText"Text"




http://swfchan.com/21/101214/info.shtml
Created: 3/12 -2018 09:41:40 Last modified: 3/12 -2018 09:41:40 Server time: 01/05 -2024 15:44:47