Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
spar999 #1
simple question about passing array to document
Hi.I have a question I was hoping someone could help me with. I have created
a simple page - page1.mxml. In that page I have an unnamed HTTPService with and
id of service1 that is filled with the results of an xml document. I also
have a function like this: var popup =
mx.managers.PopUpManager.createPopUp(this, component1, true,
{theobj:service1.result}); I have a component page called component1.mxml. I
expect the service1.result object to be passed to the component1 instance as
theobj. So, in component1.mxml, I just have a var declared at the top var
theobj:Object; I also have a button and a function attached to the button that
I want to print out a field of service1. So, in the function I try: alert(
theobj.personname ); and the compiler tells me that there is no property with
the name personname. I understand the problem but I don't know how to solve it.
Do you need to declare theobj as something more specific than Object. If so
how do you do this. Thanks for any help.
spar999 Guest
-
Need Simple Answer to Simple Contribute/Firefox question
Hello all; I've tried the Adobe help in CS3, tech support, phone support, this forum, other forums, Mozilla, and nowhere can I get a straight... -
simple php question: mysql_fetch_row display array contents
I am trying to do something in PHP that I thought would be fairly easy but has become rather troublesome. I'm trying to retrieve a list of... -
simple array question?
On 12-Aug-2003, "Randell D." <you.can.email.me.at.randelld@yahoo.com> wrote: http://www.php.net/manual/en/function.list.php -- Tom... -
Simple WSE 2.0 question: passing data thru SoapContext
Hi All, I am trying to pass an item from my client to a web service using WSE 2.0. The web service somehow cannot get the SoapContext from the... -
Simple Array question
Hi, If i am posting something like this from a form: <input type=checkbox name='id' value=3> <input type=checkbox name='id' value=4> How do i...



Reply With Quote

