Old 23-12-2007, 08:36   #1 (permalink)
ehud36new
Registered User
 
Join Date: Dec 2007
Posts: 6
links problems

I have this script

for 1st button

addEventListener(MouseEvent.CLICK,click1);
function click1(event:MouseEvent):void{
navigateToURL(new URLRequest("web site"),"_self");
}


for 2nd button

addEventListener(MouseEvent.CLICK,click2);
function click2(event:MouseEvent):void{
navigateToURL(new URLRequest("web site2"),"_self");


}
the problem is that in the links he open al the time the same web link....

where is the problem ?
  Reply With Quote
Old 23-12-2007, 10:48   #2 (permalink)
iblastoff
gotsa a malanga!
 
iblastoff's Avatar
 
Join Date: Apr 2006
Location: ottawa, canada
Posts: 489
sheesh..this is like your 4th new thread regarding the same related issue. stop posting new ones.

at least do a few basic tutorials and get some actual understanding of what you're doing before trying to get other people to fix it for you line by line.
__________________
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8