[flexcoders] Re: columnCount prop doesn't work in TileList(Flex2.0)

2005-12-15 Thread keishichi2001
Thanx! Joan and Matt.

-Keishichi


--- In flexcoders@yahoogroups.com, "joan_lynn" <[EMAIL PROTECTED]> wrote:
>
> This is a bug logged in our system and it should be fixed in upcoming 
> builds of Flex2.
> 
> Joan
> 
> --- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
> >
> > If your test case is that simple it may be that TileList has a 
> bug.  
> > 
> > It mostly worked when I just tested it on a local build now, though 
> I
> > noticed that it was off by one at first and required a slight 
> resize to
> > get correct (it showed 6 instead of 7).
> > 
> > Matt
> > 
> > -Original Message-
> > From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On
> > Behalf Of keishichi2001
> > Sent: Monday, December 12, 2005 6:02 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: columnCount prop doesn't work in
> > TileList(Flex2.0)
> > 
> > --- In flexcoders@yahoogroups.com, "keishichi2001"
> > <[EMAIL PROTECTED]> wrote:
> > >
> > > any info?
> > > 
> > In case if you guys are confused with my explanation, i would 
> explain
> > it more simply
> > 
> >  columnCount="7"
> > ...
> > 
> > 
> > With above code, the TileList should have 7 columns, but 4 
> columns...
> > 
> > Is it a bug on Flex2?
> > 
> > 
> > -k
> > 
> > 
> > > -k
> > > 
> > > --- In flexcoders@yahoogroups.com, "keishichi2001"
> > > <[EMAIL PROTECTED]> wrote:
> > > >
> > > > My application has a TileList as following.
> > > > 
> > > >  > columnCount="7"
> > > > borderStyle="none" dataProvider="{myService.getData.result}"
> > > > listItemRenderer="myCellRenderer" showEffect="Dissolve" >
> > > > 
> > > > myCellRenders is a custom component based on Canvas, and it has 
> no
> > > > definition both on height and width.
> > > > 
> > > > The problem is, the TileList displays only 4 columns and 5th 
> element
> > > > is displayed in next row.
> > > > I want that to be showed as 7 x N.
> > > > 
> > > > Note that the TileList shows a monthly calendar.
> > > > 
> > > > 
> > > > Thanks,
> > > > Keishichi
> > > >
> > >
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > --
> > 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
> >
>






 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Problem with getURL() method in Action Script

2005-12-15 Thread Carson Hager
I've tried that too and I get the same behavior. Popup happens and I
hear the popup blocker sound but the new browser window just closes
immediately.

I was starting to think this must be a flash player issue. I'll open a
case with support in the morning.


Thanks,

Carson 



 
Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com
 
Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY
Mobile: 1.703.489.6466
 


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Matt Chotin
Sent: Thursday, December 15, 2005 9:37 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Problem with getURL() method in Action Script

Found some stuff in a google search, I haven't done more research
myself.
http://www.actionscript.org/forums/showthread.php3?t=88722

Everyone's blaming Player 8...

Maybe using getURL(javascript:window.open) will work better?  

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Carson Hager
Sent: Thursday, December 15, 2005 9:22 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Problem with getURL() method in Action Script

I'm seeing the same thing that Jagadeesh is seeing.  We've worked on
this for quite a while and can't find an acceptable to do this.  I've
seen that if I remove the POST argument, in IE it pops open a window and
immediately closes. I've checked the logs and the request was accepted
but the socket appears to have been closed by the browser before any
content can be returned. I've experimented with different content types
and header settings all to no avail.  It's frustrating to say the least.
As a note, it works fine in FFX. 


Carson



 
Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com
 
Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY
Mobile: 1.703.489.6466
 


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Matt Chotin
Sent: Thursday, December 15, 2005 8:17 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Problem with getURL() method in Action Script

I think the POST stuff is not going to work so I'd take that out.  Have
you tried just naming a window, getURL(url, "someWindow") so that it
will re-use the popped window?

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jagabcdeff
Sent: Wednesday, December 14, 2005 10:13 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problem with getURL() method in Action Script

Hi,

Now i am working on download/open document(ex: Yahoo mail) in my
application.

I Used getURL() method in my action script.

I have 4 following issues

1.when i use  getURL(url, "_blank", "POST")  it opens the new browser
every time  here i dont want new browser.

2.when i use getURL(url, "_self", "POST"),here it open/download (as in
yahoo mail)window first when user again select it open/download its
showing blank browser.

3.when i use getURL(url, "_parent", "POST")"),here it open/download (as
in yahoo mail)window first when user again select it open/download its
showing blank browser.
 
4.when i use getURL(url, "_top", "POST")"),here it open/download (as in
yahoo mail)window first when user again select it open/download its
showing blank browser.

my requirement is it shouldn't open blank browser and it should open
only popup(as yahoo mail)every time.

thanks,
jagadeesh







--
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



 






--
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



 






--
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



 






--
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



 




 Yahoo! Groups Sponsor ~--> 
AIDS in India: A "lurking bomb." Click and help stop AIDS now.
http://us.click.yahoo.com/9QUssC/lzNLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is

RE: [flexcoders] Problem with getURL() method in Action Script

2005-12-15 Thread Matt Chotin
Found some stuff in a google search, I haven't done more research
myself.
http://www.actionscript.org/forums/showthread.php3?t=88722

Everyone's blaming Player 8...

Maybe using getURL(javascript:window.open) will work better?  

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Carson Hager
Sent: Thursday, December 15, 2005 9:22 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Problem with getURL() method in Action Script

I'm seeing the same thing that Jagadeesh is seeing.  We've worked on
this for quite a while and can't find an acceptable to do this.  I've
seen that if I remove the POST argument, in IE it pops open a window and
immediately closes. I've checked the logs and the request was accepted
but the socket appears to have been closed by the browser before any
content can be returned. I've experimented with different content types
and header settings all to no avail.  It's frustrating to say the least.
As a note, it works fine in FFX. 


Carson



 
Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com
 
Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY
Mobile: 1.703.489.6466
 


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Matt Chotin
Sent: Thursday, December 15, 2005 8:17 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Problem with getURL() method in Action Script

I think the POST stuff is not going to work so I'd take that out.  Have
you tried just naming a window, getURL(url, "someWindow") so that it
will re-use the popped window?

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jagabcdeff
Sent: Wednesday, December 14, 2005 10:13 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problem with getURL() method in Action Script

Hi,

Now i am working on download/open document(ex: Yahoo mail) in my
application.

I Used getURL() method in my action script.

I have 4 following issues

1.when i use  getURL(url, "_blank", "POST")  it opens the new browser
every time  here i dont want new browser.

2.when i use getURL(url, "_self", "POST"),here it open/download (as in
yahoo mail)window first when user again select it open/download its
showing blank browser.

3.when i use getURL(url, "_parent", "POST")"),here it open/download (as
in yahoo mail)window first when user again select it open/download its
showing blank browser.
 
4.when i use getURL(url, "_top", "POST")"),here it open/download (as in
yahoo mail)window first when user again select it open/download its
showing blank browser.

my requirement is it shouldn't open blank browser and it should open
only popup(as yahoo mail)every time.

thanks,
jagadeesh







--
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



 






--
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



 






--
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



 





 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Re: (new issue) Using Embed with dynamic values possible?

2005-12-15 Thread Stacy Young










Ya I ditched the repeater approach, the AS
route was more practical…and mouseDown…omg I can’t believe I
missed an obvious solution like that hehe. There was no click event so I moved
on to Links, where all the trouble started!

Thanks Darin, I should be good to go now…

 

Cheers,

Stace

 

p.s. that url gave me a blank swf ?

 









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Darin Kohles
Sent: Thursday, December 15, 2005
11:00 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: (new
issue) Using Embed with dynamic values possible?



 

I've got dynamically loaded images (as images - not icons) that I then
'simulate' as links by having event listeners take
action on mouse
down and up events - which then call getURL() to
send someone elsewhere.

This should be public soon enough, and I may get
in trouble for
sharing it ;) but check out:

http://d-p.com/ria/amazon/

There are still a few quirks that I'm working out,
so this isn't the
final version.

I don't use repeaters, but generate everything
with AS as I recieve
data from the provider - looping through and
addChild()'ing as I go
(just remember to clear your field before adding
more).

Hope this helps - give it a play.

--- In flexcoders@yahoogroups.com, "Stacy
Young" <[EMAIL PROTECTED]> wrote:
>
> Took the AS approach and I've got it working
for images ... moving
> beyond my initial tests I realized I actually
need to create a series of
> Links (dynamic image path set as the icon
attribute) rather than Images
> and this approach doesn't work. In
desperation I attempted to create all
> the Image objects (hidden) and tried to
reference them as the source of
> the icon when creating the Links but no
go...is there no such thing as
> "Linkage ID" in flex? Eek!
> 
>  
> 
> -Stace
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> Behalf Of Stacy Young
> Sent: Tuesday, December 13, 2005 10:39 AM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Re: Using Embed
with dynamic values possible?
> 
>  
> 
> Was taking a similar approach with repeater
and Image tag...thanks for
> the tip!
> 
> Stace
> 
>  
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> Behalf Of Darin Kohles
> Sent: Tuesday, December 13, 2005 10:32 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Using Embed with
dynamic values possible?
> 
>  
> 
> Stacy, yes and no. Just create a new image
dynamically when your XML
> data is returned (no need to use Embed in
this case):
> 
> private function
resultHandler(event:ResultEvent):Void {
> myImage: new Image();
>
myImage.source=event.result._xml_path_to_image_url;
> 
>
someContainerObjectLikeCanvas.addChild(myImage);
> }
> 
> Hope this help
>













--
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



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] Problem with getURL() method in Action Script

2005-12-15 Thread Carson Hager
I'm seeing the same thing that Jagadeesh is seeing.  We've worked on
this for quite a while and can't find an acceptable to do this.  I've
seen that if I remove the POST argument, in IE it pops open a window and
immediately closes. I've checked the logs and the request was accepted
but the socket appears to have been closed by the browser before any
content can be returned. I've experimented with different content types
and header settings all to no avail.  It's frustrating to say the least.
As a note, it works fine in FFX. 


Carson



 
Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com
 
Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY
Mobile: 1.703.489.6466
 


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Matt Chotin
Sent: Thursday, December 15, 2005 8:17 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Problem with getURL() method in Action Script

I think the POST stuff is not going to work so I'd take that out.  Have
you tried just naming a window, getURL(url, "someWindow") so that it
will re-use the popped window?

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jagabcdeff
Sent: Wednesday, December 14, 2005 10:13 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problem with getURL() method in Action Script

Hi,

Now i am working on download/open document(ex: Yahoo mail) in my
application.

I Used getURL() method in my action script.

I have 4 following issues

1.when i use  getURL(url, "_blank", "POST")  it opens the new browser
every time  here i dont want new browser.

2.when i use getURL(url, "_self", "POST"),here it open/download (as in
yahoo mail)window first when user again select it open/download its
showing blank browser.

3.when i use getURL(url, "_parent", "POST")"),here it open/download (as
in yahoo mail)window first when user again select it open/download its
showing blank browser.
 
4.when i use getURL(url, "_top", "POST")"),here it open/download (as in
yahoo mail)window first when user again select it open/download its
showing blank browser.

my requirement is it shouldn't open blank browser and it should open
only popup(as yahoo mail)every time.

thanks,
jagadeesh







--
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



 






--
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



 





 Yahoo! Groups Sponsor ~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-15 Thread Matt Chotin
I'm hoping that someone from product management might have a chance to
address this but we've been awfully busy.  Please be assured that there
are active discussions internally about the right way to release this
functionality to the public and we are not going into this with the goal
of screwing over your existing workflow.

We're still in alpha and figuring things out.  More details will be
coming.

Also for what it's worth I do see in our internal class definition
NetConnect.addHeader, but it is considered an undocumented function for
the general Flex release since it is meant for Flashcom.  If you check
the Flash MX 2004 docs you'll notice NetConnection has very few
documented functions, the additional functionality is in the Flashcom
docs which we are not duplicating.

Matt


 Yahoo! Groups Sponsor ~--> 
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/.QUssC/izNLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] data binding question

2005-12-15 Thread Matt Chotin
No, source is a compile-time flag.  You'll want to look into HTTPService
for dynamically loading this stuff.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sam
Sent: Thursday, December 15, 2005 1:02 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] data binding question

Can you bind the source of a Model to a DataGrid. I have a code here
for that purpose and it's giving me an error.

Is there another way around this?

Attach Code













--
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



 




 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Problem with getURL() method in Action Script

2005-12-15 Thread Matt Chotin
I think the POST stuff is not going to work so I'd take that out.  Have
you tried just naming a window, getURL(url, "someWindow") so that it
will re-use the popped window?

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jagabcdeff
Sent: Wednesday, December 14, 2005 10:13 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problem with getURL() method in Action Script

Hi,

Now i am working on download/open document(ex: Yahoo mail) in my 
application.

I Used getURL() method in my action script.

I have 4 following issues

1.when i use  getURL(url, "_blank", "POST")  it opens the new 
browser every time  here i dont want new browser.

2.when i use getURL(url, "_self", "POST"),here it open/download (as 
in yahoo mail)window first when user again select it open/download 
its showing blank browser.

3.when i use getURL(url, "_parent", "POST")"),here it open/download 
(as in yahoo mail)window first when user again select it 
open/download its showing blank browser.
 
4.when i use getURL(url, "_top", "POST")"),here it open/download (as 
in yahoo mail)window first when user again select it open/download 
its showing blank browser.

my requirement is it shouldn't open blank browser and it should open 
only popup(as yahoo mail)every time.

thanks,
jagadeesh







--
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



 





 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Re: (new issue) Using Embed with dynamic values possible?

2005-12-15 Thread Darin Kohles
I've got dynamically loaded images (as images - not icons) that I then
'simulate' as links by having event listeners take action on mouse
down and up events - which then call getURL() to send someone elsewhere.

This should be public soon enough, and I may get in trouble for
sharing it ;) but check out:

http://d-p.com/ria/amazon/

There are still a few quirks that I'm working out, so this isn't the
final version.

I don't use repeaters, but generate everything with AS as I recieve
data from the provider - looping through and addChild()'ing as I go
(just remember to clear your field before adding more).

Hope this helps - give it a play.

--- In flexcoders@yahoogroups.com, "Stacy Young" <[EMAIL PROTECTED]> wrote:
>
> Took the AS approach and I've got it working for images ... moving
> beyond my initial tests I realized I actually need to create a series of
> Links (dynamic image path set as the icon attribute) rather than Images
> and this approach doesn't work. In desperation I attempted to create all
> the Image objects (hidden) and tried to reference them as the source of
> the icon when creating the Links but no go...is there no such thing as
> "Linkage ID" in flex? Eek!
> 
>  
> 
> -Stace
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Stacy Young
> Sent: Tuesday, December 13, 2005 10:39 AM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Re: Using Embed with dynamic values possible?
> 
>  
> 
> Was taking a similar approach with repeater and Image tag...thanks for
> the tip!
> 
> Stace
> 
>  
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Darin Kohles
> Sent: Tuesday, December 13, 2005 10:32 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Using Embed with dynamic values possible?
> 
>  
> 
> Stacy, yes and no. Just create a new image dynamically when your XML
> data is returned (no need to use Embed in this case):
> 
> private function resultHandler(event:ResultEvent):Void {
> myImage: new Image();
> myImage.source=event.result._xml_path_to_image_url;
> 
> someContainerObjectLikeCanvas.addChild(myImage);
> }
> 
> Hope this help
>







 Yahoo! Groups Sponsor ~--> 
AIDS in India: A "lurking bomb." Click and help stop AIDS now.
http://us.click.yahoo.com/9QUssC/lzNLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: Selection.setSelection Issue

2005-12-15 Thread Darin Kohles
Try passing the explicit values to your function:

setFBack(mytext.Selection.getBeginIndex(), mytext,Selection.getEndIndex())

function setFBack(begin:Number, end:Number){
}

OR (Flex 2??):
 public var begin:Number;
 etc..

Maybe one of these will help.

Good Luck

--- In flexcoders@yahoogroups.com, "Brian McPheeters"
<[EMAIL PROTECTED]> wrote:
>
> Here is my code. I have tried this with 7,0,35,29 on IE and Firefox.
Seems like some event is changing the Selection after I set it.
>  
>  
> 
> http://www.macromedia.com/2003/mxml";>
>  
>   
>  
>  
>  
>   
>
> Macromedia Flex
> Macromedia Dreamweaver
> Macromedia ColdFusion
> Macromedia Flash
>
>
>  
> 
> 
> 
> 
> From: flexcoders@yahoogroups.com on behalf of Abdul Qabiz
> Sent: Thu 12/15/2005 11:03 AM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Selection.setSelection Issue
> 
> 
> Hi,
>  
> Can you please post the sample code, how are you doing?
>  
> I think, it should work. Which version of Flash Player you are
testing it in?
>  
> -abdul
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Brian McPheeters
> Sent: Thursday, December 15, 2005 1:27 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Selection.setSelection Issue
> 
> 
> I am storing the current selected indexes of my TextArea so when
certain events happen on other controls I can setFocus back to the
TextArea and set the selectedText back to where it was. When I do this
the highlighted text is not the same as the positions I submitted but
the indexes seem to get set to -1,-1. Anyone dealt with this before?
>  
> Brian
> 
> 
> --
> 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 
> 
> 
>   
> *  Visit your group "flexcoders
 " on the web.
> 
> *  To unsubscribe from this group, send an email to:
>[EMAIL PROTECTED]
 
> 
> *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service  . 
> 
> 
> 
>






 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: Accordion icons

2005-12-15 Thread Darin Kohles
I've just been dealing with this in Flash 8 (AS 2).

 myAcc.setStyle('headerHeight',20);

I also had problems with header text - do a:

var headerObj:Object = myAcc.getChildAt(x);
for (var i:Object in headerObj){
  trace(i + " " myAcc[i])
}

Look at the defined values (and undefined) and use setStyle('blah',
value) to fill in what's missing. This is how I got it to work in AS
2. Also .labelPlacement='top' gave me the default centering for the
header label. Trying to do everything dynamically means you've got to
dot your i's and cross your t's :(

Good Luck

--- In flexcoders@yahoogroups.com, "nextadvantage" <[EMAIL PROTECTED]> wrote:
>
> Thanks jesterxl,
> 
> We got it working another way but your method is better, now can we
> adjust the height of the header?
> 
> --- In flexcoders@yahoogroups.com, "JesterXL" <@j...> wrote:
> >
> > This works.  My img is a 22x22 png.
> > 
> > 
> >  >  xmlns:mx="http://www.macromedia.com/2003/mxml";>
> >  
> >  
> >  
> > > icon="@Embed('images/icons/control_checkbox.png')" />
> >
> >
> >
> >
> >  
> >  
> >  
> > 
> > 
> > - Original Message - 
> > From: "nextadvantage" <[EMAIL PROTECTED]>
> > To: 
> > Sent: Thursday, December 15, 2005 6:43 PM
> > Subject: [flexcoders] Accordion icons
> > 
> > 
> > Does anyone here have any sample code to display a icon/swf in the
> > header of a accordion all the samples I have googled for don't seem to
> > work.
> > 
> > 
> > 
> > 
> > 
> > 
> > --
> > 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
> >
>






 Yahoo! Groups Sponsor ~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: columnCount prop doesn't work in TileList(Flex2.0)

2005-12-15 Thread joan_lynn
This is a bug logged in our system and it should be fixed in upcoming 
builds of Flex2.

Joan

--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> If your test case is that simple it may be that TileList has a 
bug.  
> 
> It mostly worked when I just tested it on a local build now, though 
I
> noticed that it was off by one at first and required a slight 
resize to
> get correct (it showed 6 instead of 7).
> 
> Matt
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of keishichi2001
> Sent: Monday, December 12, 2005 6:02 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: columnCount prop doesn't work in
> TileList(Flex2.0)
> 
> --- In flexcoders@yahoogroups.com, "keishichi2001"
> <[EMAIL PROTECTED]> wrote:
> >
> > any info?
> > 
> In case if you guys are confused with my explanation, i would 
explain
> it more simply
> 
>  ...
> 
> 
> With above code, the TileList should have 7 columns, but 4 
columns...
> 
> Is it a bug on Flex2?
> 
> 
> -k
> 
> 
> > -k
> > 
> > --- In flexcoders@yahoogroups.com, "keishichi2001"
> > <[EMAIL PROTECTED]> wrote:
> > >
> > > My application has a TileList as following.
> > > 
> > >  columnCount="7"
> > > borderStyle="none" dataProvider="{myService.getData.result}"
> > > listItemRenderer="myCellRenderer" showEffect="Dissolve" >
> > > 
> > > myCellRenders is a custom component based on Canvas, and it has 
no
> > > definition both on height and width.
> > > 
> > > The problem is, the TileList displays only 4 columns and 5th 
element
> > > is displayed in next row.
> > > I want that to be showed as 7 x N.
> > > 
> > > Note that the TileList shows a monthly calendar.
> > > 
> > > 
> > > Thanks,
> > > Keishichi
> > >
> >
> 
> 
> 
> 
> 
> 
> 
> 
> 
> --
> 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
>






 Yahoo! Groups Sponsor ~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-15 Thread Brian Lesser
Thanks Jeff,
Please see below:

Jeff Tapper wrote:

>As Renaun pointed out, you can still use AMF1 with ColdFusion.  You just dont 
>use the built in RemoteObject tag.  His solution is a total of 5 lines of 
>code, so that doesnt really strike me as all that difficult.
>  
>
Well, I'm with Renaun in terms of making a connection to the gateway and 
calling a remote method. No problem. I can use NetConnection.call to 
call a remote method in Coldfusion without any problems if:

1. I don't authenticate against an Application.cfm file. Authentication 
doesn't work because NetConnection.addHeader() is not available. So 
that's a show stopper right now for using my remoting gateway as is. I 
hope they do decide to implement addHeader() eventually.
2. There doesn't seem to be a RecordSet class in the Flex 2 Alpha I can 
register as a class to correctly handle a query returned by Coldfusion. 
For now this is a show stopper as most of my CFCs return a query. I have 
to admit I have not invested the time to try to port the RecordSet class 
from Flash 8 to Flex 2 alpha. If I persist with Flex 2 I may end up 
trying to do that.

>If you want to use the Flex 2 RemoteObject tag, all you need to do is 
>install the CFAdapter on the server.  
>
Yes, it looks that way, but I have a lot of testing to do before I know 
if that is a safe path. If it breaks the existing Remoting Gateway at 
all or causes subtle side effects in CFCs called from Flex 2, Flash via 
AMF 1, and Flash Communication Server, then I'm in big trouble with my 
existing apps. If it coexists happily I might end up a happy camper.

>I understand some may be change adverse, so I suggest to those, they should 
>not get involved with alpha software.  Changes happen all the 
>time.  Chances are alot of code we write against the alpha will need to be 
>changed when the beta is released.  That is just the nature of product 
>development.
>
I don't expect alpha's to be all neat and polished and complete. In fact I'm 
amazed at just how good the docs and everything are for Flex 2. It is really 
really impressive! 

But I have an aversion to API churn which is a different thing than changes in 
new software. I accept that AS3 is going to break some things in AS2 and AS1 
and understand the value of a new document object model after all these years. 
I'm less enthusiastic when I don't see backward compatibility at the network 
protocol level. Well, I'll say it plainly. I'm a little shocked anyone would 
consider not implementing NetConnction.addHeader(). But, then again, maybe I'm 
missing something...

Again, if anyone can shed more light on all of this I'd really love to read 
about it.

Yours truly,
-Brian

__
Brian Lesser
Assistant Director, Teaching and Technology Support
Computing and Communications Services
Ryerson University
350 Victoria St.
Toronto, Ontario   Phone: (416) 979-5000 ext. 6835
M5B 2K3Fax: (416) 979-5220
Office: AB48D  E-mail: [EMAIL PROTECTED]
(Enter through LB66)   Web: http://www.ryerson.ca/~blesser
__



 Yahoo! Groups Sponsor ~--> 
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/.QUssC/izNLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Re: columnCount prop doesn't work in TileList(Flex2.0)

2005-12-15 Thread Joan Tan










This is a logged bug and should be fixed
in upcoming builds. 

 

Joan

 









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Matt Chotin
Sent: Wednesday, December 14, 2005
8:18 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re:
columnCount prop doesn't work in TileList(Flex2.0)



 

If your test case is that simple it may be that TileList has a
bug.  

It mostly worked when I just tested it on a local
build now, though I
noticed that it was off by one at first and
required a slight resize to
get correct (it showed 6 instead of 7).

Matt

-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of keishichi2001
Sent: Monday, December 12, 2005 6:02 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: columnCount prop doesn't
work in
TileList(Flex2.0)

--- In flexcoders@yahoogroups.com,
"keishichi2001"
<[EMAIL PROTECTED]> wrote:
>
> any info?
> 
In case if you guys are confused with my
explanation, i would explain
it more simply


...


With above code, the TileList should have 7
columns, but 4 columns...

Is it a bug on Flex2?


-k


> -k
> 
> --- In flexcoders@yahoogroups.com,
"keishichi2001"
> <[EMAIL PROTECTED]> wrote:
> >
> > My application has a TileList as
following.
> > 
> > 
columnCount="7"
> > borderStyle="none"
dataProvider="{myService.getData.result}"
> >
listItemRenderer="myCellRenderer" showEffect="Dissolve"
>
> > 
> > myCellRenders is a custom component
based on Canvas, and it has no
> > definition both on height and width.
> > 
> > The problem is, the TileList displays
only 4 columns and 5th element
> > is displayed in next row.
> > I want that to be showed as 7 x N.
> > 
> > Note that the TileList shows a monthly
calendar.
> > 
> > 
> > Thanks,
> > Keishichi
> >
>









--
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














--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] Re: Accordion icons

2005-12-15 Thread nextadvantage
Thanks jesterxl,

We got it working another way but your method is better, now can we
adjust the height of the header?

--- In flexcoders@yahoogroups.com, "JesterXL" <@j...> wrote:
>
> This works.  My img is a 22x22 png.
> 
> 
>   xmlns:mx="http://www.macromedia.com/2003/mxml";>
>  
>  
>  
> icon="@Embed('images/icons/control_checkbox.png')" />
>
>
>
>
>  
>  
>  
> 
> 
> - Original Message - 
> From: "nextadvantage" <[EMAIL PROTECTED]>
> To: 
> Sent: Thursday, December 15, 2005 6:43 PM
> Subject: [flexcoders] Accordion icons
> 
> 
> Does anyone here have any sample code to display a icon/swf in the
> header of a accordion all the samples I have googled for don't seem to
> work.
> 
> 
> 
> 
> 
> 
> --
> 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
>







 Yahoo! Groups Sponsor ~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [flexcoders] Accordion icons

2005-12-15 Thread JesterXL
This works.  My img is a 22x22 png.


http://www.macromedia.com/2003/mxml";>
 
 
 
   
   
   
   
   
 
 
 


- Original Message - 
From: "nextadvantage" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, December 15, 2005 6:43 PM
Subject: [flexcoders] Accordion icons


Does anyone here have any sample code to display a icon/swf in the
header of a accordion all the samples I have googled for don't seem to
work.






--
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



 




 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Accordion icons

2005-12-15 Thread nextadvantage
Does anyone here have any sample code to display a icon/swf in the
header of a accordion all the samples I have googled for don't seem to
work.





 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [flexcoders] Re: Is there sound effects in flex?

2005-12-15 Thread JesterXL
Flash Player only supports mp3 files loaded at runtime.

You can, however, embed just about anything (WAV, AU, MOV, etc.) and Flash 
will convert it to be an embedded asset, using 1 of the 3 codecs Flash 
Player 7 & 8 provide.  Not sure how Flex handles this, but I would assume 
WAVE's are imported to use mp3 compression.

:: checks docs ::

Hrm... can't find anything about WAVE's.

- Original Message - 
From: "Dan Plesse" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, December 15, 2005 6:25 PM
Subject: [flexcoders] Re: Is there sound effects in flex?


MP3 files seem to play well but what about .WAV files?

anyone?


--- In flexcoders@yahoogroups.com, "Dan Plesse" <[EMAIL PROTECTED]> wrote:
>
> var mySound3:Sound = new Sound();
> mySound3.attachSound("XYLO_UP");
> mySound3.start();
>
> I tested this and it did not work.
>
> anyone?
>
> Also method chaining did not work as well.
>
> Dan
>







--
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







 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Re: Is there sound effects in flex?

2005-12-15 Thread Dan Plesse
MP3 files seem to play well but what about .WAV files? 

anyone? 


--- In flexcoders@yahoogroups.com, "Dan Plesse" <[EMAIL PROTECTED]> wrote:
>
> var mySound3:Sound = new Sound();
> mySound3.attachSound("XYLO_UP");
> mySound3.start();
> 
> I tested this and it did not work. 
> 
> anyone? 
> 
> Also method chaining did not work as well. 
> 
> Dan
>






 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-15 Thread hank williams
On 12/15/05, Jeff Tapper <[EMAIL PROTECTED]> wrote:
> Do you expect php4 code to run on php2or php3?   software products have new
> releases with new features.  Expecting a product written years earlier to
> support every possible change in the future is far from realistic.
>
> AMF had a version 1 release, now it will have a version 2 release.  I
> suspect MM will release a V2 Remoting Gateway.  Have you missed the point
> that Flex 2 is an ALPHA product?  MM is experimenting with lots of new
> technologies, without being constrained by how they will interact with
> other things.  I'm confident they will find a way to support customers of
> their Remoting Gateway before flex 2 is released.

You are more confident in macromedia's desire not to orphan products than I am.

For more detail, ditto Brian's excellent answer.

Regards
Hank

>
> At 03:37 PM 12/15/2005, you wrote:
> >On 12/15/05, Jeff Tapper <[EMAIL PROTECTED]> wrote:
> > > I dont recall MM championing AMFPHP, OpenAMF or any of the other 3rd party
> > > hacks to work with their proprietary AMF protocol.  Perhaps I'm wrong, if
> > > so, I'd love to see the references
> > >
> > > Anyhow, Those open source alternatives were specifically built for AMF1,
> > > Flex 2 RemoteObject uses AMF2.  If you want AMF1, take a look at Renaun's
> > > solution.
> >
> >Fine what about *their own* AMF product? So if I bought flash remoting
> >for $1000 from macromedia, I should just be dead in the water with an
> >orphaned product. I should be required to switch to cold fusion or
> >FDS?
> >
> >Puleezz.
> >
> >Hank
> >
> >
> >
> > >
> > > I wouldnt be surprised if the opensource community eventually caught up 
> > > and
> > > released versions for AMF2, but its really hard to blame Macromedia for
> > > someone elses gateways not supporting their latest versions...
> > >
> > > I dont blame MTASC for not compiling for the Flash 8.5 player.  They will
> > > probably get their eventually, but still do a wonderful job for FP7 and 
> > > FP8
> > >
> > >
> > > At 02:18 PM 12/15/2005, hank williams wrote:
> > > >Dave,
> > > >
> > > >When you said POJO, I interpreted that as Plain Old Java Object.
> > > >Correct me if I missunderstood, but thats where I got the Java
> > > >reference from.
> > > >
> > > >With more clarity, I understand your argument about it being possible
> > > >to expose php code using web services.
> > > >
> > > >But I really think that regardless of which is better (I have my way
> > > >you have yours) that there is no good reason under the sun to be
> > > >*forced* out of using a technology that macromedia championed and
> > > >still does today with just a minor shift so the old stuff will be
> > > >incompatible.
> > > >
> > > >Sorry if I am a little irritable on this subject, but I just think
> > > >that what macromedia has done here, regardless of the web
> > > >services/remoting benefits borders generates alot of mistrust in the
> > > >developer community. I know it does with me anyway.
> > > >
> > > >Regards
> > > >Hank.
> > > >
> > > >On 12/15/05, Dave Wolf <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > A few thoughts.
> > > > >
> > > > > 1) I didnt imply Java anywhere in my question/suggestion/answer?
> > > > > Pretty much every servant technology today supports exposing language
> > > > > artifacts as web services without any code refactoring.  This is true
> > > > > of Java, PHP, .NET, heck even PowerBuilder.  Its actually a really
> > > > > important point I think folks don't know.  Take Java (as just a single
> > > > > example).  If you hava Java class exposed as a RemoteObject (only Java
> > > > > and CFC supported as remtoe object via Flex1.5 now) did you know that
> > > > > you can expose that *exact same* java class as a web service with
> > > > > *zero* code changes to the class?  Yup.  It takes something like 2
> > > > > minutes of total work to do.  You can try it youself with something
> > > > > like the restaurant example.  We had a new guy do that just this week.
> > > > >  He redid the restaurant example to be all web services in basically
> > > > > no time flat.
> > > > >
> > > > > Thats why I asked the question.  Step back and consider the fact you
> > > > > could expose your PHP, or whatever, as a web service, totally drop any
> > > > > dependancy on needing a server proxy at all, regardless of what
> > > > > vendors proxy.
> > > > >
> > > > > 2) I agree the thread on web service vs remote object has been
> > > > > discussed over and over.  But there are new folks joining these ranks
> > > > > every day, and the question is still very much open.  Like in all
> > > > > debates everyone will pick a side.  I think its pretty clear we prefer
> > > > > web services over remote object, and have that decision based on many
> > > > > points which we have often discussed.  More so our decision is
> > > > > validated by quite major production deployments of Flex solutions.
> > > > > Our opinion is, given the choice, we tend to 

RE: [flexcoders] Re: passing Map from Flex to server side

2005-12-15 Thread Peter Farland
This may be a long shot, but another issue to consider is whether
Object.registerClass was called before any instances of that type were
received from the server. Can you try creating a new dummy instance of
the testuser.Test type on the client _before_ making the RemoteObject
call?

Are you using the "/WEB-INF/flex/gateway-config.xml logging level Debug"
method to trace server logging, or relying on a client debugging tool?


 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jgraham_us
Sent: Thursday, December 15, 2005 3:20 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: passing Map from Flex to server side

  public static var regClass = 
Object.registerClass("testuser.Test",  views.testuser.Test);

Thats the actual line.  I just made a mistake when typing in the psuedo
code below.

The weird part is, if I build the Object on the client side and send it
across to the server it appears to work.  

I can look at the objects in the debugger and compare them and I can't
see any difference between them.  

Is there a way to figure out more details as to which object it is
failing on when sending back to the server?

The error message is not very detailed, I get two different errors on
the client side.

One is an error about converting the input type, and the other is it was
expecting type testuser.Test but was trying to send
flashgateway.io.ASObject.

Thanks

--- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]>
wrote:
>
> Can you double check your usage of Object.registerClass?
> 
> Object.registerClass("testuser.Test","Test");
> 
> Should be
> 
> Object.registerClass("testuser.Test", Test);
>  
> 
> -Original Message-
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> Behalf Of jgraham_us
> Sent: Thursday, December 15, 2005 2:25 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: passing Map from Flex to server side
> 
> Going from server to client appears to be working fine.  My server 
> classes do not implement Map or Collection.  I have tried very
simple
> cases, and the Maps are not empty.
> 
> Here is an example.
> 
> Test.java
> --
> package testuser;
> 
> public class Test{
> 
>Map users;
> 
>Map getUsers() {
>  ...
>}
> 
>void setUsers(Map users) {
>  ...
>}
> 
> }
> ---
> 
> Test.as
> ---
> class Test
> {
> Object.registerClass("testuser.Test","Test");
> 
> var users : Array;
> 
> ... 
> }
> 
> So are you saying that my object on the server side, users must be
of
> type ASObject, or do I have to implement some intermediate type
then
> build my server side Test object from this intermediate type that
is an
> ASObject?
> 
> Basically I need to get the Test object on the client side possibly 
> update it and then send that same object back and have it be a Test 
> (server side object) when I get it back on the server.
> 
> Thanks
> --- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]>
> wrote:
> >
> > 
> > Note that while you can register classes using ActionScript on
the 
> > client for serialization... there's no way to "register" a Java
> class on
> > the server. Your server type must not implement Map or Collection
> as
> > these types already have firm rules for server to client
> serialization.
> > 
> > This may be something to log for consideration for Flex 2.0.
> > 
> > 
> > Alternatively, any chance are you returning empty Maps in any of
> the
> > properties? 
> > 
> > I ask because the following special case may occur:
> > 
> > Empty Java Map -> Empty AS Associative Array -> Empty Java List
> > 
> > This is because there's no distinction between an empty dense,
> ordinal,
> > i.e. normal AS Array and an empty AS Associative Array (i.e. 
> they're the
> > thing, just an empty Array) and thus Array -> List.
> > 
> > I'd contact Flex Support if you need a solution to the latter for
> Flex
> > 1.5. We've worked with customers on this problem.
> > 
> > (NB: After several customer requests, Flex 1.5 reverted back to
> match
> > the legacy behavior from Flash Remoting's convention of returning
> a Java
> > Map as an associative Array instead of an Object... which
> historically
> > stems from ColdFusionStructs being return as AS Associative
Arrays 
> > (...and note Flex 1.0 had Maps returned as Objects).
> > 
> > In Flex 2.0 we've again moved to have Java Maps returned as AS
> Objects
> > by default (with a configuration option for people who wish to go
> back
> > to the old Arrays... but note this something that we would
> discourage in
> > Flex 2.0 due to the issue described above).
> > 
> > 
> >  
> > 
> > -Original Message-
> > From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On
> > Behalf Of jgraham_us
> > Sent: Thursday, December 15,

Re: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-15 Thread Jeff Tapper
Oops, sorry about that.

At 04:32 PM 12/15/2005, you wrote:
>The new AMF format is actually version 3 (at least thats what the docs
>call it)
>http://livedocs.macromedia.com/labs/1/flex/langref/flash/net/NetConnection.html
>
>FROM DOCS of class flash.net.NetConnection:
>defaultObjectEncoding Property
>
>public static defaultObjectEncoding : uint
>The default object encoding (AMF version) for NetConnection objects
>created in the SWF. When an object is written to or read from binary
>data, the defaultObjectEncoding property indicates which Action
>Message Format version should be used: the ActionScript 3 format or
>the ActionScript 1/2.0 format.
>
>The default value of NetConnection.defaultObjectEncoding is set to use
>the ActionScript 3 format, AMF3. For content to successfully stream to
>player versions earlier than 8.5 through a NetConnection object, set
>NetConnection.defaultObjectEncoding to use the ActionScript 1/2.0
>format, flash.net.ObjectEncoding.AMF0 at the beginning of your script,
>before you create any NetConnection objects. All NetConnection objects
>created thereafter will use AMF0 encoding and can interact with older
>content. You cannot change the objectEncoding value of existing
>NetConnection objects by setting NetConnection.defaultObjectEncoding
>after the NetConnection objects have been created.
>
>To set the object encoding on a per-object basis, rather than for the
>entire SWF, see the objectEncoding property of the NetConnection
>object instead.
>
>Renaun
>
>--- In flexcoders@yahoogroups.com, Jeff Tapper <[EMAIL PROTECTED]> wrote:
> >
> > I dont recall MM championing AMFPHP, OpenAMF or any of the other 3rd
>party
> > hacks to work with their proprietary AMF protocol.  Perhaps I'm
>wrong, if
> > so, I'd love to see the references
> >
> > Anyhow, Those open source alternatives were specifically built for
>AMF1,
> > Flex 2 RemoteObject uses AMF2.  If you want AMF1, take a look at
>Renaun's
> > solution.
> >
> > I wouldnt be surprised if the opensource community eventually caught
>up and
> > released versions for AMF2, but its really hard to blame Macromedia for
> > someone elses gateways not supporting their latest versions...
> >
> > I dont blame MTASC for not compiling for the Flash 8.5 player.  They
>will
> > probably get their eventually, but still do a wonderful job for FP7
>and FP8
> >
> >
> > At 02:18 PM 12/15/2005, hank williams wrote:
> > >Dave,
> > >
> > >When you said POJO, I interpreted that as Plain Old Java Object.
> > >Correct me if I missunderstood, but thats where I got the Java
> > >reference from.
> > >
> > >With more clarity, I understand your argument about it being possible
> > >to expose php code using web services.
> > >
> > >But I really think that regardless of which is better (I have my way
> > >you have yours) that there is no good reason under the sun to be
> > >*forced* out of using a technology that macromedia championed and
> > >still does today with just a minor shift so the old stuff will be
> > >incompatible.
> > >
> > >Sorry if I am a little irritable on this subject, but I just think
> > >that what macromedia has done here, regardless of the web
> > >services/remoting benefits borders generates alot of mistrust in the
> > >developer community. I know it does with me anyway.
> > >
> > >Regards
> > >Hank.
> > >
> > >On 12/15/05, Dave Wolf <[EMAIL PROTECTED]> wrote:
> > > >
> > > > A few thoughts.
> > > >
> > > > 1) I didnt imply Java anywhere in my question/suggestion/answer?
> > > > Pretty much every servant technology today supports exposing
>language
> > > > artifacts as web services without any code refactoring.  This is
>true
> > > > of Java, PHP, .NET, heck even PowerBuilder.  Its actually a really
> > > > important point I think folks don't know.  Take Java (as just a
>single
> > > > example).  If you hava Java class exposed as a RemoteObject
>(only Java
> > > > and CFC supported as remtoe object via Flex1.5 now) did you know
>that
> > > > you can expose that *exact same* java class as a web service with
> > > > *zero* code changes to the class?  Yup.  It takes something like 2
> > > > minutes of total work to do.  You can try it youself with something
> > > > like the restaurant example.  We had a new guy do that just this
>week.
> > > >  He redid the restaurant example to be all web services in basically
> > > > no time flat.
> > > >
> > > > Thats why I asked the question.  Step back and consider the fact you
> > > > could expose your PHP, or whatever, as a web service, totally
>drop any
> > > > dependancy on needing a server proxy at all, regardless of what
> > > > vendors proxy.
> > > >
> > > > 2) I agree the thread on web service vs remote object has been
> > > > discussed over and over.  But there are new folks joining these
>ranks
> > > > every day, and the question is still very much open.  Like in all
> > > > debates everyone will pick a side.  I think

[flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-15 Thread Renaun Erickson
The new AMF format is actually version 3 (at least thats what the docs
call it)
http://livedocs.macromedia.com/labs/1/flex/langref/flash/net/NetConnection.html

FROM DOCS of class flash.net.NetConnection:
defaultObjectEncoding Property

public static defaultObjectEncoding : uint
The default object encoding (AMF version) for NetConnection objects
created in the SWF. When an object is written to or read from binary
data, the defaultObjectEncoding property indicates which Action
Message Format version should be used: the ActionScript 3 format or
the ActionScript 1/2.0 format.

The default value of NetConnection.defaultObjectEncoding is set to use
the ActionScript 3 format, AMF3. For content to successfully stream to
player versions earlier than 8.5 through a NetConnection object, set
NetConnection.defaultObjectEncoding to use the ActionScript 1/2.0
format, flash.net.ObjectEncoding.AMF0 at the beginning of your script,
before you create any NetConnection objects. All NetConnection objects
created thereafter will use AMF0 encoding and can interact with older
content. You cannot change the objectEncoding value of existing
NetConnection objects by setting NetConnection.defaultObjectEncoding
after the NetConnection objects have been created.

To set the object encoding on a per-object basis, rather than for the
entire SWF, see the objectEncoding property of the NetConnection
object instead.

Renaun

--- In flexcoders@yahoogroups.com, Jeff Tapper <[EMAIL PROTECTED]> wrote:
>
> I dont recall MM championing AMFPHP, OpenAMF or any of the other 3rd
party 
> hacks to work with their proprietary AMF protocol.  Perhaps I'm
wrong, if 
> so, I'd love to see the references
> 
> Anyhow, Those open source alternatives were specifically built for
AMF1, 
> Flex 2 RemoteObject uses AMF2.  If you want AMF1, take a look at
Renaun's 
> solution.
> 
> I wouldnt be surprised if the opensource community eventually caught
up and 
> released versions for AMF2, but its really hard to blame Macromedia for 
> someone elses gateways not supporting their latest versions...
> 
> I dont blame MTASC for not compiling for the Flash 8.5 player.  They
will 
> probably get their eventually, but still do a wonderful job for FP7
and FP8
> 
> 
> At 02:18 PM 12/15/2005, hank williams wrote:
> >Dave,
> >
> >When you said POJO, I interpreted that as Plain Old Java Object.
> >Correct me if I missunderstood, but thats where I got the Java
> >reference from.
> >
> >With more clarity, I understand your argument about it being possible
> >to expose php code using web services.
> >
> >But I really think that regardless of which is better (I have my way
> >you have yours) that there is no good reason under the sun to be
> >*forced* out of using a technology that macromedia championed and
> >still does today with just a minor shift so the old stuff will be
> >incompatible.
> >
> >Sorry if I am a little irritable on this subject, but I just think
> >that what macromedia has done here, regardless of the web
> >services/remoting benefits borders generates alot of mistrust in the
> >developer community. I know it does with me anyway.
> >
> >Regards
> >Hank.
> >
> >On 12/15/05, Dave Wolf <[EMAIL PROTECTED]> wrote:
> > >
> > > A few thoughts.
> > >
> > > 1) I didnt imply Java anywhere in my question/suggestion/answer?
> > > Pretty much every servant technology today supports exposing
language
> > > artifacts as web services without any code refactoring.  This is
true
> > > of Java, PHP, .NET, heck even PowerBuilder.  Its actually a really
> > > important point I think folks don't know.  Take Java (as just a
single
> > > example).  If you hava Java class exposed as a RemoteObject
(only Java
> > > and CFC supported as remtoe object via Flex1.5 now) did you know
that
> > > you can expose that *exact same* java class as a web service with
> > > *zero* code changes to the class?  Yup.  It takes something like 2
> > > minutes of total work to do.  You can try it youself with something
> > > like the restaurant example.  We had a new guy do that just this
week.
> > >  He redid the restaurant example to be all web services in basically
> > > no time flat.
> > >
> > > Thats why I asked the question.  Step back and consider the fact you
> > > could expose your PHP, or whatever, as a web service, totally
drop any
> > > dependancy on needing a server proxy at all, regardless of what
> > > vendors proxy.
> > >
> > > 2) I agree the thread on web service vs remote object has been
> > > discussed over and over.  But there are new folks joining these
ranks
> > > every day, and the question is still very much open.  Like in all
> > > debates everyone will pick a side.  I think its pretty clear we
prefer
> > > web services over remote object, and have that decision based on
many
> > > points which we have often discussed.  More so our decision is
> > > validated by quite major production deployments of Flex solutions.
> > > Our opinion is, given the choice, we tend to prefer a web
se

Re: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-15 Thread Jeff Tapper
Brian -

I dont work for MM, so cant speak for them, but I suspect they will find a 
way to get the core functionality working for existing customers.  As 
Renaun pointed out, you can still use AMF1 with ColdFusion.  You just dont 
use the built in RemoteObject tag.  His solution is a total of 5 lines of 
code, so that doesnt really strike me as all that difficult.

If you want to use the Flex 2 RemoteObject tag, all you need to do is 
install the CFAdapter on the server.  If you dont want to add anything to 
the server, use Renaun's AMF1 solution.

No need for politics.  Some seem adverse to any change, which is not a 
reasonable view for people working with alpha software.  That is not aimed 
at anyone in particular, just my impression from reading posts on this list 
from people who seem to assume the Flex Alpha is a fully complete product.

I understand some may be change adverse, so I suggest to those, they should 
not get involved with alpha software.  Changes happen all the 
time.  Chances are alot of code we write against the alpha will need to be 
changed when the beta is released.  That is just the nature of product 
development.

Anyhow, i didnt mean to start a flame war, just responding with my $0.02


At 04:06 PM 12/15/2005, you wrote:
>Hi Jeff,
>I have Coldfusion which includes the Flash Remoting Gateway. I would
>prefer it if the changes in Flex 2 did not force me to install new
>software on the server side and didn't break the authentication system
>I'm using by removing NetConnection.addHeader from the client - a
>useful, public, and documented method. I use addHeader in both Flash
>code and in Flash Communication Server code. Anyway, I think it would
>make my life simpler and a transition to standalone Flex 2 much easier
>for me to be able to write clients against my current server-side
>system. I have production code that people rely on and I really like
>having transition options that allow me to make a series of well-tested
>changes instead of one big one.
>At any rate I don't think Macromedia offered a Perl, PHP, Python etc..
>Remoting Gateway. Did they? I have a great deal of sympathy for people
>who want to use a less network heavy protocol without being forced to
>change server technologies and/or buy servlet gateways at $999/CPU.
>I don't expect Adobe to do everything or that they will make every
>change completely painless. However, I do believe APIs should be
>gracefully retired whenever possible  instead of just evaporating.
>I would like to see NetConnection.addHeader implemented and hope that
>converting to Flex 2 standalone with Coldfusion is not as difficult as
>it looks to me right now.
>Finally, anyone using remoting will recall going through a lot of API
>changes with two releases of Flash. Those changes were less than optimal
>for maintaining production software. During all these changes I was able
>to fall back on the NetConnection.call method and RecordSet classes. I'm
>not sure I can even do that now.
>Of course this is an alpha and I still have a lot to learn about Flex 2
>and the various server-side options available to me. But I am concerned
>about what using Flex 2 will do to my existing applications and how much
>work will be involved in a conversion if I decide to go that way.
>Anything that clarrifies this at a technical - rather than a political
>level - would be hugely appreciated!
>Yours truly,
>-Brian
>
>Jeff Tapper wrote:
>
> >I dont recall MM championing AMFPHP, OpenAMF or any of the other 3rd party
> >hacks to work with their proprietary AMF protocol.  Perhaps I'm wrong, if
> >so, I'd love to see the references
> >
> >Anyhow, Those open source alternatives were specifically built for AMF1,
> >Flex 2 RemoteObject uses AMF2.  If you want AMF1, take a look at Renaun's
> >solution.
> >
> >I wouldnt be surprised if the opensource community eventually caught up and
> >released versions for AMF2, but its really hard to blame Macromedia for
> >someone elses gateways not supporting their latest versions...
> >
> >I dont blame MTASC for not compiling for the Flash 8.5 player.  They will
> >probably get their eventually, but still do a wonderful job for FP7 and FP8
> >
> >
> >At 02:18 PM 12/15/2005, hank williams wrote:
> >
> >
> >>Dave,
> >>
> >>When you said POJO, I interpreted that as Plain Old Java Object.
> >>Correct me if I missunderstood, but thats where I got the Java
> >>reference from.
> >>
> >>With more clarity, I understand your argument about it being possible
> >>to expose php code using web services.
> >>
> >>But I really think that regardless of which is better (I have my way
> >>you have yours) that there is no good reason under the sun to be
> >>*forced* out of using a technology that macromedia championed and
> >>still does today with just a minor shift so the old stuff will be
> >>incompatible.
> >>
> >>Sorry if I am a little irritable on this subject, but I just think
> >>that what macromedia has done here, regardless of the web
> >>servic

[flexcoders] Is there sound effects in flex?

2005-12-15 Thread Dan Plesse
var mySound3:Sound = new Sound();
mySound3.attachSound("XYLO_UP");
mySound3.start();

I tested this and it did not work. 

anyone? 

Also method chaining did not work as well. 

Dan 





 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-15 Thread Renaun Erickson
I'll have to try that, thanks,


--- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote:
>
> 
> You need to subclass flash.net.Responder and provide an implementation
> of a method with the same name as the AMF header.
> 
> public function AppendToGatewayUrl(append:String):Void
> {
> //Append value to NetConnection URL.
> }
> 
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Renaun Erickson
> Sent: Thursday, December 15, 2005 3:12 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Flex2 and Amfphp is it possible ?
> 
> Read my blog at http://renaun.com/blog/?p=8
> 
> It is possible but not with the RemoteObject, you use the
> flash.net.NetConnection class directly.
> 
> I tried setting up an adapater with the flex-services.xml method and the
> new RemoteObject "destination" attribute with channels and all but
> didn't get to far.
> 
> Renaun
> 
> --- In flexcoders@yahoogroups.com, Flapflap <[EMAIL PROTECTED]> wrote:
> >
> > Hi there,
> > 
> > Because RemoteObject isn't available on Alpha is there a way to use
> flex 
> > 2 with amf php ?
> > 
> > Thanks...
> > 
> > By the way : Hello World !
> >  I'm new to this list.
> > --
> > Flapflap
> >
> 
> 
> 
> 
> 
> 
> 
>  Yahoo! Groups Sponsor ~-->
> Most low income homes are not online. Make a difference this holiday
> season!
> http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
> ~-> 
> 
> --
> 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
>






 Yahoo! Groups Sponsor ~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-15 Thread Jeff Tapper
Do you expect php4 code to run on php2or php3?   software products have new 
releases with new features.  Expecting a product written years earlier to 
support every possible change in the future is far from realistic.

AMF had a version 1 release, now it will have a version 2 release.  I 
suspect MM will release a V2 Remoting Gateway.  Have you missed the point 
that Flex 2 is an ALPHA product?  MM is experimenting with lots of new 
technologies, without being constrained by how they will interact with 
other things.  I'm confident they will find a way to support customers of 
their Remoting Gateway before flex 2 is released.

