Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New concept for a menu?

Status
Not open for further replies.

quickblueink

Technical User
Apr 5, 2001
57
US
Ok lemme give an example and then explain the problem and maybe yall can help. I did popup menu. i got the idea from a site called "oringe.com". it is a movie clip with frame one holding a "startdrag/lock to mouse" and "stop" frame action, and an invisible button. the button action stops the drag and plays the rest of the clip, which is the menu for the rest of the site.

the effect is this: you have a homepage with no links to the other pages. but if you click anywhere on the page the menu pops up out of nowhere.
The problem that I have is that the menu buttons don't work. Its bizarre. the buttons work inside the flash work area (even though they have movieclips in the up,over,down frames), but when i test movie or publish to html it only closes the movie clip.
the only thing i can figure is that when i make the button action "gotoandplay scene "main" frame "55" (or whatever), it is looking for "main" within the Clip, and not the whole movie, so it automatically goes to frame 55 in its own timeline.
is that a valid assumption? am i dead wrong and is there anyone out there who might have a clue how to help me?

 
You may need to upload and post a link on this one.... If we can see your fla file it would help determine the solution to your problem.

Meanwhile, I am going to have a look at.. oringe.com was it? Ya' Gotta Love It!:)X-)
 
ok, yea oringe.com

i just found yall today, and have been kinda rushing through the site to find an answer (so i dont look like a moron posting old news). so forgive me if i sound like an idiot with this one...
i saw a couple other requests from people to "upload and post link" and am wondering if you mean upload to my website and post a link to it, or if you want me to upload to somewhere on this site? and either way, i assume you just want me to upload the .fla so it can be downloaded, and the .swf doesn't really need to be there.
if there is some "workshop" area on this site i should upload to...where is it?
 
just upload the .fla file to some vacant space that you have and give us a link to the file.

I signed up for some free space at Ya' Gotta Love It!:)X-)
 
Hope you like us enougfh to stick around...X-) Ya' Gotta Love It!:)X-)
 
You're closing assumption is correct.

You might want to try changing the 'targetting' to the following method, it involves targetting the main timeline and using the frame label, although it should work with the frame number:

on (release) {
tellTarget ("_root") {
gotoAndPlay ("scenename", "framename/number");
}
}


where "_root" is the main timeline (just incase you didn't know).

This method was tried an tested in here previously on several occasions.

should work.
dave
davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
thanks for your help jeff. dave, ill try telltarget tonight, dave, if it doesn't work ill clean up the .fla and put it at my site and give a link for it tomorrow.
did yall check out <A HREF=&quot;oringe.com&quot;><oringe.com</A>? is that cool stuff or what? PS. my next project is to do the popup window like they do, which i reckon is the same one in the FAQ's on this site.
thanks again and i'll let you know what happens tomorrow.
--M.austin
PS--in answer to your question, i think i could spend the rest of my natural life on your site! I do internet development for a living but i have a degree in english, so finding an oasis of technical knowledge like this is golden!
thanks!MAT
 
hi again MAT

just had a very quick look at it does utilise the same pop-up methods as in my FAQ, I don't have the time to check out the javascript on that page to see whether or not it detects the 'centre' of the page or if it's just been designed for a 1024 resolution. If it does detect the centre and reposition, I'll get the javascript and add it to the FAQ.

dave davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
Alright! _root worked wonders, now the buttons work. My fear of _root came true, though, and a new dilemma has arisen. It deals with levels.
The problem is that using _root eliminates the instance quality of the menu. This is to say that if i put the code into an instance on, say, the contact us scene, Flash makes the change in the symbol, not the instance.
Therefore, the code for the contact button is the same on all the scenes. I am trying to write it up so that each instance of the contact button points to a different place depending on the page it sits on.
it appears this involves assigning different levels to the pages. I, however, have no real concept of levels, and so my assumption is arbitrary, and possibly contrary to the truth.
I wonder, then, if anyone out there has a concise explanation of levels for my little idiot mind, or if i should just go back to barber college. again.

thanks,
the idiot
 
There has been a little discussion regarding levels this past week in some previous threads. I will look and see if I can find them for you. Ya' Gotta Love It!:)X-)
 
Go to thread250-68000 and read down thru the posts. About halfway down there are several explanations of levels from different people explaining it from their own perspective. It may help a little. Ya' Gotta Love It!:)X-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top