I have setup a scene with drag menu’s. I have a main one setup and you click the buttons and i want it to load up another drag menu movie clip. I cant get the tell targets to work or a basic goto command to a keyframe which would load the movie on it. I need help real bad…
thanks
joel
example below i think…
[swf=“http://pranalabs.com/pl_services.swf height=395 width=505”][/swf]
if you have an answer im on AOL instant messanger at
Fatmammal
i would really appreciate your help…im stuck on this one part…
system
October 23, 2002, 11:54pm
2
are you using Flash 5, or MX?
TellTargets are depricated in Flash 5… :*(
However, if you must use them, please post your .fla, and I will take a look at it… chances are you have to target the level the mc is loaded into…
Rev:elderly:
system
October 24, 2002, 5:21am
3
the main menu that is shown in the above .swf file with the buttons web development and application design.
When click I want it to open the other movie clip labeled as “dragmenu2”. The actions i have for the button is
on (release) {
tellTarget ("/dragmenu2") {
gotoAndPlay (1);
}
}
and it doesnt open the movieclip with this error message.
Target not found: Target="/dragmenu2" Base="_level0.instance13"
thanks…
system
October 24, 2002, 5:25am
4
The new format for this command as of 5.0 is
on (release) {
dragmenu2.gotoAndPlay (1);
}
Given that the movie clip in question has the instance name “dragmenu2” and that it is located on the same timeline as the button that has the script.
system
October 24, 2002, 5:25am
5
without your .fla it is difficult to tell, but judging by the little explaination you gave:
I assume you are loading the dragable movies in a level, correct?
then if you loadmovie into say level 01, you need to target that level:
on (release) {
tellTarget ("_level01/dragmenu2") {
gotoAndPlay (1);
}
}
see if that helps…
BTW, swf’s don’t do a lot for me, since I can’t see the code… that’s why I ask for the .fla…
Rev:elderly:
system
October 24, 2002, 5:28am
6
I changed the actions for the rollover to on (release) {
dragmenu2.gotoAndPlay (1);
}
and it stopped the error but the movieclip doesn not come up…
system
October 24, 2002, 5:31am
7
that gave me this error
Target not found: Target="_level01/dragmenu2" Base="_level0.instance13"
and to be honest with i dont think i know what a level is …
system
October 24, 2002, 5:36am
10
if it’s under a meg… probably should zip it, if you have winzip…
edited out by reverendflash
I’ll see what I can do…
Rev:elderly:
system
October 24, 2002, 6:04am
13
okay, for some reason, I couldn’t see your .fla when I tested the movie…
However, I did the attached test file to show what I would do to fix this…
I used LoadMovie to load your dragable menus into level 10. then you can load the new menu in the same menu, and telltarget the main timeline by _level0 …
I hope this helps,
Rev:elderly:
system
October 24, 2002, 6:12am
14
totally awesome… so what would i put on the drag menu… to close it? if i put an “X” button in the top right corner… What actions would i put?
thanks alot
joel
system
October 24, 2002, 6:14am
15
by the way is there any way to make the menu pop up not onto of the other… like in a different location?/
system
October 24, 2002, 6:14am
16
you would just use Unload Movie level 10 on a button…
glad it works for you,
Rev:elderly:
system
October 24, 2002, 6:15am
17
nevermind the location one…
system
October 24, 2002, 6:20am
18
You can always load the menus in different levels (I try to use 10, 20, etc. to leave room in case I need to insert something in between)…
BTW, this is really oldschool as far as Flash is concerned… they use really different code now… I have just started learning the AS for MX…
Rev:elderly:
system
October 24, 2002, 6:36am
19
yea but i mean… when a menu comes up… and i want to close it by putting an “x” on the menu in the top right corner… just like windows…
is there an action that will close the .swf movie?
system
October 24, 2002, 6:40am
20
As I said…
on a button :
on (release) {
unloadMovieNum (10);
}
10 being the level the movie is loaded…
Rev:elderly: