Converting+CL001+Activities+to+v2+Wrapper

For EACH activity in CL001, do the following:

(1) Open up the original activity (from KPR Source) (2) Open up a fresh copy of ActivityTemplate 2008-04-07 (available from /v2WrapperDevelopment FTP site) (3) Rename the ActivityTemplate to CL001-C0x-A0y.fla before you do anything else, and save it in the directory with the rest of the v2WrapperDevelopment (in the same folder as the index.html file)

(4) In the Activity Template, the first scene is the activity_start scene, where all the activity variables are defined. Go to the action script found at the top level of the FLA, in the globals layer, frame 1. It will have things like ClusterName = …. ClipName = ….

etc…

What you need to do here is to fill out these variables with the correct values. The easiest way to do the first 4 is to copy and paste from the original KPR Source activity. (found at the top level, in the actions layer frame 1).

The rest of the variables you should be able to judge –either from the above variables, or from looking at the actual CLIPS website. The ReleaseDate should say ReleaseDate = “Released October 2007”

TO test to see if what you’ve done will work properly, run the newly saved FLA file and you should see the opening screen with the new information on it.

(5) For each of the scenes in the newly created file, you need to replace them with the corresponding scenes from the original FLA. There are two main changes from the original FLA and this newer version. The new version has a miniwrapper built in automatically – so you don’t have to do anything for this change to work. What you will have to do though is shift the location of the new scene after it’s imported.

a) Switch back to the ORIGINAL activity from the KPR Source – at the top level, click on the scenes layer and frame 2. Click on the actual stage and check out the Properties tab. What you should see is a Movie Clip, with a name of “scene”, an instance of “Scene_2”. (You do need to make note of this though since a few activities use a non-standard numbering/naming convention. In this case, the easiest thing to do is to rename them so they do follow the same convention. The scene in frame 2 should be called Scene_2, … the scene in frame 9 should be called Scene_9 and so on …)

b) Switch to the NEWLY created activity file, and open up BOTH libraries (you can click the -> new library panel button in the top right of the Library panel. Change one so that you can see the Library objects from the ORIGINAL file, and one so you can see the Library objects from the NEWLY created file.

c) Drag the Scene objects FROM the ORIGINAL in TO the NEWLY created file. d) You will be asked to Replace objects – say YES

e) Switch back to the NEWLY created file. Instead of the standard template Heading 1 etc… for each scene, you should see the actual objects from the CLIPS activity.

Click on frame 2 in the scenes layer at the top layer. You will need to relocate it so that it fits on the stage … perhaps x = 340 and y = 140 – or thereabouts.

f) Click on frame 3 and readjust its location on the stage. Continue for all scenes (no need to worry about the start or end activity pages however, those are already located correctly)

(6) Save the NEWLY created file and compile the SWF. If it looks fine in the miniwrapper then proceed. If not, go back and check the FLA.

(7) IF the activity has SOUND in it, then chances are things are not quite right yet. Since the sound files are called by actionscript via their linkage names, they do not automatically follow the scenes when you drag and drop from one Library to another. Instead you must do this:

a. Open up the original activity library and locate the Audio objects – each one that is used will have an entry in the Linkage column (Export: ….). b. Drag and drop these audio objects into the library of the NEW activity.

(8) Similarly … if the activity calls uber-type objects in action script, but none exist IN a timeline layer on the stage, then they will need to be copied from one library to the other (look for entries in the Linkage column with Export: labels but Use Count = 0)

(9) If the miniwrapper version looks fine, then change the publish settings so that when you compile the FLA it creates a new SWF in the correct folder. a) Choose FILE -> Publish Settings b) Change the Type: Flash (SWF ) location from the default to the folder it is supposed to be in. Click on the icon of the folder at the end of the line, then browse to the right place …. V2WrapperDevelopment / lib / CL001_KC_...../CL001_C0x_A0y_A_SometTitle c) Click on the name of the SWF that is already in the directory d) You will be asked if you wish to replace it –say YES

e) click PUBLISH and SAVE

(10) Test out the NEW activity in the v2Wrapper (run the index.html file, and then find that activity)

(11) Continue that process for each FLA – each activity in CL001