Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-03-2004, 08:38 AM
RJS RJS is offline
Member
 
Join Date: Sep 2003
Posts: 56
Default SWFKit <-> MSIE browser object

Hi SWFKit support

Is there a way to communicate variables (and events?) from SWFKit to the DOM of a html page loaded in a SWFKit browser window.

You have previously shown examples of how to load a MSIE browser object into a window, but I'd like to be able to communicate from my program to/from a page in that browser window. For example, if the page contains a form, I'd like to collect the user entered data (by javascript) and pass the values back to the SWFKit program for writing to disk etc

Any ideas appreciated.

Thanks
Rob
Reply With Quote
  #2 (permalink)  
Old 06-06-2004, 04:13 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:SWFKit <-> MSIE browser object

Please try the sample with SWFKit 2 or SWFKit Pro 2. The onchange event of the input field will be fired only if you move the focus out of the text field.
Reply With Quote
  #3 (permalink)  
Old 06-07-2004, 07:12 AM
RJS RJS is offline
Member
 
Join Date: Sep 2003
Posts: 56
Default Re:SWFKit <-> MSIE browser object

Many thanks very much for very helpful example!

If I wanted to include a more complex page of html (like you've put in the script variable "html") could I include the page as an "Application Attachment". And would its url be the application basepath? And how could I automatically have any gif files etc that were referenced in that page be also extracted?

I think what I'm wanting is for the SWFKit application to be the source url for a "pluggable protocol"? Maybe it could do that, but I expect that it can't at present?

See:

<http://msdn.microsoft.com/workshop/n.../overview.asp>

Cheers
Rob
Reply With Quote
  #4 (permalink)  
Old 06-08-2004, 01:41 AM
Member
 
Join Date: Mar 2004
Posts: 44
Send a message via ICQ to anhedonic Send a message via MSN to anhedonic
Default Re:SWFKit <-> MSIE browser object

I think you can acheive this on your own intuition...
based on what you've said so far, it sounds like you just have to parse the html.

Try looking at StringStream Object
Reply With Quote
  #5 (permalink)  
Old 06-10-2004, 04:03 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:SWFKit <-> MSIE browser object

You can add the html file and all its resource files into the attachment list(creating same directory structure as that on disk).

In FFish script, using getAdditionalFile method to extract the files at first, then you can load the html file using the navigate2 method of the IE activex object.

You don't need to set the base path of the movie. The setBasePath method is useful for the Flash movie to use relative path names. But the ActiveX object is called in FFish script.

The "pluggable protocol" is used to handle a custom Uniform Resource Locator (URL) protocol scheme or filter data for a designated MIME type. Do you need this feature?
Reply With Quote
  #6 (permalink)  
Old 06-10-2004, 07:13 AM
Junior Member
 
Join Date: May 2004
Posts: 1
Default Re:SWFKit <-> MSIE browser object

hi can you help me with an example of one popup in the version 1.1 im making a refer with an archive with out windows, i download that example that you talk aboutit but do not work in this version :-[

thank you so much

jimena :-*
Reply With Quote
  #7 (permalink)  
Old 06-14-2004, 03:41 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:SWFKit <-> MSIE browser object

The popup sample
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 03:05 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.