At 03:37 PM 12/15/2005, you wrote:
>On 12/15/05, Jeff Tapper <[EMAIL PROTECTED]> wrote:
> > I dont recall MM championing AMFPHP, OpenAMF or any of the other 3rd party
> > hacks to work with their proprietary AMF protocol.  Perhaps I'm wrong, if
> > so, I'd love to see the references
> >
> > Anyhow, Those open source alternatives were specifically built for AMF1,
> > Flex 2 RemoteObject uses AMF2.  If you want AMF1, take a look at Renaun's
> > solution.
>
>Fine what about *their own* AMF product? So if I bought flash remoting
>for $1000 from macromedia, I should just be dead in the water with an
>orphaned product. I should be required to switch to cold fusion or
>FDS?
>
>Puleezz.
>
>Hank
>
>
>
> >
> > I wouldnt be surprised if the opensource community eventually caught up and
> > released versions for AMF2, but its really hard to blame Macromedia for
> > someone elses gateways not supporting their latest versions...
> >
> > I dont blame MTASC for not compiling for the Flash 8.5 player.  They will
> > probably get their eventually, but still do a wonderful job for FP7 and FP8
> >
> >
> > At 02:18 PM 12/15/2005, hank williams wrote:
> > >Dave,
> > >
> > >When you said POJO, I interpreted that as Plain Old Java Object.
> > >Correct me if I missunderstood, but thats where I got the Java
> > >reference from.
> > >
> > >With more clarity, I understand your argument about it being possible
> > >to expose php code using web services.
> > >
> > >But I really think that regardless of which is better (I have my way
> > >you have yours) that there is no good reason under the sun to be
> > >*forced* out of using a technology that macromedia championed and
> > >still does today with just a minor shift so the old stuff will be
> > >incompatible.
> > >
> > >Sorry if I am a little irritable on this subject, but I just think
> > >that what macromedia has done here, regardless of the web
> > >services/remoting benefits borders generates alot of mistrust in the
> > >developer community. I know it does with me anyway.
> > >
> > >Regards
> > >Hank.
> > >
> > >On 12/15/05, Dave Wolf <[EMAIL PROTECTED]> wrote:
> > > >
> > > > A few thoughts.
> > > >
> > > > 1) I didnt imply Java anywhere in my question/suggestion/answer?
> > > > Pretty much every servant technology today supports exposing language
> > > > artifacts as web services without any code refactoring.  This is true
> > > > of Java, PHP, .NET, heck even PowerBuilder.  Its actually a really
> > > > important point I think folks don't know.  Take Java (as just a single
> > > > example).  If you hava Java class exposed as a RemoteObject (only Java
> > > > and CFC supported as remtoe object via Flex1.5 now) did you know that
> > > > you can expose that *exact same* java class as a web service with
> > > > *zero* code changes to the class?  Yup.  It takes something like 2
> > > > minutes of total work to do.  You can try it youself with something
> > > > like the restaurant example.  We had a new guy do that just this week.
> > > >  He redid the restaurant example to be all web services in basically
> > > > no time flat.
> > > >
> > > > Thats why I asked the question.  Step back and consider the fact you
> > > > could expose your PHP, or whatever, as a web service, totally drop any
> > > > dependancy on needing a server proxy at all, regardless of what
> > > > vendors proxy.
> > > >
> > > > 2) I agree the thread on web service vs remote object has been
> > > > discussed over and over.  But there are new folks joining these ranks
> > > > every day, and the question is still very much open.  Like in all
> > > > debates everyone will pick a side.  I think its pretty clear we prefer
> > > > web services over remote object, and have that decision based on many
> > > > points which we have often discussed.  More so our decision is
> > > > validated by quite major production deployments of Flex solutions.
> > > > Our opinion is, given the choice, we tend to prefer a web service. Its
> > > > just that.  An opinion.
> > > >
> > > > In either case, I just wanted to present the option to the questioner.
> > > >  WebServices might actually be a great way to solve his issue, without
> > > > the risk of bringing in an unsupported third party product, and
> > > > without any license cost at all.  I didnt feel a suggestion like that
> > > > was off topic

[flexcoders] Re: passing Map from Flex to server side

2005-12-15 Thread Dave Wolf
I don't want to cause too big a stir, but this kind of situation is
pretty common when you mix a loosely typed Collection object such as a
 Map with cross-language serialization and dynamic class loading (the
gateway has to use Java reflection to load the object, traverse the
object map, etc).  Then when you get the Map, how will you type cast
the Java object into AS?

I guess what I am getting at here is, I would avoid such loosely typed
Collection objects for passing across the wire.  Can you create your
own Java class to hold the values and return a more traditional Value
Object rather then a Map?  

-- 
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com

Email: [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, "jgraham_us" <[EMAIL PROTECTED]> wrote:
>
>   public static var regClass = 
>   Object.registerClass("testuser.Test",  views.testuser.Test);
> 
> Thats the actual line.  I just made a mistake when typing in the 
> psuedo code below.
> 
> The weird part is, if I build the Object on the client side and send 
> it across to the server it appears to work.  
> 
> I can look at the objects in the debugger and compare them and I 
> can't see any difference between them.  
> 
> Is there a way to figure out more details as to which object it is 
> failing on when sending back to the server?
> 
> The error message is not very detailed, I get two different errors 
> on the client side.
> 
> One is an error about converting the input type, and the other is it 
> was expecting type testuser.Test but was trying to send 
> flashgateway.io.ASObject.
> 
> Thanks
> 
> --- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> 
> wrote:
> >
> > Can you double check your usage of Object.registerClass?
> > 
> > Object.registerClass("testuser.Test","Test");
> > 
> > Should be
> > 
> > Object.registerClass("testuser.Test", Test);
> >  
> > 
> > -Original Message-
> > From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On
> > Behalf Of jgraham_us
> > Sent: Thursday, December 15, 2005 2:25 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: passing Map from Flex to server side
> > 
> > Going from server to client appears to be working fine.  My server
> > classes do not implement Map or Collection.  I have tried very 
> simple
> > cases, and the Maps are not empty.
> > 
> > Here is an example.
> > 
> > Test.java
> > --
> > package testuser;
> > 
> > public class Test{
> > 
> >Map users;
> > 
> >Map getUsers() {
> >  ...
> >}
> > 
> >void setUsers(Map users) {
> >  ...
> >}
> > 
> > }
> > ---
> > 
> > Test.as
> > ---
> > class Test
> > {
> > Object.registerClass("testuser.Test","Test");
> > 
> > var users : Array;
> > 
> > ... 
> > }
> > 
> > So are you saying that my object on the server side, users must be 
> of
> > type ASObject, or do I have to implement some intermediate type 
> then
> > build my server side Test object from this intermediate type that 
> is an
> > ASObject?
> > 
> > Basically I need to get the Test object on the client side possibly
> > update it and then send that same object back and have it be a Test
> > (server side object) when I get it back on the server.  
> > 
> > Thanks
> > --- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]>
> > wrote:
> > >
> > > 
> > > Note that while you can register classes using ActionScript on 
> the 
> > > client for serialization... there's no way to "register" a Java
> > class on
> > > the server. Your server type must not implement Map or Collection
> > as
> > > these types already have firm rules for server to client
> > serialization.
> > > 
> > > This may be something to log for consideration for Flex 2.0.
> > > 
> > > 
> > > Alternatively, any chance are you returning empty Maps in any of
> > the
> > > properties? 
> > > 
> > > I ask because the following special case may occur:
> > > 
> > > Empty Java Map -> Empty AS Associative Array -> Empty Java List
> > > 
> > > This is because there's no distinction between an empty dense,
> > ordinal,
> > > i.e. normal AS Array and an empty AS Associative Array (i.e. 
> > they're the
> > > thing, just an empty Array) and thus Array -> List.
> > > 
> > > I'd contact Flex Support if you need a solution to the latter for
> > Flex
> > > 1.5. We've worked with customers on this problem.
> > > 
> > > (NB: After several customer requests, Flex 1.5 reverted back to
> > match
> > > the legacy behavior from Flash Remoting's convention of returning
> > a Java
> > > Map as an associative Array instead of an Object... which
> > historically
> > > stems from ColdFusionStructs being return as AS Associative 
> Arrays 
> > > (...and note Flex 1.0 had Maps returned as Objects).
> > > 
> > > In Flex 2.0

[flexcoders] data binding question

2005-12-15 Thread Sam
Can you bind the source of a Model to a DataGrid. I have a code here
for that purpose and it's giving me an error.

Is there another way around this?

Attach Code












 Yahoo! Groups Sponsor ~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-15 Thread Brian Lesser
Hi Jeff,
I have Coldfusion which includes the Flash Remoting Gateway. I would 
prefer it if the changes in Flex 2 did not force me to install new 
software on the server side and didn't break the authentication system 
I'm using by removing NetConnection.addHeader from the client - a 
useful, public, and documented method. I use addHeader in both Flash 
code and in Flash Communication Server code. Anyway, I think it would 
make my life simpler and a transition to standalone Flex 2 much easier 
for me to be able to write clients against my current server-side 
system. I have production code that people rely on and I really like 
having transition options that allow me to make a series of well-tested 
changes instead of one big one.
At any rate I don't think Macromedia offered a Perl, PHP, Python etc.. 
Remoting Gateway. Did they? I have a great deal of sympathy for people 
who want to use a less network heavy protocol without being forced to 
change server technologies and/or buy servlet gateways at $999/CPU.
I don't expect Adobe to do everything or that they will make every 
change completely painless. However, I do believe APIs should be 
gracefully retired whenever possible  instead of just evaporating.
I would like to see NetConnection.addHeader implemented and hope that 
converting to Flex 2 standalone with Coldfusion is not as difficult as 
it looks to me right now.
Finally, anyone using remoting will recall going through a lot of API 
changes with two releases of Flash. Those changes were less than optimal 
for maintaining production software. During all these changes I was able 
to fall back on the NetConnection.call method and RecordSet classes. I'm 
not sure I can even do that now.
Of course this is an alpha and I still have a lot to learn about Flex 2 
and the various server-side options available to me. But I am concerned 
about what using Flex 2 will do to my existing applications and how much 
work will be involved in a conversion if I decide to go that way.
Anything that clarrifies this at a technical - rather than a political 
level - would be hugely appreciated!
Yours truly,
-Brian

Jeff Tapper wrote:

>I dont recall MM championing AMFPHP, OpenAMF or any of the other 3rd party 
>hacks to work with their proprietary AMF protocol.  Perhaps I'm wrong, if 
>so, I'd love to see the references
>
>Anyhow, Those open source alternatives were specifically built for AMF1, 
>Flex 2 RemoteObject uses AMF2.  If you want AMF1, take a look at Renaun's 
>solution.
>
>I wouldnt be surprised if the opensource community eventually caught up and 
>released versions for AMF2, but its really hard to blame Macromedia for 
>someone elses gateways not supporting their latest versions...
>
>I dont blame MTASC for not compiling for the Flash 8.5 player.  They will 
>probably get their eventually, but still do a wonderful job for FP7 and FP8
>
>
>At 02:18 PM 12/15/2005, hank williams wrote:
>  
>
>>Dave,
>>
>>When you said POJO, I interpreted that as Plain Old Java Object.
>>Correct me if I missunderstood, but thats where I got the Java
>>reference from.
>>
>>With more clarity, I understand your argument about it being possible
>>to expose php code using web services.
>>
>>But I really think that regardless of which is better (I have my way
>>you have yours) that there is no good reason under the sun to be
>>*forced* out of using a technology that macromedia championed and
>>still does today with just a minor shift so the old stuff will be
>>incompatible.
>>
>>Sorry if I am a little irritable on this subject, but I just think
>>that what macromedia has done here, regardless of the web
>>services/remoting benefits borders generates alot of mistrust in the
>>developer community. I know it does with me anyway.
>>
>>Regards
>>Hank.
>>
>>On 12/15/05, Dave Wolf <[EMAIL PROTECTED]> wrote:
>>
>>
>>>A few thoughts.
>>>
>>>1) I didnt imply Java anywhere in my question/suggestion/answer?
>>>Pretty much every servant technology today supports exposing language
>>>artifacts as web services without any code refactoring.  This is true
>>>of Java, PHP, .NET, heck even PowerBuilder.  Its actually a really
>>>important point I think folks don't know.  Take Java (as just a single
>>>example).  If you hava Java class exposed as a RemoteObject (only Java
>>>and CFC supported as remtoe object via Flex1.5 now) did you know that
>>>you can expose that *exact same* java class as a web service with
>>>*zero* code changes to the class?  Yup.  It takes something like 2
>>>minutes of total work to do.  You can try it youself with something
>>>like the restaurant example.  We had a new guy do that just this week.
>>> He redid the restaurant example to be all web services in basically
>>>no time flat.
>>>
>>>Thats why I asked the question.  Step back and consider the fact you
>>>could expose your PHP, or whatever, as a web service, totally drop any
>>>dependancy on needing a server proxy at all, regardless of what
>>>vendors proxy.
>>>
>>>2

Re: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-15 Thread hank williams
On 12/15/05, Jeff Tapper <[EMAIL PROTECTED]> wrote:
> I dont recall MM championing AMFPHP, OpenAMF or any of the other 3rd party
> hacks to work with their proprietary AMF protocol.  Perhaps I'm wrong, if
> so, I'd love to see the references
>
> Anyhow, Those open source alternatives were specifically built for AMF1,
> Flex 2 RemoteObject uses AMF2.  If you want AMF1, take a look at Renaun's
> solution.

Fine what about *their own* AMF product? So if I bought flash remoting
for $1000 from macromedia, I should just be dead in the water with an
orphaned product. I should be required to switch to cold fusion or
FDS?

Puleezz.

Hank



>
> I wouldnt be surprised if the opensource community eventually caught up and
> released versions for AMF2, but its really hard to blame Macromedia for
> someone elses gateways not supporting their latest versions...
>
> I dont blame MTASC for not compiling for the Flash 8.5 player.  They will
> probably get their eventually, but still do a wonderful job for FP7 and FP8
>
>
> At 02:18 PM 12/15/2005, hank williams wrote:
> >Dave,
> >
> >When you said POJO, I interpreted that as Plain Old Java Object.
> >Correct me if I missunderstood, but thats where I got the Java
> >reference from.
> >
> >With more clarity, I understand your argument about it being possible
> >to expose php code using web services.
> >
> >But I really think that regardless of which is better (I have my way
> >you have yours) that there is no good reason under the sun to be
> >*forced* out of using a technology that macromedia championed and
> >still does today with just a minor shift so the old stuff will be
> >incompatible.
> >
> >Sorry if I am a little irritable on this subject, but I just think
> >that what macromedia has done here, regardless of the web
> >services/remoting benefits borders generates alot of mistrust in the
> >developer community. I know it does with me anyway.
> >
> >Regards
> >Hank.
> >
> >On 12/15/05, Dave Wolf <[EMAIL PROTECTED]> wrote:
> > >
> > > A few thoughts.
> > >
> > > 1) I didnt imply Java anywhere in my question/suggestion/answer?
> > > Pretty much every servant technology today supports exposing language
> > > artifacts as web services without any code refactoring.  This is true
> > > of Java, PHP, .NET, heck even PowerBuilder.  Its actually a really
> > > important point I think folks don't know.  Take Java (as just a single
> > > example).  If you hava Java class exposed as a RemoteObject (only Java
> > > and CFC supported as remtoe object via Flex1.5 now) did you know that
> > > you can expose that *exact same* java class as a web service with
> > > *zero* code changes to the class?  Yup.  It takes something like 2
> > > minutes of total work to do.  You can try it youself with something
> > > like the restaurant example.  We had a new guy do that just this week.
> > >  He redid the restaurant example to be all web services in basically
> > > no time flat.
> > >
> > > Thats why I asked the question.  Step back and consider the fact you
> > > could expose your PHP, or whatever, as a web service, totally drop any
> > > dependancy on needing a server proxy at all, regardless of what
> > > vendors proxy.
> > >
> > > 2) I agree the thread on web service vs remote object has been
> > > discussed over and over.  But there are new folks joining these ranks
> > > every day, and the question is still very much open.  Like in all
> > > debates everyone will pick a side.  I think its pretty clear we prefer
> > > web services over remote object, and have that decision based on many
> > > points which we have often discussed.  More so our decision is
> > > validated by quite major production deployments of Flex solutions.
> > > Our opinion is, given the choice, we tend to prefer a web service. Its
> > > just that.  An opinion.
> > >
> > > In either case, I just wanted to present the option to the questioner.
> > >  WebServices might actually be a great way to solve his issue, without
> > > the risk of bringing in an unsupported third party product, and
> > > without any license cost at all.  I didnt feel a suggestion like that
> > > was off topic.  Apologies if it was seen that way.
> > >
> > > -
> > > Dave Wolf
> > > Cynergy Systems, Inc.
> > > Macromedia Flex Alliance Partner
> > > http://www.cynergysystems.com
> > >
> > > Email: [EMAIL PROTECTED]
> > > Office: 866-CYNERGY
> > >
> > >
> > > --- In flexcoders@yahoogroups.com, hank williams <[EMAIL PROTECTED]> 
> > > wrote:
> > > >
> > > > Hmm...
> > > >
> > > > Thats an interesting response.
> > > >
> > > > So all of us who have developed solutions with remoting really didnt
> > > > need it anyway.
> > > >
> > > > Aside from the fact that he was asking about amphp which has nothing
> > > > to do with java, remoting does offer benefits over web services (aside
> > > > from avoiding the reconfiguring ones server side implementation) which
> > > > have been debated and discussed ad infinitum

[flexcoders] Re: passing Map from Flex to server side

2005-12-15 Thread jgraham_us
  public static var regClass = 
