Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-13-2003, 07:17 PM
Member
 
Join Date: Jan 2003
Posts: 54
Default [method] getURL

Hi,

(Hope we'll see the new Bab' before chrismass... :P )

Due to the success of the EcomZone Demo, we plan to make more applications using SWFKIT.
.
So God, let my people go, and make it happen !
.
I guess if someone is earing me by Here....Hurry Up... three mounth ago, you guys were talking about weeks for the new version !!
Mamamia, what the Hell ?, don't hesitate to beg 4 for some help, i'm right here, just behind you... ;D
.
Send a sign, say something..., i'm fed up of seeing, or reading the same pages telling about a new smthg coming soon... >
.
.
More seriously, i gat a little question:
is there a way to set a POST method for getURL ?
.
.
SeeU, or sioux, or Apache, as U wish
Madcha
__________________
http://www.alyze.com - http://www.ecomzone.net - http://www.alisook.com -http://www.madcha.com - http://www.i-multimedia.fr -
Reply With Quote
  #2 (permalink)  
Old 09-16-2003, 11:50 AM
Member
 
Join Date: May 2003
Posts: 35
Default Re:[method] getURL

Yup,

getURL(URL, Window, Method) where method is either "GET" or "POST" but I'm sure you know that.

What you may not know though is the POST method works only from a browser not from a stand-alone app.
Reply With Quote
  #3 (permalink)  
Old 09-16-2003, 12:45 PM
Member
 
Join Date: Jan 2003
Posts: 54
Default Re:[method] getURL

thanks 4 this answer but....i was talking about the FFScript getURL method
.
: :

SeeUol
Madcha
__________________
http://www.alyze.com - http://www.ecomzone.net - http://www.alisook.com -http://www.madcha.com - http://www.i-multimedia.fr -
Reply With Quote
  #4 (permalink)  
Old 09-16-2003, 12:57 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:[method] getURL

Hi,

The method does not support "post" method. But you can do it with a WebBrowser control.
Reply With Quote
  #5 (permalink)  
Old 09-16-2003, 01:01 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:[method] getURL

Use the "Navigate2" method of the web browser control please.

object.Navigate2 URL [Flags,] [TargetFrameName,] [PostData,] [Headers]



Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
URL Required. A string expression that evaluates to the URL of the resource to display or the full path to the file location.
Flags Optional. A constant or value that specifies whether to add the resource to the history list, whether to read from or write to the cache, and whether to display the resource in a new window. It can be a combination of the following constants or values. Constant Value Meaning
navOpenInNewWindow 1 Open the resource or file in a new window.
navNoHistory 2 Do not add the resource or file to the history list. The new page replaces the current page in the list.
navNoReadFromCache 4 Do not read from the disk cache for this navigation.
navNoWriteToCache 8 Do not write the results of this navigation to the disk cache.

TargetFrameName Optional. String expression that evaluates to the name of an HTML frame in URL to display in the browser window. The possible values for this parameter are: _blank Load the link into a new unnamed window.
_parent Load the link into the immediate parent of the document the link is in.
_self Load the link into the same window the link was clicked in.
_top Load the link into the full body of the current window.
<window_name> A named HTML frame. If no frame or window exists that matches the specified target name, a new window is opened for the specified link.

PostData Optional. Data to send to the server during the HTTP POST transaction. For example, the POST transaction is used to send data gathered by an HTML form to a program or script. If this parameter does not specify any post data, the Navigate2 method issues an HTTP GET transaction. This parameter is ignored if URL is not an HTTP URL.
Headers Optional. A value that specifies additional HTTP headers to send to the server. These headers are added to the default Internet Explorer headers. The headers can specify things like the action required of the server, the type of data being passed to the server, or a status code. This parameter is ignored if URL is not an HTTP URL.


Pass the postData parameter with a "StringStream" object.
Reply With Quote
  #6 (permalink)  
Old 09-17-2003, 06:36 AM
Member
 
Join Date: Jan 2003
Posts: 54
Default Re:[method] getURL

Sold !
.
.
in some cases, emulating a web browser can be of some help, but a bit triky to manage.
.
You must certainly know about this httpObj from ...(i just don't remember) that can't bring back any http content and store it however u want, using /get/ and /post/.
.
Think about that 4 swfkit 2.1
.
.
.
Another headache:

i want to make my application (of course built with swfkit) to use some external data(those data are FFscript, because i don't want to rebuilt each time the whole project, eg: somehow like photoshop plug-ins)
.
a simple way would be to insert that code in the project of course, but they are none essential for the core manager, but usefull to perform some other tasks, depending on the request.
And the whole extra code can change from one to another.
.
.
So, here are my questions:

1°) Do u plan to add plug-ins capabilies to SWFKIT 2.0 ?
(eg: not 4 swfkit itself, but for an application made with it)

2°) In Run mode can i load a FFscript from a data shit (that has been checked by SWFKIT) ?

3°) Or, can a named FFScript call another FFScript within the same project ?
.
What to say more ...?
i've allready told u : The Show must go on !
.
.
.
syu' ------<-----@
Madcha
__________________
http://www.alyze.com - http://www.ecomzone.net - http://www.alisook.com -http://www.madcha.com - http://www.i-multimedia.fr -
Reply With Quote
  #7 (permalink)  
Old 09-17-2003, 03:51 PM
Member
 
Join Date: Jan 2003
Posts: 54
Default Re:[method] getURL

Ooopss !

i've found:
invoke &
evals (equivalent of the ascript life saver: eval ?...i'll tell ya)

seeu guys, i get smthg on fire !
__________________
http://www.alyze.com - http://www.ecomzone.net - http://www.alisook.com -http://www.madcha.com - http://www.i-multimedia.fr -
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 04:27 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.