This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > February 2006 > Linking Buttons to New Flash Pages (newbie)





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 Linking Buttons to New Flash Pages (newbie)
Deltablues

2006-02-24, 10:16 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 ???


tralfaz

2006-02-24, 10:16 am

"Deltablues" <webforumsuser@macromedia.com> wrote in message
news:dtdldi$iqf$1@forums.macromedia.com...
> 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 ???


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


Deltablues

2006-02-24, 10:16 am

Here's a link to both the .fla and .swf

http://esc73.midphase.com/~schehol8/2.0test/
Deltablues

2006-02-24, 10:16 am

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)?

Deltablues

2006-02-24, 10:16 am

Even more specifically, I want the page name of "forsale" to be pointed to 0068-7.fla & 0068-7.swf...
Deltablues

2006-02-24, 10:16 am

Bump...
Deltablues

2006-02-24, 10:16 am

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... ???

cyber2005

2006-02-24, 10:16 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;

Sponsored Links


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