Forums

This topic is locked

Flash Menubar Link

Posted 29 Apr 2004 21:26:50
1
has voted
29 Apr 2004 21:26:50 han thai posted:
Here is a problem i created the menubar however I don't know how to make the menu link to the web site. Would someone show me how? Thank you,

Replies

Replied 29 Apr 2004 22:15:00
29 Apr 2004 22:15:00 Dave Thomas replied:
can you expain a little more please.

what version of flash are you using?

Regards,
Dave

[DWMX 2004]|[FlashMX 2004 Pro]|[Studio MX 2004]|[SQL]|[Access2000/2002]|[ASP/VBScript]|[XP-Pro]
If you like online gaming, please register @ www.nova-multigaming.com
Replied 30 Apr 2004 02:36:10
30 Apr 2004 02:36:10 han thai replied:
I am using Flash MX Pro. to build the Flash Menubar. I was able to build the menubar but I didn't know how to make the link on the menu. Thank you,
Replied 30 Apr 2004 03:19:18
30 Apr 2004 03:19:18 Dave Thomas replied:
ok,
in Flash you've obviously created the button symbols yeah ?

well if you know how to do a gotoAndPlay, then it is pretty similiar.

after youve made your symbols (making sure they have a property of "button" select the first one, for example the HOME button

hit F9 to open your actions panel and paste the following

<pre id=code><font face=courier size=2 id=code>
on (press){
getURL("www.yoursite.com/homepage.html", "_blank";
}
</font id=code></pre id=code>

if you wish to find these commands in the actions panel do this:

Global Functions &gt; Movie Clip Control &gt; on // will give you the on command where you can choose the method of how the link opens, e.g with a click, or rollover etc..

Global Functions &gt; Browser / Network &gt; getURL // will give the getURL command and if you have code hints enabled, will show you the correct syntax for entering your code.

just be sure to include the web address and window or frame name in quotes like in the code.

do the same for the other buttons, but just change the page name and or frame name

Regards,
Dave

[DWMX 2004]|[FlashMX 2004 Pro]|[Studio MX 2004]|[SQL]|[Access2000/2002]|[ASP/VBScript]|[XP-Pro]
If you like online gaming, please register @ www.nova-multigaming.com
Replied 30 Apr 2004 03:26:10
30 Apr 2004 03:26:10 han thai replied:
thank you Dave,
but I have a submenu on the menubar. the combobox had the Change Handler then you can write the function script. Can I email to you with the flash so you can help me out?

Thanks,
Replied 30 Apr 2004 03:45:51
30 Apr 2004 03:45:51 Dave Thomas replied:
it helps if you say all this when your first asking for help, the more detail you give, the better resonse your going to get.

sure, send me the flash file and i'll see if i can help. cant promise anything though, as i'm still not sure of your problem

Regards,
Dave

[DWMX 2004]|[FlashMX 2004 Pro]|[Studio MX 2004]|[SQL]|[Access2000/2002]|[ASP/VBScript]|[XP-Pro]
If you like online gaming, please register @ www.nova-multigaming.com

Edited by - UltraDav on 30 Apr 2004 03:50:17
Replied 30 Apr 2004 03:48:26
30 Apr 2004 03:48:26 han thai replied:
what is your email address?
Replied 30 Apr 2004 05:38:31
30 Apr 2004 05:38:31 Dave Thomas replied:
well another thing you never mentioned is that you built the menu using the menu bar component of which i have absolutely no experience.

there is however a premiuim article covering this exact topic.
www.dmxzone.com/ShowDetail.asp?NewsId=5781

Regards,
Dave

[DWMX 2004]|[FlashMX 2004 Pro]|[Studio MX 2004]|[SQL]|[Access2000/2002]|[ASP/VBScript]|[XP-Pro]
If you like online gaming, please register @ www.nova-multigaming.com
Replied 30 Apr 2004 14:16:22
30 Apr 2004 14:16:22 han thai replied:
Thank you Dave,

the link you sent to me and that document was the once I followed to create the menubar. Thanks away,

Reply to this topic