This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > May 2006 > Need advice on site structure





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Need advice on site structure
guttyguppygmail

2006-05-20, 3:44 am

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.

BBRiD

2006-05-22, 10:35 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.



BBRiD

2006-05-24, 3:34 am

Hah! thought of something else. Did you set up the linkage?

forumnotifier

2006-05-24, 3:34 am

Hah! thought of something else. Did you set up the linkage?

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews