This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Flash Site Design > May 2005 > Movie Clip Button
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]
|
|
| ultra canadian 2005-05-25, 11:23 pm |
| I am volunteering my time and what little skills I have to make this web site
for a friend of mine. I decided it wanted to be fancy and use movie clips
instead of buttons for the sites navigation so I could perfrom rollover/rollout
effects. Unfortuanatly however in converting them from buttons too movie clips
I have lost the ability to link them to another frame. If anyone has any ideas
for me that would be great the code I have been trying to get to work is
attached and I have tried a few other things. I made up a sample but have
knowhere to upload it to, however if you have some time I would be more than
willing to email it to you :D. Thanks a lot,
Jeff
this.onPress = function(){
gotoAndPlay("1",3);
}
| |
| tralfaz 2005-05-25, 11:23 pm |
| "ultra canadian" <webforumsuser@macromedia.com> wrote in message
news:d737r8$h6b$1@forums.macromedia.com...
>I am volunteering my time and what little skills I have to make this
>web site
> for a friend of mine. I decided it wanted to be fancy and use movie
> clips
> instead of buttons for the sites navigation so I could perfrom
> rollover/rollout
> effects. Unfortuanatly however in converting them from buttons too
> movie clips
> I have lost the ability to link them to another frame. If anyone has
> any ideas
> for me that would be great the code I have been trying to get to
> work is
> attached and I have tried a few other things. I made up a sample but
> have
> knowhere to upload it to, however if you have some time I would be
> more than
> willing to email it to you :D. Thanks a lot,
> Jeff
>
> this.onPress = function(){
> gotoAndPlay("1",3);
> }
You can't reliably use scene names in gotoAndPlay, especially if it's
from a movieclip. Use frame labels instead.
tralfaz
| |
| ultra canadian 2005-05-25, 11:23 pm |
| Ok so I labeled the frame as "pic", and on the timeline there is a little red flag. I don't know the code required though to link to a labeled frame though.
Thanks for your help,
Jeff
| |
| tralfaz 2005-05-26, 4:19 am |
| "ultra canadian" <webforumsuser@macromedia.com> wrote in message
news:d73bij$lh8$1@forums.macromedia.com...
> Ok so I labeled the frame as "pic", and on the timeline there is a
> little red flag. I don't know the code required though to link to a
> labeled frame though.
> Thanks for your help,
> Jeff
You're welcome.. yeah, it's almost the same, just put the frame label
there in quotes with no frame number. Jeckyl recommends using the dot
syntax also to make it even more reliable. Read posts by Jeckly in a
recent previous thread called "Scene Bliss"
this.gotoAndPlay("pic");
or
_root.gotoAndPlay("pic");
or
_parent.gotoAndPlay("pic");
tralfaz
| |
| tralfaz 2005-05-26, 4:19 am |
| "tralfaz" <tralfazmx@yahoo.com> wrote in message
news:d73ef6$r52$1@forums.macromedia.com...
> syntax also to make it even more reliable. Read posts by Jeckly in
> a recent previous thread called "Scene Bliss"
Sorry..that thread is in the general flash forum, not this one.
tralfaz
| |
| ultra canadian 2005-05-26, 4:19 am |
| Hey, I got it to work, thanks a lot, for some reason only
_root.gotoAndPlay("pic"); would work. That other post was really helpful, I
guess I should have browsed more.
Jeff
PS: Maybe someday I link to the final prduct so you can check it out
| |
| tralfaz 2005-05-30, 4:27 am |
| "ultra canadian" <webforumsuser@macromedia.com> wrote in message
news:d737r8$h6b$1@forums.macromedia.com...
>I am volunteering my time and what little skills I have to make this
>web site
> for a friend of mine. I decided it wanted to be fancy and use movie
> clips
> instead of buttons for the sites navigation so I could perfrom
> rollover/rollout
> effects. Unfortuanatly however in converting them from buttons too
> movie clips
> I have lost the ability to link them to another frame. If anyone has
> any ideas
> for me that would be great the code I have been trying to get to
> work is
> attached and I have tried a few other things. I made up a sample but
> have
> knowhere to upload it to, however if you have some time I would be
> more than
> willing to email it to you :D. Thanks a lot,
> Jeff
>
> this.onPress = function(){
> gotoAndPlay("1",3);
> }
You can't reliably use scene names in gotoAndPlay, especially if it's
from a movieclip. Use frame labels instead.
tralfaz
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|