Integration Project
Putting everything together
In your main file organize your information.
- Add keyframe in the LABELS layer of the main timeline. You remember, we have only four frames. You need a keyframe on each frame with names "home", "info", "plan". For the last frame enter "#p" as the label to make only this frame printable.
- add stop(); script to the first frame
- Place a toolbar in the separate layer. To each button in the toolbar except print add the goToAndStop() script with the labels of frames as parameters.
- For the toolbar "print" button add this code
on(release) { print(0,"bmovie"); }It will print only content of the frame labeled #p - Add the title, background and any drawings you like. Add any relevant content for the Home and Info pages (frames)
- Only for the "plan" labeled keyframe add the text field "textfurn", garbage bin "basket" , button for adding new instances (make sure that your code is there) , symbols with floor plan drawings and all seeding symbols with furniture items. You don't need the instances of draggable movie clips. It's enough that you have them in the library and they all assigned the proper linkage names, which appears in the code.
One detail – your created "on the run" furniture instances will be located in the same layer where the button with the attachMovie code is placed. Keep it in mind – it will be important to know when you will clean stage for printing. You may delete the button from printable content, but don't cut this layer before printed page, since instances that you cannot see in design time will populate it.
- Delete all unnecessary content from the printing frame – leave only floor plan with furniture items (now you can see how wise were to place them to the separate layer!)
- Test the movie. Navigate it with buttons, try to drag and rotate furniture. Print the results.
Your site should like approximately like that