Object.registerClass("testuser.Test",  views.testuser.Test);

Thats the actual line.  I just made a mistake when typing in the 
psuedo code below.

The weird part is, if I build the Object on the client side and send 
it across to the server it appears to work.  

I can look at the objects in the debugger and compare them and I 
can't see any difference between them.  

Is there a way to figure out more details as to which object it is 
failing on when sending back to the server?

The error message is not very detailed, I get two different errors 
on the client side.

One is an error about converting the input type, and the other is it 
was expecting type testuser.Test but was trying to send 
flashgateway.io.ASObject.

Thanks

--- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> 
wrote:
>
> Can you double check your usage of Object.registerClass?
> 
> Object.registerClass("testuser.Test","Test");
> 
> Should be
> 
> Object.registerClass("testuser.Test", Test);
>  
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of jgraham_us
> Sent: Thursday, December 15, 2005 2:25 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: passing Map from Flex to server side
> 
> Going from server to client appears to be working fine.  My server
> classes do not implement Map or Collection.  I have tried very 
simple
> cases, and the Maps are not empty.
> 
> Here is an example.
> 
> Test.java
> --
> package testuser;
> 
> public class Test{
> 
>Map users;
> 
>Map getUsers() {
>  ...
>}
> 
>void setUsers(Map users) {
>  ...
>}
> 
> }
> ---
> 
> Test.as
> ---
> class Test
> {
> Object.registerClass("testuser.Test","Test");
> 
> var users : Array;
> 
> ... 
> }
> 
> So are you saying that my object on the server side, users must be 
of
> type ASObject, or do I have to implement some intermediate type 
then
> build my server side Test object from this intermediate type that 
is an
> ASObject?
> 
> Basically I need to get the Test object on the client side possibly
> update it and then send that same object back and have it be a Test
> (server side object) when I get it back on the server.  
> 
> Thanks
> --- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]>
> wrote:
> >
> > 
> > Note that while you can register classes using ActionScript on 
the 
> > client for serialization... there's no way to "register" a Java
> class on
> > the server. Your server type must not implement Map or Collection
> as
> > these types already have firm rules for server to client
> serialization.
> > 
> > This may be something to log for consideration for Flex 2.0.
> > 
> > 
> > Alternatively, any chance are you returning empty Maps in any of
> the
> > properties? 
> > 
> > I ask because the following special case may occur:
> > 
> > Empty Java Map -> Empty AS Associative Array -> Empty Java List
> > 
> > This is because there's no distinction between an empty dense,
> ordinal,
> > i.e. normal AS Array and an empty AS Associative Array (i.e. 
> they're the
> > thing, just an empty Array) and thus Array -> List.
> > 
> > I'd contact Flex Support if you need a solution to the latter for
> Flex
> > 1.5. We've worked with customers on this problem.
> > 
> > (NB: After several customer requests, Flex 1.5 reverted back to
> match
> > the legacy behavior from Flash Remoting's convention of returning
> a Java
> > Map as an associative Array instead of an Object... which
> historically
> > stems from ColdFusionStructs being return as AS Associative 
Arrays 
> > (...and note Flex 1.0 had Maps returned as Objects).
> > 
> > In Flex 2.0 we've again moved to have Java Maps returned as AS
> Objects
> > by default (with a configuration option for people who wish to go
> back
> > to the old Arrays... but note this something that we would
> discourage in
> > Flex 2.0 due to the issue described above).
> > 
> > 
> >  
> > 
> > -Original Message-
> > From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On
> > Behalf Of jgraham_us
> > Sent: Thursday, December 15, 2005 12:23 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] passing Map from Flex to server side
> > 
> > Using remote objects stuff, I am able to pass my object which
> contains a
> > Map object from server to flex, but when I try to send that 
object 
> > back it doesn't work.   
> > 
> > Set objects work, but Map objects don't.
> > 
> > 
> > On the AS side my Map is defined as an Array in the AS object.
> > 
> > On the server side it is a Map object.
> > 
> > I have a registerClass call to map the AS object to the java
> object.
> > 
> > Can anyone help me out or point me to any examples of how to do
> this?  
> > 
> > Thanks
> > 
> > 
> > 

Re: [flexcoders] Re: Empty Arrays Returned from CFC

2005-12-15 Thread Tariq Ahmed






Hey Brad, have you tried using the NetConnection Debugger or Flash/Flex
Trace panel to see what the data looks like coming into Flash?

Flex Trace Panel:
http://www.richinternet.de/blog/index.cfm?mode=entry&entry=8F0C9A56-D3C1-55A6-0EAE917D5A7E6D86

Flash debug panel:
http://www.bit-101.com/blog/archives/000170.html

Flash 7 Trace Viewer:
http://www.alexisisaac.net/content/view/15/28/




bdardaganian wrote:

  Thanks Matt...
I have tried using this function to create an array of structures, 
but only get an array of empty elements.  The array itself is the 
correct length, but each element contains no data.  I can return an 
array of arrays, but if I try to make it an array of structures, it 
doesn't work, hence my frustration.  I'm wondering if there is 
something amiss with my gateway or something else that is wrong.

Any clues?

Brad

--- In flexcoders@yahoogroups.com, "Matt Boles" <[EMAIL PROTECTED]> wrote:
  
  
Brad-

I always have good luck converting the query into an array of
structures.  And here is a link to a UDF to do the work:
http://www.cflib.org/udf.cfm?id=10

 

In Flex you then have an ActionScript array of objects.

-Matt

 

 



From: flexcoders@yahoogroups.com 

  
  [mailto:flexcoders@yahoogroups.com] On
  
  
Behalf Of bsd
Sent: Wednesday, December 14, 2005 11:31 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Empty Arrays Returned from CFC

 

 

I have a CFC that calls a complex query, one that in Cold Fusion I 

  
  would
  
  
parse through using grouping in my cfoutput.  When I've tried 

  
  passing
  
  
this query back into Flex, I'm getting less than desirable 

  
  results.  I
  
  
can pass the query back, but AS doesn't have a neat way to parse 

  
  through
  
  
the results as I would do with grouped query outputs in CF.  I've 

  
  tried
  
  
putting the results of the query into a structure and passing that 

  
  back,
  
  
either as a structure or as an array of structures.  When I do 

  
  this, all
  
  
I get are empty arrays.. no data whatsoever, even though when I use
dumpToFile to view the actual data structures, all the data is 

  
  there.
  
  
 

Any ideas?  Suggestions?  

 

Any help is appreciated.

 


Thanks,
Brad

 



  







--
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



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  














RE: [flexcoders] rowRenderer

2005-12-15 Thread Carolyn Cole




Matt,
It Worked Like a charm Thanks!
-- Carolyn
At 11:11 PM 12/14/2005, you wrote:
Shouldn't your
super.setValue call be the first line of the method no
matter what (above the if)?  Also I'm not sure if it would make
a
difference to compare if (item != null) instead of if (item !=
undefined).
Matt
-Original Message-
From: flexcoders@yahoogroups.com
[
mailto:flexcoders@yahoogroups.com] On
Behalf Of Carolyn Cole
Sent: Wednesday, December 14, 2005 7:05 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] rowRenderer
Hello,
I am currently trying to implement the CheckRowRenderer and get it to

actually work.
I took the code from the tutorial and modified it to be able to show
the
open/close icon and the  check box.  I also added some code to
destroy
the 
check box in setValue if the item is undefined so you would not get the

"extra" boxes on the screen before you rolled over
them.
Generally it seemed to work until I tried to modify the data being 
displayed in the Tree.
Once the data is changed some of the old data still displays until
it
get 
scrolled off the screen.
I am guessing I need to destroy the check box at another time, but I
can't 
figure out when.
I have attached the mxml and as that I am using.
Any ideas would be appreciated.
Thanks!
-- Carolyn

--
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



--
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 

 Visit your group
"flexcoders
" on the web.
  
 To unsubscribe from this group, send an email to:

 
[EMAIL PROTECTED]
  
 Your use of Yahoo! Groups is subject to the
Yahoo! Terms of
Service. 








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] Re: SOAP error

2005-12-15 Thread Jason Doyle
Ok, I think my error lies in my array. If I pass a simple array it works, but 
as soon as I pass an array of objects, it breaks. Could it me a mal formed 
array? Here is how I am createing my array of objects:

aAssignments = new Array();

for(var i = 0; i  
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Can you do a slideshow with flex

2005-12-15 Thread Tariq Ahmed






Sure, that would be pretty basic. Check this out:

http://weblogs.macromedia.com/pent/archives/2005/11/flex_15_flickr.cfm



[EMAIL PROTECTED] wrote:

  
  
  For example lets say I want to make a page that has a slide show
like this page?
  http://www.mountainscapes.net/portfolio/before_after/ms52.php
   
  When you click on the thing that says Next Image a different
image comes up is it possible to do in Flex?
   









--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  














[flexcoders] Can someone show me a password application

2005-12-15 Thread nostra72




I am trying to develop a good password application to protect information and I was wondering if anyone knew of one I could look at? Something that would allow several people to use the same web page but them each having different passwords.
 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-15 Thread Jeff Tapper
I dont recall MM championing AMFPHP, OpenAMF or any of the other 3rd party 
hacks to work with their proprietary AMF protocol.  Perhaps I'm wrong, if 
so, I'd love to see the references

Anyhow, Those open source alternatives were specifically built for AMF1, 
Flex 2 RemoteObject uses AMF2.  If you want AMF1, take a look at Renaun's 
solution.

I wouldnt be surprised if the opensource community eventually caught up and 
released versions for AMF2, but its really hard to blame Macromedia for 
someone elses gateways not supporting their latest versions...

I dont blame MTASC for not compiling for the Flash 8.5 player.  They will 
probably get their eventually, but still do a wonderful job for FP7 and FP8


At 02:18 PM 12/15/2005, hank williams wrote:
>Dave,
>
>When you said POJO, I interpreted that as Plain Old Java Object.
>Correct me if I missunderstood, but thats where I got the Java
>reference from.
>
>With more clarity, I understand your argument about it being possible
>to expose php code using web services.
>
>But I really think that regardless of which is better (I have my way
>you have yours) that there is no good reason under the sun to be
>*forced* out of using a technology that macromedia championed and
>still does today with just a minor shift so the old stuff will be
>incompatible.
>
>Sorry if I am a little irritable on this subject, but I just think
>that what macromedia has done here, regardless of the web
>services/remoting benefits borders generates alot of mistrust in the
>developer community. I know it does with me anyway.
>
>Regards
>Hank.
>
>On 12/15/05, Dave Wolf <[EMAIL PROTECTED]> wrote:
> >
> > A few thoughts.
> >
> > 1) I didnt imply Java anywhere in my question/suggestion/answer?
> > Pretty much every servant technology today supports exposing language
> > artifacts as web services without any code refactoring.  This is true
> > of Java, PHP, .NET, heck even PowerBuilder.  Its actually a really
> > important point I think folks don't know.  Take Java (as just a single
> > example).  If you hava Java class exposed as a RemoteObject (only Java
> > and CFC supported as remtoe object via Flex1.5 now) did you know that
> > you can expose that *exact same* java class as a web service with
> > *zero* code changes to the class?  Yup.  It takes something like 2
> > minutes of total work to do.  You can try it youself with something
> > like the restaurant example.  We had a new guy do that just this week.
> >  He redid the restaurant example to be all web services in basically
> > no time flat.
> >
> > Thats why I asked the question.  Step back and consider the fact you
> > could expose your PHP, or whatever, as a web service, totally drop any
> > dependancy on needing a server proxy at all, regardless of what
> > vendors proxy.
> >
> > 2) I agree the thread on web service vs remote object has been
> > discussed over and over.  But there are new folks joining these ranks
> > every day, and the question is still very much open.  Like in all
> > debates everyone will pick a side.  I think its pretty clear we prefer
> > web services over remote object, and have that decision based on many
> > points which we have often discussed.  More so our decision is
> > validated by quite major production deployments of Flex solutions.
> > Our opinion is, given the choice, we tend to prefer a web service. Its
> > just that.  An opinion.
> >
> > In either case, I just wanted to present the option to the questioner.
> >  WebServices might actually be a great way to solve his issue, without
> > the risk of bringing in an unsupported third party product, and
> > without any license cost at all.  I didnt feel a suggestion like that
> > was off topic.  Apologies if it was seen that way.
> >
> > -
> > Dave Wolf
> > Cynergy Systems, Inc.
> > Macromedia Flex Alliance Partner
> > http://www.cynergysystems.com
> >
> > Email: [EMAIL PROTECTED]
> > Office: 866-CYNERGY
> >
> >
> > --- In flexcoders@yahoogroups.com, hank williams <[EMAIL PROTECTED]> wrote:
> > >
> > > Hmm...
> > >
> > > Thats an interesting response.
> > >
> > > So all of us who have developed solutions with remoting really didnt
> > > need it anyway.
> > >
> > > Aside from the fact that he was asking about amphp which has nothing
> > > to do with java, remoting does offer benefits over web services (aside
> > > from avoiding the reconfiguring ones server side implementation) which
> > > have been debated and discussed ad infinitum and I will not restate
> > > here.
> > >
> > > Regards
> > > Hank
> > >
> > > On 12/15/05, Dave Wolf <[EMAIL PROTECTED]> wrote:
> > > >
> > > > I don't understand why you can't simply use  to
> > > > replace  in most cases.  Using AXIS you can use the
> > > > exact same POJO you might have used in a  and do so
> > > > without the need for any gateway.
> > > >
> > > > -
> > > > Dave Wolf
> > > > Cynergy Systems, Inc.
> > > > Macromedia Flex Alliance Partner
> > > > 

RE: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-15 Thread Peter Farland

You need to subclass flash.net.Responder and provide an implementation
of a method with the same name as the AMF header.

public function AppendToGatewayUrl(append:String):Void
{
//Append value to NetConnection URL.
}


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Renaun Erickson
Sent: Thursday, December 15, 2005 3:12 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex2 and Amfphp is it possible ?

Read my blog at http://renaun.com/blog/?p=8

It is possible but not with the RemoteObject, you use the
flash.net.NetConnection class directly.

I tried setting up an adapater with the flex-services.xml method and the
new RemoteObject "destination" attribute with channels and all but
didn't get to far.

Renaun

--- In flexcoders@yahoogroups.com, Flapflap <[EMAIL PROTECTED]> wrote:
>
> Hi there,
> 
> Because RemoteObject isn't available on Alpha is there a way to use
flex 
> 2 with amf php ?
> 
> Thanks...
> 
> By the way : Hello World !
>  I'm new to this list.
> --
> Flapflap
>







 Yahoo! Groups Sponsor ~-->
Most low income homes are not online. Make a difference this holiday
season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
~-> 

--
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



 




 Yahoo! Groups Sponsor ~--> 
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/.QUssC/izNLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-15 Thread Renaun Erickson
I would agree with Hank on the uncertainity of how DataServices and
RPC services will play out and the ease of using arbitrary gateways
without having to go through so many configure files.  On the flip
side though there are some reasons why destination/channel method is
good, abstracted config files, security settings control, etc... of
course I am waiting to see how all this plays out to really understand
whats going to be the final product.

Renaun

