home *** CD-ROM | disk | FTP | other *** search
- _global.menu = _root.menu;
- var theXML = "<mainSettings expansionDurationInFrames=\"2\" h=\"475\" w=\"160\" /><parentSettings unpressedcolor=\"0x000000\" hoverunpressedcolor=\"0x636363\" pressedcolor=\"0x000000\" hoverpressedcolor=\"0x636363\" /><childSettings unpressedcolor=\"0x636363\" hoverunpressedcolor=\"0x800000\" hoverpressedcolor=\"0x800000\" pressedcolor=\"0x800000\"labelX =\"20\" labelY =\"0\" labelW =\"120\" labelH =\"24\" fontsize =\"12\" /><parent expansionDurationInFrames=\"2\" label=\"Tools Overview\"><child label=\"Tool Palette\" id=\"tool_palette\" movie=\"tool_palette.swf\" /><child label=\"Tool Options Palette\" id=\"tool_options_palette\" movie=\"tool_options_palette.swf\" /><child label=\"Materials Palette\" id=\"materials_palette\" movie=\"materials_palette.swf\" /><child label=\"Layer Palette\" id=\"layer_palette\" movie=\"layer_palette.swf\" /><child label=\"Customize the Interface\" id=\"customize_interface\" movie=\"customize_interface.swf\" /><child label=\"Create a Custom Toolbar\" id=\"custom_toolbar\" movie=\"custom_toolbar.swf\" /><child label=\"Preferences\" id=\"preferences\" movie=\"preferences.swf\" /></parent><parent label=\"Automate Your Work\"><child label=\"Presets\" id=\"presets\" movie=\"presets.swf\" /><child label=\"Automated Productivity Scripts\" id=\"scripts\" movie=\"scripts.swf\" /><child label=\"Batch Process\" id=\"batch_process\" movie=\"batch_process.swf\" /><child label=\"Batch Rename\" id=\"batch_rename\" movie=\"batch_rename.swf\" /></parent><parent label=\"Photo Features\"><child label=\"Digital Cameras\" id=\"digital_cameras\" movie=\"digital_cameras.swf\" /><child label=\"Scan Images\" id=\"scan\" movie=\"scan.swf\" /><child label=\"Rotate a Photo\" id=\"rotate\" movie=\"rotate.swf\" /><child label=\"Straighten a Photo\" id=\"straighten\" movie=\"straighten.swf\" /><child label=\"Crop a Photo\" id=\"crop\" movie=\"crop.swf\" /><child label=\"Resize a Photo\" id=\"resize\" movie=\"resize.swf\" /><child label=\"Easy Photo Correction\" id=\"photo_correction\" movie=\"photo_correction.swf\" /><child label=\"Remove Red-eye\" id=\"redeye\" movie=\"redeye.swf\" /><child label=\"Repair Scratches\" id=\"repair_scratches\" movie=\"repair_scratches.swf\" /><child label=\"Perspective Correction\" id=\"perspective_correction\" movie=\"perspective_correction.swf\" /><child label=\"Clone Brush\" id=\"clone_brush\" movie=\"clone_brush.swf\" /><child label=\"Warp Brush\" id=\"warp_brush\" movie=\"warp_brush.swf\" /><child label=\"Photo Effects\" id=\"photo_effects\" movie=\"photo_effects.swf\" /><child label=\"Background Eraser\" id=\"background_eraser\" movie=\"background_eraser.swf\" /><child label=\"Tinting a Photo\" id=\"tinting\" movie=\"tinting.swf\" /><child label=\"Photo Collage\" id=\"photo_collage\" movie=\"photo_collage.swf\" /><child label=\"Picture Frames\" id=\"picture_frames\" movie=\"picture_frames.swf\" /><child label=\"Print Templates\" id=\"print_templates\" movie=\"print_templates.swf\" /><child label=\"Online Photo Services\" id=\"photo_sharing\" movie=\"photo_sharing.swf\" /></parent><parent label=\"Painting and Drawing\"><child label=\"Paint Brush\" id=\"paint_brush\" movie=\"paint_brush.swf\" /><child label=\"Picture Tubes\" id=\"picture_tubes\" movie=\"picture_tubes.swf\" /><child label=\"Preset Shapes\" id=\"preset_shapes\" movie=\"preset_shapes.swf\" /><child label=\"Vector Drawing\" id=\"vector_drawing\" movie=\"vector_drawing.swf\" /><child label=\"Add a Text Caption\" id=\"add_text\" movie=\"add_text.swf\" /><child label=\"Text on a Path\" id=\"text_path\" movie=\"text_path.swf\" /></parent><parent label=\"Web Graphics\"><child label=\"Seamless Tiling\" id=\"seamless_tiling\" movie=\"seamless_tiling.swf\" /><child label=\"Buttons\" id=\"buttons\" movie=\"buttons.swf\" /><child label=\"Optimizing Images\" id=\"optimize\" movie=\"optimize.swf\" /><child label=\"Image Mapping\" id=\"mapping\" movie=\"mapping.swf\" /><child label=\"Image Slicing\" id=\"slicing\" movie=\"slicing.swf\" /></parent><parent label=\"Learning Resources\"><child label=\"Quick Guides\" id=\"quick_guides\" movie=\"quick_guides.swf\" /><child label=\"Help and User Guide\" id=\"psp_help\" movie=\"psp_help.swf\" /><child label=\"Tutorials at Jasc.com\" id=\"jasc_com\" movie=\"jasc_com.swf\" /></parent>";
- _global.numberID2stringID = new Object();
- _global.numberID2stringID["1"] = "welcome";
- _global.numberID2stringID["2"] = "tool_palette";
- _global.numberID2stringID["3"] = "tool_options_palette";
- _global.numberID2stringID["4"] = "materials_palette";
- _global.numberID2stringID["5"] = "layer_palette";
- _global.numberID2stringID["6"] = "customize_interface";
- _global.numberID2stringID["7"] = "custom_toolbar";
- _global.numberID2stringID["8"] = "preferences";
- _global.numberID2stringID["9"] = "presets";
- _global.numberID2stringID["10"] = "scripts";
- _global.numberID2stringID["11"] = "batch_process";
- _global.numberID2stringID["12"] = "batch_rename";
- _global.numberID2stringID["13"] = "digital_cameras";
- _global.numberID2stringID["14"] = "scan";
- _global.numberID2stringID["15"] = "rotate";
- _global.numberID2stringID["16"] = "straighten";
- _global.numberID2stringID["17"] = "crop";
- _global.numberID2stringID["18"] = "resize";
- _global.numberID2stringID["19"] = "photo_correction";
- _global.numberID2stringID["20"] = "redeye";
- _global.numberID2stringID["21"] = "repair_scratches";
- _global.numberID2stringID["22"] = "perspective_correction";
- _global.numberID2stringID["23"] = "clone_brush";
- _global.numberID2stringID["24"] = "warp_brush";
- _global.numberID2stringID["25"] = "photo_effects";
- _global.numberID2stringID["26"] = "background_eraser";
- _global.numberID2stringID["27"] = "tinting";
- _global.numberID2stringID["28"] = "photo_collage";
- _global.numberID2stringID["29"] = "picture_frames";
- _global.numberID2stringID["30"] = "print_templates";
- _global.numberID2stringID["31"] = "photo_sharing";
- _global.numberID2stringID["32"] = "paint_brush";
- _global.numberID2stringID["33"] = "picture_tubes";
- _global.numberID2stringID["34"] = "preset_shapes";
- _global.numberID2stringID["35"] = "vector_drawing";
- _global.numberID2stringID["36"] = "add_text";
- _global.numberID2stringID["37"] = "text_path";
- _global.numberID2stringID["38"] = "seamless_tiling";
- _global.numberID2stringID["39"] = "buttons";
- _global.numberID2stringID["40"] = "optimize";
- _global.numberID2stringID["41"] = "mapping";
- _global.numberID2stringID["42"] = "slicing";
- _global.numberID2stringID["43"] = "quick_guides";
- _global.numberID2stringID["44"] = "psp_help";
- _global.numberID2stringID["45"] = "jasc_com";
- _global.childCallBack = function(child)
- {
- mainwindow.stop();
- mainwindow.unloadMovie();
- mainwindow.loadMovie(child.movie);
- };
- menu.init(theXML,childCallback);
- loadMovie("welcome.swf","_root.mainwindow");
- _global.helpSyncerExe = "tourSync.exe";
- this.onEnterFrame = function()
- {
- _global.helpSyncerIDFile = _level0.ssStartDir + "\\tourTopic.id";
- _global.syncSWFToHelp();
- setInterval(_global,"syncSWFToHelp",750);
- delete this.onEnterFrame;
- };
- _global.syncHelpToSWF = function(id)
- {
- fscommand("Run.Mode","HIDDEN");
- fscommand("Run.App",_global.helpSyncerExe + " synchelp " + id);
- };
- _global.lastHelpID = "";
- _global.syncSWFToHelp = function()
- {
- fscommand("Arg","_level0.swfStudioResult");
- fscommand("Arg",_global.helpSyncerIDFile);
- fscommand("FileSys2.FileExists");
- if(_level0.swfStudioResult == "TRUE")
- {
- _level0.swfStudioResult = null;
- delete _level0.swfStudioResult;
- fscommand("Arg","_level0.swfStudioNewHelpID");
- fscommand("Arg",_global.helpSyncerIDFile);
- fscommand("FileSys2.ReadFile");
- if(_level0.swfStudioNewHelpID != null && _level0.swfStudioNewHelpID != "" && _level0.swfStudioNewHelpID != _global.lastHelpID)
- {
- _global.lastHelpID = _level0.swfStudioNewHelpID;
- var c = _global.menu.selectItem(_global.numberID2stringID[_level0.swfStudioNewHelpID]);
- if(c != null)
- {
- _global.childCallBack(c);
- _global.nukeSyncFile();
- }
- }
- _level0.swfStudioNewHelpID = null;
- delete _level0.swfStudioNewHelpID;
- }
- };
- _global.nukeSyncFile = function()
- {
- fscommand("Arg","_level0.swfStudioDelResult");
- fscommand("Arg",_global.helpSyncerIDFile);
- fscommand("FileSys2.DeleteFile");
- };
-