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

macromedia flash sitedesign

group:

Linking Buttons to New Flash Pages (newbie)


Re: Linking Buttons to New Flash Pages (newbie) tralfaz
2/20/2006 5:14:14 PM
macromedia flash sitedesign:
[quoted text, click to view]

Have to see something to help. Anything else is just guessing. Can
you post a link to your fla or the swf file?
tralfaz

Linking Buttons to New Flash Pages (newbie) Deltablues
2/21/2006 12:04:02 AM
This is my first attempt at using Flash to build a website. I started with a
template and thus far have successfully modified all the existing pages to my
liking along with the menu buttons that call them.

I want to add a new page that's called by a new menu button that wasn't a part
of the original template. To hopefully simplify things, I copied an existing
flash .fla/.swf pair to use as a base for the new page. Then I copied an
existing button and placed it in the menu screen. All good so far...

Now I want to direct the new button to call the new page but I'm not sure how
to accomplish this. I've found that the action script for the buttons seems to
be where the pages are called from (see field in BOLD below).

on (rollOver) {
gotoAndPlay(2);
}
on (rollOut) {
gotoAndPlay(13);

}
on (release) {
_root.page="links"
_root.change.gotoAndPlay(2);
}

My problem is that the page names used in the button action scripts aren't the
same as the .fla/.swf pair names that the menu buttons call. And I don't know
how the page name and the .fla/.swf names are aliased together, or where to
rename them.

Help ???

Re: Linking Buttons to New Flash Pages (newbie) Deltablues
2/21/2006 1:08:45 PM
Here's a link to both the .fla and .swf

Re: Linking Buttons to New Flash Pages (newbie) Deltablues
2/21/2006 2:00:47 PM
Just to further clarify the explaination above... I'm just trying to figure out
where and how the page="PAGENAME" is used to point to the pages which are all
named with a 0068-* format. (Where do I find it to change it)?
Re: Linking Buttons to New Flash Pages (newbie) Deltablues
2/21/2006 5:28:10 PM
Re: Linking Buttons to New Flash Pages (newbie) Deltablues
2/22/2006 3:33:26 AM
Re: Linking Buttons to New Flash Pages (newbie) Deltablues
2/22/2006 3:41:53 PM
I guess the value of this forum is that, no one here will ever answer your
questions, so you're forced to figure it out on your own(albeit in a much more
lengthy period of time)...

The answer to my dilemma was to step through the entire website via Move
Explorer. Under Symbol Definitions I found the page names that were being
called from the individual button ActionScripts, which also contained their
alias to the actual .swf names. This was all under a symbol called change in
Frame 2's Frame Actions.

My final question, (if anyone here would take the time to answer it...), is
this: When I click on the Actions for Frame 2, the actions (F8) window pops up
with the same actionscript that I'm seeing in Move Explorer and Frame two of
the .swf in question is selected in the timeline. But if I close out Movie
Explorer, and click on that same frame in the same file in the same timeline,
and then manually select Actions (F8), the same actionscript doesn't show
up...??? Why does it only appear when I select it from the Move Explorer
table... ???
Re: Linking Buttons to New Flash Pages (newbie) cyber2005
2/23/2006 5:07:33 AM
Deltablues, I certainly can relate to your frustration, I took a look at your
site, nice, I am hoping you woiuld be able to help me, I am having a problem
linking my template text to pages not located on the template, The page opens
with an error message - page not found. I see you have links under your manuals
and was hoping you could help me get mine working. :confused;
AddThis Social Bookmark Button