Adding a Panoramic
to the Project.
- I recommend going through the
Creating a Panoramic Site
tutorial if you are new to this. It is a general tutorial, but it's the foundation
of this project. And that you already did an external
FLA for your new pano.
- Create your new "pano_NEWPANORAMIC.fla"
from the "pano_TEMPLATE.fla" on the
server.
- First rename the "pano_TEMPLATE.fla"
to "pano_GARDENNAME.fla", where
GARDENNAME is the short name we use for new
Garden. [ Ex."Imagination Grows Garden" is "imgrows",
so the file would be called "pano_imgrows.fla" ]
We will use the short name for all external files
relating to that Panoramic.
- Import your
two image slices and put them together has in Creating a Panoramic Site.
The template is even easier to use, because the movie clips are already
created and named. You just need to put the images into each slice movie
clip and make sure the two slice 1 instances and slice 2 are lined up
right.
- To add hotspots
to the panoramic, edit each slice and place invisible buttons on a layer
above the image. The flags are in the library already, just put them in
the rollover spot of a button.
- You will probably want to
change the default view in the 1st frame of the root timeline. This controls
what you first see when it's loaded into the interface.
- Now Publish your movie and
you should be all set. You should have "pano_GARDENNAME.swf".
- Create a new include file and
place it in the include directory. I'd just copy another "PAR_name.as"
file and then save it as "PAR_GARDENNAME.as" and we can edit it
from there.
- Just leave panoToLoad
= this._name; , headline = toolTip; and
view
= 0; as is.
- Change the agentMessage
to whatever you'd like. Except you can use the '
character as of now.
- Change agent
to what agent you'd like, it'll just be one word description, like "bee".
- If there is some teacher info
for that panoramic, then set teacherInfo = true,
else set it to false. If teacherInfo = true
then you must set teacherInfoLink = AN URL FOR INFO.
- Finally, if there is a video
for that panoramic, then set normVideoFlag = true;
- Now we need to place a QTVR of
the garden in /ecards/qtvr/
Call it "GARDENNAME.mov".
- Now we need to place a JPG of
the garden in /ecards/jpg/
Call it "GARDENNAME.jpg".
- Now we need to
make three html files under the /magnify_pano/
folder.
- I'd just copy another garden
file in the directory that each of the three files exist and edit them to
reflect the change.
- Make a "GARDENNAME.html"
file in the /magnify_pano/ --
this is a frameset for the next two
- Make a "GARDENNAME_content.html"
file in the /magnify_pano/content/
- Make a "GARDENNAME_bottom.html"
file in the /magnify_pano/bottom_bar/
- If there is a garden video for
this panoramic then you need to make 4 files under /videoTour/
- Put your video in /videoTour/videos/
and call it "GARDENNAME.mov".
- Make a "GARDENNAME.html"
file in the /videoTour/
- Make a "GARDENNAME_content.html"
file in the /videoTour/content/
- Make a "GARDENNAME_bottom_bar.html"
file in the /videoTour/bottom_bar/
- Now open up the
newest "main_interface.fla".
- Go to the
Library: under the folder Map Node/NODE TEMPLATE/

- Duplicate
"MAP NODE: template" and name it
"MAP NODE: GARDENNAME".
- Duplicate
"tooltip TEMPLATE" and name it
just "tooltip".
- Make a new folder under the
right garden section A-H, or in Z if it's outside those areas. Call the
folder "Node: GARDENNAME". Then
place the two movie clips you just created in that folder.
- Now edit the "MAP
NODE: GARDENNAME" you just made. Go to the second frame and
select the tooltip movie clip instance on the stage ( Box that reads,
"TOOLTIP TEXT" ). Once selected,
Swap that movie clip with the "tooltip" you just made.
- Now edit the new "tooltip"
and enter the full title of the panoramic in the text field ( make it
look pretty ).
- Back to edit "MAP
NODE: GARDENNAME", in the first frame of 'logic' layer change
'tooltip' to the title you just entered for the toolTip movie clip. Now
change #include "includes\PAR_NEWGARDEN.as"
- Now in the
root timeline, edit 'map'. Place the "MAP NODE:
GARDENNAME" movie clip in the layer that falls into. Give
it an instance name of "GARDENNAME".
Move it to where you want it on the map. And that's about it.