all groups > macromedia flash sitedesign > may 2006 >
You're in the

macromedia flash sitedesign

group:

Need advice on site structure


Need advice on site structure guttyguppygmail
5/20/2006 3:55:41 AM
macromedia flash sitedesign:
I have a site that moves to one of six windows. Each window follows a different
guide layer. When a link is clicked, i want the window that is supposed to come
in to animate into place. When the home button is clicked, I want the movie to
animate back along the same guide to the beginning. The problem I'm having is
that each window is it's own MC with a stop action on frame one so they don't
animate unless the nav is clicked. But for some reason, I can't get them to
ever play. On my actions layer, I have the right actionscript to jump to a
frame that has the mc in it, and tell the mc to play, but it never does. It's
probably easier if I make the fla available, which I'm willing to do, but first
maybe general advice may solve this. Thanks.
Re: Need advice on site structure BBRiD
5/22/2006 10:18:39 PM
I am new at this, too. However, what I understand is that the main site should
just be 1 frame with the actions on the first frame. There can be layers (up to
100 I have heard). The movie clip symbols should be made with a separate
timeline that "acts" based upon variables set in the main timeline.
So, for my site, I have the buttons setting a variable equal to a value. I
called it newbuttTrack to hold the number to represent the most recent button
pressed. My values are Home = 1, products = 2, etc. This variable is updated
only in the actionscript of the 1 and only 1 frame of the main timeline.
Then the individual movie clip timelines look at this value as
_root.newbuttTrack. The movieclip actionscript will respond based upon the
value. I have a "for" statement for each value. The variable, newbuttTrack can
equal 0-8. Zero is when the site is first called, so I don't have a "for"
statement for that one. I have 8 "for" statements in my code of my movie clips.

so, for your site, the variable would tell which window to animate. If I
understand what you are trying to do, I would guess that yoou would have 1
movie clip that held the other 6 movie clips. The actionscript on the "parent"
movie clip would direct the navigation of the others based upon the variable
value set on the main time line. Then, you place the "parent" movie clip on a
layer of your 1 frame main timeline.

Mine seems to be working using this structure. I haven't completed it, so a
don't know about the load time of the site yet. My trial runs look good so far.


Re: Need advice on site structure BBRiD
5/24/2006 4:41:40 AM
Hah! thought of something else. Did you set up the linkage?
Re: Need advice on site structure forumnotifier
5/24/2006 4:41:42 AM
Hah! thought of something else. Did you set up the linkage?
AddThis Social Bookmark Button