This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Flash Site Design > October 2004 > load URL to main page
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 |
load URL to main page
|
|
| TreeC 2004-10-02, 11:14 pm |
| I'm building my first all flash site. As exciting as it is, I'm so frustrated.
When do you get over this mountain of a learning curve? Just as soon as I
figure something out, I try to do something else, and hit another brick wall!!
Thank God for these forums or I would have given up long ago. Anyway, let me
get to my question.
I'm trying to build my site so that there is the main page with the header,
then each page loads into a "holder" movie. (I think this is right. I read it
somewhere else on the forum.) Anyway, I used the script that was also
recommended, and it's just not working for me. I'd appreciate some advice on
how to link my pages to open. Here is the script I used
on(release){
getURL("home.swf",_root.holder);
}
If you would like to check my page http://www.amandaabel.com/site.html, and
hit the "home" button. It's the only one I've added the script to thus far.
I appreciate your help & expertise. :)
Blessings,
Crystal :)
| |
| dParser 2004-10-02, 11:14 pm |
| Crystal,
You are loading your swf movie into the HTML file, i.e. you are replacing
the main HTML with the swf file you are trying to load.
In your Flash file:
1. Create an empty movie clip symbol Insert>New Symbol and name it "holder"
2. Drag this empty movie clip from the Library (Ctrl L) to a new layer on
the stage of your interface (an empty movie clip looks like a little
circle), give it the xy coordiantes that are appropriate for your placement
3. In the properties window give the empty move clip symbol an instance name
of handler_mc
4.
on(release){
_root.handler_mc.loadMovie("home.swf");
}
If your buttons are on the same timeline as handler_mc, your path can be :
handler_mc.loadMovie("home.swf");
Any movie you load into handler_mc will replace the previous one.
If you organinze movies in folders your movie path might be:
handler_mc.loadMovie("folder1/folder2/home.swf");
Richard
www.digitalparser.com
"TreeC" <webforumsuser@macromedia.com> wrote in message
news:cjndkl$11u$1@forums.macromedia.com...
> I'm building my first all flash site. As exciting as it is, I'm so
frustrated.
> When do you get over this mountain of a learning curve? Just as soon as
I
> figure something out, I try to do something else, and hit another brick
wall!!
> Thank God for these forums or I would have given up long ago. Anyway,
let me
> get to my question.
>
> I'm trying to build my site so that there is the main page with the
header,
> then each page loads into a "holder" movie. (I think this is right. I
read it
> somewhere else on the forum.) Anyway, I used the script that was also
> recommended, and it's just not working for me. I'd appreciate some advice
on
> how to link my pages to open. Here is the script I used
>
> on(release){
> getURL("home.swf",_root.holder);
> }
>
> If you would like to check my page http://www.amandaabel.com/site.html,
and
> hit the "home" button. It's the only one I've added the script to thus
far.
>
> I appreciate your help & expertise. :)
>
> Blessings,
> Crystal :)
>
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|