--- In flexcoders@yahoogroups.com, hank williams <[EMAIL PROTECTED]> wrote:
>
> Dave,
> 
> When you said POJO, I interpreted that as Plain Old Java Object.
> Correct me if I missunderstood, but thats where I got the Java
> reference from.
> 
> With more clarity, I understand your argument about it being possible
> to expose php code using web services.
> 
> But I really think that regardless of which is better (I have my way
> you have yours) that there is no good reason under the sun to be
> *forced* out of using a technology that macromedia championed and
> still does today with just a minor shift so the old stuff will be
> incompatible.
> 
> Sorry if I am a little irritable on this subject, but I just think
> that what macromedia has done here, regardless of the web
> services/remoting benefits borders generates alot of mistrust in the
> developer community. I know it does with me anyway.
> 
> Regards
> Hank.
> 
> On 12/15/05, Dave Wolf <[EMAIL PROTECTED]> wrote:
> >
> > A few thoughts.
> >
> > 1) I didnt imply Java anywhere in my question/suggestion/answer?
> > Pretty much every servant technology today supports exposing language
> > artifacts as web services without any code refactoring.  This is true
> > of Java, PHP, .NET, heck even PowerBuilder.  Its actually a really
> > important point I think folks don't know.  Take Java (as just a single
> > example).  If you hava Java class exposed as a RemoteObject (only Java
> > and CFC supported as remtoe object via Flex1.5 now) did you know that
> > you can expose that *exact same* java class as a web service with
> > *zero* code changes to the class?  Yup.  It takes something like 2
> > minutes of total work to do.  You can try it youself with something
> > like the restaurant example.  We had a new guy do that just this week.
> >  He redid the restaurant example to be all web services in basically
> > no time flat.
> >
> > Thats why I asked the question.  Step back and consider the fact you
> > could expose your PHP, or whatever, as a web service, totally drop any
> > dependancy on needing a server proxy at all, regardless of what
> > vendors proxy.
> >
> > 2) I agree the thread on web service vs remote object has been
> > discussed over and over.  But there are new folks joining these ranks
> > every day, and the question is still very much open.  Like in all
> > debates everyone will pick a side.  I think its pretty clear we prefer
> > web services over remote object, and have that decision based on many
> > points which we have often discussed.  More so our decision is
> > validated by quite major production deployments of Flex solutions.
> > Our opinion is, given the choice, we tend to prefer a web service. Its
> > just that.  An opinion.
> >
> > In either case, I just wanted to present the option to the questioner.
> >  WebServices might actually be a great way to solve his issue, without
> > the risk of bringing in an unsupported third party product, and
> > without any license cost at all.  I didnt feel a suggestion like that
> > was off topic.  Apologies if it was seen that way.
> >
> > -
> > Dave Wolf
> > Cynergy Systems, Inc.
> > Macromedia Flex Alliance Partner
> > http://www.cynergysystems.com
> >
> > Email: [EMAIL PROTECTED]
> > Office: 866-CYNERGY
> >
> >
> > --- In flexcoders@yahoogroups.com, hank williams <[EMAIL PROTECTED]> wrote:
> > >
> > > Hmm...
> > >
> > > Thats an interesting response.
> > >
> > > So all of us who have developed solutions with remoting really didnt
> > > need it anyway.
> > >
> > > Aside from the fact that he was asking about amphp which has nothing
> > > to do with java, remoting does offer benefits over web services
(aside
> > > from avoiding the reconfiguring ones server side implementation)
which
> > > have been debated and discussed ad infinitum and I will not restate
> > > here.
> > >
> > > Regards
> > > Hank
> > >
> > > On 12/15/05, Dave Wolf <[EMAIL PROTECTED]> wrote:
> > > >
> > > > I don't understand why you can't simply use  to
> > > > replace  in most cases.  Using AXIS you can
use the
> > > > exact same POJO you might have used in a 
and do so
> > > > without the need for any gateway.
> > > >
> > > > -
> > > > Dave Wolf
> > > > Cynergy Systems, Inc.
> > > > Macromedia Flex Alliance Partner
> > > > http://www.cynergysystems.com
> > > >
> > > > Email: [EMAIL PROTECTED]
> > > > Office: 866-CYNERGY
> > > >
> > > >
> > > >
> > > >
> > > > --- In flexcoders@yahoogroups.com, hank williams
<[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > As far as I know there is 

[flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-15 Thread Renaun Erickson
Read my blog at http://renaun.com/blog/?p=8

It is possible but not with the RemoteObject, you use the
flash.net.NetConnection class directly.

I tried setting up an adapater with the flex-services.xml method and
the new RemoteObject "destination" attribute with channels and all but
didn't get to far.

Renaun

--- In flexcoders@yahoogroups.com, Flapflap <[EMAIL PROTECTED]> wrote:
>
> Hi there,
> 
> Because RemoteObject isn't available on Alpha is there a way to use
flex 
> 2 with amf php ?
> 
> Thanks...
> 
> By the way : Hello World !
>  I'm new to this list.
> --
> Flapflap
>







 Yahoo! Groups Sponsor ~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-15 Thread Dave Wolf

Hank,

Ah, ok I did say POJO.  I think it was a slip up.  As an old Java guy
you often tend to just run home to momma so to speak.  Plus, the
acronym for Plain Old Object isn't exactly Well, you know.

As for the business side of that?  I'll step back and let Adobe take
that bait.

-- 
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com

Email: [EMAIL PROTECTED]
Office: 866-CYNERGY



--- In flexcoders@yahoogroups.com, hank williams <[EMAIL PROTECTED]> wrote:
>
> Dave,
> 
> When you said POJO, I interpreted that as Plain Old Java Object.
> Correct me if I missunderstood, but thats where I got the Java
> reference from.
> 
> With more clarity, I understand your argument about it being possible
> to expose php code using web services.
> 
> But I really think that regardless of which is better (I have my way
> you have yours) that there is no good reason under the sun to be
> *forced* out of using a technology that macromedia championed and
> still does today with just a minor shift so the old stuff will be
> incompatible.
> 
> Sorry if I am a little irritable on this subject, but I just think
> that what macromedia has done here, regardless of the web
> services/remoting benefits borders generates alot of mistrust in the
> developer community. I know it does with me anyway.
> 
> Regards
> Hank.
> 
> On 12/15/05, Dave Wolf <[EMAIL PROTECTED]> wrote:
> >
> > A few thoughts.
> >
> > 1) I didnt imply Java anywhere in my question/suggestion/answer?
> > Pretty much every servant technology today supports exposing language
> > artifacts as web services without any code refactoring.  This is true
> > of Java, PHP, .NET, heck even PowerBuilder.  Its actually a really
> > important point I think folks don't know.  Take Java (as just a single
> > example).  If you hava Java class exposed as a RemoteObject (only Java
> > and CFC supported as remtoe object via Flex1.5 now) did you know that
> > you can expose that *exact same* java class as a web service with
> > *zero* code changes to the class?  Yup.  It takes something like 2
> > minutes of total work to do.  You can try it youself with something
> > like the restaurant example.  We had a new guy do that just this week.
> >  He redid the restaurant example to be all web services in basically
> > no time flat.
> >
> > Thats why I asked the question.  Step back and consider the fact you
> > could expose your PHP, or whatever, as a web service, totally drop any
> > dependancy on needing a server proxy at all, regardless of what
> > vendors proxy.
> >
> > 2) I agree the thread on web service vs remote object has been
> > discussed over and over.  But there are new folks joining these ranks
> > every day, and the question is still very much open.  Like in all
> > debates everyone will pick a side.  I think its pretty clear we prefer
> > web services over remote object, and have that decision based on many
> > points which we have often discussed.  More so our decision is
> > validated by quite major production deployments of Flex solutions.
> > Our opinion is, given the choice, we tend to prefer a web service. Its
> > just that.  An opinion.
> >
> > In either case, I just wanted to present the option to the questioner.
> >  WebServices might actually be a great way to solve his issue, without
> > the risk of bringing in an unsupported third party product, and
> > without any license cost at all.  I didnt feel a suggestion like that
> > was off topic.  Apologies if it was seen that way.
> >
> > -
> > Dave Wolf
> > Cynergy Systems, Inc.
> > Macromedia Flex Alliance Partner
> > http://www.cynergysystems.com
> >
> > Email: [EMAIL PROTECTED]
> > Office: 866-CYNERGY
> >
> >
> > --- In flexcoders@yahoogroups.com, hank williams <[EMAIL PROTECTED]> wrote:
> > >
> > > Hmm...
> > >
> > > Thats an interesting response.
> > >
> > > So all of us who have developed solutions with remoting really didnt
> > > need it anyway.
> > >
> > > Aside from the fact that he was asking about amphp which has nothing
> > > to do with java, remoting does offer benefits over web services
(aside
> > > from avoiding the reconfiguring ones server side implementation)
which
> > > have been debated and discussed ad infinitum and I will not restate
> > > here.
> > >
> > > Regards
> > > Hank
> > >
> > > On 12/15/05, Dave Wolf <[EMAIL PROTECTED]> wrote:
> > > >
> > > > I don't understand why you can't simply use  to
> > > > replace  in most cases.  Using AXIS you can
use the
> > > > exact same POJO you might have used in a 
and do so
> > > > without the need for any gateway.
> > > >
> > > > -
> > > > Dave Wolf
> > > > Cynergy Systems, Inc.
> > > > Macromedia Flex Alliance Partner
> > > > http://www.cynergysystems.com
> > > >
> > > > Email: [EMAIL PROTECTED]
> > > > Office: 866-CYNERGY
> > > >
> > > >
> > > >
> > > >
> > > > --- In flexcoders@yahoogroups.com, hank williams
<[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > As far as I know there is not yet.
> > > > >
> 

[flexcoders] Re: I have a TextArea CSS question

2005-12-15 Thread Dan Plesse
I guess I cannot do it the old way but by using occam's razor I just 
used plain old HTML for font coloring 

chatOutboundWindow.htmlText += " " +
chatRoster.selectedItem.data + " said to: " +
connection.getJID().split("/")[1] + "
" +thisXML.firstChild.childNodes[1].childNodes[0].nodeValue+"";

I kind of wanted to stay with the old way via a CSS custom tag as seen 
below. 


--- In flexcoders@yahoogroups.com, "Dan Plesse" <[EMAIL PROTECTED]> wrote:
>
> hello flexers, 
> 
>   With my flash Jabber app the TextArea has different colors and fonts 
>  for each chat user and even the messages where color  coded using a 
>  CSS file which looked like this: 
> 
>   message {
>   color:#FF;
>   font-family:Verdana, Arial, Helvetica, sans-serif;
>   font-size: 12px;
>   display: block;
> } 
> 
> tofrom {
>   color:#FF;
>   font-family:Verdana, Arial, Helvetica, sans-serif;
>   font-size: 12px;
>   display: block;
>   background-color:#FFCCFF;
> }
> 
>  Could I do something like textArea.message?
> 
>  A Jabber message body looks like this: 
>  
>  textArea.text +="["+connection.getJID().split("/")[1]+"
> said:]"+hello2+"";
> 
> I was wondering how this could be done inside a flex textArea GUI. 
> 
> Dan
>






 Yahoo! Groups Sponsor ~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Selection.setSelection Issue

2005-12-15 Thread Brian McPheeters
Here is my code. I have tried this with 7,0,35,29 on IE and Firefox. Seems like 
some event is changing the Selection after I set it.
 
 

http://www.macromedia.com/2003/mxml";>
 
  
 
 
 
  
   
Macromedia Flex
Macromedia Dreamweaver
Macromedia ColdFusion
Macromedia Flash
   
   
 




From: flexcoders@yahoogroups.com on behalf of Abdul Qabiz
Sent: Thu 12/15/2005 11:03 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Selection.setSelection Issue


Hi,
 
Can you please post the sample code, how are you doing?
 
I think, it should work. Which version of Flash Player you are testing it in?
 
-abdul



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brian 
McPheeters
Sent: Thursday, December 15, 2005 1:27 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Selection.setSelection Issue


I am storing the current selected indexes of my TextArea so when certain events 
happen on other controls I can setFocus back to the TextArea and set the 
selectedText back to where it was. When I do this the highlighted text is not 
the same as the positions I submitted but the indexes seem to get set to -1,-1. 
Anyone dealt with this before?
 
Brian


--
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 



*Visit your group "flexcoders 
 " on the web.
  
*To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]  
  
*Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service 
 . 







 Yahoo! Groups Sponsor ~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 
<>

RE: [flexcoders] Re: passing Map from Flex to server side

2005-12-15 Thread Peter Farland
Can you double check your usage of Object.registerClass?

Object.registerClass("testuser.Test","Test");

Should be

Object.registerClass("testuser.Test", Test);
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jgraham_us
Sent: Thursday, December 15, 2005 2:25 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: passing Map from Flex to server side

Going from server to client appears to be working fine.  My server
classes do not implement Map or Collection.  I have tried very simple
cases, and the Maps are not empty.

Here is an example.

Test.java
--
package testuser;

public class Test{

   Map users;

   Map getUsers() {
 ...
   }

   void setUsers(Map users) {
 ...
   }

}
---

Test.as
---
class Test
{
Object.registerClass("testuser.Test","Test");

var users : Array;

... 
}

So are you saying that my object on the server side, users must be of
type ASObject, or do I have to implement some intermediate type then
build my server side Test object from this intermediate type that is an
ASObject?

Basically I need to get the Test object on the client side possibly
update it and then send that same object back and have it be a Test
(server side object) when I get it back on the server.  

Thanks
--- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]>
wrote:
>
> 
> Note that while you can register classes using ActionScript on the 
> client for serialization... there's no way to "register" a Java
class on
> the server. Your server type must not implement Map or Collection
as
> these types already have firm rules for server to client
serialization.
> 
> This may be something to log for consideration for Flex 2.0.
> 
> 
> Alternatively, any chance are you returning empty Maps in any of
the
> properties? 
> 
> I ask because the following special case may occur:
> 
> Empty Java Map -> Empty AS Associative Array -> Empty Java List
> 
> This is because there's no distinction between an empty dense,
ordinal,
> i.e. normal AS Array and an empty AS Associative Array (i.e. 
they're the
> thing, just an empty Array) and thus Array -> List.
> 
> I'd contact Flex Support if you need a solution to the latter for
Flex
> 1.5. We've worked with customers on this problem.
> 
> (NB: After several customer requests, Flex 1.5 reverted back to
match
> the legacy behavior from Flash Remoting's convention of returning
a Java
> Map as an associative Array instead of an Object... which
historically
> stems from ColdFusionStructs being return as AS Associative Arrays 
> (...and note Flex 1.0 had Maps returned as Objects).
> 
> In Flex 2.0 we've again moved to have Java Maps returned as AS
Objects
> by default (with a configuration option for people who wish to go
back
> to the old Arrays... but note this something that we would
discourage in
> Flex 2.0 due to the issue described above).
> 
> 
>  
> 
> -Original Message-
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> Behalf Of jgraham_us
> Sent: Thursday, December 15, 2005 12:23 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] passing Map from Flex to server side
> 
> Using remote objects stuff, I am able to pass my object which
contains a
> Map object from server to flex, but when I try to send that object 
> back it doesn't work.   
> 
> Set objects work, but Map objects don't.
> 
> 
> On the AS side my Map is defined as an Array in the AS object.
> 
> On the server side it is a Map object.
> 
> I have a registerClass call to map the AS object to the java
object.
> 
> Can anyone help me out or point me to any examples of how to do
this?  
> 
> Thanks
> 
> 
> 
> 
> 
> 
>  Yahoo! Groups Sponsor 
~-->
> Most low income homes are not online. Make a difference this
holiday
> season!
> http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
> ---
-~-> 
> 
> --
> 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
>






 Yahoo! Groups Sponsor ~-->
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/.QUssC/izNLAA/TtwFAA/nhFolB/TM
~-> 

--
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



 





 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com

[flexcoders] Re: passing Map from Flex to server side

2005-12-15 Thread jgraham_us
Going from server to client appears to be working fine.  My server 
classes do not implement Map or Collection.  I have tried very 
simple cases, and the Maps are not empty.

Here is an example.

Test.java
--
package testuser;

public class Test{

   Map users;

   Map getUsers() {
 ...
   }

   void setUsers(Map users) {
 ...
   }

}
---

Test.as
---
class Test
{
Object.registerClass("testuser.Test","Test");

var users : Array;

... 
}

So are you saying that my object on the server side, users must be 
of type ASObject, or do I have to implement some intermediate type 
then build my server side Test object from this intermediate type 
that is an ASObject?

Basically I need to get the Test object on the client side possibly 
update it and then send that same object back and have it be a Test 
(server side object) when I get it back on the server.  

Thanks
--- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> 
wrote:
>
> 
> Note that while you can register classes using ActionScript on the
> client for serialization... there's no way to "register" a Java 
class on
> the server. Your server type must not implement Map or Collection 
as
> these types already have firm rules for server to client 
serialization.
> 
> This may be something to log for consideration for Flex 2.0.
> 
> 
> Alternatively, any chance are you returning empty Maps in any of 
the
> properties? 
> 
> I ask because the following special case may occur:
> 
> Empty Java Map -> Empty AS Associative Array -> Empty Java List
> 
> This is because there's no distinction between an empty dense, 
ordinal,
> i.e. normal AS Array and an empty AS Associative Array (i.e. 
they're the
> thing, just an empty Array) and thus Array -> List.
> 
> I'd contact Flex Support if you need a solution to the latter for 
Flex
> 1.5. We've worked with customers on this problem.
> 
> (NB: After several customer requests, Flex 1.5 reverted back to 
match
> the legacy behavior from Flash Remoting's convention of returning 
a Java
> Map as an associative Array instead of an Object... which 
historically
> stems from ColdFusionStructs being return as AS Associative Arrays
> (...and note Flex 1.0 had Maps returned as Objects). 
> 
> In Flex 2.0 we've again moved to have Java Maps returned as AS 
Objects
> by default (with a configuration option for people who wish to go 
back
> to the old Arrays... but note this something that we would 
discourage in
> Flex 2.0 due to the issue described above).
> 
> 
>  
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of jgraham_us
> Sent: Thursday, December 15, 2005 12:23 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] passing Map from Flex to server side
> 
> Using remote objects stuff, I am able to pass my object which 
contains a
> Map object from server to flex, but when I try to send that object 
> back it doesn't work.   
> 
> Set objects work, but Map objects don't.
> 
> 
> On the AS side my Map is defined as an Array in the AS object.
> 
> On the server side it is a Map object.
> 
> I have a registerClass call to map the AS object to the java 
object.
> 
> Can anyone help me out or point me to any examples of how to do 
this?  
> 
> Thanks
> 
> 
> 
> 
> 
> 
>  Yahoo! Groups Sponsor 
~-->
> Most low income homes are not online. Make a difference this 
holiday
> season!
> http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
> ---
-~-> 
> 
> --
> 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
>






 Yahoo! Groups Sponsor ~--> 
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/.QUssC/izNLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Flex 2:HAccordion???

2005-12-15 Thread Greg Johnson
I know there was code for one in Flex 1.5, but it appears to need 
somework to work in Flex 2.  Has anyone already done that who could 
give me a copy?

Thanks
([EMAIL PROTECTED])





 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Can you do a slideshow with flex

2005-12-15 Thread Abdul Qabiz





Hi,
 
Yeah it is possible... 
You can load images using  tag...
 
Store image names in XML 
or Array.. Use  and  to do 
it...
 
 

 
 
If you are making 
application using Flex 1.5, which targets Macromedia Flash Player 7, so you can 
only show non-progressive JPEG images. 
 
In Flex 2 applications, you would be able to 
load JPEG/PNG/non-animated-GIF as well.
 
-abdul



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
[EMAIL PROTECTED]Sent: Friday, December 16, 2005 12:16 
AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Can 
you do a slideshow with flex

For example lets say I want to make a page that has a slide show like this 
page?
http://www.mountainscapes.net/portfolio/before_after/ms52.php
 
When you click on the thing that says Next Image a different image comes up 
is it possible to do in Flex?
 





--
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



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-15 Thread hank williams
Dave,

When you said POJO, I interpreted that as Plain Old Java Object.
Correct me if I missunderstood, but thats where I got the Java
reference from.

With more clarity, I understand your argument about it being possible
to expose php code using web services.

But I really think that regardless of which is better (I have my way
you have yours) that there is no good reason under the sun to be
*forced* out of using a technology that macromedia championed and
still does today with just a minor shift so the old stuff will be
incompatible.

