This content has been marked as final.
Show 9 replies
-
1. Re: Context Menu
sa22 Jan 20, 2009 11:16 AM (in response to fmike13)not sure if this is the correct way to go about this, but this is wot i do
first of i make another layer and call it something like page
click the frames on this layer that u want to link to and from and give them a instance name. u should see a red flag on the frame when u do it
now create a button and add this code
on (release){
gotoAndStop("page");
}
the "page" u need to chg to the frame u want it to go to -
2. Re: Context Menu
sa22 Jan 20, 2009 11:23 AM (in response to fmike13)sry didn't read u wanted a context menu
for that i would make a new movie clip with all of the buttons in with the above code. then on another btn u want the menu to drop down from , double click on it and add the movie clip with the btns onto the over frame
like i said probably not the best or easiest way to do it but i'm not very fluent with action script!
try google for tutorials for the script r wait till some 1 else has a look! -
3. Re: Context Menu
fmike13 Jan 20, 2009 11:26 AM (in response to fmike13)The problem is the galleries are created via an external XML file, so I'm not sure how I would label the frames. -
4. Re: Context Menu
sa22 Jan 21, 2009 7:26 AM (in response to fmike13)u would have to add a blank movie clip that loads up the xml
but like i said this probably isn't the best way to go about it, more of a work around for people that arn't fluent with actionscript -
5. Re: Context Menu
kglad Jan 21, 2009 8:01 AM (in response to fmike13)what's supposed to happen when one of your clickMenu() functions execute and why are you using asfunctions? -
6. Re: Context Menu
fmike13 Jan 21, 2009 9:20 AM (in response to kglad)I am trying to get it to advance to the appropriate gallery. I used asfunction because it works for a text link and I do not know actionscript very well. I have attached the code that builds the gallery links from the xml file. How do I call up the appropriate function?
-
7. Re: Context Menu
kglad Jan 21, 2009 9:43 AM (in response to fmike13)and those onRelease handlers cause your application to "...advance to the appropriate gallery"?
-
-
9. Re: Context Menu
fmike13 Jan 21, 2009 10:42 AM (in response to fmike13)Figured it out. It was so simple, I can't believe it took me that long.