Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-15-2009, 08:48 AM
Junior Member
 
Join Date: Aug 2007
Posts: 10
Default How to track current URL?

when i had already loaded a page by using
createControl("Shell.Explorer.2", 00,00, 100, 100);

then there is a link in that page, how do i track it's URL
after i click it's link.

like:

document.URL (javascript)

Thanks for your kindness
Reply With Quote
  #2 (permalink)  
Old 01-16-2009, 12:41 AM
Junior Member
 
Join Date: Aug 2007
Posts: 10
Thumbs up RE:How to track current URL?

I have got it.

By doing this.


//Initialize
var _baseIE = createControl("Shell.Explorer.2", 1000,1000, 0, 0);
var _baseURL;
_baseIE.activex.NavigateComplete2 = function (control, url)
{
_baseIE.window.move(0, 0, 400, 250);
//Dialogs.msgBox(url);
_baseURL=url;
}

var _url="http://localhost/test.html";
_baseIE.activex.navigate2(_url);

and

//Trace
Dialogs.msgBox(_baseURL);

==================================
*in .swf
c.onRelease = function() {
fscommand("ffish_run", "Trace");
}


This will show u current URL.

Thanks for your Great Tool.
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:35 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.