You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by Zoltan Iklodi <ma...@gmail.com> on 2013/10/02 12:30:50 UTC

AmfPHP problem

Hi,

I'm using mobile Flex with AmfPHP. Has anyone experienced such a problem
that with PHP lists having more than ~1000 items, the RemoteObject does not
convert the items being above 1023rd position but repeats the 1023rd item
at the end of the array?

Thanks

Zoltan

Re: s|Alert{} in css

Posted by Frank Dahmen <fr...@dahmenia.de>.
thanks all


----- Original Message ----- 
From: "Miguel Ferreira" <mi...@hotmail.com>
To: <us...@flex.apache.org>
Sent: Thursday, October 03, 2013 1:38 PM
Subject: RE: s|Alert{} in css


you can read it here :
http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7da0.html
for the version 4.6 there was no spark Alert
"The Alert control is part of the MX component set. There is no Spark 
equivalent."

in the version 4.10 you have a Spark component ALert but it is in the 
experimental swc.I am using the last version sdk and also i can not use it 
on css as a spark namespace.
You have to use the name space :ns|Alert
I hope that helps.

> From: frank@dahmenia.de
> To: users@flex.apache.org
> Subject: Re: s|Alert{} in css
> Date: Thu, 3 Oct 2013 13:30:15 +0200
>
>
> but in the docs there is a spark.components.Alert?
>
>
>
>
> ----- Original Message ----- 
> From: "Miguel Ferreira" <mi...@hotmail.com>
> To: <us...@flex.apache.org>
> Sent: Thursday, October 03, 2013 1:21 PM
> Subject: RE: s|Alert{} in css
>
>
> ALert is not in the namespace spark so you have to use this
> For example:mx|Alert{       title-background-skin:
> Embed("assets/skin/alert_title.png"); background-image:
> Embed("assets/skin/alert.png");....}
> > From: frank@dahmenia.de
> > To: users@flex.apache.org
> > Subject: s|Alert{} in css
> > Date: Thu, 3 Oct 2013 13:16:58 +0200
> >
> > throws
> >
> > Warning: Cannot resolve namespace qualified type 'Alert' in CSS selector
> > 'Alert'
> >
> > how can i set skinclass for spark alerts globally?
> >
> > or how can i get  a new instance and show it?
> >
> > var alert:Alert=new Alert();
> > alert.skinClass="alertSkin";
> > alert.show(.....);    <- does not work, static mehod
> >
> > thanks
> >
>
>
 


RE: s|Alert{} in css

Posted by Miguel Ferreira <mi...@hotmail.com>.
you can read it here :
http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7da0.html
for the version 4.6 there was no spark Alert
"The Alert control is part of the MX component set. There is no Spark equivalent."

in the version 4.10 you have a Spark component ALert but it is in the experimental swc.I am using the last version sdk and also i can not use it on css as a spark namespace.
You have to use the name space :ns|Alert
I hope that helps.

> From: frank@dahmenia.de
> To: users@flex.apache.org
> Subject: Re: s|Alert{} in css
> Date: Thu, 3 Oct 2013 13:30:15 +0200
> 
> 
> but in the docs there is a spark.components.Alert?
> 
> 
> 
> 
> ----- Original Message ----- 
> From: "Miguel Ferreira" <mi...@hotmail.com>
> To: <us...@flex.apache.org>
> Sent: Thursday, October 03, 2013 1:21 PM
> Subject: RE: s|Alert{} in css
> 
> 
> ALert is not in the namespace spark so you have to use this
> For example:mx|Alert{       title-background-skin: 
> Embed("assets/skin/alert_title.png"); background-image: 
> Embed("assets/skin/alert.png");....}
> > From: frank@dahmenia.de
> > To: users@flex.apache.org
> > Subject: s|Alert{} in css
> > Date: Thu, 3 Oct 2013 13:16:58 +0200
> >
> > throws
> >
> > Warning: Cannot resolve namespace qualified type 'Alert' in CSS selector
> > 'Alert'
> >
> > how can i set skinclass for spark alerts globally?
> >
> > or how can i get  a new instance and show it?
> >
> > var alert:Alert=new Alert();
> > alert.skinClass="alertSkin";
> > alert.show(.....);    <- does not work, static mehod
> >
> > thanks
> >
>  
> 
 		 	   		  

RE: s|Alert{} in css

Posted by Maurice Amsellem <ma...@systar.com>.
The namespace for spark.components.Alert is "http://flex.apache.org/experimental/ns" ;

That's what you should set in the namespaces of your css.

Maurice 

-----Message d'origine-----
De : Frank Dahmen [mailto:frank@dahmenia.de] 
Envoyé : jeudi 3 octobre 2013 13:30
À : users@flex.apache.org
Objet : Re: s|Alert{} in css


but in the docs there is a spark.components.Alert?




----- Original Message ----- 
From: "Miguel Ferreira" <mi...@hotmail.com>
To: <us...@flex.apache.org>
Sent: Thursday, October 03, 2013 1:21 PM
Subject: RE: s|Alert{} in css


