[Flashcoders] setGatewayURL setDefaultGatwayURL

2007-04-20 Thread Andrew Kirkham
Can anyone tell me what the practical difference is between setGatewayURL and 
setDefaultGatewayURL? (Flash Remoting)  I can't discern any difference from the 
documentation.

I realise that the use of these methods is now deprecated. This is really just 
a matter of curiosity.

Regards
Andy
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] html vars and flash vars

2007-03-23 Thread Andrew Kirkham
Is this of use? (From Flash docs)

asfunction protocol
asfunction:function:Function, parameter:String

A special protocol for URLs in HTML text fields that allows an HREF link to 
call an ActionScript function. In HTML text fields, you can create links using 
the HTML A tag. The HREF attribute of the A tag contains a URL that uses a 
standard protocol such as HTTP, HTTPS, or FTP. The asfunction protocol is an 
additional protocol that is specific to Flash, which causes the link to invoke 
an ActionScript function.

(sorry I haven't quoted the original question, but I read it from the archive, 
so I wan't able to compose a direct reply)

Andy Kirkham
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Rearrange Fields between DataSet and DataGrid

2007-02-23 Thread Andrew Kirkham
I have a WebServiceConnector, a DataSet and a DataGrid.

I wish to display in the DataGrid only some of the fields that are read in by 
the WebServiceConnector, and I want the names displayed at the top of the 
columns to be different from the names used internally within the data. I have 
just discovered the Rearrange Fields formatter, and ostensibly it seems to be 
just what I need, applied on the binding into the DataGrid. Unfortunately I 
can't get it to work.

I can successfully bind WebServiceConnector.results--DataGrid.dataProvider 
using a Rearrange Fields formatter.

I can successfully bind 
WebServiceConnector.results--DataSet.dataProvider--DataGrid.dataProvider 
without a formatter.

However, when I try to apply a Rearrange Fields formatter to the binding 
between the DataSet.dataProvider and DataGrid.dataProvider, the fields of the 
DataGrid are blank; the column names do appear, but they are the original 
names, not the new ones specified by the formatter.

(I have added to the schema of the DataSet the variables that are received from 
the WebServiceConnector).

I am aware that there are other techniques available to achieve what I want; my 
aim is to try to understand the component architecture and what it is capable 
of. I am hoping to accomplish this just by using the the tabs on the Component 
Inspector, without resort to ActionScript.

So what is the situation?
1. I am mistaken in expecting Rearrange Fields to work beween 
DataSet.dataProvider and DataGrid.dataProvider at all
2. It does work, but I haven't understood how to implement it properly.
3. It ought to work but it doesn't because of a defect in the components.

Can anyone help?

Thanks
Andy
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com