• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 317
  • Last Modified:

getURL on this project

Hi all,

I have messed aroundy with this for a while by myself trying to have this flash item going to a URL address when clicked on.

I just cant get it to work no matter what layer I put it on.
Read plenty of stuff on what to do, but obviously am missing something.

Actionscript 2.

thanks if you can help.


Please see fla attachement.
on (release) {
getURL("the_linked_page.htm","_self","GET");

Open in new window

accounting.fla
0
solution4matt
Asked:
solution4matt
1 Solution
 
vindys80Commented:
Hi,

Can you just check whether this is the trouble you facing as its the page on same server

http://kb2.adobe.com/cps/403/kb403072.html

Thanks,
Vindys
0
 
crooksy88Commented:
on (release) {
getURL("the_linked_page.htm","_self","GET");
}

Remember the closing bracket.
Also make sure you have added this actionscript to the button itself and not to the timeline.
0
 
sajayj2009Commented:
hi buddy,

on (release) {

is always given on a button object, not in layer.

If you need to give in layer, you need to call with button name.

like this; assume button name is "myButton".

myButton.onPress = function() {
      getURL("the_linked_page.htm","_self","GET");
};

kewl!!

0
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

 
solution4mattAuthor Commented:
can anyone open my flv file and describe the best way that I can make this button go to a url using _blank ?

I have the graffics there, should I convert to symbol or make a transparent box and make this a button, then put the actionscript 2 on it ?

The reason that I am asking to view the flv is because it took me a bit to get it where it is, and im sure that I have not layered it entirely correctly, so not sure where to put the transparent box for the button.

thanks for any help.

Matt.
0
 
sajayj2009Commented:
solved fla
accounting.fla
0
 
solution4mattAuthor Commented:
Sajayj2009,

haha, thats funny. I have been working on this the whole afternoon wanting to figure it out myself, but then as I did actually with your last comments as help, you sent the solutions,

few times you've helped me out mate, thanks.

0
 
solution4mattAuthor Commented:
always a help, thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now