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.
Creating a menu.
Started by: Yu :D | Replies: 15 | Views: 1,129
Jun 30, 2013 10:37 PM #1023381
Jun 30, 2013 10:42 PM #1023385
:D hi friend .... I don't even have the minor idea about what are you talking about !!
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
>_>
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).
Jun 30, 2013 11:17 PM #1023394
Quote from AlphaManYou 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.
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.
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)
you should write the getURL part of your code like this (with the _blank part)
getURL("whatever your code is", _blank)
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.
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.
Jul 1, 2013 5:45 AM #1023576
hmm , i must say this code is complicated :D
can't you replace it with the getURL ?
can't you replace it with the getURL ?
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-
This is much simpler-
Click your button, open actions panel [F9] and feed in this-
on (release) {
getURL("http://whatever.deviantart.com", "_blank");
}
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.
Upload your swf. You shouldn't have to export it any other way. Especially as a video.
Jul 1, 2013 8:30 AM #1023653
Guys.. he using AS3 .-.
Jul 1, 2013 12:22 PM #1023726
Quote from Ashish9Why 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 StickmaniasGuys.. he using AS3 .-.
I was but then i switched to AS2.
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.
Jul 4, 2013 5:07 PM #1026137
I think you've joined the wrong forum, my friend.