Template module genartes a template. Habc-link use it when generates swf file.
UseCamlp4(pa_oo pa_field)
FILES[] =
+ template
cmdOpt
$(ROOT)/swflib
$(ROOT)/config
--- /dev/null
+open Base
+open Swflib
+open Swflib.SwfType
+
+let make t abc : TagOut.t SwfType.t = {
+ version = 9;
+ frame_count = 1;
+ frame_rate = 24.;
+ frame_size = {
+ left = 0;
+ top = 0;
+ right = fst t#size;
+ bottom = snd t#size;
+ };
+ tags = [
+ `FileAttributes { TagOut.is_as3=true; is_metadata=false; use_network=true };
+ `SetBackgroundColor t#color;
+ `FrameLabel (t#main_class,false);
+ `DoABC(true,"frame",abc);
+ `SymbolClass [(0, t#main_class)]
+ ]
+}
+