Creating a menu.

Started by: Yu :D | Replies: 15 | Views: 1,129

Yu :D
2

Posts: 17
Joined: Jun 2013
Rep: 10

View Profile
Jun 30, 2013 10:37 PM #1023381
Hey everyone, I created a menu that has two link buttons. One goes to my RHG page, and the other goes to my DA account. I got it all to work and I was super excited. But when i export it my buttons dont work.

So all in all the menu works in flash and goes to the links, but when i export the movie, the buttons click, but do not go to the link.
Noob 94
2

Posts: 357
Joined: Apr 2013
Rep: 10

View Profile
Jun 30, 2013 10:42 PM #1023385
:D hi friend .... I don't even have the minor idea about what are you talking about !!
Yu :D
2

Posts: 17
Joined: Jun 2013
Rep: 10

View Profile
Jun 30, 2013 10:48 PM #1023387
Quote from Noob 94
:D hi friend .... I don't even have the minor idea about what are you talking about !!


Thanks :D

>_>
AlphaMan
2

Posts: 1,039
Joined: Sep 2012
Rep: 10

View Profile
Jun 30, 2013 11:04 PM #1023391
You have to make sure that the .swf you using that has buttons that goes to different websites is allowed. It's kinda hard to explain for me, but just put the folder link to your .swf in here: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html (The link in your folder not the direct link from your upload).
Yu :D
2

Posts: 17
Joined: Jun 2013
Rep: 10

View Profile
Jun 30, 2013 11:17 PM #1023394
Quote from AlphaMan
You have to make sure that the .swf you using that has buttons that goes to different websites is allowed. It's kinda hard to explain for me, but just put the folder link to your .swf in here: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html (The link in your folder not the direct link from your upload).


Yeah im not following you, i think i tried what you were telling me, but no difference.
AlphaMan
2

Posts: 1,039
Joined: Sep 2012
Rep: 10

View Profile
Jun 30, 2013 11:26 PM #1023398
Gotta reload the page few times and do the exact same thing couple times. I know it's stressing but it worked after I did.
Se7en
2

Posts: 161
Joined: Apr 2013
Rep: 10

View Profile
Jul 1, 2013 2:05 AM #1023464
i think i understand what you are saying :D

you should write the getURL part of your code like this (with the _blank part)

getURL("whatever your code is", _blank)
Yu :D
2

Posts: 17
Joined: Jun 2013
Rep: 10

View Profile
Jul 1, 2013 3:40 AM #1023514
button_1.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage);

function fl_ClickToGoToWebPage(event:MouseEvent):void
{
navigateToURL(new URLRequest("http://forums.stickpage.com/showthread.php?73509-Yu-Loves-BACON-D"), "_blank");
}



button_2.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage_2);

function fl_ClickToGoToWebPage_2(event:MouseEvent):void
{
navigateToURL(new URLRequest("http://yulovesbacon.deviantart.com/"), "_blank");
}

This is what my code looks like right now.

The thing is, the code works in flash perfectly. But when i export, it does nothing.
Se7en
2

Posts: 161
Joined: Apr 2013
Rep: 10

View Profile
Jul 1, 2013 5:45 AM #1023576
hmm , i must say this code is complicated :D

can't you replace it with the getURL ?
Ashish9
2

Posts: 319
Joined: Nov 2012
Rep: 10

View Profile
Jul 1, 2013 7:01 AM #1023623
Why do you prefer complicated ways?
This is much simpler-
Click your button, open actions panel [F9] and feed in this-
on (release) {
getURL("http://whatever.deviantart.com", "_blank");
}


Arch-Angel
2

Posts: 9,496
Joined: Jan 2007
Rep: 10

View Profile
Jul 1, 2013 7:36 AM #1023635
Yeah do what ashish said idk why the hell you're doing it the dumb way.

Upload your swf. You shouldn't have to export it any other way. Especially as a video.
Stickmanias
2

Posts: 460
Joined: Feb 2012
Rep: 10

View Profile
Jul 1, 2013 8:30 AM #1023653
Guys.. he using AS3 .-.
Yu :D
2

Posts: 17
Joined: Jun 2013
Rep: 10

View Profile
Jul 1, 2013 12:22 PM #1023726
Quote from Ashish9
Why do you prefer complicated ways?
This is much simpler-
Click your button, open actions panel [F9] and feed in this-
on (release) {
getURL("http://whatever.deviantart.com", "_blank");
}




Okay this worked great, thanks.

Quote from Stickmanias
Guys.. he using AS3 .-.


I was but then i switched to AS2.
KeiraVaccari
Banned

Posts: 3
Joined: Jul 2013
Rep: 10

View Profile
Jul 4, 2013 3:39 PM #1026103
I think the menu should be simple and clear that the user can easily find what he want. The more complicated it is, more problem for the user. Even if your site is user friendly so it's also good for the page rank or google likes it.
Ashish9
2

Posts: 319
Joined: Nov 2012
Rep: 10

View Profile
Jul 4, 2013 5:07 PM #1026137
I think you've joined the wrong forum, my friend.