ALert is not in the namespace spark so you have to use this
For example:mx|Alert{       title-background-skin: 
Embed("assets/skin/alert_title.png"); background-image: 
Embed("assets/skin/alert.png");....}
> From: frank@dahmenia.de
> To: users@flex.apache.org
> Subject: s|Alert{} in css
> Date: Thu, 3 Oct 2013 13:16:58 +0200
>
> throws
>
> Warning: Cannot resolve namespace qualified type 'Alert' in CSS selector
> 'Alert'
>
> how can i set skinclass for spark alerts globally?
>
> or how can i get  a new instance and show it?
>
> var alert:Alert=new Alert();
> alert.skinClass="alertSkin";
> alert.show(.....);    <- does not work, static mehod
>
> thanks
>
 


Re: s|Alert{} in css

Posted by Frank Dahmen <fr...@dahmenia.de>.
but in the docs there is a spark.components.Alert?




----- Original Message ----- 
From: "Miguel Ferreira" <mi...@hotmail.com>
To: <us...@flex.apache.org>
Sent: Thursday, October 03, 2013 1:21 PM
Subject: RE: s|Alert{} in css


ALert is not in the namespace spark so you have to use this
For example:mx|Alert{       title-background-skin: 
Embed("assets/skin/alert_title.png"); background-image: 
Embed("assets/skin/alert.png");....}
> From: frank@dahmenia.de
> To: users@flex.apache.org
> Subject: s|Alert{} in css
> Date: Thu, 3 Oct 2013 13:16:58 +0200
>
> throws
>
> Warning: Cannot resolve namespace qualified type 'Alert' in CSS selector
> 'Alert'
>
> how can i set skinclass for spark alerts globally?
>
> or how can i get  a new instance and show it?
>
> var alert:Alert=new Alert();
> alert.skinClass="alertSkin";
> alert.show(.....);    <- does not work, static mehod
>
> thanks
>
 


RE: s|Alert{} in css

Posted by Miguel Ferreira <mi...@hotmail.com>.
ALert is not in the namespace spark so you have to use this
For example:mx|Alert{       title-background-skin: 		Embed("assets/skin/alert_title.png");	background-image: 		Embed("assets/skin/alert.png");....}
> From: frank@dahmenia.de
> To: users@flex.apache.org
> Subject: s|Alert{} in css
> Date: Thu, 3 Oct 2013 13:16:58 +0200
> 
> throws
> 
> Warning: Cannot resolve namespace qualified type 'Alert' in CSS selector 
> 'Alert'
> 
> how can i set skinclass for spark alerts globally?
> 
> or how can i get  a new instance and show it?
> 
> var alert:Alert=new Alert();
> alert.skinClass="alertSkin";
> alert.show(.....);    <- does not work, static mehod
> 
> thanks 
> 
 		 	   		  

s|Alert{} in css

Posted by Frank Dahmen <fr...@dahmenia.de>.
throws

Warning: Cannot resolve namespace qualified type 'Alert' in CSS selector 
'Alert'

how can i set skinclass for spark alerts globally?

or how can i get  a new instance and show it?

var alert:Alert=new Alert();
alert.skinClass="alertSkin";
alert.show(.....);    <- does not work, static mehod

thanks 


Re: AmfPHP problem

Posted by Tom Chiverton <tc...@extravision.com>.
Hmmm... can you put together a self contained folder of PHP along with 
some Flex source code so we can test this out ?

Have you asked Silex Labs if this is fixed in whatever version you are 
using ?

Tom

On 03/10/2013 08:37, Zoltan Iklodi wrote:
> Yes, it is being sent wrong. Meanwhile amfPHP service browser returns all
> item.
>
>
> 2013/10/2 Tom Chiverton <tc...@extravision.com>
>
>> On 02/10/2013 11:30, Zoltan Iklodi wrote:
>>
>>> I'm using mobile Flex with AmfPHP. Has anyone experienced such a problem
>>> that with PHP lists having more than ~1000 items, the RemoteObject does
>>> not
>>> convert the items being above 1023rd position but repeats the 1023rd item
>>> at the end of the array?
>>>
>>>   Have you inspected the traffic with something like the FireFox
>> amfExplorer plugin for FireBug to confirm it's being sent wrong ?
>>
>> Tom
>>
>
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com
> ______________________________________________________________________


Re: AmfPHP problem

Posted by Zoltan Iklodi <ma...@gmail.com>.
Yes, it is being sent wrong. Meanwhile amfPHP service browser returns all
item.


2013/10/2 Tom Chiverton <tc...@extravision.com>

> On 02/10/2013 11:30, Zoltan Iklodi wrote:
>
>> I'm using mobile Flex with AmfPHP. Has anyone experienced such a problem
>> that with PHP lists having more than ~1000 items, the RemoteObject does
>> not
>> convert the items being above 1023rd position but repeats the 1023rd item
>> at the end of the array?
>>
>>  Have you inspected the traffic with something like the FireFox
> amfExplorer plugin for FireBug to confirm it's being sent wrong ?
>
> Tom
>

Re: AmfPHP problem

Posted by Tom Chiverton <tc...@extravision.com>.
On 02/10/2013 11:30, Zoltan Iklodi wrote:
> I'm using mobile Flex with AmfPHP. Has anyone experienced such a problem
> that with PHP lists having more than ~1000 items, the RemoteObject does not
> convert the items being above 1023rd position but repeats the 1023rd item
> at the end of the array?
>
Have you inspected the traffic with something like the FireFox 
amfExplorer plugin for FireBug to confirm it's being sent wrong ?

Tom