This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > January 2004 > Linking two peices.





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 two peices.
CraigLea webforumsuser@macromedia.com

2004-01-24, 3:29 pm

Stupid question but, how can I link up two peices of flash?

IE. When I click a button it takes me to another area of the same website?


Rob Solberg

2004-01-24, 4:28 pm

If your two Flash movies are in different HTML pages, you can use this AS on
the button:

on (release) {
getURL(http://www.otherflashmovie.html);
}


Or you can load the other Flash movie into the current Flash movie (and view
them both from the same HTML page) by adding this AS to the button:

on (release) {
loadMovieNum("otherflashmovie.swf", 1);
}


: : : Rob|e.9 : : :






"CraigLea" <webforumsuser@macromedia.com> wrote in message
news:buuf53$o0c$1@forums.macromedia.com...
quote:

> Stupid question but, how can I link up two peices of flash?
>
> IE. When I click a button it takes me to another area of the same website?
>
>




MINGUITO webforumsuser@macromedia.com

2004-01-24, 5:29 pm

U mean linking two movies, use the loadMovie method........

Is that what u mean?


Take care and God Bless....
www.ymisitio.com






CraigLea webforumsuser@macromedia.com

2004-01-24, 5:29 pm

ya thx



CraigLea webforumsuser@macromedia.com

2004-01-24, 6:29 pm

Sorry, I still need help,

on(release) {
loadMovie("members.swf",_root.dropZone);



This will not load the "members.swf"

Can anyone help?


Rob Solberg

2004-01-24, 6:29 pm

You can only use the loadMovie function to load a movie into a level or a
target.

What is "dropZone"? If it's a target, you can use this code:

on (release) {
loadMovie("members.swf", "/dropzone");
}

Rob|e.9





"CraigLea" <webforumsuser@macromedia.com> wrote in message
news:buuotk$4t9$1@forums.macromedia.com...
quote:

> Sorry, I still need help,
>
> on(release) {
> loadMovie("members.swf",_root.dropZone);
>
>
>
> This will not load the "members.swf"
>
> Can anyone help?
>
>




MINGUITO webforumsuser@macromedia.com

2004-01-24, 9:28 pm

Are u trying to load the movie into a target region?

If it is try this:

_root.dropZone.loadMovie("members.swf");

Take care and God Bless...
www.ymisitio.com




Sponsored Links


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