[flexcoders] Can Array or ArrayCollection be populated into ComboBox?

2008-06-09 Thread xaero
Hi, everyone! In my PHP file, there is a function that returns an Array $user_array the data in this Array is something like this: [0] atclass = "1" sid = "3" ssname = "Joe" [1] atclass = "1" sid = "4" ssname = "Sam" [2] atclass = "1" sid = "5" ssname = "Simth

[flexcoders] Re: Cannot access a property or method of a null object reference?

2008-06-09 Thread xaero
I add an Alert.show, and delete the CALL function, like this: var atClass:Object = new Object(); atClass.atcls = ComboBox(event.target).selectedItem.data; Alert.show(atClass["atcls"],"ALERT"); //gateway.call("cys.getStudents", new Responder(onResult, onFault), atClass); //line 51 It can show the

[flexcoders] Re: Flex Css & Html Css

2008-06-09 Thread xaero
d repeat algorithm. > > There is no background position styles either. > > So really, what you want to do cannot be done with Flex3 css. > > Mike > > On Mon, Jun 9, 2008 at 1:27 AM, xaero <[EMAIL PROTECTED]> wrote: > > > And then How can I set the page'

[flexcoders] Re: How to populate a ComboBox?

2008-06-09 Thread xaero
splay the students' name in the ComboBox when I select a class: http://farm4.static.flickr.com/3181/2563857208_648f54fab6_o.gif http://www.flickr.com/photos/xybeta/2563857208/"; title="combobox by xaero, on Flickr">http://farm4.static.flickr.com/3181/2563857208_648f54fab6_o.g

[flexcoders] Re: Flex Css & Html Css

2008-06-09 Thread xaero
And then How can I set the page's background like in the HTML Css? That is: background-repeat: repeat-x; background-PositionX: left; background-PositionY: bottom; --- In flexcoders@yahoogroups.com, "Michael Schmalle" <[EMAIL PROTECTED]> wrote: > > No, you can't do this. > > Flex CSS is not 'real

[flexcoders] Re: How to populate a ComboBox?

2008-06-09 Thread xaero
in the amfphp Services Broswer, I can get the result: http://farm4.static.flickr.com/3081/2564060018_97befed34f_o.gif But how to populate the ComboBox? Please give me some help Thank you in advanced!

[flexcoders] Cannot access a property or method of a null object reference?

2008-06-09 Thread xaero
Hi I'my working whit flex and amfphp. In my exercise, the flex debug say this error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at cys/changeHandler()[D:\My Documents\FlexBuilder3\cys\src\cys.mxml:51] at cys/__atclass_close()[D:\My Documents\Fl

[flexcoders] How to populate a ComboBox?

2008-06-08 Thread xaero
I'm working with flex and amfphp (under Adobe 's php_ria_sdk that downloaded from: http://www.adobe.com/devnet/flex/articles/flex_php_sdk.html) I'v got a problem with ComboBoxI donn't how to populate the data that read from the database. The table of the database is like this: ---

[flexcoders] Re: A problem in the "Adobe PHP RIA SDK"

2008-06-08 Thread xaero
--- In flexcoders@yahoogroups.com, Sherif Abdou <[EMAIL PROTECTED]> wrote: > > get the error and do error.toString(); and tell me what you see > > Many thanks for your good idea~~~! I'v fix the problem. It seems to be the SQL query error. Original query was : $query = "INSERT INTO users VALUES (

[flexcoders] Flex Css & Html Css

2008-06-08 Thread xaero
In HTML, I can set my page's background like this: body { background:url(bg.gif) repeat-x left bottom; } But in Flex,can I set the page's background in the same way? Application { background:url(bg.gif) repeat-x left bottom; }

[flexcoders] A problem in the "Adobe PHP RIA SDK"

2008-06-08 Thread xaero
I'v downloaded the sdk from here : http://www.adobe.com/devnet/flex/articles/flex_php_sdk.html I'v got a problem when I run the AMFPHP sample in my pc : http://localhost/cys/php_ria_sdk_by_adobe/samples/flex/amfphp/amfphp.html It displays the data properly, but I can't submit any records into the d