Hi peep
im trying to add the dynamicdrive bookmark this script to a flash file in using actionsccript 3.0 Here is the script im trying to use:
import flash.events.MouseEvent;
var getBookmark:URLRequest = new URLRequest("javascript:bookmarksite('title_of_site ', 'url_of_site')");
//--- button property change---\\\
book_btn.addEventListener(MouseEvent.CLICK, bClick);
function bClick(event:MouseEvent):void{
navigateToURL(getBookmark);
}
book_btn is the instance name for the button
Can someone correct this for me please or hit me up on ICQ
Many thanks for you time in advance.
im trying to add the dynamicdrive bookmark this script to a flash file in using actionsccript 3.0 Here is the script im trying to use:
import flash.events.MouseEvent;
var getBookmark:URLRequest = new URLRequest("javascript:bookmarksite('title_of_site ', 'url_of_site')");
//--- button property change---\\\
book_btn.addEventListener(MouseEvent.CLICK, bClick);
function bClick(event:MouseEvent):void{
navigateToURL(getBookmark);
}
book_btn is the instance name for the button
Can someone correct this for me please or hit me up on ICQ
Many thanks for you time in advance.


Comment