PDA

View Full Version : N00B Alert: GetURL Doesn't Work...


dewey
06-01-2006, 02:43 PM
Hey,

Sorry for so many questions, but I am really trying to get this project done on the ASAP.

I have this as my 'Actions' Layer first frame of the timeline:


// add the event listener for the button
tab.addEventListener("click", sendPortletName);

function sendPortletName(eventObj:Object) {
getURL("http://myurl", "_self");
}

I have a stop() command on another layer in 2 parts... would that be causeing me these problems? I can click on the "tab" button, but I can't load up the site...

Thank you

Xeef
06-01-2006, 02:57 PM
try :


tab.onPress=function(){
getURL("http://myurl", "_self");
}

dewey
06-01-2006, 03:54 PM
try :


tab.onPress=function(){
getURL("http://myurl", "_self");
}



It's still doing the same thing. It's almost like the .swf file isn't recognizing the click, that is, there is no indication to me whatsoever that any sort of action is actually happening...

Do I need to publish my file differently?

dewey
06-01-2006, 04:13 PM
It appears as though the image which I am using as a button isn't correctly "rendering", if you will, as an actual button. When I create a new button, the thing works fine... any ideas?