Re: [flexcoders] Re: Flex Builder 3 Beta2 / Amfphp / services-config.xml

2007-10-02 Thread Morten Madsen
Yeah!!!

That did the trick...

Thanks alot!!

On 10/2/07, gelu11 <[EMAIL PROTECTED]> wrote:
>
>   Hi,
>
> You can edit your services-config.xml and add a port number to your
> endpoint URI. ("http://localhost:80/gateway/gateway.php";). This should
> solve the problem.
>
> Gelu Blanariu
>
> --- In flexcoders@yahoogroups.com , "Morten
> Madsen" <[EMAIL PROTECTED]> wrote:
> >
> > Yeah - I would really like to have the services-config.xml-method
> working
> > again...
> >
> >
> >
> >
> > On 10/2/07, herklano <[EMAIL PROTECTED]> wrote:
> > >
> > > hi again,
> > >
> > > u have to be carefull to always do variable coercion right,
> > > ResultEvent does not work, u need to know what type of data is coming
> > > from server.
> > >
> > > lots of trouble changing from one beta to another :(
> > >
> > > still cant figure out what was going on with the
> services-config.xml!!!
> > >
> > > anyone can clarify this?
> > >
> > > cheers,
> > > herculano
> > >
> > >
> > > --- In flexcoders@yahoogroups.com 
> > > ,
>
> > > "herklano"  wrote:
> > > >
> > > > hi,
> > > >
> > > > i have sorted it out using a class instead of the .xml method.
> > > >
> > > > RemotingConnection.as
> > > >
> > > > package connection
> > > > {
> > > > import flash.net.NetConnection;
> > > > import flash.net.ObjectEncoding;
> > > >
> > > > public class RemotingConnection extends NetConnection
> > > > {
> > > > private var sURL:String = "http://xxx";;
> > > >
> > > > public function RemotingConnection()
> > > > {
> > > > objectEncoding = ObjectEncoding.AMF3;
> > > > connect(sURL);
> > > > }
> > > > }
> > > > }
> > > >
> > > > and in main app
> > > >
> > > > //Flash Remote AMFPHP
> > > > import connection.RemotingConnection;
> > > > private var service:RemotingConnection = new RemotingConnection();
> > > >
> > > > then...
> > > > service.call('service.AMFPHP.toCall', new Responder(resultHendler,
> > > > faultHandler),selectedANPMenu.menu_id, var1, var2, var3);
> > > >
> > > > cheers,
> > > > herculano
> > > >
> > > > need to find out how to put the busyCursor, without having to do
> the:
> > > > CursorManager.setBusyCursor();
> > > > CursorManager.removeBusyCursor();
> > > >
> > > >
> > > >
> > > >
> > > > --- In flexcoders@yahoogroups.com 
> > > > ,
> > > "Morten Madsen"  wrote:
> > > > >
> > > > > Hi Group!
> > > > >
> > > > > After installing the new Flex Builder 3 beta2 one of my
> projects can't
> > > > > compile anymore
> > > > > I use amfphp, described as in this tutorial (
> > > > >
> > > >
> > >
> http://www.sephiroth.it/tutorials/flashPHP/flex_remoteobject/page001.php)
> > > > >
> > > > > But when I try to compile I get an error:
> > > > > Invalid endpoint port'' specified for channel definition
> 'my-amfphp'.
> > > > >
> > > > > My services-config.xml:
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > *
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > http://localhost/gateway/gateway.php";
> > > class="
> > > > > flex.messaging.endpoints.AMFEndpoint" />
> > > > > 
> > > > > 
> > > > > 
> > > > >
> > > > > Can anybody help me?
> > > > >
> > > > > It worked in Flex 2, Flex 3 beta1...
> > > > >
> > > > >
> > > > > Kind regards
> > > > > Morten
> > > > >
> > > >
> > >
> > >
> > >
> >
>
>  
>


Re: [flexcoders] Re: Flex Builder 3 Beta2 / Amfphp / services-config.xml

2007-10-02 Thread Morten Madsen
You may be right, triede alot of different combinations
of the uri... but no luck

If I leave the entire uri="http://X"; out, my project
can compile, but of cause it can't connect to amfphp

arn't anybody else exept me and herculano having the same problem?

Kind regards

On 10/2/07, Tom Chiverton <[EMAIL PROTECTED]> wrote:
>
> On Monday 01 Oct 2007, [EMAIL PROTECTED] wrote:
> > worked fine in previous versions too.
>
> Looks like the services-config parser changed.
> Try adding some extra '/' in various places in the uri and see if that
> helps.
>
> --
> Tom Chiverton
> Helping to challengingly brand virtual markets
> on: http://thefalken.livejournal.com
>
> 
>
> This email is sent for and on behalf of Halliwells LLP.
>
> Halliwells LLP is a limited liability partnership registered in England
> and Wales under registered number OC307980 whose registered office address
> is at St James's Court Brown Street Manchester M2 2JF.  A list of members is
> available for inspection at the registered office.  Any reference to a
> partner in relation to Halliwells LLP means a member of Halliwells
> LLP.  Regulated by The Solicitors Regulation Authority.
>
> CONFIDENTIALITY
>
> This email is intended only for the use of the addressee named above and
> may be confidential or legally privileged.  If you are not the addressee you
> must not read it and must not use any information contained in nor copy it
> nor inform any person other than Halliwells LLP or the addressee of its
> existence or contents.  If you have received this email in error please
> delete it and notify Halliwells LLP IT Department on 0870 365 8008.
>
> For more information about Halliwells LLP visit www.halliwells.com.
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>


Re: [flexcoders] Re: Flex Builder 3 Beta2 / Amfphp / services-config.xml

2007-10-02 Thread Morten Madsen
Yeah - I would really like to have the services-config.xml-method working
again...




On 10/2/07, herklano <[EMAIL PROTECTED]> wrote:
>
>   hi again,
>
> u have to be carefull to always do variable coercion right,
> ResultEvent does not work, u need to know what type of data is coming
> from server.
>
> lots of trouble changing from one beta to another :(
>
> still cant figure out what was going on with the services-config.xml!!!
>
> anyone can clarify this?
>
> cheers,
> herculano
>
>
> --- In flexcoders@yahoogroups.com ,
> "herklano" <[EMAIL PROTECTED]> wrote:
> >
> > hi,
> >
> > i have sorted it out using a class instead of the .xml method.
> >
> > RemotingConnection.as
> >
> > package connection
> > {
> > import flash.net.NetConnection;
> > import flash.net.ObjectEncoding;
> >
> > public class RemotingConnection extends NetConnection
> > {
> > private var sURL:String = "http://xxx";;
> >
> > public function RemotingConnection()
> > {
> > objectEncoding = ObjectEncoding.AMF3;
> > connect(sURL);
> > }
> > }
> > }
> >
> > and in main app
> >
> > //Flash Remote AMFPHP
> > import connection.RemotingConnection;
> > private var service:RemotingConnection = new RemotingConnection();
> >
> > then...
> > service.call('service.AMFPHP.toCall', new Responder(resultHendler,
> > faultHandler),selectedANPMenu.menu_id, var1, var2, var3);
> >
> > cheers,
> > herculano
> >
> > need to find out how to put the busyCursor, without having to do the:
> > CursorManager.setBusyCursor();
> > CursorManager.removeBusyCursor();
> >
> >
> >
> >
> > --- In flexcoders@yahoogroups.com ,
> "Morten Madsen"  wrote:
> > >
> > > Hi Group!
> > >
> > > After installing the new Flex Builder 3 beta2 one of my projects can't
> > > compile anymore
> > > I use amfphp, described as in this tutorial (
> > >
> >
> http://www.sephiroth.it/tutorials/flashPHP/flex_remoteobject/page001.php)
> > >
> > > But when I try to compile I get an error:
> > > Invalid endpoint port'' specified for channel definition 'my-amfphp'.
> > >
> > > My services-config.xml:
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > *
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > http://localhost/gateway/gateway.php";
> class="
> > > flex.messaging.endpoints.AMFEndpoint" />
> > > 
> > > 
> > > 
> > >
> > > Can anybody help me?
> > >
> > > It worked in Flex 2, Flex 3 beta1...
> > >
> > >
> > > Kind regards
> > > Morten
> > >
> >
>
>  
>


[flexcoders] Flex Builder 3 Beta2 / Amfphp / services-config.xml

2007-10-01 Thread Morten Madsen
Hi Group!

After installing the new Flex Builder 3 beta2 one of my projects can't
compile anymore
I use amfphp, described as in this tutorial (
http://www.sephiroth.it/tutorials/flashPHP/flex_remoteobject/page001.php)

But when I try to compile I get an error:
Invalid endpoint port'' specified for channel definition 'my-amfphp'.

My services-config.xml:









*






http://localhost/gateway/gateway.php"; class="
flex.messaging.endpoints.AMFEndpoint" />




Can anybody help me?

It worked in Flex 2, Flex 3 beta1...


Kind regards
Morten


Re: [flexcoders] Tree edit item doubleclick

2007-05-24 Thread Morten Madsen

I am new to Flex, does anybody have a example of code?

Wouldn't it be posible to use itemDoubleClick?

Kind Regards
Morten Madsen



On 5/24/07, ivo <[EMAIL PROTECTED]> wrote:


  You have to set your Tree to editable and then listen for the event
ListEvent.ITEM_EDIT_BEGIN .

Your handler for this event can keep tabs for what was the last node that
was clicked and at what time. If there were no previous clicks on the target
node or the last click was more than x milliseconds ago then you call
event.preventDefault(); to disable editing, otherwise there were two
consecutive clicks within x milliseconds so you let it continue and the
label editing will take place.



- Original Message 
From: Morten Madsen <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Thursday, May 24, 2007 3:15:16 AM
Subject: [flexcoders] Tree edit item doubleclick

 Hi people!

I have a tree, and I want to be able to double click on an item in the
tree and then edit the name/label, is this posible?

Kind regards
Morten Madsen

 



[flexcoders] Tree edit item doubleclick

2007-05-24 Thread Morten Madsen

Hi people!

I have a tree, and I want to be able to double click on an item in the tree
and then edit the name/label, is this posible?

Kind regards
Morten Madsen


[flexcoders] Creating af filebrowser...

2007-04-12 Thread Morten Madsen

Hi Group!

I need help! I am very new to flex, but know a little Flash and PHP.
I need for create at Flex application that will contain a file browser and
file uploader (I already have the uploading part done)

But need alittle help with the file/directory browser.

I want to create something much like this (http://flexfm.castlesblog.com/)
I have AMFPHP running, but I am not quite sure how to make a function that
lists all files and directories and sends it for the Flex app. in a format
that the mx:Tree is able to accept?

Can anyone here help me?


Been looking all over the net for at tutorial for this, but I found that
there at very little tutorials/examples for flex?


Kind regards
Morten Madsen