Sorry if I am a little irritable on this subject, but I just think
that what macromedia has done here, regardless of the web
services/remoting benefits borders generates alot of mistrust in the
developer community. I know it does with me anyway.

Regards
Hank.

On 12/15/05, Dave Wolf <[EMAIL PROTECTED]> wrote:
>
> A few thoughts.
>
> 1) I didnt imply Java anywhere in my question/suggestion/answer?
> Pretty much every servant technology today supports exposing language
> artifacts as web services without any code refactoring.  This is true
> of Java, PHP, .NET, heck even PowerBuilder.  Its actually a really
> important point I think folks don't know.  Take Java (as just a single
> example).  If you hava Java class exposed as a RemoteObject (only Java
> and CFC supported as remtoe object via Flex1.5 now) did you know that
> you can expose that *exact same* java class as a web service with
> *zero* code changes to the class?  Yup.  It takes something like 2
> minutes of total work to do.  You can try it youself with something
> like the restaurant example.  We had a new guy do that just this week.
>  He redid the restaurant example to be all web services in basically
> no time flat.
>
> Thats why I asked the question.  Step back and consider the fact you
> could expose your PHP, or whatever, as a web service, totally drop any
> dependancy on needing a server proxy at all, regardless of what
> vendors proxy.
>
> 2) I agree the thread on web service vs remote object has been
> discussed over and over.  But there are new folks joining these ranks
> every day, and the question is still very much open.  Like in all
> debates everyone will pick a side.  I think its pretty clear we prefer
> web services over remote object, and have that decision based on many
> points which we have often discussed.  More so our decision is
> validated by quite major production deployments of Flex solutions.
> Our opinion is, given the choice, we tend to prefer a web service. Its
> just that.  An opinion.
>
> In either case, I just wanted to present the option to the questioner.
>  WebServices might actually be a great way to solve his issue, without
> the risk of bringing in an unsupported third party product, and
> without any license cost at all.  I didnt feel a suggestion like that
> was off topic.  Apologies if it was seen that way.
>
> -
> Dave Wolf
> Cynergy Systems, Inc.
> Macromedia Flex Alliance Partner
> http://www.cynergysystems.com
>
> Email: [EMAIL PROTECTED]
> Office: 866-CYNERGY
>
>
> --- In flexcoders@yahoogroups.com, hank williams <[EMAIL PROTECTED]> wrote:
> >
> > Hmm...
> >
> > Thats an interesting response.
> >
> > So all of us who have developed solutions with remoting really didnt
> > need it anyway.
> >
> > Aside from the fact that he was asking about amphp which has nothing
> > to do with java, remoting does offer benefits over web services (aside
> > from avoiding the reconfiguring ones server side implementation) which
> > have been debated and discussed ad infinitum and I will not restate
> > here.
> >
> > Regards
> > Hank
> >
> > On 12/15/05, Dave Wolf <[EMAIL PROTECTED]> wrote:
> > >
> > > I don't understand why you can't simply use  to
> > > replace  in most cases.  Using AXIS you can use the
> > > exact same POJO you might have used in a  and do so
> > > without the need for any gateway.
> > >
> > > -
> > > Dave Wolf
> > > Cynergy Systems, Inc.
> > > Macromedia Flex Alliance Partner
> > > http://www.cynergysystems.com
> > >
> > > Email: [EMAIL PROTECTED]
> > > Office: 866-CYNERGY
> > >
> > >
> > >
> > >
> > > --- In flexcoders@yahoogroups.com, hank williams <[EMAIL PROTECTED]> 
> > > wrote:
> > > >
> > > > As far as I know there is not yet.
> > > >
> > > > There was some discussion about this on the flashcoders list when
> > > > flex2 came out. I made a pretty big deal about the fact that the
> docs
> > > > seem to indicate that standard remoting will not be something
> that is
> > > > supported.
> > > >
> > > > Mike Chambers (a MM employee) indicated that it was supported. But
> > > > what he meant was that it was supported at a super low level and you
> > > > would essentially have to write all the low level remoting code for
> > > > this.
> > > >
> > > > It seemed pretty clear to me that their intent was to, ahem,
> > > > **encourage** remoting users to buy cold fusion or Flex Data
> Services,
> > > > in order to do painless remoting, and that they were essentially
>

RE: [flexcoders] Selection.setSelection Issue

2005-12-15 Thread Abdul Qabiz





Hi,
 
Can you please post the sample code, how are you 
doing?
 
I think, it should work. Which version of Flash Player you 
are testing it in?
 
-abdul


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Brian 
McPheetersSent: Thursday, December 15, 2005 1:27 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] 
Selection.setSelection Issue

I am storing the current selected 
indexes of my TextArea so when certain events happen on other controls I can 
setFocus back to the TextArea and set the selectedText back to where it was. 
When I do this the highlighted text is not the same as the positions I submitted 
but the indexes seem to get set to -1,-1. Anyone dealt with this 
before?
 
Brian





--
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



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-15 Thread Dave Wolf

A few thoughts.

1) I didnt imply Java anywhere in my question/suggestion/answer?   
Pretty much every servant technology today supports exposing language
artifacts as web services without any code refactoring.  This is true
of Java, PHP, .NET, heck even PowerBuilder.  Its actually a really
important point I think folks don't know.  Take Java (as just a single
example).  If you hava Java class exposed as a RemoteObject (only Java
and CFC supported as remtoe object via Flex1.5 now) did you know that
you can expose that *exact same* java class as a web service with
*zero* code changes to the class?  Yup.  It takes something like 2
minutes of total work to do.  You can try it youself with something
like the restaurant example.  We had a new guy do that just this week.
 He redid the restaurant example to be all web services in basically
no time flat.

Thats why I asked the question.  Step back and consider the fact you
could expose your PHP, or whatever, as a web service, totally drop any
dependancy on needing a server proxy at all, regardless of what
vendors proxy.  

2) I agree the thread on web service vs remote object has been
discussed over and over.  But there are new folks joining these ranks
every day, and the question is still very much open.  Like in all
debates everyone will pick a side.  I think its pretty clear we prefer
web services over remote object, and have that decision based on many
points which we have often discussed.  More so our decision is
validated by quite major production deployments of Flex solutions. 
Our opinion is, given the choice, we tend to prefer a web service. Its
just that.  An opinion. 

In either case, I just wanted to present the option to the questioner.
 WebServices might actually be a great way to solve his issue, without
the risk of bringing in an unsupported third party product, and
without any license cost at all.  I didnt feel a suggestion like that
was off topic.  Apologies if it was seen that way.

-
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com

Email: [EMAIL PROTECTED]
Office: 866-CYNERGY 


--- In flexcoders@yahoogroups.com, hank williams <[EMAIL PROTECTED]> wrote:
>
> Hmm...
> 
> Thats an interesting response.
> 
> So all of us who have developed solutions with remoting really didnt
> need it anyway.
> 
> Aside from the fact that he was asking about amphp which has nothing
> to do with java, remoting does offer benefits over web services (aside
> from avoiding the reconfiguring ones server side implementation) which
> have been debated and discussed ad infinitum and I will not restate
> here.
> 
> Regards
> Hank
> 
> On 12/15/05, Dave Wolf <[EMAIL PROTECTED]> wrote:
> >
> > I don't understand why you can't simply use  to
> > replace  in most cases.  Using AXIS you can use the
> > exact same POJO you might have used in a  and do so
> > without the need for any gateway.
> >
> > -
> > Dave Wolf
> > Cynergy Systems, Inc.
> > Macromedia Flex Alliance Partner
> > http://www.cynergysystems.com
> >
> > Email: [EMAIL PROTECTED]
> > Office: 866-CYNERGY
> >
> >
> >
> >
> > --- In flexcoders@yahoogroups.com, hank williams <[EMAIL PROTECTED]> wrote:
> > >
> > > As far as I know there is not yet.
> > >
> > > There was some discussion about this on the flashcoders list when
> > > flex2 came out. I made a pretty big deal about the fact that the
docs
> > > seem to indicate that standard remoting will not be something
that is
> > > supported.
> > >
> > > Mike Chambers (a MM employee) indicated that it was supported. But
> > > what he meant was that it was supported at a super low level and you
> > > would essentially have to write all the low level remoting code for
> > > this.
> > >
> > > It seemed pretty clear to me that their intent was to, ahem,
> > > **encourage** remoting users to buy cold fusion or Flex Data
Services,
> > > in order to do painless remoting, and that they were essentially
> > > orphaning anyone who was not doing remoting with one of their pricey
> > > gateways.
> > >
> > > Now, perhaps this post will bring adobe employees out of the
woodwork
> > > crying foul and saying I am wrong. But the fact that there is any
> > > ambiguity about this isssue, is, in and of itself, a real problem.
> > >
> > > The fact that that there is not some strong statement of continued
> > > **full** support for traditional remoting  is, to me, shameful.
> > >
> > > Regards
> > > Hank
> > >
> > > On 12/15/05, Flapflap <[EMAIL PROTECTED]> wrote:
> > > > Hi there,
> > > >
> > > > Because RemoteObject isn't available on Alpha is there a way to
> > use flex
> > > > 2 with amf php ?
> > > >
> > > > Thanks...
> > > >
> > > > By the way : Hello World !
> > > >  I'm new to this list.
> > > > --
> > > > Flapflap
> > > >
> > > >
> > > >
> > > > --
> > > > Flexcoders Mailing List
> > > > FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > > Search Archives:
> > http://www.mail-archive.com/flexcoders%40yahoogroups.c

RE: [flexcoders] passing Map from Flex to server side

2005-12-15 Thread Peter Farland

Note that while you can register classes using ActionScript on the
client for serialization... there's no way to "register" a Java class on
the server. Your server type must not implement Map or Collection as
these types already have firm rules for server to client serialization.

This may be something to log for consideration for Flex 2.0.


Alternatively, any chance are you returning empty Maps in any of the
properties? 

I ask because the following special case may occur:

Empty Java Map -> Empty AS Associative Array -> Empty Java List

This is because there's no distinction between an empty dense, ordinal,
i.e. normal AS Array and an empty AS Associative Array (i.e. they're the
thing, just an empty Array) and thus Array -> List.

I'd contact Flex Support if you need a solution to the latter for Flex
1.5. We've worked with customers on this problem.

(NB: After several customer requests, Flex 1.5 reverted back to match
the legacy behavior from Flash Remoting's convention of returning a Java
Map as an associative Array instead of an Object... which historically
stems from ColdFusionStructs being return as AS Associative Arrays
(...and note Flex 1.0 had Maps returned as Objects). 

In Flex 2.0 we've again moved to have Java Maps returned as AS Objects
by default (with a configuration option for people who wish to go back
to the old Arrays... but note this something that we would discourage in
Flex 2.0 due to the issue described above).


 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jgraham_us
Sent: Thursday, December 15, 2005 12:23 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] passing Map from Flex to server side

Using remote objects stuff, I am able to pass my object which contains a
Map object from server to flex, but when I try to send that object 
back it doesn't work.   

Set objects work, but Map objects don't.


On the AS side my Map is defined as an Array in the AS object.

On the server side it is a Map object.

I have a registerClass call to map the AS object to the java object.

Can anyone help me out or point me to any examples of how to do this?  

Thanks






 Yahoo! Groups Sponsor ~-->
Most low income homes are not online. Make a difference this holiday
season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
~-> 

--
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



 




 Yahoo! Groups Sponsor ~--> 
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/.QUssC/izNLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Can you do a slideshow with flex

2005-12-15 Thread nostra72




For example lets say I want to make a page that has a slide show like this page?
http://www.mountainscapes.net/portfolio/before_after/ms52.php
 
When you click on the thing that says Next Image a different image comes up is it possible to do in Flex?
 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] passing Map from Flex to server side

2005-12-15 Thread jgraham_us
Using remote objects stuff, I am able to pass my object which contains 
a Map object from server to flex, but when I try to send that object 
back it doesn't work.   

Set objects work, but Map objects don't.


On the AS side my Map is defined as an Array in the AS object.

On the server side it is a Map object.

I have a registerClass call to map the AS object to the java object.

Can anyone help me out or point me to any examples of how to do this?  

Thanks






 Yahoo! Groups Sponsor ~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: focusedCell for tree's work differently?

2005-12-15 Thread Rick Schmitty
Would I need to use cellEditor: MovieClip in some way to maniupulate
it correctly?


On 12/13/05, Rick Schmitty <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Trying to get focus and edit up on a newly added node in a tree.  When
> I do the add node function, the selection changes, but it flips to the
> top level node for the edit for a split second, then goes back down
> and selects the new node at the bottom, but no editable anymore.
> Watch closely to see it.
>
> Here is example code
>
> 
> http://www.macromedia.com/2003/mxml";
> backgroundColor="#FF">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> 
> 
>  editable="true">
>
> 
>   {myxml}
> 
>
> 
> 
> 
> 
> 
> 
>
> 
>
>
> Am I missing a step?  I followed similar code for a data grid example
> I thought...
>
>
> Thanks,
> -Rick
>


 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-15 Thread hank williams
Hmm...

Thats an interesting response.

So all of us who have developed solutions with remoting really didnt
need it anyway.

Aside from the fact that he was asking about amphp which has nothing
to do with java, remoting does offer benefits over web services (aside
from avoiding the reconfiguring ones server side implementation) which
have been debated and discussed ad infinitum and I will not restate
here.

Regards
Hank

On 12/15/05, Dave Wolf <[EMAIL PROTECTED]> wrote:
>
> I don't understand why you can't simply use  to
> replace  in most cases.  Using AXIS you can use the
> exact same POJO you might have used in a  and do so
> without the need for any gateway.
>
> -
> Dave Wolf
> Cynergy Systems, Inc.
> Macromedia Flex Alliance Partner
> http://www.cynergysystems.com
>
> Email: [EMAIL PROTECTED]
> Office: 866-CYNERGY
>
>
>
>
> --- In flexcoders@yahoogroups.com, hank williams <[EMAIL PROTECTED]> wrote:
> >
> > As far as I know there is not yet.
> >
> > There was some discussion about this on the flashcoders list when
> > flex2 came out. I made a pretty big deal about the fact that the docs
> > seem to indicate that standard remoting will not be something that is
> > supported.
> >
> > Mike Chambers (a MM employee) indicated that it was supported. But
> > what he meant was that it was supported at a super low level and you
> > would essentially have to write all the low level remoting code for
> > this.
> >
> > It seemed pretty clear to me that their intent was to, ahem,
> > **encourage** remoting users to buy cold fusion or Flex Data Services,
> > in order to do painless remoting, and that they were essentially
> > orphaning anyone who was not doing remoting with one of their pricey
> > gateways.
> >
> > Now, perhaps this post will bring adobe employees out of the woodwork
> > crying foul and saying I am wrong. But the fact that there is any
> > ambiguity about this isssue, is, in and of itself, a real problem.
> >
> > The fact that that there is not some strong statement of continued
> > **full** support for traditional remoting  is, to me, shameful.
> >
> > Regards
> > Hank
> >
> > On 12/15/05, Flapflap <[EMAIL PROTECTED]> wrote:
> > > Hi there,
> > >
> > > Because RemoteObject isn't available on Alpha is there a way to
> use flex
> > > 2 with amf php ?
> > >
> > > Thanks...
> > >
> > > By the way : Hello World !
> > >  I'm new to this list.
> > > --
> > > Flapflap
> > >
> > >
> > >
> > > --
> > > 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
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
>
>
>
>
>
>
>
> --
> 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
>
>
>
>
>
>
>
>


 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-15 Thread Dave Wolf

I don't understand why you can't simply use  to
replace  in most cases.  Using AXIS you can use the
exact same POJO you might have used in a  and do so
without the need for any gateway.

-
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com

Email: [EMAIL PROTECTED]
Office: 866-CYNERGY 




--- In flexcoders@yahoogroups.com, hank williams <[EMAIL PROTECTED]> wrote:
>
> As far as I know there is not yet.
> 
> There was some discussion about this on the flashcoders list when
> flex2 came out. I made a pretty big deal about the fact that the docs
> seem to indicate that standard remoting will not be something that is
> supported.
> 
> Mike Chambers (a MM employee) indicated that it was supported. But
> what he meant was that it was supported at a super low level and you
> would essentially have to write all the low level remoting code for
> this.
> 
> It seemed pretty clear to me that their intent was to, ahem,
> **encourage** remoting users to buy cold fusion or Flex Data Services,
> in order to do painless remoting, and that they were essentially
> orphaning anyone who was not doing remoting with one of their pricey
> gateways.
> 
> Now, perhaps this post will bring adobe employees out of the woodwork
> crying foul and saying I am wrong. But the fact that there is any
> ambiguity about this isssue, is, in and of itself, a real problem.
> 
> The fact that that there is not some strong statement of continued
> **full** support for traditional remoting  is, to me, shameful.
> 
> Regards
> Hank
> 
> On 12/15/05, Flapflap <[EMAIL PROTECTED]> wrote:
> > Hi there,
> >
> > Because RemoteObject isn't available on Alpha is there a way to
use flex
> > 2 with amf php ?
> >
> > Thanks...
> >
> > By the way : Hello World !
> >  I'm new to this list.
> > --
> > Flapflap
> >
> >
> >
> > --
> > 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
> >
> >
> >
> >
> >
> >
> >
>






 Yahoo! Groups Sponsor ~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Re: Empty Arrays Returned from CFC

2005-12-15 Thread Peter Farland
How are you testing that each element is empty? Try using a for in loop
on the elements that are in the array without checking anything else
first... Let me know whether they're still populated. 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of bdardaganian
Sent: Thursday, December 15, 2005 9:23 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Empty Arrays Returned from CFC

Thanks Matt...
I have tried using this function to create an array of structures, but
only get an array of empty elements.  The array itself is the correct
length, but each element contains no data.  I can return an array of
arrays, but if I try to make it an array of structures, it doesn't work,
hence my frustration.  I'm wondering if there is something amiss with my
gateway or something else that is wrong.

