Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-12-2004, 07:11 PM
dpm dpm is offline
Junior Member
 
Join Date: Aug 2004
Posts: 3
Default Tiny Browser Help

I do not understand the how this quite works. I saw some ffish script references such as SetIELocate and go2url but I cannot see these commands anywhere in the user manual or in the supplied browser.skp file. Can I please get some more detailed information on how this browser works. ???
Reply With Quote
  #2 (permalink)  
Old 08-13-2004, 02:20 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Tiny Browser Help

The sample shows how to call the web browser control.

http://msdn.microsoft.com/library/de...webbrowser.asp
Reply With Quote
  #3 (permalink)  
Old 08-13-2004, 05:36 PM
dpm dpm is offline
Junior Member
 
Join Date: Aug 2004
Posts: 3
Default Re:Tiny Browser Help

I understand that the above url shows the methods but they are unclear as to what launches the browser. It is also unclear as to what "go2url" and "SetIELocate" are doing since there is no documentation about these two functions.
Reply With Quote
  #4 (permalink)  
Old 08-16-2004, 04:54 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Tiny Browser Help

SWFKit can embed an ActiveX control in the projectors. The "swfkit tiny browser" sample hows how to reuse the web browser control.

Doesn't like any other tools, SWFKit doesn't wrap the browser control, for it can access any properties, methods and events of the browser control using the "ActiveXObject" object.

1. in the "initialize" script, create an instance of the the browser control
Code:
ie = createControl("Shell.Explorer.2", 0, 0, 0, 0);
2. the "ie" object has two properties, one is "ie.window" is a Window object, you can use it to control the ie window embeded in the projector. The other is "ie.activex", you can use it to call the properties and methods of the web browser control. So you can navigate a url using the code like this
Code:
ie.activex.navigate("http://www.swfkit.com");
The "go2url" and "SetIELocate" are FFish scripts that can be called from within Action Script.
Reply With Quote
  #5 (permalink)  
Old 08-16-2004, 06:37 PM
dpm dpm is offline
Junior Member
 
Join Date: Aug 2004
Posts: 3
Default Re:Tiny Browser Help

I am sorry but this is still unclear.

How does one embed a window into the projector?
I see in the browser.fla file there is a command:

var Locate = LocateMC.getBounds(_root);
fscommand("ffish_run", "SetIELocate");

Is this what sets the LocateMC to be the window? It is unclear because there is no documentation for SetIELocate in the FFish manual.

Also the browser.skp file has no contents whatsoever except for the pointer to the browser.swf. Does something need to be done in the swfKit application to make this work?

A more clear explanation would be appreciated. We have a client that would like to use something like this but we can't promise them anything until we understand it.

Quote:
Originally Posted by topcmm
SWFKit can embed an ActiveX control in the projectors. The "swfkit tiny browser" sample hows how to reuse the web browser control.

Doesn't like any other tools, SWFKit doesn't wrap the browser control, for it can access any properties, methods and events of the browser control using the "ActiveXObject" object.

1. in the "initialize" script, create an instance of the the browser control
Code:
ie = createControl("Shell.Explorer.2", 0, 0, 0, 0);
2. the "ie" object has two properties, one is "ie.window" is a Window object, you can use it to control the ie window embeded in the projector. The other is "ie.activex", you can use it to call the properties and methods of the web browser control. So you can navigate a url using the code like this
Code:
ie.activex.navigate("http://www.swfkit.com");
The "go2url" and "SetIELocate" are FFish scripts that can be called from within Action Script.
Reply With Quote
  #6 (permalink)  
Old 08-19-2004, 04:32 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Tiny Browser Help

To embed the IE browser control, please use the "createControl" method.

Code:
ie = createControl("Shell.Explorer.2", 0, 0, 0, 0);
You can also choose the [Main Menu]->[Tools]->[Insert ActiveX controls] item to embed an ActiveX control in your projector.

The "SetIELocate" is a FFish Script that is editable in SWFKit.

Please read http://www.swfkit.com/ffish.html to learn how to use FFish scripts.
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 10:46 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.