SourceTec Software

It is currently Fri Apr 25, 2014 7:05 am

All times are UTC + 8 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Tue Jul 22, 2008 11:41 pm 
Offline
Member

Joined: Tue Jul 22, 2008 11:34 pm
Posts: 3
Dear team!

Regarding to adding URL for a button, my adding script as below

Javascript: getURL("http://www.namti-online.com", "_parent", "GET");

However, it 's said that this line is error.

How can I solve this issue??? Pls help me, I really thank about this if any can support or guide something.

Regards,


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 23, 2008 10:19 am 
Offline
Support Team
Support Team
User avatar

Joined: Thu Aug 01, 2002 5:59 pm
Posts: 1808
Please try the following code:

javascript:window.open("http://http://www.namti-online.com","_parent","width=800,height=600,status=yes,toolbar=no,")


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 25, 2008 8:31 pm 
Offline
Member

Joined: Tue Jul 22, 2008 11:34 pm
Posts: 3
Thank you!

It is done now, but I dont apply your suggestion,

If you wana add an URL in your action, pls do the following code script:

on (release)
{
getURL("http://www.yamaha-motor.com.vn/top-style", "_blank");
}


There is a concens that unless you apply "_blank" value into your script instead of "_top","_parent" value, you cannot turn back to your flash and do it again. It is possible for the first time only.

It 's so strange...???

If you have any idea on it pls share.

Regards


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 25, 2008 8:37 pm 
Offline
Member

Joined: Tue Jul 22, 2008 11:34 pm
Posts: 3
More one thing that!

The above script is just applied for button.

With movie clip you can use:

onClipEvent (mousedown)
instead of on (release).

Regards


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group