و افتر منی یه چیزی پیداکردم اممممممممممممما یه مشکل داره و اینکه دمو هست . کسی فول ورژن Bytescout SWF SCOUT رو داره بذاره بچه ها استفاده کنن ؟!؟!!؟!
به راحتی و با این کدهایی که نوشتم میشه اینکارو کرد . فقط باید تو فلشش هم تکس باکس ها و ایمیج هایی که اینجا پر میکنه رو هم داشته باشیم به همون اسم
SWFScout.FlashMovie Movie = new SWFScout.FlashMovie();
Movie.InitLibrary("demo", "demo");
Movie.BeginMovieFromTemplate("sampleeeeeeeeeeeeee.swf",true);
// adding text rule to replace text field "setmyname" in swf template with Unicode text although initial text was
// non-Unicode so we are using UNICODE:// prefix to force Unicode. Prefix will be removed automatically
// Movie.AddTemplateRule_Text("setmyname", "UNICODE://some unicode text goes here..", true);
Movie.AddTemplateRule_Text("mehr","Joooooon",true);
Movie.AddTemplateRule_Text("amoon","eshgham mehrnaziii",true);
Movie.AddTemplateRule_Image("symbol 1","new.jpg",0);
Movie.ProcessTemplateRules();
Movie.Compressed = true;
Movie.EndMovie();
Movie.SaveToFile("ProcessedTemplate.swf");
// Set the file to open
//MyProcess.StartInfo.FileName = "final.swf";
//MyProcess.StartInfo.Verb = "Open";
// Start the process
//MyProcess.Start();
//SWFScout.FlashMovie Movie = new SWFScout.FlashMovie();
//Movie.InitLibrary("demo", "demo");
//Movie.BeginMovie(0, 0, 640, 480, 1, 12, 6);
//int Font = Movie.AddFont("Arial", 18, true, false, false, false, 0); // add font
//// create and place text
//int Text = Movie.AddText("Hello, World!", 0, 0, 0, 255, Font, 0, 100, 250, 160);
//Movie.PlaceText(Text, Movie.CurrentMaxDepth); // place text into current depth
//Movie.PLACE_FadeOut(0.5F); // fade out text
//int Shape = Movie.AddShape(); // add new shape
//Movie.SHAPE_Rectangle(0, 140, 150, 285); // draw rectangle
//Movie.SHAPE_SetSolidColor(50, 255, 50, true, 255); // set solid fill for shape
//Movie.PlaceShape(Shape, Movie.CurrentMaxDepth); // place shape into current depth
//Movie.ShowFrame(10); // show 10 frames
//Movie.EndMovie(); // end movie generation
//Movie.SaveToFile("c:\\Shapes.swf"); // save generated SWF into file