Need help adding pages to a Flash site template
by Sabrina Crayne
on
Jul 18, 2008 at 1:42:06 pm
This may seem very basic to all you experienced Flash people, but it is beating me up! I purchased a flash web site template. I have customized everything except two things in it.
The first thing is that I need to add 5 pages to the flash template.
I have some rather sketchy instructions and they are not working for me.
This template is one where the the start and home page are in one timeline and the additional pages are small movie clips, but not separate swf files, they are in a timeline buried in the original template.
If anyone can help me make sense of adding these pages It would be greatly appreciated.
Re: Need help adding pages to a Flash site template by Sam Mattern on Jul 18, 2008 at 1:52:52 pm
If you send me a copy of the template, I can help. Attach and send to original.svelte at gmail.com. If the file size is too big, contact me and we'll figure something out.
It can be difficult picking up on someone else's code. When I was in college, I saw commenting as a waste of time. After going through some similar experiences, and after going through some of my most ingenious code, I started adding comments.
Granted, the template people want you to pay them to add pages, which is why they don't comment the code.
Re: Need help adding pages to a Flash site template by Sam Mattern on Jul 22, 2008 at 3:41:24 pm
To add a button:
1. Open "Menu6"
2. Add a new layer beneath "actions" and name it "buttonX", where x is the next number in line.
3. Create a keyframe on that layer two frames after the keyframe on the layer beneath it.
4. Copy the button on the layer beneath it, and paste and position it.
5. Give that button the instance name "itemX", where x is the next item number (add one to the item# of the button you copied)
6. Select the button and open the actions panel. Change the "num" variable to match the item number.
To set the title for the button:
1. Double click the button, then double click the current title
OR
1. Open "HOME copy" from the library.
2. Create a new keyframe directly after the last one. The frame # must match the "item#" and the "num" variable.
3. Change the text to reflect what you want the button title to be.
4. You can probably rename "HOME copy" to "ButtonTitles" without breaking anything. Save first!
To create the new page:
1. Open "PageContent" from the Library. It was previously named "Symbol1" in the "pop" folder.
2. Create a new layer beneath "actions" and name it "pageX" where x matches the "item#" and the "num" variable on the button.
3. Create a keyframe on the frame matching the "item#", etc, and layer name (for page10, keyframe goes on frame 10)
4. Set the page content on that keyframe. You can copy and paste-special the previous page and then edit it.
5. Create a blank keyframe on the next frame.
How this all works:
The "num" variable set on each button instance controls what button title to pull from "HOME copy".
The instance name set for each button controls what frame to go to in "PageContent" ("item2" points to frame 2, "item 3" points to frame 3). That's why the content is different on each frame. It's very important to keep name the layers appropriately so you don't mess up the numbers. Ultimately, setting the "num" variable on each button instance trickles down the line to control lots of stuff, so MAKE SURE IT IS SET CORRECTLY. If something breaks, check that first.
Re: Need help adding pages to a Flash site template by Sam Mattern on Jul 22, 2008 at 3:51:51 pm
To add a button:
1. Open "Menu6"
2. Add a new layer beneath "actions" and name it "buttonX", where x is the next number in line.
3. Create a keyframe on that layer two frames after the keyframe on the layer beneath it.
4. Copy the button on the layer beneath it, and paste and position it.
5. Give that button the instance name "itemX", where x is the next item number (add one to the item# of the button you copied)
6. Select the button and open the actions panel. Change the "num" variable to match the item number.
To set the title for the button:
1. Double click the button, then double click the current title
OR
1. Open "HOME copy" from the library.
2. Create a new keyframe directly after the last one. The frame # must match the "item#" and the "num" variable.
3. Change the text to reflect what you want the button title to be.
4. You can probably rename "HOME copy" to "ButtonTitles" without breaking anything. Save first!
To create the new page:
1. Open "PageContent" from the Library. It was previously named "Symbol1" in the "pop" folder.
2. Create a new layer beneath "actions" and name it "pageX" where x matches the "item#" and the "num" variable on the button.
3. Create a keyframe on the frame matching the "item#", etc, and layer name (for page10, keyframe goes on frame 10)
4. Set the page content on that keyframe. You can copy and paste-special the previous page and then edit it.
5. Create a blank keyframe on the next frame.
How this all works:
The "num" variable set on each button instance controls what button title to pull from "HOME copy".
The instance name set for each button controls what frame to go to in "PageContent" ("item2" points to frame 2, "item 3" points to frame 3). That's why the content is different on each frame. It's very important to keep name the layers appropriately so you don't mess up the numbers. Ultimately, setting the "num" variable on each button instance trickles down the line to control lots of stuff, so MAKE SURE IT IS SET CORRECTLY. If something breaks, check that first.
Re: Need help adding pages to a Flash site template by Marcella Harris on Aug 20, 2008 at 4:14:59 pm
Hi I purchased a flash site template from entheos.com(I regret it)and I've modified everything else to my liking but I'm stuck on adding 5 new pages to the template, which all 5 pages will be linked to pics that I converted into buttons. Please help me!