Any clues?

Brad

--- In flexcoders@yahoogroups.com, "Matt Boles" <[EMAIL PROTECTED]> wrote:
>
> Brad-
> 
> I always have good luck converting the query into an array of 
> structures.  And here is a link to a UDF to do the work:
> http://www.cflib.org/udf.cfm?id=10
> 
>  
> 
> In Flex you then have an ActionScript array of objects.
> 
> -Matt
> 
>  
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> Behalf Of bsd
> Sent: Wednesday, December 14, 2005 11:31 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Empty Arrays Returned from CFC
> 
>  
> 
>  
> 
> I have a CFC that calls a complex query, one that in Cold Fusion I
would
> parse through using grouping in my cfoutput.  When I've tried
passing
> this query back into Flex, I'm getting less than desirable
results.  I
> can pass the query back, but AS doesn't have a neat way to parse
through
> the results as I would do with grouped query outputs in CF.  I've
tried
> putting the results of the query into a structure and passing that
back,
> either as a structure or as an array of structures.  When I do
this, all
> I get are empty arrays.. no data whatsoever, even though when I use 
> dumpToFile to view the actual data structures, all the data is
there.
> 
>  
> 
> Any ideas?  Suggestions?  
> 
>  
> 
> Any help is appreciated.
> 
>  
> 
> 
> Thanks,
> Brad
> 
>  
> 
>  
> 
>  
> 
>  
> 
> 
> 
> --
> 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
> 
>  
> 
> *  Visit your group "flexcoders
>  " on the web.
> 
> *  To unsubscribe from this group, send an email to:
>[EMAIL PROTECTED]
>  
> 
> *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service  . 
> 
>  
> 
> 
>






 Yahoo! Groups Sponsor ~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet
Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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



 




 Yahoo! Groups Sponsor ~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Re: Dynamically create multiple text input rows

2005-12-15 Thread edeustace
for creating the input boxes use createChild.

for collecting data from the rows i'd create an array index for each
child created and then collect the information for each item in the
array..

see code below...
hope this helps

ed

---
InputBoxes.mxml
--



http://www.macromedia.com/2003/mxml";>










---
demo.mxml
---

http://www.macromedia.com/2003/mxml";>















--- In flexcoders@yahoogroups.com, "rgwilson26" <[EMAIL PROTECTED]> wrote:
>
> I would like to dynamically create a row of text input boxes all 
> located within an HBOX. When the user clicks "add" button a new HBOX 
> containing all new text boxes will display below allowing for mulitple 
> rows of inputs. 
> 
> My question is: What is the best way to do this, and how do you 
> dynamically add muliple values to a Model to pass back to your 
> database? Does your model need to be dynamically created as well?
> 
> I appreciate any suggestions on this.
> 
> Thanks,
>







 Yahoo! Groups Sponsor ~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Flex2 and Amfphp is it possible ?

2005-12-15 Thread hank williams
As far as I know there is not yet.

There was some discussion about this on the flashcoders list when
flex2 came out. I made a pretty big deal about the fact that the docs
seem to indicate that standard remoting will not be something that is
supported.

Mike Chambers (a MM employee) indicated that it was supported. But
what he meant was that it was supported at a super low level and you
would essentially have to write all the low level remoting code for
this.

It seemed pretty clear to me that their intent was to, ahem,
**encourage** remoting users to buy cold fusion or Flex Data Services,
in order to do painless remoting, and that they were essentially
orphaning anyone who was not doing remoting with one of their pricey
gateways.

Now, perhaps this post will bring adobe employees out of the woodwork
crying foul and saying I am wrong. But the fact that there is any
ambiguity about this isssue, is, in and of itself, a real problem.

The fact that that there is not some strong statement of continued
**full** support for traditional remoting  is, to me, shameful.

Regards
Hank

On 12/15/05, Flapflap <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> Because RemoteObject isn't available on Alpha is there a way to use flex
> 2 with amf php ?
>
> Thanks...
>
> By the way : Hello World !
>  I'm new to this list.
> --
> Flapflap
>
>
>
> --
> 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
>
>
>
>
>
>
>


 Yahoo! Groups Sponsor ~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Dynamically create multiple text input rows

2005-12-15 Thread rgwilson26
I would like to dynamically create a row of text input boxes all 
located within an HBOX. When the user clicks "add" button a new HBOX 
containing all new text boxes will display below allowing for mulitple 
rows of inputs. 

My question is: What is the best way to do this, and how do you 
dynamically add muliple values to a Model to pass back to your 
database? Does your model need to be dynamically created as well?

I appreciate any suggestions on this.

Thanks,






 Yahoo! Groups Sponsor ~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Selection.setSelection Issue

2005-12-15 Thread Brian McPheeters


I am storing the current selected indexes of my TextArea so 
when certain events happen on other controls I can setFocus back to the TextArea 
and set the selectedText back to where it was. When I do this the highlighted 
text is not the same as the positions I submitted but the indexes seem to get 
set to -1,-1. Anyone dealt with this before?
 
Brian





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  








Re: [flexcoders] 3d charts with a z axis?

2005-12-15 Thread Clint Modien



MUCH appreciated... thanks Philippe.
On 12/15/05, Philippe Maegerman <[EMAIL PROTECTED]> wrote:
Robert Penner has written good vector classes in his book 'Robert Penner's Programming Macromedia Flash MX':http://www.amazon.com/gp/product/sitb-next/0072223561/103-9666916-6005458
I found a dump of the class here:http://web.syr.edu/~msfarrel/431web/vector3dclass.html//Pim
From: flexcoders@yahoogroups.com on behalf of Clint ModienSent: Wed 14/12/2005 22:37To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] 3d charts with a z axis?Laughs...
thanks Kelly.  I was afraid of that.. I'll see if someone
else has a flash component that these guys can use.On 12/14/05, Dekayd Media Inc. < [EMAIL PROTECTED]> wrote:How good are you with vectors?
If
you are good at vector manipulation then you could make a flash
component that would probably work for you.Or I guess you could just use the drawing API in Flex.Probably a lot of work but you get paid by the hour so...
It could be fun dude.HahahahaGood luck--Kelly
From:
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On
Behalf Of Clint ModienSent: Wednesday, December 14, 2005 3:40 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 3d charts with a z axis?
Do we have 3d charts in Flex 2.0?Is there a way to hack it in 1.5?--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKSWeb site design development <
http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ
>Computer software development <
http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw
>Software design and development <
http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ
>Macromedia flex <
http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36cYzBjw
>Software development best practice <
http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw
>YAHOO! GROUPS LINKS*Visit
your group "flexcoders  " on the web.*To
unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
[EMAIL PROTECTED]?subject=Unsubscribe>*Your
use of Yahoo! Groups is subject to the Yahoo! Terms of Service
 .--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYAHOO! GROUPS LINKS*Visit
your group "flexcoders  " on the web.*To
unsubscribe from this group, send an email to:  [EMAIL PROTECTED] 
[EMAIL PROTECTED]?subject=Unsubscribe>*Your
use of Yahoo! Groups is subject to the Yahoo! Terms of Service
 .--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS*Visit your group "flexcoders  " on the web.*To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
[EMAIL PROTECTED]?subject=Unsubscribe>*Your
use of Yahoo! Groups is subject to the Yahoo! Terms of Service
 .--
**STATEMENT OF CONFIDENTIALITY**This
e-mail and any attached files are confidential and intend

[flexcoders] Re: Empty Arrays Returned from CFC

2005-12-15 Thread bdardaganian
Thanks Matt...
I have tried using this function to create an array of structures, 
but only get an array of empty elements.  The array itself is the 
correct length, but each element contains no data.  I can return an 
array of arrays, but if I try to make it an array of structures, it 
doesn't work, hence my frustration.  I'm wondering if there is 
something amiss with my gateway or something else that is wrong.

Any clues?

Brad

--- In flexcoders@yahoogroups.com, "Matt Boles" <[EMAIL PROTECTED]> wrote:
>
> Brad-
> 
> I always have good luck converting the query into an array of
> structures.  And here is a link to a UDF to do the work:
> http://www.cflib.org/udf.cfm?id=10
> 
>  
> 
> In Flex you then have an ActionScript array of objects.
> 
> -Matt
> 
>  
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of bsd
> Sent: Wednesday, December 14, 2005 11:31 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Empty Arrays Returned from CFC
> 
>  
> 
>  
> 
> I have a CFC that calls a complex query, one that in Cold Fusion I 
would
> parse through using grouping in my cfoutput.  When I've tried 
passing
> this query back into Flex, I'm getting less than desirable 
results.  I
> can pass the query back, but AS doesn't have a neat way to parse 
through
> the results as I would do with grouped query outputs in CF.  I've 
tried
> putting the results of the query into a structure and passing that 
back,
> either as a structure or as an array of structures.  When I do 
this, all
> I get are empty arrays.. no data whatsoever, even though when I use
> dumpToFile to view the actual data structures, all the data is 
there.
> 
>  
> 
> Any ideas?  Suggestions?  
> 
>  
> 
> Any help is appreciated.
> 
>  
> 
> 
> Thanks,
> Brad
> 
>  
> 
>  
> 
>  
> 
>  
> 
> 
> 
> --
> 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 
> 
>  
> 
> *  Visit your group "flexcoders
>  " on the web.
> 
> *  To unsubscribe from this group, send an email to:
>[EMAIL PROTECTED]
>  
> 
> *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service  . 
> 
>  
> 
> 
>






 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Flex2 and Amfphp is it possible ?

2005-12-15 Thread Flapflap
Hi there,

Because RemoteObject isn't available on Alpha is there a way to use flex 
2 with amf php ?

Thanks...

By the way : Hello World !
 I'm new to this list.
--
Flapflap


 Yahoo! Groups Sponsor ~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] html link in text

2005-12-15 Thread ponnusamy mani



Try this nithya,     I believe this would definitely help         http://www.macromedia.com/2003/mxml">                 Regards,     Samy
	
		Yahoo! Shopping 
Find Great Deals on Holiday Gifts at Yahoo! Shopping 





--
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



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Problem with getURL() method in Action Script

2005-12-15 Thread jagabcdeff
Hi,

Now i am working on download/open document(ex: Yahoo mail) in my 
application.

I Used getURL() method in my action script.

I have 4 following issues

1.when i use  getURL(url, "_blank", "POST")  it opens the new 
browser every time  here i dont want new browser.

2.when i use getURL(url, "_self", "POST"),here it open/download (as 
in yahoo mail)window first when user again select it open/download 
its showing blank browser.

3.when i use getURL(url, "_parent", "POST")"),here it open/download 
(as in yahoo mail)window first when user again select it 
open/download its showing blank browser.
 
4.when i use getURL(url, "_top", "POST")"),here it open/download (as 
in yahoo mail)window first when user again select it open/download 
its showing blank browser.

my requirement is it shouldn't open blank browser and it should open 
only popup(as yahoo mail)every time.

thanks,
jagadeesh






 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Usefull Flex Style URL

2005-12-15 Thread jagabcdeff
Hi,

see this following url, this my useful 

http://weblogs.macromedia.com/mc/archives/FlexStyleExplorer.html


thanks,
jagadeesh





 Yahoo! Groups Sponsor ~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] 3d charts with a z axis?

2005-12-15 Thread Philippe Maegerman
Robert Penner has written good vector classes in his book 'Robert Penner's 
Programming Macromedia Flash MX':
http://www.amazon.com/gp/product/sitb-next/0072223561/103-9666916-6005458
 
I found a dump of the class here:
http://web.syr.edu/~msfarrel/431web/vector3dclass.html
 
//Pim



From: flexcoders@yahoogroups.com on behalf of Clint Modien
Sent: Wed 14/12/2005 22:37
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] 3d charts with a z axis?


Laughs... thanks Kelly.  I was afraid of that.. I'll see if someone else has a 
flash component that these guys can use.


On 12/14/05, Dekayd Media Inc. < [EMAIL PROTECTED]> wrote: 

How good are you with vectors?

 

If you are good at vector manipulation then you could make a flash 
component that would probably work for you.

 

Or I guess you could just use the drawing API in Flex.

 

Probably a lot of work but you get paid by the hour so...

 

 

It could be fun dude.

 

 

Hahahaha

 

 

Good luck

 

 

--Kelly

 

 

 

 

 

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Clint Modien
Sent: Wednesday, December 14, 2005 3:40 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] 3d charts with a z axis?

 

Do we have 3d charts in Flex 2.0?

Is there a way to hack it in 1.5?


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
Search Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 




SPONSORED LINKS 

Web site design development 

  

Computer software development 

  

Software design and development 

  

Macromedia flex 

  

Software development best practice 

  

 

 





YAHOO! GROUPS LINKS 

 

*Visit your group "flexcoders 
 " on the web.
  
*To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]  
  
*Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service  . 

 






--
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 



*Visit your group "flexcoders 
 " on the web.
  
*To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]  
  
*Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service  . 







--
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 



*Visit your group "flexcoders 
 " on the web.

RE: [flexcoders] selecting items in a listbox based on a query result

2005-12-15 Thread Philippe Maegerman
I think you don't need array notation for select.getItemAt():
 
if (select.getItemAt(i).data == optionsToSelect[i])
 
Cheers,
Philippe



From: flexcoders@yahoogroups.com on behalf of gotjosh819i
Sent: Wed 14/12/2005 19:23
To: flexcoders@yahoogroups.com
Subject: [flexcoders] selecting items in a listbox based on a query result


I am having some issues selecting the items in a listbox based on a 
selection return result from a GRID.

I basically run a function pageListChanged() when someone selects an 
item in a grid.

That functions gets some data from a Coldfusion CFC and returns the 
result.

I then want to select items in a listbox based on that result so the 
user can make changes if they want to.

heres how I am trying to select the items in the listbox, but its 
not selecting it.  (note i hard coded in the results so u can see 
what I am returning from my CFC) sooo what am i doing wrong here?

Listbox code:



public function selectList(select: mx.controls.List, 
optionsToSelect:Array):Void{
  
  //go through every record to find the right 
one
  for (var i:Number = 0; i < select.length; 
i++) {
if (select.getItemAt([i]).data == 
optionsToSelect[i]){
  select.selectedIndices = i;
  break;
}
  }
}

Heres the code calling the function above and passing data:

var Roles:Array = Array(4000, 4001, 4002);


  
  _root.selectList(_root.edit_Roles, Roles);
  

***THIS CODE WORKS FINE BELOW***
Code I used for combobox (works great)
function:


public function selectOption(select: 
mx.controls.ComboBox, optionToSelect:String):Void{
  
  //go through every record to find the right 
one
  for (var i:Number = 0; i < select.length; 
i++) {
if (select.getItemAt([i]).data == 
optionToSelect){
  select.selectedIndex = i;
  break;
}
  }
}


calling function code:

var subjectID:Number = 7000;

  
  _root.selectOption(_root.edit_navSubject, 
subjectID);






--
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 



*Visit your group "flexcoders 
 " on the web.
  
*To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]  
  
*Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service 
 . 






--
**STATEMENT OF CONFIDENTIALITY** 

This e-mail and any attached files are confidential and intended solely for the 
use of the individual to whom it is addressed. If you have received this email 
in error please send it back to the person that sent it to you. Any views or 
opinions presented are solely those of author and do not necessarily represent 
those the Emakina Company. Unauthorized publication, use, dissemination, 
forwarding, printing or copying of this email and its associated attachments is 
strictly prohibited.

We also inform you that we have checked that this message does not contain any 
virus but we decline any responsability in case of any damage caused by an a 
non detected virus.
--



 Yahoo! Groups Sponsor ~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 
<>

[flexcoders] flashcom and cfc remoting problem

2005-12-15 Thread aoi_zip
hi,

sorry, i'm not spaking english well.

my question is flashcomm and cfc remoting problem.



result  (why return value is object? undefined?  i'm not understand)

onAppStop Called, returning false
* running netserviceswrapper
* running NetServices
* running recordset
* running RsDataProviderClass
* running recordset
* running RsDataProviderClass
onAppStart called
getData method call
-  RecordSetType:object
- getColumnNames:undefined
- isFullyPopulated:true
- getItemAt:undefined
- getNumberAvailable:0
- getLength:0
- recordFirst:undefined
- recordLast:undefined
getData method call
getData method call
getData method call
'
'
getData method call





main.asc

load( "NetServices.asc" );

application.onAppStart = function()
{
trace("onAppStart called");


NetServices.setDefaultGatewayUrl("http://localhost/flashservices/gateway";);
gatewayConn = NetServices.createGatewayConnection();
getDatas_cfc = gatewayConn.getService("himton.cfc.sugo",this());
this.so = SharedObject.get("voiceList_sugo",true);
this.interval = setInterval(getData,2000);
var resultVar_rs = null;
}

application.onAppStop = function()
{ 
trace("onAppStop Called, returning false");
return false;
}

function getData()
{
trace("getData method call");
getDatas_cfc.SvoiceL_sugo();
}

application.SvoiceL_sugo_Result = function(result_rs){
trace("-  RecordSetType:"+typeof(result_rs));
trace("- getNumberAvailable:"+result_rs.getNumberAvailable( ));
trace("- getColumnNames:"+result_rs.getColumnNames( ));
trace("- isFullyPopulated:"+result_rs.isFullyPopulated( ));

resultVar_rs = result_rs.getLength( );
trace("- getLength:"+resultVar_rs);

var myRecord = result_rs.getItemAt(0);
trace("- getItemAt:"+myRecord);

var tempFirst = result_rs.First;
trace("- recordFirst:"+tempFirst);
var tempLast = result_rs.Last;
trace("- recordLast:"+tempLast);
}


wwwroot/himton/cfc/sugo.cfc



  
 SELECT  idx FROM cfUsers
  
  




db Table

idx , name, email, addrs (all varchar)





 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/u8TY5A/tzNLAA/yQLSAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/