Updating+an+Activity+Instructions

Back

How to update an activity into the most recent version of the Activity Template .... in N easy steps.
> Objects that will not be automatically copied over with the scenes to look out for are objects that have Linkage names, and are attached to the activity or imported directly through action script and not via the stage. > Copy all of these objects into the **New Activity** library. > (They would normally be sequential starting at Scene 2 and increasing, but is possible to be different). Switch to NEW activity, top level, and make sure number of frames / scenes attached match with **OLD activity**. > Add or Remove frames in the timeline (at the top level of the **New Activity**) as needed. > //(Note: If inserting new frames in the top level timeline, you can copy the global layer key frame from frame 3 or onwards into the new empty frames in the global layer.// //On the scene layer, create keyframes, then Swap the scene object to the ones desired.)// > Copy the specific settings for this activity into the **NEW Activity**//(Cluster Name / Activity Name and Number / CLIP Name / Preferred Calc / showNumPad used / narrationExists / debug / etc.. )// > if so duplicate these labels in the **NEW Activity** (they are typically used for navigation with buttons; if a button appears to do nothing it is probably because these labels are missing)
 * 1) Obtain the most recent version of the **Activity Template** from the isenegger.ca FTP site (from the "CLIPS Templates" folder)
 * 2) Open up the activity to be converted, and save it with a name indicating the date it was last modified (if not already done so). This will be referred to in the instructions that follow as the **OLD Activity**.
 * 3) Open up a copy of the **Activity Template** (freshly downloaded), and save it with a name indicating the activity name and number and today's date. If need be add the suffix "NEW" to distinguish it from the OLD Activity file created in the previous step. This file will be referred to in the instructions that follow as the **NEW Activity**.
 * 4) In Flash, open up both the **OLD Activity** and the **NEW Activity** files.
 * 5) Open up the Library for both the **OLD Activity** and the **NEW Activity**.
 * 6) Drag all of the Scenes (Scene 2 and onwards) from the **OLD Activity** library to the **NEW Activity** library. Say YES to Replace Existing Items (click on radio button to indicate that).
 * 7) Look through the **OLD Activity** library, and copy any other objects that are defined in the **OLD Activity** that do not exist yet in the **New Activity** library.
 * 1) At the top level - Scene 1 - of the **OLD Activity**, check out the number of scenes in the **OLD activity**, and make note of the Scene objects attached to each frame in the **//scenes//** layer.
 * 1) At the top level - Scene 1 - of the **OLD Activity**, check out the **//actions//** layer, and copy the action script (if any) in that layer into the **NEW Activity** - Scene 1 - global actions layer.
 * 2) At the top level - Scene 1 - of the **OLD Activity**, check out the **//global//** layer - frame 1.
 * 1) At the top level - Scene 1 - of the **OLD Activity**, check to see if the any of the frames in the "scenes" layers have frame labels;
 * 1) Open up the new **Activity Template** (freshly downloaded) once again.
 * 2) Open up the Library for the **NEW Activity** file and the **Activity Template** (freshly downloaded) (you can close the library of the **OLD Activity** if it is still hanging around)
 * 3) Drag the Template Stuff folder from the **Activity Template** library into the **NEW Activity** library. Say YES to Replace Existing Items (click on radio button to indicate that).
 * 4) SAVE the **NEW Activity**.
 * 5) Test out the **NEW Activity**.

//Ignore this stuff below here ... it is kept for historical purposes ... and mostly because Greg doesn't like to throw anything out that might be useful at some point in the who knows how distant future or alternate timeline.//

CLUSTER 2 - CL002 --> Instructions on how we updated from v1 (CL001) activities to v2 (CL002) activities
//.... saved for interest / posterity / backwards compatability / you never know when you might need it / reasons.//

On frame 1, Main Timeline, Global layer of each activity
code stop; mySound = new Sound; stopAllSounds;

SceneControlsVisible = true;//true or false var inDebugMode:Boolean = false;

ClusterName = "Insert Your Cluster Name Here"; ClipName = "Insert Your Clip Name Here"; ActivityNum = "Activity N"; ActivityTitle = "Insert Your Activity Title Here"; ActivityType = "MindsOn";// MindsOn / Action / Consolidation / Show / Clip / Cluster ReleaseDate="Released February 2008";

// Insert the correct numbers for the cluster / clip / activity numbers below this.miniwrap_mc.ClusterNum = "CL002"; this.miniwrap_mc.ClipNum = "C03"; this.miniwrap_mc.activityNumber = 4; this.miniwrap_mc.WrapperType = "mini";

_global.animationPaused = false; _global.myMute = "on"; //on - mute button operational | muting - muted state | off - mute button grayed out //| nosound - mute button with line through it, no volume slider _global.globalSoundVolume = "on";

System.security.allowDomain("oame.on.ca"); System.security.allowDomain("oameonca.siteprotect.net"); System.security.allowDomain("isenegger.ca");

onEnterFrame = function { if (this._parent.wrapperActive == true) { this.scene.loadMovie("lib/common/activity_start.swf"); this.miniwrap_mc._visible = false; } else { this.miniwrap_mc._visible = true; this.miniwrap_mc.gotoAndPlay(2); }   delete onEnterFrame; }; code
 * **the _global.myMute will be set to "on" for an activity that has narration or sound (like quizzes) or "nosound" if there is no audio**
 * make sure that breadcrumbs match main wrapper and aren't too long
 * hide or delete debug layer and other temporary layers
 * set variable inDebugMode = false
 * backup your work
 * **copy the miniWrapper movieclip from the library of the current Activity_Template.fla to the library of your activity (say YES when asked to REPLACE existing items)**
 * **copy any changed template pages and objects**
 * **For the conference**
 * **activity_start (in TemplatePages)**
 * **testaudio.mp3 (in MiniWrapperStuff)**
 * **recompile with new .as files (in CL002/lib/actions directory)**
 * miniclips_01.as
 * clips_02.as
 * activities_01.as
 * File | Save and Compact the new .fla
 * test in 3 modes
 * standalone
 * wrapper locally (with current clips_v0_bXXX.fla from Clips Template directory)
 * on isenegger.ca
 * should see the test audio button and mute in correct states
 * should see the release date
 * post .fla in CL002_Source folder and swf in proper folder in lib