Re: [flexcoders] efficient way of doing custom formatting on datagrid column values

2006-07-13 Thread Ralf Bokelberg



Hi Jason, 
try to override the setter for the data property and set all the values of your renderer manually. I found that binding is slow in an itemRenderer. Cheers,Ralf.  On 7/14/06, 
Pan Troglodytes <
[EMAIL PROTECTED]> wrote:
I have a datagrid with a half-dozen columns, all but one numeric. 
I've used itemrenderers to make a label with a built in formatter to
get them nice looking:
                     

Looks
cool, but makes for horribly laggy performance when scrolling around
the grid with about 1000 records.  What's a better way to do
this?  Is there one or are we stuck with this?
Alternately, I've modified the data so that it's formatted
when the data is loaded.  But this screws up the sorting requiring
me to write custom sorters.  I've also tried breaking out my
renderer into another class, but I still have to create a formatter for
every instance since it can't see the one outside of the
renderer.  I think this is where the bulk of the slowness is.
Of course, this may be a moot point.  I have some columns
that need the text to be colorered depending on value.  When I put
an item renderer label on those with color="{data.value < 0 ?
0xFF : 0x008000}", this bogs down the scrolling, too.  Not
sure how I'll get around that.
This just all seems like a lot of trouble and I'm hoping I'm missing something.-- Jason




-- Ralf Bokelberg <
[EMAIL PROTECTED]>Flex & Flash Consultant based in Cologne/Germany


__._,_.___





--
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] efficient way of doing custom formatting on datagrid column values

2006-07-13 Thread Pan Troglodytes



Nope.  When the columns are just plain jane, it's not laggy.  Well, not MUCH.  It's not as smooth as a non-Flex app, but it's definitely a lot better.  When I use the renderer, it can take 5-10 seconds sometimes when I jerk the scroll thumb from the top to bottom in one movement.  Just hangs there.
Yes, I am loading all 1000 records into the client.  But as you can see from the above, that's not the problem.On 7/13/06, Dimitrios Gianninas
 <[EMAIL PROTECTED]> wrote:













  




Does the lag happen when the renderer is not there?

Cause if it is, then are u loading all 1000 records into the client? Maybe you can use FDS and the paging feature.

Dimitrios 
Optimal Payments.

-Original Message-
From: flexcoders@yahoogroups.com on behalf of Pan Troglodytes

Sent: Thu 7/13/2006 7:41 PM
To: flexcoders
Subject: [flexcoders] efficient way of doing custom formatting on datagrid column values
 
I have a datagrid with a half-dozen columns, all but one numeric.  I've used
itemrenderers to make a label with a built in formatter to get them nice
looking:


dataField="Bookings">
  

  

  

  


Looks cool, but makes for horribly laggy performance when scrolling around
the grid with about 1000 records.  What's a better way to do this?  Is there
one or are we stuck with this?

Alternately, I've modified the data so that it's formatted when the data is
loaded.  But this screws up the sorting requiring me to write custom
sorters.  I've also tried breaking out my renderer into another class, but I
still have to create a formatter for every instance since it can't see the
one outside of the renderer.  I think this is where the bulk of the slowness
is.

Of course, this may be a moot point.  I have some columns that need the text
to be colorered depending on value.  When I put an item renderer label on
those with color="{data.value < 0 ? 0xFF : 0x008000}", this bogs down
the scrolling, too.  Not sure how I'll get around that.

This just all seems like a lot of trouble and I'm hoping I'm missing
something.

-- 
Jason

-- 
WARNING
---
This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient.  No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message.  If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system.  The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful.  If you have received this e-mail in error, please notify the sender.


AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système.  La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur.



  













-- Jason

__._,_.___





--
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] Compile to CFM instead of HTML at Run

2006-07-13 Thread Douglas Knudsen
Appy,

I'm going to gues its all in here:
eclipse\plugins\com.adobe.flexbuilder.project_2.0.143459
resources\html-templates.zip contains the templates.  Some java file
in zornproject.jar probably uses it, have to weak the correct one.  If
you had the source that is.  ;)  oh well.  Would be nice for this to
be configurable.

Could drop the compiled swf in a cfm file anywhere, but alas, that is
so manual!

DK

On 7/13/06, app.developer <[EMAIL PROTECTED]> wrote:
> Is there a way to compile to a CFM page instead of an HTML page?  My
> first attempt is to copy/paste the HTML code Flex Builder generates
> and place it into a CFM page of the same name.  Then I go to
> Run/Run... window, select the Flex Application configuration, in
> the "URL or path to launch" section I unchecked Use defaults, then in
> the Run: field, I changed the extention of the file from html to cfm.
> Now when I hit Run, it compiles to the cfm file, but this seems
> clunkly.  Is there a better way?
>
> Appy
>
>
>
>
>
>
> --
> 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
>
>
>
>
>
>
>


-- 
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


 Yahoo! Groups Sponsor ~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/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/
 




RE: [flexcoders] DataGridColumn "id" attrubute is gone??

2006-07-13 Thread Dimitrios Gianninas
Hi,

I've done this, but in a different way. The DataGrid's column property takes an 
array DataGridColumn objects, so what u do is create two sets of arrays:


  
  
  ...



  
  
  ...


Then, when u need to, switch the columns being attached to the grid, like so:

if( ... ) {
  dg.columns = columns1;
}
else {
  dg.columns = columns2;
}

dg.dataProvider = values;

That should be enough to get u going.

Regards,

Dimitrios
Optimal Payments

-Original Message-
From: flexcoders@yahoogroups.com on behalf of Suzy Lawson
Sent: Thu 7/13/2006 6:04 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DataGridColumn "id" attrubute is gone??
 
I have a view state that hides/shows datagrid columns. I need the "id"
attribute in order to identify to the State which column to set the
'visible' value to.

In mxml, there is a  attribute, HOWEVER,
there is not one when you do this:

var dataGridColumn : DataGridColumn = new DataGridColumn(); 
dataGridColumn.id="fromColumn";// COMPILER ERROR 'id' does not exist

How is this possible? I appreciate your help in advance.

Thanks.






-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.



--
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] efficient way of doing custom formatting on datagrid column values

2006-07-13 Thread Dimitrios Gianninas

Does the lag happen when the renderer is not there?

Cause if it is, then are u loading all 1000 records into the client? Maybe you 
can use FDS and the paging feature.

Dimitrios 
Optimal Payments.

-Original Message-
From: flexcoders@yahoogroups.com on behalf of Pan Troglodytes
Sent: Thu 7/13/2006 7:41 PM
To: flexcoders
Subject: [flexcoders] efficient way of doing custom formatting on datagrid 
column values
 
I have a datagrid with a half-dozen columns, all but one numeric.  I've used
itemrenderers to make a label with a built in formatter to get them nice
looking:


  

  

  

  


Looks cool, but makes for horribly laggy performance when scrolling around
the grid with about 1000 records.  What's a better way to do this?  Is there
one or are we stuck with this?

Alternately, I've modified the data so that it's formatted when the data is
loaded.  But this screws up the sorting requiring me to write custom
sorters.  I've also tried breaking out my renderer into another class, but I
still have to create a formatter for every instance since it can't see the
one outside of the renderer.  I think this is where the bulk of the slowness
is.

Of course, this may be a moot point.  I have some columns that need the text
to be colorered depending on value.  When I put an item renderer label on
those with color="{data.value < 0 ? 0xFF : 0x008000}", this bogs down
the scrolling, too.  Not sure how I'll get around that.

This just all seems like a lot of trouble and I'm hoping I'm missing
something.

-- 
Jason

-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.



 Yahoo! Groups Sponsor ~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/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/
 





[flexcoders] Remote Developement Help

2006-07-13 Thread nigasak
Hi, I tested succesfully ColdFusion MX 7.0.2 And Flex Builder 2 with
Remoting on my local box. But now I would like to know How can I
configure Flex Builder 2 on my local box to talk to Remote Objects on
my ColdFusion Development server. I mean, my ColdFusion Server is not
in my local Box. Please Help me.


Regards

Jorge Tejada








 Yahoo! Groups Sponsor ~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/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/
 





[flexcoders] Compile to CFM instead of HTML at Run

2006-07-13 Thread app.developer
Is there a way to compile to a CFM page instead of an HTML page?  My 
first attempt is to copy/paste the HTML code Flex Builder generates 
and place it into a CFM page of the same name.  Then I go to 
Run/Run... window, select the Flex Application configuration, in 
the "URL or path to launch" section I unchecked Use defaults, then in 
the Run: field, I changed the extention of the file from html to cfm.  
Now when I hit Run, it compiles to the cfm file, but this seems 
clunkly.  Is there a better way?

Appy





 Yahoo! Groups Sponsor ~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/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/
 




[flexcoders] Re: How to parse web services response doc containing namespace

2006-07-13 Thread ben.clinkinbeard
Tracy, can you post a more complete example? I would be very
interested in something that does what you explained but am not
totally sure I understand your description.

Thanks,
Ben

--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> I just discovered something that might help. (This is with beta 3
> though)
> 
>  
> 
> If you do not set resultFormat as e4x, but instead do:
> 
> var xmlResult:XML = newXML(result.toString())
> 
>  
> 
> for me, that created an xml object without the namespace stuff.
> 
>  
> 
> Let me know if it works.
> 
>  
> 
> Tracy
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of kevntrace
> Sent: Thursday, July 13, 2006 2:25 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] How to parse web services response doc containing
> namespace
> 
>  
> 
> I am a complete newbie to Flex, ActionScript et al, so please 
> forgive me if my questions appear simplistic.
> 
> I've implemented, and got working, the sample app which invokes a 
> web service and displays the Top 5 popular posts from a blog service.
> 
> I now want to modify this app so it calls my own homegrown web 
> service. I have been able to get the invocation working, and I get a 
> valid response, which I confirmed by displaying the lastResult 
> object in a textbox.
> 
> My problem now is I want to parse through the result document, which 
> contains a namespace, and populate items on the form - I have not 
> yet been successful in my attempts.
> 
> Here is the source code to my MXML application, followed by the WS 
> response document;
> 
> MXML App
> 
> 
> 
> http://www.adobe.com/2006/mxml
>  " 
> layout="absolute" 
> creationComplete="wsBlogAggr.getMostPopularPosts.send()">
> 
> 
> 
> 
>  wsdl="http://localhost:9400/services/adobe?wsdl
>  "
> useProxy="false">
>  resultFormat="e4x">
> 
>  xmlns:ns1="http://kevin.company.com/services/webservices/adobe/blogSv
>  
> c/blogPort">
> 
> 10.0
> 5.0
> 
> 
> 
> 
> 
>  layout="absolute" title="Most Popular Posts">
> 
>  text="{wsBlogAggr.getMostPopularPosts.lastResult}"/>
> 
>  change="wsBlogAggr.getMostPopularPosts.send()">
> 
> 
> 
> 
> 
>  columnWidth="400" 
> dataProvider="{wsBlogAggr.getMostPopularPosts.lastResult}" 
> width="350">
> 
>  dataField="*::getMostPopularPostsResponse.*::ColumnList.*::row.*::ite
> m"/>
>  headerText="Clicks" 
> dataField="getMostPopularPostsResponse.ColumnList.row.item" 
> width="75"/>
> 
> 
> 
> 
> 
> 
> 
> WS Response Doc
> ---
> 
>  env="http://schemas.xmlsoap.org/soap/envelope/
>  " 
> xmlns:ns1="http://kevinobrien.composite.com/services/webservices/adob
>  
> e/blogSvc/blogPort" xmlns:xsi="http://www.w3.org/2001/XMLSchema-
>  
> instance">
> 
> 
> postId
> 
> 
> clicks
> 
> 
> dateTimeAggregated
> 
> 
> feedId
> 
> 
> feedName
> 
> 
> postTitle
> 
> 
> postExcerpt
> 
> 
> postLink
> 
> 
> 
> 
> I tried creating an XMLListCollection object, but I got a compile 
> error that, being a newbie, did not make sense. Here is the syntax I 
> used.
> 
>  source="{wsBlogAggr.getMostPopularPosts.lastResult}"/>
> 
> Can anyone help with info on how to parse the response doc?
>







--
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: Chart watermark won't go away in SDK

2006-07-13 Thread vanhoese
I finally figured it out on my own.  For inquisitive minds:

In order to get the charting license serial number into your app you 
just have to add "-licenses.license charting " to 
the mxml build command/jar file (where the X's is your key with no 
dashes).  The instructions for the charting serial readme just 
expand the charting source to a specified directory.

--- In flexcoders@yahoogroups.com, "vanhoese" <[EMAIL PROTECTED]> wrote:
>
> I also tried that and still no go.  I still think it's related to 
> the mxmlc build.
> 
> -Andy
> 
> --- In flexcoders@yahoogroups.com, James Ward  wrote:
> >
> > Try to also clear your browser's cache.
> > 
> > -James
> > 
> > 
> > On Wed, 2006-07-05 at 20:17 +, vanhoese wrote:
> > > I followed the instructions from the readme_charting.htm for 
the 
> > > standalone Flex SDK. I also removed the generated cache file 
> that is 
> > > created when I call mxmlc from the java command through ANT. 
the 
> new 
> > > compiled swf still has watermarked charts. Is seems like 
> something is 
> > > still cached. Has anybody had success installing the serial 
key 
> after 
> > > you had used the charting trial? 
> > > 
> > > Here's my OS and java versions:
> > > > uname -a
> > > SunOS utopia 5.9 Generic_112233-11 sun4u sparc SUNW,Sun-Fire-
V240
> > > > java -version
> > > java version "1.4.2_06"
> > > Java(TM) 2 Runtime Environment, Standard Edition (build 
1.4.2_06-
> b03)
> > > Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)
> > > > 
> > > 
> > > 
> > > 
> > > 
> > >
> >
>








 Yahoo! Groups Sponsor ~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/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/
 




Re: [flexcoders] SWF Loader

2006-07-13 Thread JesterXL





Sorry, I posted the wrong link 
earlier:
http://weblogs.macromedia.com/pent/archives/2006/07/using_actionscr.cfm
 
- Original Message - 
From: Jean-Luc ESSER 

To: flexcoders@yahoogroups.com 
Sent: Wednesday, July 12, 2006 9:25 AM
Subject: Re: [flexcoders] SWF Loader

Jester,
 
Does this mean that there is no way of getting a 
loaded swf to play, pause or stop without using localConnection ?
JL
 

  - Original Message - 
  From: 
  JesterXL 
  To: flexcoders@yahoogroups.com 
  Sent: Wednesday, July 12, 2006 3:07 
  PM
  Subject: Re: [flexcoders] SWF 
Loader
  
  
  It's an AVM1Movie, not a MovieClip. Unfortunately, this prevents you from 
  talking to the SWF; you have to use LocalConnection, or some other binary 
  socket way.Have you tried with Flash 9 Alpha yet? I haven't had 
  time but I bet this'd work.- Original Message - From: 
  "flexnewbie06" To: 
  <[EMAIL PROTECTED]ups.com>Sent: 
  Wednesday, July 12, 2006 8:48 AMSubject: [flexcoders] SWF LoaderI 
  am trying to cast swf as MovieClip in Flex 2.0. The SWF wascreated with 
  Flash 8...I get an coercion error...is this somethingthat can not be done 
  or maybe I am doing it incorrectly.I have posted the error and my 
  code. Any Suggestions?TypeError: Error #1034: Type Coercion failed: 
  cannot convertflash.display::AVM1Movie@27faa81 to 
  flash.display.MovieClip.at EPlayer/::test()at 
  EPlayer/___Button1_click()CODE:8"?>http://www.adobe.com/2006/mxml"layout="absolute">paddingTop="10" paddingBottom="10" 
  paddingLeft="10" paddingRight="10"y="10" 
  x="10">width="459"/>--Flexcoders 
  Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
  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.



  






__,_._,___



Re: [flexcoders] How to organize projects in Flex Builder?

2006-07-13 Thread sam / pixelconsumption
Yeah and if you go this route you can use "Working Sets" to just view 
those two projects at one time. It helps get rid of clutter in your work 
space.

- Sam

Clint Modien wrote:

> I would split it up into two projects for the sake of compiling it / 
> versioning it. That way you can build them independently and store in 
> your source control sys separately.  That's usually the way it's done.
>
>
> On 7/12/06, *Beck Novaes* <[EMAIL PROTECTED] 
> > wrote:
>
> Hey Guys,
>
> Imagine you are working in a big project with a Team and you're using
> FDS. So, what do you think is the best approach in Eclipse IDE (Flex
> Builder)?
>
> 1. Only one project: a "Web Project" with flex and java sources
> 2. Two projects: one web project with java sources and FDS binary and
> configuration files; and another Flex Project with Flex sources
> 3. Another way?
>
> Why do you think it's the best approach? What about the deployment?
>
> Tks,
> Beck Novaes
>
>
>  








 Yahoo! Groups Sponsor ~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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/
 




Re: [flexcoders] Re: WebORB for .net beta5: feedback

2006-07-13 Thread Jeremy Lu




Just a reminder, I checked Aral's ARP framework last week (yes, flex 2
compatible version), there's a pretty well-written RemotingService
class which wraps NetConnection (supporting AMF0) and provide exactly
the same function of Service/RelayResponder from Flash 8.

So one can still use Flash Remoting for .Net (official product from
Adobe or open source ones) as the server-side component, then use ARP's
Service in the client side to invoke the method, this is pretty easy to
setup and just works.

I've tried it with AMFPHP 1.2, OpenAMF and Flourine, all went well.

Jeremy.On 7/13/06, Jason Hawryluk <[EMAIL PROTECTED]> wrote:













  






I'm 
about to start trying it out. So I'll post me experiences as 
well.
 
Jason

 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com]De la part 
  de Jonas WindeyEnvoyé : jeudi 13 juillet 2006 
  12:02À : flexcoders@yahoogroups.comObjet :
 RE: 
  [flexcoders] Re: WebORB for .net beta5: feedback
  
  
  
  Hi 
  Tim,
  
  Well, my first 
  impression is that it's pretty complex, at least a lot more complex than just 
  creating ASP.NET Web services and calling them from 
  flex.
  Apparently you need 
  to place all your remote methods in xml config files. Etc. The tutorials from 
  
http://www.themidnightcoders.com/articles/datamanagement-part3.htm 
  help a lot, but it's still a huge change, also in the way of thinking. (eg 
  updating data with the sync methods, changeobjects etc). Also you use a lot 
  more databinding, whereas with web services you just fill your datagrid or 
  treeview with the data you receive, and in the case of an update, you will 
  probably use a web service too to update the current row. Here you just omit 
  your changes to your dataService, and he handles all the 
  rest.
  
  I think the Flex + 
  .NET + WebORB community is pretty small at the moment though, so it would be 
  nice of some gurus from this list play a bit with it like I'm doing right 
  now.
  
  Jonas
  
  
  
  
  
  From: 
  flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Tim HoffSent: donderdag 13 juli 2006 
  11:32To: 
  flexcoders@yahoogroups.com
Subject: [flexcoders] Re: WebORB for .net 
  beta5: feedback
  
  
  
  
  Hey 
  Jonas,Please let us know what your impressions of WebORB are after you 
  have had a chance to work with it a little. I'll be switching from 
  .NET WebServices to RemoteObject soon, so I would love to hear about your 
  experience.Thanks,Tim Hoff--- In flexcoders@yahoogroups.com
, 
  "Jonas Windey" <[EMAIL PROTECTED]> wrote:>> Ok, I forgot to read 
  my mails last night. Apparantly Mark Piler from> 
  themidnightcoders.com sent me a mail after noticing that I had 
  downloaded> the beta 5 (which had just been released), writing the 
  following:> > > > A quick workaround is to open 
  web.config from /Inetpub/wwwroot/weborb and> remove the 
  following two lines:> > > > 2.0.0.0, Culture=neutral,> 
  PublicKeyToken=B03F5F7F11D50A3A"/>> > 6.2.1.0, Culture=neutral,> 
  PublicKeyToken=7551335DE9FC3C36"/>> > > 
  > Please make sure that the closing tags for  and 
  > stay in the file (they are on the same line as 
  the BlueDragon reference).> > > > You can 
  always check if web.config is valid by opening the following URL:> 
  > 
http://localhost/weborb/examples/testsuite/client/testsuite.aspx> 
  > > > How nice is this? :-) I guess he must get a 
  notification every time someone> downloads his product, and check 
  if everything is working.> > > > So, I got the 
  Contact Manager sample working now, let's play around a bit.> 
  > > > Jonas>
  __ NOD32 1.1656 (20060712) 
  Information __This message was checked by NOD32 antivirus 
  system.http://www.eset.com
  

  















__._,_.___





--
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] Wanted: Full-Time Flex/Java Developer

2006-07-13 Thread thunderstumpgesatwork
Hello all. I'm posting this because we have a job opening for a
Flex/Java developer. The position is full time, and relocation is not
necessary. (work from home; some travel required) Starting ASAP

Work for a fast paced, up and coming Business Intelligence and
Collaboration company.

Position details:

Macromedia Flex / Flash Developer

Experience:
2+ years as a Flex (preferably 6 months of Flex 2.0), 
   ActionScript (preferably 3.0) programmer. 
- Experience with Flex and MXML required. 
- Strong skills in object oriented programming. 
- Significant experience working with server side technologies 
(interfacing with web services and XML over HTTP) required 
- Previous work experience with Java server technologies 
(Servlets/EJB/JDBC/JNDI/Etc) a plus
- Previous work experience with unit testing frameworks 
(ASUnit, Junit etc) required 
- Previous work experience in formal design (Use cases in UML etc) 
- Previous work experience with Hibernate a plus
- Previous work experience with Oracle or Teradata 
- Excellent written and oral communication skills 

Responsibilities include:
- Analysis, design, code, unit test and implement Flex/Flash solutions 
- Writing technical Specifications and release notes - Proven
abilities working in a team environment  


Please send resumes to:

[EMAIL PROTECTED]





 Yahoo! Groups Sponsor ~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/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/
 




RE: [flexcoders] Flex 1.5 : initializing a ComboBox Heeelp!!

2006-07-13 Thread Tracy Spratt












If this post duplicates, I apologize.

…

 

Are you running the initialize combobox
code in a result event handler?

Tracy

 

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ghislain Simard
Sent: Thursday, July 13, 2006
11:38 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 1.5 :
initializing a ComboBox Heeelp!!



 







Hi,
This is a very strange behavior and I don't know if someone can help 
me to resolve this.

On the first load of the application, I select an item in a mx:Tree 
which is triggering a function which is populating a combobox from a 
RemoteObject call. The result of the call give me back the selected 
value to display.

Now here is the catch: the value is coming back from the server but 
the combobox is not showing the selected value until a click again 
the Tree item...than it works fine! Worst than that, I have it 
working perfectly on my Windows 2000 Server but failed on Windows 
2003 Server.

Here is the code that is chosing the right selection in the combobox:

var aDP:Array = mx.utils.ArrayUtil.toArray(myCombobox.dataProvider);
var sDataValueInit:String = iniVal.myValue;
var sDataValueCur:String;
for ( var i:Number=0; i
over the items in the dataProvider
sDataValueCur = aDP[i].data; //get the 
current item.data value
if ( sDataValueCur == sDataValueInit ) 
{ //compare desired value to current item.data value
myCombo.selectedIndex = i; //set the 
seletedIndex of the combo box
}
}






__._,_.___





--
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] Flex 1.5 : initializing a ComboBox Heeelp!!

2006-07-13 Thread Tracy Spratt












Are you running the initialize combobox
code in a result event handler?

Tracy

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ghislain Simard
Sent: Thursday, July 13, 2006
11:38 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 1.5 :
initializing a ComboBox Heeelp!!



 







Hi,
This is a very strange behavior and I don't know if someone can help 
me to resolve this.

On the first load of the application, I select an item in a mx:Tree 
which is triggering a function which is populating a combobox from a 
RemoteObject call. The result of the call give me back the selected 
value to display.

Now here is the catch: the value is coming back from the server but 
the combobox is not showing the selected value until a click again 
the Tree item...than it works fine! Worst than that, I have it 
working perfectly on my Windows 2000 Server but failed on Windows 
2003 Server.

Here is the code that is chosing the right selection in the combobox:

var aDP:Array = mx.utils.ArrayUtil.toArray(myCombobox.dataProvider);
var sDataValueInit:String = iniVal.myValue;
var sDataValueCur:String;
for ( var i:Number=0; i
over the items in the dataProvider
sDataValueCur = aDP[i].data; //get the 
current item.data value
if ( sDataValueCur == sDataValueInit ) 
{ //compare desired value to current item.data value
myCombo.selectedIndex = i; //set the 
seletedIndex of the combo box
}
}






__._,_.___





--
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] How to parse web services response doc containing namespace

2006-07-13 Thread Tracy Spratt












I just discovered something that might
help. (This is with beta 3 though)

 

If you do not set resultFormat as e4x, but
instead do:

var xmlResult:XML = newXML(result.toString())

 

for me, that created an xml object without
the namespace stuff.

 

Let me know if it works.

 

Tracy

 









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of kevntrace
Sent: Thursday, July 13, 2006 2:25
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to parse
web services response doc containing namespace



 







I am a complete newbie to Flex, ActionScript et al, so
please 
forgive me if my questions appear simplistic.

I've implemented, and got working, the sample app which invokes a 
web service and displays the Top 5 popular posts from a blog service.

I now want to modify this app so it calls my own homegrown web 
service. I have been able to get the invocation working, and I get a 
valid response, which I confirmed by displaying the lastResult 
object in a textbox.

My problem now is I want to parse through the result document, which 
contains a namespace, and populate items on the form - I have not 
yet been successful in my attempts.

Here is the source code to my MXML application, followed by the WS 
response document;

MXML App


8"?>
http://www.adobe.com/2006/mxml"

layout="absolute" 
creationComplete="wsBlogAggr.getMostPopularPosts.send()">





wsdl="http://localhost:9400/services/adobe?wsdl"
useProxy="false">

resultFormat="e4x">
>
Posts 
xmlns:ns1="http://kevin.company.com/services/webservices/adobe/blogSv
c/blogPort">

10.0daysBack>
5.0
rPosts>





layout="absolute" title="Most Popular Posts">


text="{wsBlogAggr.getMostPopularPosts.lastResult}"/>


change="wsBlogAggr.getMostPopularPosts.send()">






columnWidth="400" 
dataProvider="{wsBlogAggr.getMostPopularPosts.lastResult}"

width="350">


dataField="*::getMostPopularPostsResponse.*::ColumnList.*::row.*::ite
m"/>

headerText="Clicks" 
dataField="getMostPopularPostsResponse.ColumnList.row.item"

width="75"/>







WS Response Doc
---

PostsResponse xmlns:soap-
env="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ns1="http://kevinobrien.composite.com/services/webservices/adob
e/blogSvc/blogPort" xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance">


postId


clicks


dateTimeAggregated


feedId


feedName


postTitle


postExcerpt


postLink


rPostsResponse>

I tried creating an XMLListCollection object, but I got a compile 
error that, being a newbie, did not make sense. Here is the syntax I 
used.

on id="xc"
source="{wsBlogAggr.getMostPopularPosts.lastResult}"/>

Can anyone help with info on how to parse the response doc?






__._,_.___





--
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] Remote JNDI server

2006-07-13 Thread Cathy Reilly





I've detailed troubleshooting information for this 
situation on the Adobe forums.  In particular, you'll want to create a 
jndiTest.jsp which works for your situation.  Once you have that running, 
you'll know which properties to use in the  
as well as the message destinations.
 
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=583&threadid=1160937&messageid=4158668
 
- Cathy


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Allen 
RiddleSent: Thursday, July 13, 2006 3:57 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Remote JNDI 
server


Has anybody been able to set up the 
Messaging Services to send messages to a remote machine using the 
 configurations? I’m unable to connect to my 
remote server.
 
Allen Riddle
Sofware 
Development
x3217
  
__._,_.___





--
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] efficient way of doing custom formatting on datagrid column values

2006-07-13 Thread JesterXL





Perhaps you could cache the draw's?  
Additionally, maybe defer their drawing by like a second?
 
You could override the data setter on your item 
rendere, and use a setTimeout of 1 second.  Additionally, you could only 
set the label IF the data has in fact changed.  This would require either 
storing a Dictionary of the set ID's of the ValueObject, OR putting a special 
slot "Decorated" by the itemRenderer; basically, "Hey dude, next time you want 
to get rendered, just hand me this string I put on you, ok?"  That way, the 
"way it should be shown" is stored on the VO.
 
Kind of Queer Eye for the Straight Guy, only, for 
ValueObjects.
 
- Original Message - 
From: Pan 
Troglodytes 
To: flexcoders 
Sent: Thursday, July 13, 2006 7:41 PM
Subject: [flexcoders] efficient way of doing custom formatting on 
datagrid column values
I have a datagrid with a half-dozen columns, all but one 
numeric.  I've used itemrenderers to make a label with a built in formatter 
to get them nice looking:  
    
      
  
       
Looks cool, but makes for horribly laggy performance when scrolling 
around the grid with about 1000 records.  What's a better way to do 
this?  Is there one or are we stuck with this? Alternately, I've 
modified the data so that it's formatted when the data is loaded.  But this 
screws up the sorting requiring me to write custom sorters.  I've also 
tried breaking out my renderer into another class, but I still have to create a 
formatter for every instance since it can't see the one outside of the 
renderer.  I think this is where the bulk of the slowness is. Of 
course, this may be a moot point.  I have some columns that need the text 
to be colorered depending on value.  When I put an item renderer label on 
those with color="{data.value < 0 ? 0xFF : 0x008000}", this bogs down 
the scrolling, too.  Not sure how I'll get around that. This just 
all seems like a lot of trouble and I'm hoping I'm missing something.-- 
Jason  
__._,_.___





--
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: efficient way of doing custom formatting on datagrid column values

2006-07-13 Thread Tim Hoff



Hi Pan,
If you just want to format a field a labelFuncion is a more light-weight solution.  Here is a sample that illustrates the different DataGrid renderers.  You will also see how to change the text color conditionally.
http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectID=443 
-TH--- In flexcoders@yahoogroups.com, "Pan Troglodytes" <[EMAIL PROTECTED]> wrote:>> I have a datagrid with a half-dozen columns, all but one numeric. I've used> itemrenderers to make a label with a built in formatter to get them nice> looking:> > > dataField="Bookings">> > > > > > > > > > Looks cool, but makes for horribly laggy performance when scrolling around> the grid with about 1000 records. What's a better way to do this? Is there> one or are we stuck with this?> > Alternately, I've modified the data so that it's formatted when the data is> loaded. But this screws up the sorting requiring me to write custom> sorters. I've also tried breaking out my renderer into another class, but I> still have to create a formatter for every instance since it can't see the> one outside of the renderer. I think this is where the bulk of the slowness> is.> > Of course, this may be a moot point. I have some columns that need the text> to be colorered depending on value. When I put an item renderer label on> those with color="{data.value < 0 ? 0xFF : 0x008000}", this bogs down> the scrolling, too. Not sure how I'll get around that.> > This just all seems like a lot of trouble and I'm hoping I'm missing> something.> > -- > Jason>

__._,_.___





--
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] efficient way of doing custom formatting on datagrid column values

2006-07-13 Thread Pan Troglodytes



I have a datagrid with a half-dozen columns, all but one numeric.  I've used itemrenderers to make a label with a built in formatter to get them nice looking:
                     
Looks cool, but makes for horribly laggy performance when scrolling around the grid with about 1000 records.  What's a better way to do this?  Is there one or are we stuck with this?
Alternately, I've modified the data so that it's formatted when the data is loaded.  But this screws up the sorting requiring me to write custom sorters.  I've also tried breaking out my renderer into another class, but I still have to create a formatter for every instance since it can't see the one outside of the renderer.  I think this is where the bulk of the slowness is.
Of course, this may be a moot point.  I have some columns that need the text to be colorered depending on value.  When I put an item renderer label on those with color="{data.value < 0 ? 0xFF : 0x008000}", this bogs down the scrolling, too.  Not sure how I'll get around that.
This just all seems like a lot of trouble and I'm hoping I'm missing something.-- Jason

__._,_.___





--
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] Tree AllowMultipleSelection Bug

2006-07-13 Thread sufibaba
Sorry Adobe Engineers,

I hate to be a bore with bugs...  the Multiple Selection doesn't seem
to be working in this final version. Below is the what's in the flex docs.

-- Tim


http://www.adobe.com/2006/mxml";>































 Yahoo! Groups Sponsor ~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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/
 





[flexcoders] Re: Spring Enable Flex

2006-07-13 Thread billy_d_white
Use the FlexFactory.  It allows you to integrate Flex Data Services
with whatever framework you want.  See this thread:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=583&threadid=1169760&enterthread=y#4190415


--- In flexcoders@yahoogroups.com, suzy lawson <[EMAIL PROTECTED]> wrote:
>
> There isn't much to do to get Flex to talk with Spring! 
> 
> All you need to do is put a delegate class in the middle which is
nothing more than a simple POJOFlex calls Pojo, Pojo invokes
Spring Beans...
> 
>   
> -
> How low will we go? Check out Yahoo! Messenger's low  PC-to-Phone
call rates.
>






--
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 it Possible to call a function that's inside of a Tree ItemRenderer?

2006-07-13 Thread sufibaba
Works like a charm !

Kudos Michael.

Tim

--- In flexcoders@yahoogroups.com, "Michael Montagna" <[EMAIL PROTECTED]>
wrote:
>
> --- In flexcoders@yahoogroups.com, "sufibaba"  wrote:
> >
> > Hi All,
> > 
> > I have a function inside of a custom Tree ItemRenderer.  
> > 
> > I would like to be able to fire this function programatically at the
> > Tree's level.
> > 
> > Any light on this is greatly appreciated.
> > 
> > Cheers,
> > 
> > Tim
> >
> 
> For all listbase controls, you can use the methods below to get the
> invididual renderers.  Remember that renderers are recycled so a
> reference to a renderer may get stale. 
> 
> 
> indexToItemRenderer(index:int):IListItemRenderer  
> 
> and 
> 
> itemToItemRenderer(item:Object):IListItemRenderer 
> 
> 
> -Michael
>







--
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: DataGridColumn "id" attrubute is gone??

2006-07-13 Thread Doug Lowder
Hi Suzy,

This post might help.
http://groups.yahoo.com/group/flexcoders/message/39557


--- In flexcoders@yahoogroups.com, "Suzy Lawson" <[EMAIL PROTECTED]> 
wrote:
>
> I have a view state that hides/shows datagrid columns. I need 
the "id"
> attribute in order to identify to the State which column to set the
> 'visible' value to.
> 
> In mxml, there is a  attribute, 
HOWEVER,
> there is not one when you do this:
> 
> var dataGridColumn : DataGridColumn = new DataGridColumn();   
> dataGridColumn.id="fromColumn";// COMPILER ERROR 'id' does not 
exist
> 
> How is this possible? I appreciate your help in advance.
> 
> Thanks.
>







 Yahoo! Groups Sponsor ~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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/
 




[flexcoders] Re: WebORB for .net beta5: feedback

2006-07-13 Thread Mark Piller
Hi Jonas,

I will give you an opinion from my personal experience and
perspective. I am sure there will be different point of views on this
subject. Essentially it comes down to what's important for you and
your application. There are several variables in the formula:

1. application performance
2. time to market 
3. speed of development 
4. development cost
5. overall project cost (includes product licensing, development cost,
maintenance and operations cost)

So here's my breakdown for each option you have listed:

ASP.NET Web Services

Pros:
- lower development cost
- reduced project cost
- adequate speed of development (potentialy offset by problems listed
in 'Cons')

Cons:
- slower performance (compare to other alternatives)
- potential problems with data serialization (.NET strongly typed
datasets are known to cause problems for many SOAP stacks other than .NET)
- some applications may require tighter client/server integration
(ability to use session scope, custom serialization, etc). Some of
these concepts may not be available or would require considerable
development and QA efforts.

Flex Remoting using WebORB
--
Pros:
- superb application performance due to binary data on-the-wire 
- shorter time to market
- reduced development cost
- rich client/server development environment with lots of
customization options (configurable service activation, custom
serialization, customizable client/server object mapping, etc)

Cons:
- for simpler projects greater licensing cost than with WebServices

Flex DataServices for .NET using WebORB
---
Pros:
- works just like Adobe's FDS for Java (beta 5 provides a subset of
functionality - RPC and FDMS are available today)
- ideal for data-driven and/or real-time messaging applications
- availability of significant data management and messaging infrastructure
- reduced development time - developers focus just on the core data
access/update logic

Cons:
- greater licensing cost

I am very interested to hear other people opinions on this subject.

cheers,
Mark

--- In flexcoders@yahoogroups.com, "Jonas Windey" <[EMAIL PROTECTED]> wrote:
>
> Hi Mark,
> 
>  
> 
> Thanks for your explanations. We (our team) are still not 100% sure what
> method is the best to follow. I've been following Flex2 since the alpha
> version, and due to our experience with .NET (just regular websites with
> some Ajax), we have chosen to go with a Web Services approach.
> 
> Not having any experience with Flash remoting (before, we used Flash in
> combination with regular asp to provide xml data to flash), this was the
> easiest way.
> 
>  
> 
> Can anyone give some pros and cons on some ways of working with .NET and
> Flex? It seems there are 3 choices:
> 
> -  ASP.NET Web Services
> 
> -  Flex Remoting using WebORB
> 
> -  Flex DataServices using WebORB
> 
>  
> 
> (don't mention FDS, since we are running in a Windows environment
using IIS,
> and some customers who dislike Java)
> 
>  
> 
> The projects we work on are mainly Media Asset Management tools,
together
> with admin. Our database is MS SQL 2005, using stored procedures.
> 
> Sidenote: we're using asp.net 2.0.
> 
>  
> 
> All tips are welcome!
> 
>  
> 
> Jonas
> 
>  
> 
>   _  
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of mpiller
> Sent: donderdag 13 juli 2006 15:33
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: WebORB for .net beta5: feedback
> 
>  
> 
> Hi Jonas,
> 
> I just want to clarify a few things to help avoid possible confusion.
> 
> If you're doing Flex remoting (ie invoke .NET objects from Flex using
> RemoteObject), you do not need to do anything special at all - no need
> for special method attributes, no need to register methods in xml
> files - just drop your assembly into /bin folder and register a
> destination in remoting-config.xml and you are done.
> 
> However if you're doing data management using mx.data.DataService on
> the client side, then you need to register your data assembler methods
> in data-management-config.xml. Normally you would have one or more
> methods to do 'fills' and just one method to do 'syncs'. This will be
> optional in Beta6 as we will be publishing an interface that your data
> assembler class can implement.
> 
> Hope this helps.
> 
> cheers,
> Mark
> 
> --- In [EMAIL PROTECTED] 
ups.com,
> "Jonas Windey"  wrote:
> >
> > Hi Tim,
> > 
> > 
> > 
> > Well, my first impression is that it's pretty complex, at least a
> lot more
> > complex than just creating ASP.NET Web services and calling them
> from flex.
> > 
> > Apparently you need to place all your remote methods in xml config
> files.
> > Etc. The tutorials from
> > http://www.themidni
> 
> ghtcoders.com/articles/datamanagement-part3.htm
> help a
> > lot, but it's still a huge cha

[flexcoders] Re: Tree Drag Drop Blues ... Bug Report

2006-07-13 Thread sufibaba
Thanks Michael,

The droped-on tree has items in it.  The problem is that the dragged
proxy doesn't turn to a Green plus sign and therefore doesn't allow
the drop operation to work.  All other nodes work fine.  


> Hi Tim, 
> 
> By default the Tree only supports MOVE DND operations between Tree
> controls.  To drop to a grid you'll want to implement your own DND
> methods.  
> 
> Dropping to the first item sounds like a bug. Are there items in it
> already? Does the control RTE? or does the item just disappear? Is the
> item removed from the drag initiator? 
> 
> Thanks, 
> 
> -Michael
>







 Yahoo! Groups Sponsor ~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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/
 





[flexcoders] Re: iframe portal external web page

2006-07-13 Thread Tim Hoff



Hi Engkee,
Here are a coupe of links that show the use of Iframe with Flex.  I'm not sure if the examples have been updated to the final release, but you should be able to see how the code works.
http://coenraets.com/viewarticle.jsp?articleId=95 
http://www.merhl.com/flex2_samples/iframe/IFrame.html 
-TH--- In flexcoders@yahoogroups.com, "Engkee Kwang" <[EMAIL PROTECTED]> wrote:>> is there a way to create the equivalent of an iframe in a flex application that I can use to display external web pages?> > eg. creating a portal/window in my application to display www.yahoo.com> > I assume I can reverse the containment structure and use HTML to provide the overall containment... but I like to know if there is a way to do same if the flex app is the top level container.> > -Engkee>

__._,_.___





--
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: Spring Enable Flex

2006-07-13 Thread suzy lawson



There isn't much to do to get Flex to talk with Spring! All you need to do is put a delegate class in the middle which is nothing more than a simple POJOFlex calls Pojo, Pojo invokes Spring Beans... 
		How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.
__._,_.___





--
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] Spring Enable Flex

2006-07-13 Thread Jeff Tapper
We are using spring to manage the classes flex interacts with on one of our 
projects.

At 04:13 PM 7/13/2006, Allen Riddle wrote:

>I’m not having any issues, it’s just nice because it’s one less 
>configuration format to learn.
>
>
>
>--
>From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On 
>Behalf Of Dimitrios Gianninas
>Sent: Thursday, July 13, 2006 2:06 PM
>To: flexcoders@yahoogroups.com
>Subject: RE: [flexcoders] Spring Enable Flex
>
>
>
>Probably not can u describe the problem/issue you are having?
>
>
>
>Dimitrios Gianninas
>
>RIA Developer
>
>Optimal Payments Inc.
>
>
>
>
>
>--
>From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On 
>Behalf Of Allen Riddle
>Sent: Thursday, July 13, 2006 10:41 AM
>To: flexcoders@yahoogroups.com
>Subject: [flexcoders] Spring Enable Flex
>
>Does anybody (Adobe developers???) know if Adobe has any plans to Spring 
>enable Flex? I think it would really help out with configuration.
>
>Allen Riddle
>
>Sofware Development
>
>x3217
>
>AVIS IMPORTANT
>
>WARNING
>
>Ce message électronique et ses pièces jointes peuvent contenir des 
>renseignements confidentiels, exclusifs ou légalement privilégiés destinés 
>au seul usage du destinataire visé. L'expéditeur original ne renonce à 
>aucun privilège ou à aucun autre droit si le présent message a été 
>transmis involontairement ou s'il est retransmis sans son autorisation. Si 
>vous n'êtes pas le destinataire visé du présent message ou si vous l'avez 
>reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, 
>ainsi que toutes ses pièces jointes, de votre système. La lecture, la 
>distribution, la copie ou tout autre usage du présent message ou de ses 
>pièces jointes par des personnes autres que le destinataire visé ne sont 
>pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier 
>électronique par erreur, veuillez en aviser l'expéditeur.
>
>This electronic message and its attachments may contain confidential, 
>proprietary or legally privileged information, which is solely for the use 
>of the intended recipient. No privilege or other rights are waived by any 
>unintended transmission or unauthorized retransmission of this message. If 
>you are not the intended recipient of this message, or if you have 
>received it in error, you should immediately stop reading this message and 
>delete it and all attachments from your system. The reading, distribution, 
>copying or other use of this message or its attachments by unintended 
>recipients is unauthorized and may be unlawful. If you have received this 
>e-mail in error, please notify the sender.
>
>
>No virus found in this incoming message.
>Checked by AVG Anti-Virus.
>Version: 7.1.394 / Virus Database: 268.10.0/388 - Release Date: 7/13/2006



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.394 / Virus Database: 268.10.0/388 - Release Date: 7/13/2006





--
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] DataGridColumn "id" attrubute is gone??

2006-07-13 Thread Suzy Lawson
I have a view state that hides/shows datagrid columns. I need the "id"
attribute in order to identify to the State which column to set the
'visible' value to.

In mxml, there is a  attribute, HOWEVER,
there is not one when you do this:

var dataGridColumn : DataGridColumn = new DataGridColumn(); 
dataGridColumn.id="fromColumn";// COMPILER ERROR 'id' does not exist

How is this possible? I appreciate your help in advance.

Thanks.







 Yahoo! Groups Sponsor ~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/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/
 





Re: [flexcoders] best general purpose way to keep textarea scrolled to bottom

2006-07-13 Thread Pan Troglodytes



Very nice!  Works fine for me in release.On 7/13/06, Darron J. Schall <[EMAIL PROTECTED]> wrote:













  







I've done this in the past through code like the following:

textArea.addEventListener( FlexEvent.VALUE_COMMIT, autoScrollToBottom );

private function autoScrollToBottom( event:FlexEvent ):void
    {
        // Auto-scroll to the bottom anytime the text changes
        event.target.validateNow();
        event.target.verticalScrollPosition =
event.target.maxVerticalScrollPosition;
    }

Essentially, with the above code you never have to explicitly tell the
text area to scroll to the bottom - it will automatically do that
anything the text property changes programmatically.  So, anytime you
assign the text to be something else, your scrollbar will automatically
adjust for you.

This is code I've used in the past with beta 3, and I haven't tried it
with the released version, so it's not guaranteed to work.  :-)

-d

Pan Troglodytes wrote:


  
  I wish TextArea had a property that would set it to scroll to the
bottom on adding text.  In the absence of such, I'm struggling to make
it do that.  I have a log function that looks like this:
  
    private function
log(s:Object):void {
      debug.text +=
"\n" + s.toString();
     
debug.verticalScrollPosition = debug.maxVerticalScrollPosition;
    }
  
Unfortunately, it seems that the max position isn't updated yet at this
point.  I've tried hooking into change/dataChange and other events
without luck.  It's always scrolled ALMOST to the bottom.
  
  
What's the best way to solve this?
  
-- 
Jason
  
  






  













-- Jason

__._,_.___





--
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] Repeater recyclechildren not functioning on custom components

2006-07-13 Thread maikelsibbald
I created a Component which extends Image. Now I use a repeater 
to "draw" several images. In the component I added an eventListener
for the "creationComplete" event. Now every time the dataProvider is
updated 
the event is triggered even when I use rycyclechildren is true.



Any suggestions? 






--
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] best general purpose way to keep textarea scrolled to bottom

2006-07-13 Thread Daniel Nelson



Maybe this old post will help 
 
See: 
http://www.mail-archive.com/flexcoders@yahoogroups.com/msg19784.html
 
Hope it helps. 
-Dan 

__._,_.___





--
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] Loading WSDL using Flex 2.0 Data Services

2006-07-13 Thread Carson Hager





If you can post your WebService MXML or ActionScript 
in use to invoke the web service as well as the URL that you are using in the 
browser to run your Flex application, we can point you in the right 
direction.  You may or may not need a crossdomain.xml 
file.
 
 
Carson

 Carson 
HagerCynergy Systems, Inc.http://www.cynergysystems.com Email:  
[EMAIL PROTECTED]Office:  
866-CYNERGYMobile: 1.703.489.6466
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
efeminellaSent: Thursday, July 13, 2006 12:34 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Loading WSDL using 
Flex 2.0 Data Services


I am running a Flex 2.0 Application on JRUN and I continue to recievethe 
following error when attempting to load a wsdl:Error loading 
WSDL:[RPC Fault faultString="Send 
failed"faultCode="Client.Error.MessageSend" 
faultDetail="Unable to load WSDL.If currently online, please verify the 
URI and/or format of the WSDL I am not sure what i need to do in order 
to load the wsdl...crossdomain-policy.xml etc.Any advice would 
be greatly appreciated.Thanks in advance,Eric 
Feminella
__._,_.___





--
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: Pass value into HeaderRenderer

2006-07-13 Thread Torey Maerz
Well I think that I got this working...sort of...thought that I would 
pass my solution on for others that might use it.

Basically I retrieve a public variable dictionary from the 
parentApplication which contains the properties that I need.  The 
public dictionary uses the datafield for the column as key.  

Example:
Creating the properties in the main application...
dgCol.headerRenderer = new ClassFactory(HeaderDefinition);
headerDefinitionProperties.Message[dgCol.dataField] = "Hello" + 
dgCol.dataField;

Accessing the propertiy from the headerrenderer...
message = this.parentApplication.headerDefinitionProperties.Message
[data.dataField];

I created a class HeaderDefinitionProperties to hopefully keep the 
properties a little more standardized

So what do you think.  I do not exactly like accessing a public 
property via the parentApplication  but I do not see any other way to 
do thisAnyone have any other ideas??

Thanks in advance for the thoughts

-Torey

--- In flexcoders@yahoogroups.com, "Torey Maerz" <[EMAIL PROTECTED]> 
wrote:
>
> How could I pass a value into a headerrenderer so that I can use 
that 
> value to perform a specific action in the renderer?
> 
> For example here is my renderer:
> 
> http://www.adobe.com/2006/mxml";>
> 
> 
> 
>   
> 
> 
> 
> I would like to display something other than hello world for the 
> alert or even pass multiple variables in to determine how the 
> renderer will be created.  For example something to determine which 
> icon to show.
> 
> Here is my code that dynamically creates the columns:
> 
> private function LoadColumns(event:ResultEvent):void
> {
>   //Creating an array from an httpservice 
>   var cols:Array = ArrayUtil.toArray
> (columns.lastResult.Columns.Column);
>   var newCols:ArrayCollection = new ArrayCollection();
> 
>   //Looping through the columns and setting the properties
>   var count:int = cols.length;
>   for(var x:int = 0; x < count; x++)
>   {
> var dgCol:DataGridColumn = new DataGridColumn(cols[x].Heading);
> dgCol.dataField = "Data" + x.toString();
> 
> dgCol.headerRenderer = new ClassFactory(HeaderDefinition);
> //OK Here I would like to set the properties
> //dgCol.headerRenderer.someProperty = someValue
> 
> newCols.addItem(dgCol);
>   }
> 
>   dg.columns = newCols.toArray();
> 
>   //Send the httpservice that contains the data for these columns
>   data.send();
> }
> 
> What do I need to do to pass a couple variables into the 
> headerRenderer??
> 
> Thanks in advance for any help!!!
> 
> 
>






 Yahoo! Groups Sponsor ~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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/
 




RE: [flexcoders] Spring Enable Flex

2006-07-13 Thread Allen Riddle












I’m not having any issues, it’s
just nice because it’s one less configuration format to learn.

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dimitrios Gianninas
Sent: Thursday, July 13, 2006 2:06
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Spring
Enable Flex



 







Probably not
can u describe the problem/issue you are having?



 



Dimitrios
Gianninas

RIA Developer

Optimal Payments
Inc.



 



 







From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Allen Riddle
Sent: Thursday, July 13, 2006
10:41 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Spring
Enable Flex





Does anybody
(Adobe developers???) know if Adobe has any plans to Spring enable Flex? I
think it would really help out with configuration.

Allen Riddle

Sofware
Development

x3217






 
  
  AVIS
  IMPORTANT
  
  
  WARNING
  
 
 
  
  Ce message électronique et ses pièces jointes
  peuvent contenir des renseignements confidentiels, exclusifs ou légalement
  privilégiés destinés au seul usage du destinataire visé. L'expéditeur
  original ne renonce à aucun privilège ou à aucun autre droit si le présent
  message a été transmis involontairement ou s'il est retransmis sans son
  autorisation. Si vous n'êtes pas le destinataire visé du présent message ou
  si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et
  le supprimer, ainsi que toutes ses pièces jointes, de votre système. La
  lecture, la distribution, la copie ou tout autre usage du présent message ou
  de ses pièces jointes par des personnes autres que le destinataire visé ne
  sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier
  électronique par erreur, veuillez en aviser l'expéditeur.
  
  
  This electronic message and its attachments
  may contain confidential, proprietary or legally privileged information,
  which is solely for the use of the intended recipient. No privilege or other
  rights are waived by any unintended transmission or unauthorized
  retransmission of this message. If you are not the intended recipient of this
  message, or if you have received it in error, you should immediately stop
  reading this message and delete it and all attachments from your system. The
  reading, distribution, copying or other use of this message or its
  attachments by unintended recipients is unauthorized and may be unlawful. If
  you have received this e-mail in error, please notify the sender.
  
 





__._,_.___





--
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] best general purpose way to keep textarea scrolled to bottom

2006-07-13 Thread Darron J. Schall






I've done this in the past through code like the following:

textArea.addEventListener( FlexEvent.VALUE_COMMIT, autoScrollToBottom );

private function autoScrollToBottom( event:FlexEvent ):void
    {
        // Auto-scroll to the bottom anytime the text changes
        event.target.validateNow();
        event.target.verticalScrollPosition =
event.target.maxVerticalScrollPosition;
    }

Essentially, with the above code you never have to explicitly tell the
text area to scroll to the bottom - it will automatically do that
anything the text property changes programmatically.  So, anytime you
assign the text to be something else, your scrollbar will automatically
adjust for you.

This is code I've used in the past with beta 3, and I haven't tried it
with the released version, so it's not guaranteed to work.  :-)

-d

Pan Troglodytes wrote:


  
  I wish TextArea had a property that would set it to scroll to the
bottom on adding text.  In the absence of such, I'm struggling to make
it do that.  I have a log function that looks like this:
  
    private function
log(s:Object):void {
      debug.text +=
"\n" + s.toString();
     
debug.verticalScrollPosition = debug.maxVerticalScrollPosition;
    }
  
Unfortunately, it seems that the max position isn't updated yet at this
point.  I've tried hooking into change/dataChange and other events
without luck.  It's always scrolled ALMOST to the bottom.
  
  
What's the best way to solve this?
  
-- 
Jason
  
  




__._,_.___





--
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] Is anyone having trouble contacting Adobe and/or purchasing Flex?

2006-07-13 Thread Matt Chotin












Feel free to mail me if this isn’t getting
resolved and I can get someone to look into it.

 

Matt

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Knudsen
Sent: Monday, July 10, 2006 6:34
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Is
anyone having trouble contacting Adobe and/or purchasing Flex?



 







Our purchasing dept is having problems currently
getting new keys and upgrade info for us as a Flex subscription holder. 
Some confusion over how adobe.com site works and
macromedia.com did or something.

DK



On 7/10/06, Stephane
De Jonckheere <[EMAIL PROTECTED]>
wrote: 







Here in Switzerland, we have to order Flex
via a software revendor.





For Flex 1.5, we used a french one...





 





 





-Original Message-
From: Jonas Windey
[mailto:[EMAIL PROTECTED]]
Sent: lundi, 10.
juillet 2006 10:00
To: flexcoders@yahoogroups.com





Subject: RE: [flexcoders] Is anyone having trouble contacting Adobe and/or
purchasing Flex?












The only problem we have is that we're from Belgium (Europe),
and still can't buy Flex 2.0 yet. 

Our CEO has direct contact with Adobe in The Netherlands
though, so it should be here any day now.

 

Jonas

 









From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of JesterXL
Sent: maandag 10 juli 2006 9:36
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Is
anyone having trouble contacting Adobe and/or purchasing Flex?



 













Not here.

1. 3:26am - go to adobe.com
2. log in, find credit card
3. choose Products > Flex
4. click purchase > Flex with Charting
5. input info in store, click submit
6. done!

Took 3 minutes, and 36 seconds.

Sounds like you read the story about someone in Oz not being so lucky?
http://www.mariposa.com.au/arcims/2006/07/how_can_i_buy_flex_2_in_austra.cfm


.however, I AM paying mad bling to Robin Hilliard for his Flex 2 API 
posters, so that would imply that if Robin Hilliard is affiliated with Flex, 
then Ozzie's CAN buy it. :: shrugs :: I haven't seen any other mention on 
Techmeme, techcrunch, delicious, mxna, etc.

- Original Message - 
From: "David Mendels" <[EMAIL PROTECTED]>
To: 
Sent: Sunday, July 09, 2006 11:50 PM
Subject: [flexcoders] Is anyone having trouble contacting Adobe and/or 
purchasing Flex?

Hi Flexcoders,

Subject line is fairly self-explanatory. I have seen a blog post or two
from people having trouble connecting with us on pricing or simply with
purchasing Flex Builder.

This is the first product from the former Macromedia to be launched at
Adobe and I am sure we have kinks in "the system". I want to make
sure
we troubleshoot quickly. Please let us know.

Regards,
David
Adobe

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




__ NOD32 1.1651 (20060708) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com













This email
and any attachments transmitted with it are confidential and intended solely
for the use of the individual or entity to whom they are addressed. If you are
not the intended recipient, any disclosure, copying, use, or distribution of
the information included in this message and any attachments is strictly
prohibited. 

If you
have received this email in error, please notify the system manager at [EMAIL PROTECTED] or by
reply e-mail and immediately and permanently delete this message and any
attachments. Thank you.












-- 
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it? 






__._,_.___





--
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: [Junk E-Mail - LOW] Re: [flexcoders] File Upload problem?

2006-07-13 Thread Shannon Hicks





That's exactly what I needed. I shoehorned their code into 
something my app could use :)
 
Thanks!
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
[EMAIL PROTECTED]Sent: Thursday, July 13, 2006 3:15 
PMTo: flexcoders@yahoogroups.comSubject: RE: [Junk E-Mail 
- LOW] Re: [flexcoders] File Upload problem?


It seems that you need to add listeners for each file individually. Take 
alook at the example in here http://livedocs.macromedia.com/flex/2/langref/flash/net/FileReferenceList.html|-+->| 
| || | "Shannon Hicks" || | <[EMAIL PROTECTED]com> || | Sent 
by: || | [EMAIL PROTECTED]ups.com 
|| | 07/13/2006 03:22 PM || | Please respond to || | flexcoders 
|| | 
||-+->>--|| 
|| To: <[EMAIL PROTECTED]ups.com> 
|| cc: || Subject: RE: [Junk E-Mail - LOW] Re: [flexcoders] File Upload 
problem? 
|>--|Tried 
it, still nothing.Is there a bug (or undocumented feature) with the 
event dispatching whenyou're uploading multiple 
files?ShanFrom: [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
OnBehalf Of Oscar.Cortes@sunlife.comSent: 
Thursday, July 13, 2006 2:02 PMTo: [EMAIL PROTECTED]ups.comSubject: 
[Junk E-Mail - LOW] Re: [flexcoders] File Upload problem?I have 
something similar working. Try something like this .private function 
fileBrowse():void {var imagesFilter:FileFilter = new 
FileFilter("Images", 
"*.jpg;*.jpeg");configureListeners(imageFileRef);imageName.text 
= "";imageFileRef.browse([imagesFilter]);}private 
function configureListeners(dispatcher:IEventDispatcher):void 
{dispatcher.addEventListener(Event.COMPLETE, 
onComplete);dispatcher.addEventListener(ProgressEvent.PROGRESS, 
progressHandler);dispatcher.addEventListener(Event.SELECT, 
onSelect);}|-+->| 
| || | "Shannon Hicks" || | <[EMAIL PROTECTED]com> || | Sent 
by: || | [EMAIL PROTECTED]ups.com 
|| | 07/13/2006 01:00 PM || | Please respond to || | flexcoders 
|| | 
||-+->>--|| 
|| To: <[EMAIL PROTECTED]ups.com> 
|| cc: || Subject: [flexcoders] File Upload problem? 
|>--|Ok... 
I've been playing with the file upload stuff all morning, and am 80%of the 
way there. Here's a quick sample of what my Browse button fires:private 
function fileBrowse():void {var imagesFilter:FileFilter = new 
FileFilter("Images", 
"*.jpg;*.jpeg");imageFileRef.addEventListener(Event.COMPLETE, 
onComplete);imageFileRef.addEventListener(ProgressEvent.PROGRESS, 
progressHandler);imageFileRef.addEventListener(Event.SELECT, 
onSelect);imageName.text = 
"";imageFileRef.browse([imagesFilter]);}private function 
fileUpload():void {uploadProgressPopup = 
uploadProgressBar(PopUpManager.createPopUp(this,flexComponents.uploadProgressBar, 
true));var urlVars:URLVariables = new 
URLVariables();urlVars.userID = 
model.currentUser.userID;urlVars.mouseID = 
model.editMouse.mouseID;uploadTarget.data = 
"">uploadTarget.method = URLRequestMethod.POST;for 
(var i:int=0; i < imageFileRef.fileList.length; 
i++){imageFileRef.fileList[i].upload(uploadTarget);}}private 
function progressHandler(event:ProgressEvent):void {var 
percentLoaded:Number = Number((event.bytesLoaded 
/event.bytesTotal) * 
100);uploadProgressPopup.doUpdateProgress(percentLoaded);Alert.show("The 
file is " + percentLoaded.toString() + "% 
loaded.");}private function onComplete(event:Event):void 
{Alert.show("Done.");PopUpManager.removePopUp(uploadProgressPopup);}Now, 
I can browse just fine, and my upload button fires off the upload, andthe 
files make it safely to the server, where ColdFusion saves them to 
thefilesystem. The only problem is that my progressHandler() and 
onComplete()methods never fire.Is there some trick? Do I need to 
have ColdFusion return something?Shan--No virus found in 
this outgoing message.Checked by AVG Free Edition.Version: 7.1.394 / 
Virus Database: 268.9.10/387 - Release Date: 
7/12/2006--This 
e-mail message (including attachments, if any) is intended for the useof the 
individual or entity to which it is addressed and may containinformation 
that is privileged, proprietary , confidential and exempt fromdisclosure. If 
you are not the intended recipient, you are notified thatany dissemination, 
distribution or copying of this communication isstrictly prohibited. If you 
have received this communication in error,please notify the sender and erase 
this e-mail message 
immediately.No 
virus found in this incoming message.Checked by AVG Free 
Edition.Version: 7.1.394 / Virus Database: 268.9.10/387 - Release Date: 
7/12/2006--No virus found in this outgoing message.Check

RE: [Junk E-Mail - LOW] Re: [flexcoders] File Upload problem?

2006-07-13 Thread Shannon Hicks





My last question lead me to RTFM again looks like 
FileReferenceList doesn't have any events other than "select" and 
"cancel"
 
So, my next question is how do I know when the upload is 
complete?
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
[EMAIL PROTECTED]Sent: Thursday, July 13, 2006 2:02 
PMTo: flexcoders@yahoogroups.comSubject: [Junk E-Mail - 
LOW] Re: [flexcoders] File Upload problem?


I have something similar working. Try something like this 
.private function fileBrowse():void {var 
imagesFilter:FileFilter = new FileFilter("Images", 
"*.jpg;*.jpeg");configureListeners(imageFileRef);imageName.text 
= "";imageFileRef.browse([imagesFilter]);}private 
function configureListeners(dispatcher:IEventDispatcher):void 
{dispatcher.addEventListener(Event.COMPLETE, 
onComplete);dispatcher.addEventListener(ProgressEvent.PROGRESS, 
progressHandler);dispatcher.addEventListener(Event.SELECT, 
onSelect);}|-+->| 
| || | "Shannon Hicks" || | <[EMAIL PROTECTED]com> || | Sent 
by: || | [EMAIL PROTECTED]ups.com 
|| | 07/13/2006 01:00 PM || | Please respond to || | flexcoders 
|| | 
||-+->>--|| 
|| To: <[EMAIL PROTECTED]ups.com> 
|| cc: || Subject: [flexcoders] File Upload problem? 
|>--|Ok... 
I've been playing with the file upload stuff all morning, and am 80%of the 
way there. Here's a quick sample of what my Browse button fires:private 
function fileBrowse():void {var imagesFilter:FileFilter = new 
FileFilter("Images", 
"*.jpg;*.jpeg");imageFileRef.addEventListener(Event.COMPLETE, 
onComplete);imageFileRef.addEventListener(ProgressEvent.PROGRESS, 
progressHandler);imageFileRef.addEventListener(Event.SELECT, 
onSelect);imageName.text = 
"";imageFileRef.browse([imagesFilter]);}private function 
fileUpload():void {uploadProgressPopup = 
uploadProgressBar(PopUpManager.createPopUp(this,flexComponents.uploadProgressBar, 
true));var urlVars:URLVariables = new 
URLVariables();urlVars.userID = 
model.currentUser.userID;urlVars.mouseID = 
model.editMouse.mouseID;uploadTarget.data = 
"">uploadTarget.method = URLRequestMethod.POST;for 
(var i:int=0; i < imageFileRef.fileList.length; 
i++){imageFileRef.fileList[i].upload(uploadTarget);}}private 
function progressHandler(event:ProgressEvent):void {var 
percentLoaded:Number = Number((event.bytesLoaded 
/event.bytesTotal) * 
100);uploadProgressPopup.doUpdateProgress(percentLoaded);Alert.show("The 
file is " + percentLoaded.toString() + "% 
loaded.");}private function onComplete(event:Event):void 
{Alert.show("Done.");PopUpManager.removePopUp(uploadProgressPopup);}Now, 
I can browse just fine, and my upload button fires off the upload, andthe 
files make it safely to the server, where ColdFusion saves them to 
thefilesystem. The only problem is that my progressHandler() and 
onComplete()methods never fire.Is there some trick? Do I need to 
have ColdFusion return something?Shan--No virus found in 
this outgoing message.Checked by AVG Free Edition.Version: 7.1.394 / 
Virus Database: 268.9.10/387 - Release Date: 
7/12/2006--This 
e-mail message (including attachments, if any) is intended for the useof the 
individual or entity to which it is addressed and may containinformation 
that is privileged, proprietary , confidential and exempt fromdisclosure. If 
you are not the intended recipient, you are notified thatany dissemination, 
distribution or copying of this communication isstrictly prohibited. If you 
have received this communication in error,please notify the sender and erase 
this e-mail message 
immediately.--
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.9.10/387 - Release Date: 
7/12/2006

__._,_.___





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



  






__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.10/387 - Release Date: 7/12/2006
 


[flexcoders] Remote JNDI server

2006-07-13 Thread Allen Riddle










Has anybody been able to set up the Messaging Services to
send messages to a remote machine using the 
configurations? I’m unable to connect to my remote server.

 

Allen Riddle

Sofware Development

x3217

 




__._,_.___





--
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] best general purpose way to keep textarea scrolled to bottom

2006-07-13 Thread Pan Troglodytes



I would have used callLater(), having only been hampered by not having ever heard of it.Thanks!On 7/13/06, JesterXL <
[EMAIL PROTECTED]> wrote:












  






Use a callLater.  I've used a doLater in the 
past and she worked pretty well.  So like:
 
function log ( s )
{
    debug.text += s + 
"\n";
    callLater ( scrollIt 
);
}
 
function scrollIt()
{
    debug.verticalScrollPosition = 
debug.maxVerticalScrollPosition;
}
 
If that doesn't work, make scrollIt call itself 
recursively 1 time, via a counter.  If that doesn't work, make it 2, 
etc.  I promise it won't be over 10!
 
 
 
 
 
- Original Message - 
From: 
Pan 
Troglodytes 
To: flexcoders 

Sent: Thursday, July 13, 2006 12:23 PM
Subject: [flexcoders] best general purpose way to keep textarea 
scrolled to bottom
I wish TextArea had a property that would set it to scroll to the 
bottom on adding text.  In the absence of such, I'm struggling to make it 
do that.  I have a log function that looks like this:  private function 
log(s:Object):void {    debug.text += "\n" 
+ s.toString();    
debug.verticalScrollPosition = debug.maxVerticalScrollPosition;  }
Unfortunately, 
it seems that the max position isn't updated yet at this point.  I've tried 
hooking into change/dataChange and other events without luck.  It's always 
scrolled ALMOST to the bottom. What's the best way to solve 
this?-- Jason  

  













-- Jason

__._,_.___





--
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] best general purpose way to keep textarea scrolled to bottom

2006-07-13 Thread JesterXL





Use a callLater.  I've used a doLater in the 
past and she worked pretty well.  So like:
 
function log ( s )
{
    debug.text += s + 
"\n";
    callLater ( scrollIt 
);
}
 
function scrollIt()
{
    debug.verticalScrollPosition = 
debug.maxVerticalScrollPosition;
}
 
If that doesn't work, make scrollIt call itself 
recursively 1 time, via a counter.  If that doesn't work, make it 2, 
etc.  I promise it won't be over 10!
 
 
 
 
 
- Original Message - 
From: Pan 
Troglodytes 
To: flexcoders 
Sent: Thursday, July 13, 2006 12:23 PM
Subject: [flexcoders] best general purpose way to keep textarea 
scrolled to bottom
I wish TextArea had a property that would set it to scroll to the 
bottom on adding text.  In the absence of such, I'm struggling to make it 
do that.  I have a log function that looks like this:  private function 
log(s:Object):void {    debug.text += "\n" 
+ s.toString();    
debug.verticalScrollPosition = debug.maxVerticalScrollPosition;  }Unfortunately, 
it seems that the max position isn't updated yet at this point.  I've tried 
hooking into change/dataChange and other events without luck.  It's always 
scrolled ALMOST to the bottom. What's the best way to solve 
this?-- Jason  
__._,_.___





--
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: [Junk E-Mail - LOW] Re: [flexcoders] File Upload problem?

2006-07-13 Thread Oscar . Cortes
It seems that you need to add listeners for each file individually. Take a
look at the example in here 

http://livedocs.macromedia.com/flex/2/langref/flash/net/FileReferenceList.html





|-+->
| | |
| |  "Shannon Hicks"|
| |  <[EMAIL PROTECTED]>|
| |  Sent by:   |
| |  flexcoders@yahoogroups.com |
| |  07/13/2006 03:22 PM|
| |  Please respond to  |
| |  flexcoders |
| | |
|-+->
  
>-|
  | 
|
  |  To:
|
  |  cc:
|
  |  Subject:  RE: [Junk E-Mail - LOW] Re: [flexcoders] File Upload 
problem?|
  
>-|




Tried it, still nothing.



Is there a bug (or undocumented feature) with the event dispatching when
you're uploading multiple files?

Shan

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Thursday, July 13, 2006 2:02 PM
To: flexcoders@yahoogroups.com
Subject: [Junk E-Mail - LOW] Re: [flexcoders] File Upload problem?



I have something similar working. Try something like this .

private function fileBrowse():void {
var imagesFilter:FileFilter = new FileFilter("Images", "*.jpg;*.jpeg");
configureListeners(imageFileRef);
imageName.text = "";
imageFileRef.browse([imagesFilter]);
}

private function configureListeners(dispatcher:IEventDispatcher):void {
dispatcher.addEventListener(Event.COMPLETE, onComplete);
dispatcher.addEventListener(ProgressEvent.PROGRESS, progressHandler);
dispatcher.addEventListener(Event.SELECT, onSelect);

}

|-+->
| | |
| | "Shannon Hicks" |
| | <[EMAIL PROTECTED]> |
| | Sent by: |
| | flexcoders@yahoogroups.com |
| | 07/13/2006 01:00 PM |
| | Please respond to |
| | flexcoders |
| | |
|-+->
>--|
| |
| To:  |
| cc: |
| Subject: [flexcoders] File Upload problem? |
>--|

Ok... I've been playing with the file upload stuff all morning, and am 80%
of the way there. Here's a quick sample of what my Browse button fires:

private function fileBrowse():void {
var imagesFilter:FileFilter = new FileFilter("Images", "*.jpg;*.jpeg");
imageFileRef.addEventListener(Event.COMPLETE, onComplete);
imageFileRef.addEventListener(ProgressEvent.PROGRESS, progressHandler);
imageFileRef.addEventListener(Event.SELECT, onSelect);
imageName.text = "";
imageFileRef.browse([imagesFilter]);
}
private function fileUpload():void {
uploadProgressPopup = uploadProgressBar(PopUpManager.createPopUp(this,
flexComponents.uploadProgressBar, true));
var urlVars:URLVariables = new URLVariables();
urlVars.userID = model.currentUser.userID;
urlVars.mouseID = model.editMouse.mouseID;

uploadTarget.data = urlVars;
uploadTarget.method = URLRequestMethod.POST;

for (var i:int=0; i < imageFileRef.fileList.length; i++){
imageFileRef.fileList[i].upload(uploadTarget);
}
}

private function progressHandler(event:ProgressEvent):void {
var percentLoaded:Number = Number((event.bytesLoaded /
event.bytesTotal) * 100);
uploadProgressPopup.doUpdateProgress(percentLoaded);
Alert.show("The file is " + percentLoaded.toString() + "% loaded.");
}

private function onComplete(event:Event):void {
Alert.show("Done.");
PopUpManager.removePopUp(uploadProgressPopup);
}
Now, I can browse just fine, and my upload button fires off the upload, and
the files make it safely to the server, where ColdFusion saves them to the
filesystem. The only problem is that my progressHandler() and onComplete()
methods never fire.

Is there some trick? Do I need to have ColdFusion return something?

Shan

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.10/387 - Release Date: 7/12/2006

--
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure. If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communi

RE: [Junk E-Mail - LOW] [flexcoders] Shopping Cart Trouble

2006-07-13 Thread Shannon Hicks





I got the code working The event chain was broken. 
Here's the fixed code:
 
http://flex.work.iotashan.com/salShoppingCart/flexcodersHelp.html
(as always, right-click to view the source and download as 
a zip)
 
The one change you might not easily notice was in the 
thumbnail component...
 
dispatchEvent(new 
Event('purchase',true))
 
The true boolean is what tells the event to bubble up the 
application... so the event goes back to the original caller app, and doesn't 
just stay inside the itemRenderer.
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
s_hernandez01Sent: Thursday, July 13, 2006 10:40 AMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] [flexcoders] 
Shopping Cart Trouble


Hi Flexers!!!I was wondering if anyone can help me with my code. I'm 
trying tocreate a shopping cart, but I'm having trouble on the addToCart() 
andaddItem() functions on my actionscript. I'm new to flex and not 
thebest actionscriptist so any advice would be greatly appreciated! 
Iwant to add the product details (name, quantity, and price) from myxml 
document ("catalog.xml") to the the datagrid in the shopping cartwhen 
the user clicks the cart button "(cartBtn)." This has beendriving me nuts 
for the past week, PLEASE HELP! :) ThanksSal8"?>http://www.adobe.com/2006/mxml"layout="absolute" 
xmlns:local="*" 
creationComplete="srv.send()">result="(srv.lastResult.catalog.product)"/>horizontalAlign="center" 
verticalAlign="middle">height="100%" shadowDirection="left" 
shadowDistance="6"title=".:Browse:." fontSize="11" 
fontWeight="bold" moveEffect="Move">"right">"{srv.lastResult.catalog.product}"height="100%" 
width="100%" itemRenderer="thumbnail"id="productTileList" 
rowCount="3" columnCount="4" 
dragEnabled="true"/>purchase="addToCart(event)"/>8"?>http://www.adobe.com/2006/mxml">[Event("purchase")]dropEnabled="true">/>/>/>8"?>http://www.adobe.com/2006/mxml" 
width="100%"height="100%">[Event("purchase")]http://www.adobe.com/2006/mxml" 
backgroundAlpha="0"borderStyle="none" width="75%" 
height="100%"verticalAlign="middle" verticalGap="0" 
verticalScrollPolicy="off"horizontalAlign="center" 
>verticalAlign="middle" 
horizontalAlign="center"/>/>/>"center"verticalAlign="middle">click="dispatchEvent(new 
Event('purchase'))"/>
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.9.10/387 - Release Date: 
7/12/2006
__._,_.___





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



  






__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.10/387 - Release Date: 7/12/2006
 


RE: [Junk E-Mail - LOW] [flexcoders] Shopping Cart Trouble

2006-07-13 Thread Shannon Hicks





I sent the reply to the group, but it's taking too long to 
go through...
 
http://flex.work.iotashan.com/salShoppingCart/flexcodersHelp.html
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
s_hernandez01Sent: Thursday, July 13, 2006 10:40 AMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] [flexcoders] 
Shopping Cart Trouble


Hi Flexers!!!I was wondering if anyone can help me with my code. I'm 
trying tocreate a shopping cart, but I'm having trouble on the addToCart() 
andaddItem() functions on my actionscript. I'm new to flex and not 
thebest actionscriptist so any advice would be greatly appreciated! 
Iwant to add the product details (name, quantity, and price) from myxml 
document ("catalog.xml") to the the datagrid in the shopping cartwhen 
the user clicks the cart button "(cartBtn)." This has beendriving me nuts 
for the past week, PLEASE HELP! :) ThanksSal8"?>http://www.adobe.com/2006/mxml"layout="absolute" 
xmlns:local="*" 
creationComplete="srv.send()">result="(srv.lastResult.catalog.product)"/>horizontalAlign="center" 
verticalAlign="middle">height="100%" shadowDirection="left" 
shadowDistance="6"title=".:Browse:." fontSize="11" 
fontWeight="bold" moveEffect="Move">"right">"{srv.lastResult.catalog.product}"height="100%" 
width="100%" itemRenderer="thumbnail"id="productTileList" 
rowCount="3" columnCount="4" 
dragEnabled="true"/>purchase="addToCart(event)"/>8"?>http://www.adobe.com/2006/mxml">[Event("purchase")]dropEnabled="true">/>/>/>8"?>http://www.adobe.com/2006/mxml" 
width="100%"height="100%">[Event("purchase")]http://www.adobe.com/2006/mxml" 
backgroundAlpha="0"borderStyle="none" width="75%" 
height="100%"verticalAlign="middle" verticalGap="0" 
verticalScrollPolicy="off"horizontalAlign="center" 
>verticalAlign="middle" 
horizontalAlign="center"/>/>/>"center"verticalAlign="middle">click="dispatchEvent(new 
Event('purchase'))"/>
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.9.10/387 - Release Date: 
7/12/2006
__._,_.___





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



  






__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.10/387 - Release Date: 7/12/2006
 


[flexcoders] SelectedItem of DataGrid going to null when sorted

2006-07-13 Thread Chris Waguespack
Please see the code below for a working example.  When you double 
click on dgOne, it does what it is supposed to, but if you first 
click to sort dgTwo and then double click dgOne it messes up and 
sets the selected item to null.  Any idea what's happening?


http://www.adobe.com/2006/mxml"; 
layout="absolute">


























Thanks,
Chris






 Yahoo! Groups Sponsor ~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/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/
 





RE: [Junk E-Mail - LOW] Re: [flexcoders] File Upload problem?

2006-07-13 Thread Shannon Hicks





Tried it, still nothing.
 
Is there a bug (or undocumented feature) with the 
event dispatching when you're uploading multiple files?
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
[EMAIL PROTECTED]Sent: Thursday, July 13, 2006 2:02 
PMTo: flexcoders@yahoogroups.comSubject: [Junk E-Mail - 
LOW] Re: [flexcoders] File Upload problem?


I have something similar working. Try something like this 
.private function fileBrowse():void {var 
imagesFilter:FileFilter = new FileFilter("Images", 
"*.jpg;*.jpeg");configureListeners(imageFileRef);imageName.text 
= "";imageFileRef.browse([imagesFilter]);}private 
function configureListeners(dispatcher:IEventDispatcher):void 
{dispatcher.addEventListener(Event.COMPLETE, 
onComplete);dispatcher.addEventListener(ProgressEvent.PROGRESS, 
progressHandler);dispatcher.addEventListener(Event.SELECT, 
onSelect);}|-+->| 
| || | "Shannon Hicks" || | <[EMAIL PROTECTED]com> || | Sent 
by: || | [EMAIL PROTECTED]ups.com 
|| | 07/13/2006 01:00 PM || | Please respond to || | flexcoders 
|| | 
||-+->>--|| 
|| To: <[EMAIL PROTECTED]ups.com> 
|| cc: || Subject: [flexcoders] File Upload problem? 
|>--|Ok... 
I've been playing with the file upload stuff all morning, and am 80%of the 
way there. Here's a quick sample of what my Browse button fires:private 
function fileBrowse():void {var imagesFilter:FileFilter = new 
FileFilter("Images", 
"*.jpg;*.jpeg");imageFileRef.addEventListener(Event.COMPLETE, 
onComplete);imageFileRef.addEventListener(ProgressEvent.PROGRESS, 
progressHandler);imageFileRef.addEventListener(Event.SELECT, 
onSelect);imageName.text = 
"";imageFileRef.browse([imagesFilter]);}private function 
fileUpload():void {uploadProgressPopup = 
uploadProgressBar(PopUpManager.createPopUp(this,flexComponents.uploadProgressBar, 
true));var urlVars:URLVariables = new 
URLVariables();urlVars.userID = 
model.currentUser.userID;urlVars.mouseID = 
model.editMouse.mouseID;uploadTarget.data = 
"">uploadTarget.method = URLRequestMethod.POST;for 
(var i:int=0; i < imageFileRef.fileList.length; 
i++){imageFileRef.fileList[i].upload(uploadTarget);}}private 
function progressHandler(event:ProgressEvent):void {var 
percentLoaded:Number = Number((event.bytesLoaded 
/event.bytesTotal) * 
100);uploadProgressPopup.doUpdateProgress(percentLoaded);Alert.show("The 
file is " + percentLoaded.toString() + "% 
loaded.");}private function onComplete(event:Event):void 
{Alert.show("Done.");PopUpManager.removePopUp(uploadProgressPopup);}Now, 
I can browse just fine, and my upload button fires off the upload, andthe 
files make it safely to the server, where ColdFusion saves them to 
thefilesystem. The only problem is that my progressHandler() and 
onComplete()methods never fire.Is there some trick? Do I need to 
have ColdFusion return something?Shan--No virus found in 
this outgoing message.Checked by AVG Free Edition.Version: 7.1.394 / 
Virus Database: 268.9.10/387 - Release Date: 
7/12/2006--This 
e-mail message (including attachments, if any) is intended for the useof the 
individual or entity to which it is addressed and may containinformation 
that is privileged, proprietary , confidential and exempt fromdisclosure. If 
you are not the intended recipient, you are notified thatany dissemination, 
distribution or copying of this communication isstrictly prohibited. If you 
have received this communication in error,please notify the sender and erase 
this e-mail message 
immediately.--
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.9.10/387 - Release Date: 
7/12/2006

__._,_.___





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



  






__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.10/387 - Release Date: 7/12/2006
 


[flexcoders] how to disconnect a Flex client from FDS?

2006-07-13 Thread Tom Bray



With Flash Media Server, our clients connect, we see if they're authorized, and if they're not we disconnect their client object.  How can I do something similar in FDS?With FMS, we'd make a netConnection, the server would call a method on the client to tell it that it's authorized, then we'd connect our remote SharedObjects to the NC.  With FDS, we're replacing those SharedObjects with DataService components, but they hide the NC management from me.  I see in the docs about how to manage access at the destination level, but what about the connection level?
Thanks,Tom

__._,_.___





--
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] Spring Enable Flex

2006-07-13 Thread Dimitrios Gianninas





Probably not can u describe the problem/issue you are 
having?
 
Dimitrios 
Gianninas
RIA Developer
Optimal 
Payments Inc.
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Allen 
RiddleSent: Thursday, July 13, 2006 10:41 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Spring Enable 
Flex




Does anybody (Adobe developers???) 
know if Adobe has any plans to Spring enable Flex? I think it would really help 
out with configuration.

Allen Riddle
Sofware 
Development
x3217


 
  
  AVIS
  IMPORTANT
  
  
  WARNING
  
 
 
  
  Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système.  La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur.
  
  
  This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient.  No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message.  If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system.  The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful.  If you have received this e-mail in error, please notify the sender.
  
 

__._,_.___





--
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] Loading WSDL using Flex 2.0 Data Services

2006-07-13 Thread efeminella
I am running a Flex 2.0 Application on JRUN and I continue to recieve
the following error when attempting to load a wsdl:
Error loading WSDL:

[RPC Fault faultString="Send failed"
faultCode="Client.Error.MessageSend" faultDetail="Unable to load WSDL.
If currently online, please verify the URI and/or format of the WSDL 

I am not sure what i need to do in order to load the wsdl...
crossdomain-policy.xml etc.

Any advice would be greatly appreciated.

Thanks in advance,
Eric Feminella






--
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] crossdomain.xml on Weblogic

2006-07-13 Thread Dimitrios Gianninas





It needs to go at the root folder of your web applications. 
So if your app is in c:/samples ... then put the crossdomain.xml there and then 
point WL to that folder to deploy your app.
 
Dimitrios 
Gianninas
RIA Developer
Optimal 
Payments Inc.
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Steve 
PruittSent: Thursday, July 13, 2006 1:03 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] crossdomain.xml on 
Weblogic


All,Does anyone know specifically where to place the 
crossdomain.xml filefor Weblogic. Drilling down through the Weblogic 
directories, I found afolder containing the installed application folders. 
The path for thefolder 
is:C:\bea\weblogic91\samples\domains\wl_server\servers\examplesServer\tmp\_WL_userI 
tried putting the crossdomain.xml file here with no 
luck.-S
 
  
  AVIS
  IMPORTANT
  
  
  WARNING
  
 
 
  
  Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système.  La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur.
  
  
  This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient.  No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message.  If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system.  The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful.  If you have received this e-mail in error, please notify the sender.
  
 

__._,_.___





--
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] How to parse web services response doc containing namespace

2006-07-13 Thread kevntrace
I am a complete newbie to Flex, ActionScript et al, so please 
forgive me if my questions appear simplistic.

I've implemented, and got working, the sample app which invokes a 
web service and displays the Top 5 popular posts from a blog service.

I now want to modify this app so it calls my own homegrown web 
service. I have been able to get the invocation working, and I get a 
valid response, which I confirmed by displaying the lastResult 
object in a textbox.

My problem now is I want to parse through the result document, which 
contains a namespace, and populate items on the form - I have not 
yet been successful in my attempts.

Here is the source code to my MXML application, followed by the WS 
response document;

MXML App



http://www.adobe.com/2006/mxml"; 
layout="absolute" 
creationComplete="wsBlogAggr.getMostPopularPosts.send()">




http://localhost:9400/services/adobe?wsdl";
useProxy="false">


http://kevin.company.com/services/webservices/adobe/blogSv
c/blogPort">

10.0
5.0



























WS Response Doc
---

http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:ns1="http://kevinobrien.composite.com/services/webservices/adob
e/blogSvc/blogPort" xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance">
  

  postId


  clicks


  dateTimeAggregated


  feedId


  feedName


  postTitle


  postExcerpt


  postLink

  



I tried creating an XMLListCollection object, but I got a compile 
error that, being a newbie, did not make sense. Here is the syntax I 
used.



Can anyone help with info on how to parse the response doc?





 Yahoo! Groups Sponsor ~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/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/
 




Re: [flexcoders] File Upload problem?

2006-07-13 Thread Oscar . Cortes
 I have something similar working.  Try something like this .

  private function fileBrowse():void {
var imagesFilter:FileFilter = new FileFilter("Images", "*.jpg;*.jpeg");
configureListeners(imageFileRef);
imageName.text = "";
imageFileRef.browse([imagesFilter]);
   }


private function configureListeners(dispatcher:IEventDispatcher):void {
  dispatcher.addEventListener(Event.COMPLETE, onComplete);
  dispatcher.addEventListener(ProgressEvent.PROGRESS, progressHandler);
  dispatcher.addEventListener(Event.SELECT, onSelect);

}







|-+->
| | |
| |  "Shannon Hicks"|
| |  <[EMAIL PROTECTED]>|
| |  Sent by:   |
| |  flexcoders@yahoogroups.com |
| |  07/13/2006 01:00 PM|
| |  Please respond to  |
| |  flexcoders |
| | |
|-+->
  
>-|
  | 
|
  |  To:
|
  |  cc:
|
  |  Subject:  [flexcoders] File Upload problem?
|
  
>-|




Ok... I've been playing with the file upload stuff all morning, and am 80%
of the way there. Here's a quick sample of what my Browse button fires:



   private function fileBrowse():void {
var imagesFilter:FileFilter = new FileFilter("Images", "*.jpg;*.jpeg");
imageFileRef.addEventListener(Event.COMPLETE, onComplete);
imageFileRef.addEventListener(ProgressEvent.PROGRESS, progressHandler);
imageFileRef.addEventListener(Event.SELECT, onSelect);
imageName.text = "";
imageFileRef.browse([imagesFilter]);
   }
   private function fileUpload():void {
uploadProgressPopup = uploadProgressBar(PopUpManager.createPopUp(this,
flexComponents.uploadProgressBar, true));
var urlVars:URLVariables = new URLVariables();
urlVars.userID = model.currentUser.userID;
urlVars.mouseID = model.editMouse.mouseID;

uploadTarget.data = urlVars;
uploadTarget.method = URLRequestMethod.POST;

for (var i:int=0; i < imageFileRef.fileList.length; i++){
 imageFileRef.fileList[i].upload(uploadTarget);
}
   }

   private function progressHandler(event:ProgressEvent):void {
var percentLoaded:Number = Number((event.bytesLoaded /
event.bytesTotal) * 100);
uploadProgressPopup.doUpdateProgress(percentLoaded);
Alert.show("The file is " + percentLoaded.toString() + "% loaded.");
  }

   private function onComplete(event:Event):void {
Alert.show("Done.");
 PopUpManager.removePopUp(uploadProgressPopup);
   }
Now, I can browse just fine, and my upload button fires off the upload, and
the files make it safely to the server, where ColdFusion saves them to the
filesystem. The only problem is that my progressHandler() and onComplete()
methods never fire.

Is there some trick? Do I need to have ColdFusion return something?

Shan



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.10/387 - Release Date: 7/12/2006






---
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---

 Yahoo! Groups Sponsor ~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/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 

RE: [flexcoders] Re: WebORB for .net beta5: feedback

2006-07-13 Thread Jonas Windey












Hi Mark,

 

Thanks for your explanations. We (our
team) are still not 100% sure what method is the best to follow. I’ve
been following Flex2 since the alpha version, and due to our experience with
.NET (just regular websites with some Ajax),
we have chosen to go with a Web Services approach.

Not having any experience with Flash
remoting (before, we used Flash in combination with regular asp to provide xml
data to flash), this was the easiest way.

 

Can anyone give some pros and cons on some
ways of working with .NET and Flex? It seems there are 3 choices:

- 
ASP.NET
Web Services

- 
Flex
Remoting using WebORB

- 
Flex
DataServices using WebORB

 

(don’t mention FDS, since we are
running in a Windows environment using IIS, and some customers who dislike
Java)

 

The projects we work on are mainly Media
Asset Management tools, together with admin. Our database is MS SQL 2005, using
stored procedures.

Sidenote: we’re using asp.net 2.0.

 

All tips are welcome!

 

Jonas

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of mpiller
Sent: donderdag 13 juli 2006 15:33
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: WebORB
for .net beta5: feedback



 







Hi Jonas,

I just want to clarify a few things to help avoid possible confusion.

If you're doing Flex remoting (ie invoke .NET objects from Flex using
RemoteObject), you do not need to do anything special at all - no need
for special method attributes, no need to register methods in xml
files - just drop your assembly into /bin folder and register a
destination in remoting-config.xml and you are done.

However if you're doing data management using mx.data.DataService on
the client side, then you need to register your data assembler methods
in data-management-config.xml. Normally you would have one or more
methods to do 'fills' and just one method to do 'syncs'. This will be
optional in Beta6 as we will be publishing an interface that your data
assembler class can implement.

Hope this helps.

cheers,
Mark

--- In [EMAIL PROTECTED]ups.com,
"Jonas Windey" <[EMAIL PROTECTED]> wrote:
>
> Hi Tim,
> 
> 
> 
> Well, my first impression is that it's pretty complex, at least a
lot more
> complex than just creating ASP.NET Web services and calling them
from flex.
> 
> Apparently you need to place all your remote methods in xml config
files.
> Etc. The tutorials from
> http://www.themidnightcoders.com/articles/datamanagement-part3.htm
help a
> lot, but it's still a huge change, also in the way of thinking. (eg
updating
> data with the sync methods, changeobjects etc). Also you use a lot more
> databinding, whereas with web services you just fill your datagrid or
> treeview with the data you receive, and in the case of an update,
you will
> probably use a web service too to update the current row. Here you
just omit
> your changes to your dataService, and he handles all the rest.
> 
> 
> 
> I think the Flex + .NET + WebORB community is pretty small at the moment
> though, so it would be nice of some gurus from this list play a bit
with it
> like I'm doing right now.
> 
> 
> 
> Jonas
> 
> 
> 
> _ 
> 
> From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
> Behalf Of Tim Hoff
> Sent: donderdag 13 juli 2006 11:32
> To: [EMAIL PROTECTED]ups.com
> Subject: [flexcoders] Re: WebORB for .net beta5: feedback
> 
> 
> 
> Hey Jonas,
> 
> Please let us know what your impressions of WebORB are after you 
> have had a chance to work with it a little. I'll be switching 
> from .NET WebServices to RemoteObject soon, so I would love to hear 
> about your experience.
> 
> Thanks,
> Tim Hoff
> 
> --- In [EMAIL PROTECTED] 40yahoogroups.com>
ups.com,
> "Jonas Windey"  wrote:
> >
> > Ok, I forgot to read my mails last night. Apparantly Mark Piler 
> from
> > themidnightcoders.com sent me a mail after noticing that I had 
> downloaded
> > the beta 5 (which had just been released), writing the following:
> > 
> > 
> > 
> > A quick workaround is to open web.config 
> from /Inetpub/wwwroot/weborb and
> > remove the following two lines:
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > Please make sure that the closing tags for  and 
> 
> > stay in the file (they are on the same line as the BlueDragon 
> reference).
> > 
> > 
> > 
> > You can always check if web.config is valid by opening the 
> following URL:
> > 
> > http://localhost/
> 
> weborb/examples/testsuite/client/testsuite.aspx
> > 
> > 
> > 
> > How nice is this? :-) I guess he must get a notification every 
> time someone
> > downloads his product, and check if everything is working.
> > 
> > 
> > 
> > So, I got the Contact Manager sample working now, let's play 
> around a bit.
> > 
> > 
> > 
> > Jonas
> >
> 
> 
> 
> __ NOD32 1.1656 (20060712) Information __
> 
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>




_

[flexcoders] iframe portal external web page

2006-07-13 Thread Engkee Kwang
is there a way to create the equivalent of an iframe in a flex application that 
I can use to display external web pages?
 
eg. creating a portal/window in my application to display www.yahoo.com
 
I assume I can reverse the containment structure and use HTML to provide the 
overall containment... but I like to know if there is a way to do same if the 
flex app is the top level container.
 
-Engkee
 


--
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: setting selectedIndices does not affect selectedItems on datagrid?

2006-07-13 Thread Brendan Meutzner



Bumping this... I'm surprised nobody else has come across this issue... In order to get the selectedItems after setting selectedIndices, I have to perform the following?
var mySelectedIndices:Array = ["0", "5"];var tmpArray:Array = new Array();
for(var i:Number = 0; i < mySelectedIndices.length; i++){
    var tmpObj:Object = myDataGrid.dataProvider.getItemAt(Number(mySelectedIndices[i]));    tmpArray[i] = tmpObj;
}myDataGrid.selectedItems
 = tmpArray;Really?  Am I missing something here?BrendanOn 7/10/06, Brendan Meutzner <
[EMAIL PROTECTED]> wrote:> > Hi,> > When I set selectedIndices programmatically on a datagrid, it results in the proper rows becoming selected/highlighted, but does not affect the selectedItems property of the datagrid.  Is this normal behaviour?
> >  > Brendan>   

__._,_.___





--
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] File Upload problem?

2006-07-13 Thread Shannon Hicks





Ok... I've been 
playing with the file upload stuff all morning, and am 80% of the way there. 
Here's a quick sample of what my Browse button fires:
 
   private function fileBrowse():void 
{var imagesFilter:FileFilter = new 
FileFilter("Images", 
"*.jpg;*.jpeg");imageFileRef.addEventListener(Event.COMPLETE, 
onComplete);imageFileRef.addEventListener(ProgressEvent.PROGRESS, 
progressHandler);imageFileRef.addEventListener(Event.SELECT, 
onSelect);imageName.text = 
"";imageFileRef.browse([imagesFilter]);   }
   private function fileUpload():void 
{uploadProgressPopup = 
uploadProgressBar(PopUpManager.createPopUp(this, 
flexComponents.uploadProgressBar, true));
var urlVars:URLVariables = new 
URLVariables();urlVars.userID = 
model.currentUser.userID;urlVars.mouseID = 
model.editMouse.mouseID;uploadTarget.data 
= "">uploadTarget.method = 
URLRequestMethod.POST;for 
(var i:int=0; i < imageFileRef.fileList.length; 
i++){ imageFileRef.fileList[i].upload(uploadTarget); }   }private 
function progressHandler(event:ProgressEvent):void 
{var percentLoaded:Number = 
Number((event.bytesLoaded / event.bytesTotal) * 
100);uploadProgressPopup.doUpdateProgress(percentLoaded);Alert.show("The 
file is " + percentLoaded.toString() + "% 
loaded.");  } 
private function onComplete(event:Event):void 
{Alert.show("Done.");    
 PopUpManager.removePopUp(uploadProgressPopup);   }
Now, I can browse 
just fine, and my upload button fires off the upload, and the files make it 
safely to the server, where ColdFusion saves them to the filesystem. The only 
problem is that my progressHandler() and onComplete() methods never 
fire.
 
Is there some trick? 
Do I need to have ColdFusion return something?
 
Shan
__._,_.___





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



  






__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.10/387 - Release Date: 7/12/2006
 


RE: [flexcoders] HTTPS and Remote passwords

2006-07-13 Thread Peter Farland
Load your SWF from HTTPS. Ensure your channel-definition is correct
(i.e. using SecureAMFEndpoint and SecureAMFChannel classes in the config
and ensure https is in the endpoint url). Ensure the id of this channel
is in the list of channels for your destination. Ensure you're compiling
against the new configuration.

Beyond this, we might need to talk off list about getting better access
to your app/config/code to see what's wrong.

Pete

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Thursday, July 13, 2006 12:17 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] HTTPS and Remote passwords

On Thursday 13 July 2006 15:38, Cathy Reilly wrote:
> class="flex.messaging.endpoints.AMFEndpoint" ->
> class="flex.messaging.endpoints.SecureAMFEndpoint"

Ah ha, good catch, I'd only changed the definition class.
Nothing changes after I recompile though.

Oddly, if I load the SWF not over https, it appears to work, but doesn't

return anything, and eventualy Apache closes the connection:
[Thu Jul 13 17:13:01 2006] [info] (70007)The timeout specified has
expired: 
SSL input filter read failed.

Loading the SWF over https, I get the same 'destination not accessible
over 
channel'
-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England
and Wales under registered number OC307980 whose registered office
address is at St James's Court Brown Street Manchester M2 2JF.  A list
of members is available for inspection at the registered office. Any
reference to a partner in relation to Halliwells LLP means a member of
Halliwells LLP. Regulated by the Law Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and
may be confidential or legally privileged.  If you are not the addressee
you must not read it and must not use any information contained in nor
copy it nor inform any person other than Halliwells LLP or the addressee
of its existence or contents.  If you have received this email in error
please delete it and notify Halliwells LLP IT Department on 0870 365
8008.

For more information about Halliwells LLP visit www.halliwells.com.



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



 





 Yahoo! Groups Sponsor ~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/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/
 





[flexcoders] Shopping Cart Trouble

2006-07-13 Thread s_hernandez01
Hi Flexers!!!

I was wondering if anyone can help me with my code.  I'm trying to
create a shopping cart, but I'm having trouble on the addToCart() and
addItem() functions on my actionscript.  I'm new to flex and not the
best actionscriptist so any advice would be greatly appreciated!  I
want to add the product details (name, quantity, and price) from my
xml document ("catalog.xml") to the the datagrid in the shopping cart
when the user clicks the cart button "(cartBtn)."  This has been
driving me nuts for the past week, PLEASE HELP! :)  

Thanks

Sal
  


http://www.adobe.com/2006/mxml";
layout="absolute" xmlns:local="*" creationComplete="srv.send()">


   


























http://www.adobe.com/2006/mxml";>

[Event("purchase")]



















http://www.adobe.com/2006/mxml"; width="100%"
height="100%">


[Event("purchase")]


http://www.adobe.com/2006/mxml"; backgroundAlpha="0"
borderStyle="none" width="75%" height="100%"
verticalAlign="middle" verticalGap="0" verticalScrollPolicy="off"
horizontalAlign="center" >

 
 
 











 Yahoo! Groups Sponsor ~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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/
 




[flexcoders] Re: Is it Possible to call a function that's inside of a Tree ItemRenderer?

2006-07-13 Thread Michael Montagna
--- In flexcoders@yahoogroups.com, "sufibaba" <[EMAIL PROTECTED]> wrote:
>
> Hi All,
> 
> I have a function inside of a custom Tree ItemRenderer.  
> 
> I would like to be able to fire this function programatically at the
> Tree's level.
> 
> Any light on this is greatly appreciated.
> 
> Cheers,
> 
> Tim
>

For all listbase controls, you can use the methods below to get the
invididual renderers.  Remember that renderers are recycled so a
reference to a renderer may get stale. 


indexToItemRenderer(index:int):IListItemRenderer  

and 

itemToItemRenderer(item:Object):IListItemRenderer 


-Michael






 Yahoo! Groups Sponsor ~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/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/
 





[flexcoders] ARP PizzaService on .NET

2006-07-13 Thread mpiller
Hi guys,

I just wanted to let you know we ported the ARP PizzaService example
for Flex2 to run on .NET with WebORB. Since WebORB supports AMF3, we
modified the MXML/AS code to use a mx:RemoteObject element instead of
AMF0 connection.

The ported example with all the code is available in the latest WebORB
for .NET distribution (2.1 Beta 5). There is also an article
describing what we did available here:

http://www.themidnightcoders.com/articles/dotnetpizzaservice.htm

thanks,
Mark






--
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] crossdomain.xml on Weblogic

2006-07-13 Thread Steve Pruitt
All,

Does anyone know specifically where to place the crossdomain.xml file
for Weblogic.  Drilling down through the Weblogic directories, I found a
folder containing the installed application folders.  The path for the
folder is:

C:\bea\weblogic91\samples\domains\wl_server\servers\examplesServer\tmp\_
WL_user

I tried putting the crossdomain.xml file here with no luck.


-S


--
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: SWF Loader

2006-07-13 Thread Derek Vadneau



Yes, your Flex App needs to be compiled. Not sure how you are running your SWF without an SWF ...

Make sure your Flash SWF is in your Flex project folder. I've also
found that you occasionally need to run twice in order for the Flash
SWF to be copied to the test location (typically the bin folder).

Change your connection name so that it contains an underscore in front: _swf8connector. Check the docs for why that's important.

Also, if you're interested, I've posted an example of getting a SWF9
and a SWF8 to talk via ExternalInterface. I'll make up another example
based on your code.

On 7/13/06, flexnewbie06 <[EMAIL PROTECTED]> wrote:













  



Okay, please don't laugh at this question!  Does my Flex App need to 
be compiled before the LocalConnection will work

I will post my Flash Action Code and my Flex 2 Code...I get no errors 
and the button label does change...the SWF just doesn't stop...it 
does nothing...Can anyone see what I'm doing wrong?

---FLEX Code--


http://www.adobe.com/2006/mxml" 

layout="absolute" initialize="initApp()" 
viewSourceURL="srcview/index.html">
	
height="120"/>
	
click="stopOrResume()"/>
	
		
	


---FlASH Action Script-

var lc:LocalConnection = new LocalConnection();

lc.stopFile = function() {
	stop();
}
lc.resumeFile = function() {
	play();
}
lc.connect("swf8connector");

--- In flexcoders@yahoogroups.com, "Hilary Bridel" <[EMAIL PROTECTED]> 

wrote:
>
> Here is great example (by Peter Ent) of localconnection applied 
between Flex
> and SWF v8
> 

http://weblogs.macromedia.com/pent/archives/2006/07/using_actionscr.cf
m
> Hilary
> 
> --
> 
> 
> On 7/13/06, Derek Vadneau <[EMAIL PROTECTED]> wrote:
> >
> >  You could use ExternalInterface to communicate between the two. 
It's as
> > easy to setup as LocalConnection (maybe easier).
> >
> > Check out this example:
> >
> > http://tracethis.com/wp-
content/playground/SWF9_SWF8_Comms/SWF9_SWF8_Comms.html
> >
> > The content on the left is created by the SWF9 and the content on 
the
> > right is a version 8 SWF. Typing in the top textfield of one side 
updates
> > text in the lower textfield of the other side. And no _javascript_ 
involved.
> >
> > With this you could communicate synchronously, even create 
Proxy/__resolve
> > functionality to make most calls transparent.
> >
> >
> >
> >
> > On 7/12/06, JesterXL <[EMAIL PROTECTED] > wrote:
> > >
> > >Yeah, basically. It's asynchronus communication. It's not as 
cool as
> > > myLoadedSWF.gotoAndPlay(2), but those are the breaks.
> > >
> > >
> > > - Original Message -
> > > From: "flexnewbie06" <[EMAIL PROTECTED] 
40yahoo.ca>>
> > > To: 

> > > Sent: Wednesday, July 12, 2006 9:37 AM
> > > Subject: [flexcoders] Re: SWF Loader
> > >
> > > Thank you for your response...I am not very familiar with
> > > LocalConnection, however I have a general understanding...would 
I
> > > need to create a "sender" lc in my Flex app and add 
a "receiver" lc
> > > in my SWF to make the two communicate?
> > >
> > > --- In flexcoders@yahoogroups.com 
40yahoogroups.com>,
> > > "JesterXL"  wrote:
> > > >
> > > > It's an AVM1Movie, not a MovieClip. Unfortunately, this 
prevents
> > > you from
> > > > talking to the SWF; you have to use LocalConnection, or some 
other
> > > binary
> > > > socket way.
> > > >
> > > > Have you tried with Flash 9 Alpha yet? I haven't had time but 
I
> > > bet this'd
> > > > work.
> > > >
> > > > - Original Message -
> > > > From: "flexnewbie06" 
> > > > To: >
> > > > Sent: Wednesday, July 12, 2006 8:48 AM
> > > > Subject: [flexcoders] SWF Loader
> > > >
> > > >
> > > > I am trying to cast swf as MovieClip in Flex 2.0. The SWF was
> > > > created with Flash 8...I get an coercion error...is this 
something
> > > > that can not be done or maybe I am doing it incorrectly.
> > > >
> > > > I have posted the error and my code. Any Suggestions?
> > > >
> > > >
> > > >
> > > > TypeError: Error #1034: Type Coercion failed: cannot convert
> > > > flash.display::[EMAIL PROTECTED] to flash.display.MovieClip.
> > > > at EPlayer/::test()
> > > > at EPlayer/___Button1_click()
> > > >
> > > >
> > > > CODE:
> > > >
> > > >
> > > > 
> > > > http://www.adobe.com/2006/mxml
"
> > > > layout="absolute">
> > > > 
> > > > 
> > > > 
> > > >
> > > > 
> > > > paddingTop="10" paddingBottom="10" paddingLeft="10"
> > > paddingRight="10"
> > > > y="10" x="10">
> > > >
> > > > 
> > > > width="459"/>
> > > >
> > > > 
> > > >
> > > > 
> > > > 
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > 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
>

[flexcoders] Our company is looking for a Flex 2.0 Developer

2006-07-13 Thread Dmitry Miller
I normally don't do this but, our company is looking for Flex
Developer in SF Bay Area. We need a person proficient in Flex 2.0.
Ideally, we would like to have someone full-time, but we would
definately consider part-time candidates as well. 

If you are interested you can either reply to this post or send a
resume to [EMAIL PROTECTED]

Thanks, 

--- Dmitry





 Yahoo! Groups Sponsor ~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/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/
 





[flexcoders] Extending ComboBox loses part of the skin?

2006-07-13 Thread tddclare
I'm still using Beta 3 (stupid slow procurement department)...

I'm working on extending framework components, and am playing with the
combobox.

When I run my version, it functions as expected, but the arrow on the
combo box (what you click to deop it down) does not display.  I put a
generic combo next to it, and it looks fine.

Here's my main app code:



and the constructor of StateComboBox (which extends ComboBox):
public function StateComboBox()
{
// let combobox do its thing
super();
//add our dataprovider
this.dataProvider = _data;
this.labelFunction = labelFormatter;
}

I've got an array in there and a label function, but that's it.

Other than super()-ing the ComboBox, is there somthing else I'm
supposed to be doing?

Or is this a bug in B3? (I'm using Player 9,0,16,0)

Thanks!

-- TC






--
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: SWF Loader

2006-07-13 Thread Derek Vadneau



Crap, forgot the link to the ExternalInterface example:
http://tracethis.com/archives/2006/07/13/swf9-to-swf8-communication-ei-not-lc-part-1/
On 7/13/06, Derek Vadneau <[EMAIL PROTECTED]> wrote:
Yes, your Flex App needs to be compiled. Not sure how you are running your SWF without an SWF ...

Make sure your Flash SWF is in your Flex project folder. I've also
found that you occasionally need to run twice in order for the Flash
SWF to be copied to the test location (typically the bin folder).

Change your connection name so that it contains an underscore in front: _swf8connector. Check the docs for why that's important.

Also, if you're interested, I've posted an example of getting a SWF9
and a SWF8 to talk via ExternalInterface. I'll make up another example
based on your code.

On 7/13/06, flexnewbie06 <
[EMAIL PROTECTED]> wrote:













  



Okay, please don't laugh at this question!  Does my Flex App need to 
be compiled before the LocalConnection will work

I will post my Flash Action Code and my Flex 2 Code...I get no errors 
and the button label does change...the SWF just doesn't stop...it 
does nothing...Can anyone see what I'm doing wrong?

---FLEX Code--


http://www.adobe.com/2006/mxml
" 

layout="absolute" initialize="initApp()" 
viewSourceURL="srcview/index.html">
	
height="120"/>
	
click="stopOrResume()"/>
	
		
	


---FlASH Action Script-

var lc:LocalConnection = new LocalConnection();

lc.stopFile = function() {
	stop();
}
lc.resumeFile = function() {
	play();
}
lc.connect("swf8connector");

--- In flexcoders@yahoogroups.com
, "Hilary Bridel" <[EMAIL PROTECTED]> 

wrote:
>
> Here is great example (by Peter Ent) of localconnection applied 
between Flex
> and SWF v8
> 


http://weblogs.macromedia.com/pent/archives/2006/07/using_actionscr.cf
m
> Hilary
> 
> --
> 
> 
> On 7/13/06, Derek Vadneau <[EMAIL PROTECTED]> wrote:
> >
> >  You could use ExternalInterface to communicate between the two. 
It's as
> > easy to setup as LocalConnection (maybe easier).
> >
> > Check out this example:
> >
> > http://tracethis.com/wp-
content/playground/SWF9_SWF8_Comms/SWF9_SWF8_Comms.html
> >
> > The content on the left is created by the SWF9 and the content on 
the
> > right is a version 8 SWF. Typing in the top textfield of one side 
updates
> > text in the lower textfield of the other side. And no _javascript_ 
involved.
> >
> > With this you could communicate synchronously, even create 
Proxy/__resolve
> > functionality to make most calls transparent.
> >
> >
> >
> >
> > On 7/12/06, JesterXL <[EMAIL PROTECTED] > wrote:
> > >
> > >Yeah, basically. It's asynchronus communication. It's not as 
cool as
> > > myLoadedSWF.gotoAndPlay(2), but those are the breaks.
> > >
> > >
> > > - Original Message -
> > > From: "flexnewbie06" <[EMAIL PROTECTED] 
40yahoo.ca>>
> > > To: <
flexcoders@yahoogroups.com >

> > > Sent: Wednesday, July 12, 2006 9:37 AM
> > > Subject: [flexcoders] Re: SWF Loader
> > >
> > > Thank you for your response...I am not very familiar with
> > > LocalConnection, however I have a general understanding...would 
I
> > > need to create a "sender" lc in my Flex app and add 
a "receiver" lc
> > > in my SWF to make the two communicate?
> > >
> > > --- In 
flexcoders@yahoogroups.com 
40yahoogroups.com>,
> > > "JesterXL"  wrote:
> > > >
> > > > It's an AVM1Movie, not a MovieClip. Unfortunately, this 
prevents
> > > you from
> > > > talking to the SWF; you have to use LocalConnection, or some 
other
> > > binary
> > > > socket way.
> > > >
> > > > Have you tried with Flash 9 Alpha yet? I haven't had time but 
I
> > > bet this'd
> > > > work.
> > > >
> > > > - Original Message -
> > > > From: "flexnewbie06" 
> > > > To: <
flexcoders@yahoogroups.com 
40yahoogroups.com>>
> > > > Sent: Wednesday, July 12, 2006 8:48 AM
> > > > Subject: [flexcoders] SWF Loader
> > > >
> > > >
> > > > I am trying to cast swf as MovieClip in Flex 2.0. The SWF was
> > > > created with Flash 8...I get an coercion error...is this 
something
> > > > that can not be done or maybe I am doing it incorrectly.
> > > >
> > > > I have posted the error and my code. Any Suggestions?
> > > >
> > > >
> > > >
> > > > TypeError: Error #1034: Type Coercion failed: cannot convert
> > > > flash.display::[EMAIL PROTECTED] to flash.display.MovieClip.
> > > > at EPlayer/::test()
> > > > at EPlayer/___Button1_click()
> > > >
> > > >
> > > > CODE:
> > > >
> > > >
> > > > 
> > > > 
http://www.adobe.com/2006/mxml
"
> > > > layout="absolute">
> > > > 
> > > > 
> > > > 
> > > >
> > > > 
> > > > paddingTop="10" paddingBottom="10" paddingLeft="10"
> > > paddingRight="10"
> > > > y="10" x="10">
> > > >
> > > > 
> > > > width="459"/>
> > > >
> > > > 
> > > >
> > > > 
> > > > 
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Flexcoders Mailing List
> > > > FAQ:
> > > 

http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > > Searc

[flexcoders] Re: Tree Drag Drop Blues ... Bug Report

2006-07-13 Thread Michael Montagna
--- In flexcoders@yahoogroups.com, "sufibaba" <[EMAIL PROTECTED]> wrote:
>
> Hi Adobe Engineers,
> 
> I am working quite a lot with the tree control.  The problem I am
> having is that when a node is draged from a tree to another tree, the
> dropped on tree doesn't allow dropping on its first node (all other
> nodes after the first node works fine).
> 
> Another bug is that dragging from a tree to a datagrid doesn't work. 
> 
> The App I am working on depends heavily on drag and drop of tree to
> tree.  Is there a work around for the tree to tree first node drop
> problem.
> 
> Help is Greatly Appreciated.
> 
> Tim :)
>

Hi Tim, 

By default the Tree only supports MOVE DND operations between Tree
controls.  To drop to a grid you'll want to implement your own DND
methods.  

Dropping to the first item sounds like a bug. Are there items in it
already? Does the control RTE? or does the item just disappear? Is the
item removed from the drag initiator? 

Thanks, 

-Michael





 Yahoo! Groups Sponsor ~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/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/
 




Re: [flexcoders] Re: Is it Possible to call a function that's inside of a Tree ItemRenderer?

2006-07-13 Thread Tom Chiverton
On Thursday 13 July 2006 17:18, sufibaba wrote:
> This is indeed what we need.  Does anyone know how to do this?

What do the reference docs say ?

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



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

<*> 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] best general purpose way to keep textarea scrolled to bottom

2006-07-13 Thread Pan Troglodytes



I wish TextArea had a property that would set it to scroll to the bottom on adding text.  In the absence of such, I'm struggling to make it do that.  I have a log function that looks like this:
  private function log(s:Object):void {    debug.text += "\n" + 
s.toString();    debug.verticalScrollPosition = debug.maxVerticalScrollPosition;
  }Unfortunately, it seems that the max position isn't updated yet at this point.  I've tried hooking into change/dataChange and other events without luck.  It's always scrolled ALMOST to the bottom.
What's the best way to solve this?-- Jason

__._,_.___





--
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] Tree Drag Drop Blues ... Bug Report

2006-07-13 Thread sufibaba
Hi Adobe Engineers,

I am working quite a lot with the tree control.  The problem I am
having is that when a node is draged from a tree to another tree, the
dropped on tree doesn't allow dropping on its first node (all other
nodes after the first node works fine).

Another bug is that dragging from a tree to a datagrid doesn't work. 

The App I am working on depends heavily on drag and drop of tree to
tree.  Is there a work around for the tree to tree first node drop
problem.

Help is Greatly Appreciated.

Tim :)





 Yahoo! Groups Sponsor ~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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/
 





Re: [flexcoders] HTTPS and Remote passwords

2006-07-13 Thread Tom Chiverton
On Thursday 13 July 2006 15:38, Cathy Reilly wrote:
> class="flex.messaging.endpoints.AMFEndpoint" ->
> class="flex.messaging.endpoints.SecureAMFEndpoint"

Ah ha, good catch, I'd only changed the definition class.
Nothing changes after I recompile though.

Oddly, if I load the SWF not over https, it appears to work, but doesn't 
return anything, and eventualy Apache closes the connection:
[Thu Jul 13 17:13:01 2006] [info] (70007)The timeout specified has expired: 
SSL input filter read failed.

Loading the SWF over https, I get the same 'destination not accessible over 
channel'
-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



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

<*> 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 it Possible to call a function that's inside of a Tree ItemRenderer?

2006-07-13 Thread sufibaba
This is indeed what we need.  Does anyone know how to do this?

Tim


--- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]>
wrote:
>
> On Wednesday 12 July 2006 18:36, sufibaba wrote:
> > I would like to be able to fire this function programatically at the
> > Tree's level.
> 
> Is there a getRenderer method/property on tree cells ?
> 
> -- 
> Tom Chiverton
> 
> 
> 
> This email is sent for and on behalf of Halliwells LLP.
> 
> Halliwells LLP is a limited liability partnership registered in
England and Wales under registered number OC307980 whose registered
office address is at St James's Court Brown Street Manchester M2 2JF.
 A list of members is available for inspection at the registered
office. Any reference to a partner in relation to Halliwells LLP means
a member of Halliwells LLP. Regulated by the Law Society.
> 
> CONFIDENTIALITY
> 
> This email is intended only for the use of the addressee named above
and may be confidential or legally privileged.  If you are not the
addressee you must not read it and must not use any information
contained in nor copy it nor inform any person other than Halliwells
LLP or the addressee of its existence or contents.  If you have
received this email in error please delete it and notify Halliwells
LLP IT Department on 0870 365 8008.
> 
> For more information about Halliwells LLP visit www.halliwells.com.
>







 Yahoo! Groups Sponsor ~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/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/
 





Re: [flexcoders] Sending ISO-8859-1 from a Flex application

2006-07-13 Thread oktay nba



is there a way to change it? or why the Adobe team do it only for utf-8? are there any issue?On 4/14/06, Matt Chotin <
[EMAIL PROTECTED]> wrote:Flex is going to try to send using utf-8, you may need to do some string parsing back from utf-8 on the server-side before inserting into the database.
Matt-Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of nahruka
Sent: Friday, April 07, 2006 12:32 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Sending ISO-8859-1 from a Flex applicationHi all,I'm trying to send an XML over HTTP from a Flex application to a
Cocoon framework which redirects the requests to PL procedures inorder to access an Oracle database ISO-8859-1 encoded.url=""
contentType="application/xml"resultFormat="xml">  {objXML}  
Where:objXML = new Object;objXML.afield = "ביםףת";So this XML is generated from the object objXML:  ביםףתWhich encoding does this XML use? UTF-8?
Has it something to do with the encoding specified at the header of myFlex application (UTF-8)?The characters sent are not well inserted into the database. Is itpossible to send an ISO-8859-1 XML document from my Flex application
using the HTTPService tag?S.O.S.--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links--
Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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 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] Data Services Question

2006-07-13 Thread Allen Riddle












Yes, thank you. I figured that’s
what we’d have to do.

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: Wednesday, July 12, 2006
6:21 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Data
Services Question



 









There are APIs you can use to notify the DataService that the
backend has changed.  It won’t notice the DB change directly (unless
you have some stored procedure that can execute Java) but you can write code
that will talk to the DS from Java and signify that things have changed.

 

That help?

 

Matt

 









From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Allen Riddle
Sent: Wednesday, July 12, 2006
1:04 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Data Services
Question



 









I have not
yet started using Data Services. My question is, does Data Services have the
ability to public changes made to a database, not necessarily an object
instance? The scenario is we have our Flex application, but the back office application
is a different platform that accesses the database directly. So if our back
office app updates the database, we need our Flex front end to be notified of
the changes.

 

Allen Riddle

Sofware
Development

x3217

 


















__._,_.___





--
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] HTTPS and Remote passwords

2006-07-13 Thread Cathy Reilly
One thing I noticed,

class="flex.messaging.endpoints.AMFEndpoint" ->
class="flex.messaging.endpoints.SecureAMFEndpoint" 

- Cathy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Thursday, July 13, 2006 10:11 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] HTTPS and Remote passwords

On Wednesday 12 July 2006 15:00, Tom Chiverton wrote:
> All right, fixed that, my bad :-)

I take it all back :-(
If I have the end point URL (http://somehost/flex2gateway) protected at
the 
web server level, how can I make Flex send along a particular 
username/password in the HTTP 'Authorization' header when it calls a
remote 
object ?

Neither setCredentials() or setRemoteCredentials() work - the web
browser just 
displays it's normal HTTP 'authorisation needed' prompt, and once
entered 
there all proceeds well, so it's just a case of making Flex do the same 
thing.
All is well if I protect the root URL (but then the web browser prompts
the 
user before loading the Flex before passing on the Authorization header
OK).

> Any word on HTTPS endpoints ?

*No one* is trying to do CFC remoting over SSL ?
With





com.XXX.EnvironmentService

true

remote



false

false

false




and

https://archiving.localdomain:443/flex2gateway/"; 
class="flex.messaging.endpoints.AMFEndpoint"/>

false

 
false




I get an error when trying to use it that says "destination
environmentService 
not accessible over channel my-cfamf-arch-sec" :-(

The SWF is being served via HTTPS from the same host name, but I've
stuck the 
following cross domain policy file in anyway to no avail:





-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England
and Wales under registered number OC307980 whose registered office
address is at St James's Court Brown Street Manchester M2 2JF.  A list
of members is available for inspection at the registered office. Any
reference to a partner in relation to Halliwells LLP means a member of
Halliwells LLP. Regulated by the Law Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and
may be confidential or legally privileged.  If you are not the addressee
you must not read it and must not use any information contained in nor
copy it nor inform any person other than Halliwells LLP or the addressee
of its existence or contents.  If you have received this email in error
please delete it and notify Halliwells LLP IT Department on 0870 365
8008.

For more information about Halliwells LLP visit www.halliwells.com.



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



 





 Yahoo! Groups Sponsor ~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/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/
 





RE: [flexcoders] Security error accessing url

2006-07-13 Thread Carson Hager





These files act on the server level.  There is no more 
granularity than that.  Take a look at my last message. You should be in 
good shape.
 
 
Carson

 Carson 
HagerCynergy Systems, Inc.http://www.cynergysystems.com Email:  
[EMAIL PROTECTED]Office:  
866-CYNERGYMobile: 1.703.489.6466
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Sathish 
KSent: Thursday, July 13, 2006 1:00 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Security error 
accessing url



Dear 
Carson,
   
Is it possible to place the crossdomain.xml file at server level, to access the 
all webservices that are availbale in the server.
 
This 
is our IBM websphere server folder structure.
 
    
d:\was6.0\AppServer\profiles\default\installedApps\ramcobl104Node01Cell\application.ear
 
Reg,
K.Sathish
 
 

  -Original Message-From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED]On Behalf Of Carson 
  HagerSent: 12 July 2006 23:26To: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Security error 
  accessing url
  
  
  Sathish,
   
  What URL are you using to download the 
  SWF?
   
  What is the URL for your web service?
   
  Even if the swf and web service are on the same host but 
  the host names do not match perfectly, you will get this kind of failure. If 
  the web service is on a different host, you will need to place a 
  crossdomain.xml file at the root of the web server where the web services are 
  located.
   
   
  Carson
  
   Carson 
  HagerCynergy Systems, Inc.http://www.cynergysystems.com Email:  
  [EMAIL PROTECTED]Office:  
  866-CYNERGYMobile: 1.703.489.6466
   
  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Sathish 
  KSent: Wednesday, July 12, 2006 5:44 AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Security error 
  accessing url
  
  
  
  Hi, I have a webservice (EAR file) that 
  is deployed in the IBM Websphere 6.0 server.When we access the 
   webservice from a SWF application(sandbox)built using Flex 2.0 it 
  gives a security error.How to resolve this security 
  issue.  The Error Message:  [FaultEvent 
  fault=[Rpc fault faultstring="Security error accessing 
  url" faultCode="Channel.Security.Error" faultDetails="Unable 
  to load WSDL.If currently online,please verify the URI and/or format 
  of the WSDL (webservice url)]messageId=null 
  type="fault" bubbles=false cancelable=true 
  eventPhase=2]   We have read in many articles which 
  says we need to place the crossdomain.xml file in the server root 
  directory.But we dont know exactly what is the correct location for placing 
  this file.  We have tried placing in many subfolders under the 
  root folder where Websphere is installed.  
  It would be of great help if you can help us 
  sort out this issue. 
   
  regards
  sathish
   
   
  


  DISCLAIMER: Information 
transmitted by this e-mail may be proprietary to Ramco Systems Ltd., and 
/ or the authors of the information and is intended for use only by the 
individual or entity to which it is addressed, and may contain 
confidential or legally privileged information. If you are not the 
intended recipient or it appears that this mail has been forwarded to 
you without proper authority, you are not authorised to access, read, 
disclose, copy, use or otherwise deal with it and any such actions are 
prohibited and may be unlawful. Internet communications cannot 
be guaranteed to be secure or error-free as information could be 
intercepted, corrupted, lost, arrive late or contain viruses. Ramco 
Systems Limited therefore does not accept liability for any errors, 
omissions, viruses or computer problems experienced as a result of this 
transmission.If you have received this e-mail in error, please 
notify us immediately at mail to: [EMAIL PROTECTED] and delete 
this mail from your records. Notice is hereby given that no 
representation, contract or other binding obligation shall be created by 
this e-mail.
  
  

  
  
DISCLAIMER: Information 
  transmitted by this e-mail may be proprietary to Ramco Systems Ltd., and / 
  or the authors of the information and is intended for use only by the 
  individual or entity to which it is addressed, and may contain 
  confidential or legally privileged information. If you are not the 
  intended recipient or it appears that this mail has been forwarded to you 
  without proper authority, you are not authorised to access, read, 
  disclose, copy, use or otherwise deal with it and any such actions are 
  prohibited and may be unlawful. Internet communications cannot be 
  guaranteed to be secure or error-free as information could be intercepted, 
  corrup

Re: [flexcoders] HTTPS and Remote passwords

2006-07-13 Thread Tom Chiverton
On Thursday 13 July 2006 15:48, Peter Farland wrote:
> setCredentials is only for custom authentication (i.e. the destination
> is constrained and credentials are checked against the login-command
> registered for the FDS Message Broker).
>
> setRemoteCredentials is only for communication with 3rd party endpoints
> from an FDS adapter, such as ColdFusion.

Ah *ha* right.
Which is why calling setCredentials() on a Basic auth'ed connection doesn't 
work :-)

Which means I *really* have to figure out what is up with access 
RemoteObject's over SSL :-)

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



 Yahoo! Groups Sponsor ~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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/
 




RE: [flexcoders] Security error accessing url

2006-07-13 Thread Carson Hager





Sathish,
 
You place this file at the root directory of the web server 
that hosts your web services.  If you can't place it at the root, you can 
use flash.system.Security.loadPolicyFile() to load it from another 
location.
 
 
Carson

 Carson 
HagerCynergy Systems, Inc.http://www.cynergysystems.com Email:  
[EMAIL PROTECTED]Office:  
866-CYNERGYMobile: 1.703.489.6466
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Sathish 
KSent: Thursday, July 13, 2006 12:40 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Security error 
accessing url



Dear 
Carson,
    
We are using mxmlc exe to get the swf for mxml file.webservice and swf are 
different host.
I have 
acrossdomain.xml file.But i dont know where i have to place this xml 
file.
 
our 
EAR file structure:
---
 
  
--META_INF  
;    
 ;  
; 
;--Application.xml  
; 
;---MANIFEST.MF  
;  
--Genarate.jar  
;  
'  
; '---com  
;  
;   
;  
;  ;--ibm  
;  ;  ; 
;  
;  ;  ; 
;--ejs  
;  
;  ;   
;  
;  
;  ;   
;---container  
;  
;  ;    
    ;  
;  
;  ;    
    ;--  
_EJSWrapper_Tie.class  
;  
;  ;    
    ;--  
_EJSWrapper_Stub.class  
;  
;  ;   
  
;  
;   ;--websphere  
;  
;   ;  
;  
;  ;    
;  
;--csi  
;  
;   ;  
 ;  
;  
;   ;  
 ;--  
_TransactionalObject_Stub.class  
;  
;   ;  
 ;--  
_CSIServant_Stub.class  
;  
;   ;   
  
;  
;   ;  
;  
;   ;--ramco  
;  
;   ;  
;  
;   ;  
;  ;    --  business logic 
class  
;  
;   
;  
;  
;  
;---META-INF  
;  ;    
;  
;  
;   ;  
;  ;   
;---wsdl  
;  ;   
;  
;  
;  ;   
;  
;---Generate.wsdl  
;  ;   
;  
;  ;   
;  
;  ;   
;---ibm_ejbext.properties  
;  ;   
;---MANIFEST.MF  
;  ;   
;---ibm-webservices-ext.xmi  
;  ;   
;---ibm-webservices-bnd.xmi  
;  ;    
;---ejb-jar.xml  
;  ;   
;---Generate_mapping.xml  
;  ;   
;--webservices.xml  
;   
;  
;  
;---org  
;   
;  
;   
;---omg  
;   
    ;  
;   
    ;  
;   
    
--stub ;  
 ;    
 ; 
  ;    
 ;   
 ---java  ;  
 
   ; 
;  
    
 ;--ejb   
 ;  
 
  
 ;   
 ;  
 
 
 ;--  _Handle_Stub.class    
 ;  
   
  
 ;--  
_HomeHandle_Stub.class  
;  
 ;--  
_EJBHome_Stub.class  
;   
 ;--  
_EJBObject_Stub.class  
--Generate.war  
  
;  
  
;--Manifest.mf  
  
;--ibm_web-bnd.xmi  
  
;--ibm-web-ext.xmi  
  ;--web.xml
 
now, 
tell me where i have to put that crossdomain.xml file.
and 
what is the url for access the crossdomain.xml.
 
webservice url  is http://servername:portnumber/generate/services/generate?wsdl
 
Reg,
K.Sathish

  -Original Message-From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED]On Behalf Of Carson 
  HagerSent: 12 July 2006 23:26To: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Security error 
  accessing url
  
  
  Sathish,
   
  What URL are you using to download the 
  SWF?
   
  What is the URL for your web service?
   
  Even if the swf and web service are on the same host but 
  the host names do not match perfectly, you will get this kind of failure. If 
  the web service is on a different host, you will need to place a 
  crossdomain.xml file at the root of the web server where the web services are 
  located.
   
   
  Carson
  
   Carson 
  HagerCynergy Systems, Inc.http://www.cynergysystems.com Email:  
  [EMAIL PROTECTED]Office:  
  866-CYNERGYMobile: 1.703.489.6466
   
  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL

[flexcoders] Spring Enable Flex

2006-07-13 Thread Allen Riddle










Does anybody (Adobe developers???) know if Adobe has any
plans to Spring enable Flex? I think it would really help out with
configuration.

 

Allen Riddle

Sofware Development

x3217

 




__._,_.___





--
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] Flex 1.5 : initializing a ComboBox Heeelp!!

2006-07-13 Thread Ghislain Simard
Hi,
This is a very strange behavior and I don't know if someone can help 
me to resolve this.

On the first load of the application, I select an item in a mx:Tree 
which is triggering a function which is populating a combobox from a 
RemoteObject call.  The result of the call give me back the selected 
value to display.

Now here is the catch: the value is coming back from the server but 
the combobox is not showing the selected value until a click again 
the Tree item...than it works fine!  Worst than that, I have it 
working perfectly on my Windows 2000 Server but failed on Windows 
2003 Server.

Here is the code that is chosing the right selection in the combobox:

var aDP:Array = mx.utils.ArrayUtil.toArray(myCombobox.dataProvider);
var sDataValueInit:String = iniVal.myValue;
var sDataValueCur:String;
for ( var i:Number=0; i 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/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/
 





Re: [flexcoders] Unknown FDS error

2006-07-13 Thread hank williams



Hey Peter,Just checking, did you see my last message on this?It appears that if you try to send to big an object or the wrong type of object you will get this. I was capturing a user input and sending it in my remoting call.
so I was doing this:remoteobject.foo(someTextInput)when I should have been doingremoteobject.foo(someTextInput.text)This was reproducible.Also if you google the error that I got, you will see that in the google cache of the old labs website, the error is listed as part of FDS. There is no explanation (as there is for many of the other errors) but it is there. Its as if someone intended to document it but forgot. The error is *not* listed in the docs the final stuff and google turns up no such error on the final livedocs.
If you would like, I would be happy to try to turn on debugging and see what is going on in more detail, though I suspect if you try to do what I did you will get the same error.RegardsHank
On 7/13/06, Peter Farland <[EMAIL PROTECTED]> wrote:



















Hey Hank,

 

    Can you send me a test case, or can
you try turning on sufficient debugging to watch what is going on at the
endpoint?

 

    In services-config.xml, in the logging
section turn on "Debug" level logging, and then ensure the
Endpoint.* pattern is enabled. Restart the server and then try the sample
again.

 

    FWIW, what is confusing to me is that
2099 is not in the format / range of our server side errors. When I first read
your post I thought this might have been a client side error because it is in
the range of ActionScript error codes. Are you using IExternalizable by any
chance?

 

Pete

 









From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com
] On Behalf Of hank williams
Sent: Wednesday, July 12, 2006
2:03 PM
To: flexcoders@yahoogroups.com

Subject: Re: [flexcoders] Unknown
FDS error



 







For the record this error:

#2099: The loading object is not sufficiently loaded to provide this
information. 

Really means that you have passed a parameter that either flex or FDS doesnt
like. I got it when trying to pass a TextInput instead of a TextInput.text.

No problem with there being an error for this but it could be a bit more
descriptive. 

Regards
Hank



On 7/11/06, hank
williams <[EMAIL PROTECTED]>
wrote:



Ok, I have installed FDS final and the error is exactly the same. So
now it just appears that error 2099 is an undocumented error. It would be great
if I could at least get some detail on what exactly could cause this error. It
does have a number so it must be, at eleast internally, documented somewhere. 

Regards





Hank





 



On 7/11/06, hank
williams <
[EMAIL PROTECTED]> wrote:



 



On 7/11/06, Peter
Farland <
[EMAIL PROTECTED]> wrote:







Hank, this isn't much information to go on. What technology
are you connecting to with RemoteObject? Java, ColdFusion, etc? What sort of
data are you trying to send and/or return?













lol. Yeah, I know!

I just thought maybe someone would know what the error code actually meant. 

Since then I realized I am running the last beta of FDS and I am hoping that
will help. It appears this error is not in any current documentation but it was
in the labs documentation for FDS which makes me think maybe there is some
problem there. Even in the labs doc, the error was just listed with no
explanation. 

I am in the process of switching over to FDS Final, and I am wondering if I can
keep all of my XML configuration files or did the format change between FDS
beta and Final?

Regarding what I am running I am running java in Tomcat. Remoting has been
working fine, and I have 7 or 8 successful remoteObjects and calls. I am trying
to send two strings, and I am trying to get back one string. But it never even
gets to my java code. FDS seems to be failing as soon as this call comes in,
generating the aforementioned error. Today I added this latest call and it
gives me this error, but only for this call. Obviously there is something that
FDS is choking on but for the life of me I cant figure out what the difference
is between all the calls that work and this one that doesnt. 

Regards





Hank

 










 















From: 
flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of hank williams
Sent: Tuesday, July 11, 2006 4:33
PM
To: flexcoders@yahoogroups.com

Subject: [flexcoders] Unknown FDS
error



 







I get the
below error when trying to make a remoteObject call. It comes up on the server
side in the console. Essentially flex is refusing to responding to the remote
query and this is the result.

#2099: The loading object is not sufficiently loaded to provide this
information. 

Any clues?

Hank

















 

















 














__._,_.___





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

[flexcoders] Re: SWF Loader

2006-07-13 Thread flexnewbie06
Okay, please don't laugh at this question!  Does my Flex App need to 
be compiled before the LocalConnection will work

I will post my Flash Action Code and my Flex 2 Code...I get no errors 
and the button label does change...the SWF just doesn't stop...it 
does nothing...Can anyone see what I'm doing wrong?

---FLEX Code--


http://www.adobe.com/2006/mxml"; 
layout="absolute" initialize="initApp()" 
viewSourceURL="srcview/index.html">








---FlASH Action Script-

var lc:LocalConnection = new LocalConnection();

lc.stopFile = function() {
stop();
}
lc.resumeFile = function() {
play();
}
lc.connect("swf8connector");




--- In flexcoders@yahoogroups.com, "Hilary Bridel" <[EMAIL PROTECTED]> 
wrote:
>
> Here is great example (by Peter Ent) of localconnection applied 
between Flex
> and SWF v8
> 
http://weblogs.macromedia.com/pent/archives/2006/07/using_actionscr.cf
m
> Hilary
> 
> --
> 
> 
> On 7/13/06, Derek Vadneau <[EMAIL PROTECTED]> wrote:
> >
> >  You could use ExternalInterface to communicate between the two. 
It's as
> > easy to setup as LocalConnection (maybe easier).
> >
> > Check out this example:
> >
> > http://tracethis.com/wp-
content/playground/SWF9_SWF8_Comms/SWF9_SWF8_Comms.html
> >
> > The content on the left is created by the SWF9 and the content on 
the
> > right is a version 8 SWF. Typing in the top textfield of one side 
updates
> > text in the lower textfield of the other side. And no JavaScript 
involved.
> >
> > With this you could communicate synchronously, even create 
Proxy/__resolve
> > functionality to make most calls transparent.
> >
> >
> >
> >
> > On 7/12/06, JesterXL <[EMAIL PROTECTED] > wrote:
> > >
> > >Yeah, basically. It's asynchronus communication. It's not as 
cool as
> > > myLoadedSWF.gotoAndPlay(2), but those are the breaks.
> > >
> > >
> > > - Original Message -
> > > From: "flexnewbie06" <[EMAIL PROTECTED] >
> > > To: >
> > > Sent: Wednesday, July 12, 2006 9:37 AM
> > > Subject: [flexcoders] Re: SWF Loader
> > >
> > > Thank you for your response...I am not very familiar with
> > > LocalConnection, however I have a general understanding...would 
I
> > > need to create a "sender" lc in my Flex app and add 
a "receiver" lc
> > > in my SWF to make the two communicate?
> > >
> > > --- In flexcoders@yahoogroups.com ,
> > > "JesterXL"  wrote:
> > > >
> > > > It's an AVM1Movie, not a MovieClip. Unfortunately, this 
prevents
> > > you from
> > > > talking to the SWF; you have to use LocalConnection, or some 
other
> > > binary
> > > > socket way.
> > > >
> > > > Have you tried with Flash 9 Alpha yet? I haven't had time but 
I
> > > bet this'd
> > > > work.
> > > >
> > > > - Original Message -
> > > > From: "flexnewbie06" 
> > > > To: >
> > > > Sent: Wednesday, July 12, 2006 8:48 AM
> > > > Subject: [flexcoders] SWF Loader
> > > >
> > > >
> > > > I am trying to cast swf as MovieClip in Flex 2.0. The SWF was
> > > > created with Flash 8...I get an coercion error...is this 
something
> > > > that can not be done or maybe I am doing it incorrectly.
> > > >
> > > > I have posted the error and my code. Any Suggestions?
> > > >
> > > >
> > > >
> > > > TypeError: Error #1034: Type Coercion failed: cannot convert
> > > > flash.display::[EMAIL PROTECTED] to flash.display.MovieClip.
> > > > at EPlayer/::test()
> > > > at EPlayer/___Button1_click()
> > > >
> > > >
> > > > CODE:
> > > >
> > > >
> > > > 
> > > > http://www.adobe.com/2006/mxml";
> > > > layout="absolute">
> > > > 
> > > > 
> > > > 
> > > >
> > > >  > > > paddingTop="10" paddingBottom="10" paddingLeft="10"
> > > paddingRight="10"
> > > > y="10" x="10">
> > > >
> > > >  > > > width="459"/>
> > > >
> > > > 
> > > >
> > > > 
> > > > 
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > 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
> > >
> > >
> >
> >
> > --
> >
> > Derek Vadneau 
> >
> 
> 
> 
> -- 
> Hilary
> 
> --
>






--
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] shadow lighting

2006-07-13 Thread hank williams



Thanks guys. Those are great examples. With filters you can *really* make apps look "unflexlike" -lol.The great power of flex is how easy it is to do this stuff. The one downfall for people that are not careful is that all of their apps will look like aero. Although I guess thats ok, Mac users dont have a problem with all their apps looking the same.
But anyway the chiseled text in a label I was just looking at how to do the other day and I hadnt gotten it yet so this is right on time.RegardsHankOn 7/13/06, 
Peter Baird <[EMAIL PROTECTED]> wrote:







Also, it appears you're trying to apply these styles to a canvas.  Note that to do so, you'll also need to set the borderStyle of the canvas to solid (you can set the thickness to zero, if you don't actually want to see a border).  If that's not enough for you, you can also use flash filters, examples of which can be found here:



http://weblogs.macromedia.com/mc/archives/2006/05/beyond_styling.cfm

-peter


On 7/12/06 6:08 PM, "Jason Szeto" <[EMAIL PROTECTED]> wrote:


 
 
 

Hank,
 
There are a few basic things you can do to style the drop shadows. Look at these styles:
 
dropShadowColor="0x00"
dropShadowEnabled="false"
shadowDirection="center"
shadowDistance="2"
 
Jason
 
 





From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
 On Behalf Of hank williams
Sent: Friday, June 30, 2006 1:26 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] shadow lighting
 

when applying shadowing to an object, if the lighting source is to the
top left of the object, then the shadow will be on the bottom and the
right. Typically there is also a white or light band across the top
and down the left side.

I am wondering how you do this in flex. I see it in the application
bar and so I am thinking that I should be able to style a canvas to do
it, but I cant seem to do it with the shadow related settings. I
believe I was able to do this kind of things with movie clips in
flash.

I guess a second question is whether it is possible to do any of those
cool flash 8 effects on containers/canvases in flex.

Hank

 









__._,_.___





--
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] Unknown FDS error

2006-07-13 Thread Peter Farland












Hey Hank,

 

    Can you send me a test case, or can
you try turning on sufficient debugging to watch what is going on at the
endpoint?

 

    In services-config.xml, in the logging
section turn on “Debug” level logging, and then ensure the
Endpoint.* pattern is enabled. Restart the server and then try the sample
again.

 

    FWIW, what is confusing to me is that
2099 is not in the format / range of our server side errors. When I first read
your post I thought this might have been a client side error because it is in
the range of ActionScript error codes. Are you using IExternalizable by any
chance?

 

Pete

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of hank williams
Sent: Wednesday, July 12, 2006
2:03 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Unknown
FDS error



 







For the record this error:

#2099: The loading object is not sufficiently loaded to provide this
information. 

Really means that you have passed a parameter that either flex or FDS doesnt
like. I got it when trying to pass a TextInput instead of a TextInput.text.

No problem with there being an error for this but it could be a bit more
descriptive. 

Regards
Hank



On 7/11/06, hank
williams <[EMAIL PROTECTED]>
wrote:



Ok, I have installed FDS final and the error is exactly the same. So
now it just appears that error 2099 is an undocumented error. It would be great
if I could at least get some detail on what exactly could cause this error. It
does have a number so it must be, at eleast internally, documented somewhere. 

Regards





Hank





 



On 7/11/06, hank
williams <
[EMAIL PROTECTED]> wrote:



 



On 7/11/06, Peter
Farland <
[EMAIL PROTECTED]> wrote:







Hank, this isn't much information to go on. What technology
are you connecting to with RemoteObject? Java, ColdFusion, etc? What sort of
data are you trying to send and/or return?













lol. Yeah, I know!

I just thought maybe someone would know what the error code actually meant. 

Since then I realized I am running the last beta of FDS and I am hoping that
will help. It appears this error is not in any current documentation but it was
in the labs documentation for FDS which makes me think maybe there is some
problem there. Even in the labs doc, the error was just listed with no
explanation. 

I am in the process of switching over to FDS Final, and I am wondering if I can
keep all of my XML configuration files or did the format change between FDS
beta and Final?

Regarding what I am running I am running java in Tomcat. Remoting has been
working fine, and I have 7 or 8 successful remoteObjects and calls. I am trying
to send two strings, and I am trying to get back one string. But it never even
gets to my java code. FDS seems to be failing as soon as this call comes in,
generating the aforementioned error. Today I added this latest call and it
gives me this error, but only for this call. Obviously there is something that
FDS is choking on but for the life of me I cant figure out what the difference
is between all the calls that work and this one that doesnt. 

Regards





Hank

 









 















From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of hank williams
Sent: Tuesday, July 11, 2006 4:33
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Unknown FDS
error



 







I get the
below error when trying to make a remoteObject call. It comes up on the server
side in the console. Essentially flex is refusing to responding to the remote
query and this is the result.

#2099: The loading object is not sufficiently loaded to provide this
information. 

Any clues?

Hank

















 

















 






__._,_.___





--
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] HTTPS and Remote passwords

2006-07-13 Thread Peter Farland
Flex is restricted by the functionality of the Flash Player. The
underlying API flash.net.URLLoader will not let Flex set any of the
headers required to mimic what you're asking for, i.e.
pre-authentication. If you're using Basic Authentication from the J2EE
web application container, then the popup is what you're going to see.
This is out of our control on the server too. The J2EE app server does
not give us access to the messaging payload until the request is
authenticated.

setCredentials is only for custom authentication (i.e. the destination
is constrained and credentials are checked against the login-command
registered for the FDS Message Broker).

setRemoteCredentials is only for communication with 3rd party endpoints
from an FDS adapter, such as ColdFusion.

Pete



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Thursday, July 13, 2006 10:11 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] HTTPS and Remote passwords

On Wednesday 12 July 2006 15:00, Tom Chiverton wrote:
> All right, fixed that, my bad :-)

I take it all back :-(
If I have the end point URL (http://somehost/flex2gateway) protected at
the 
web server level, how can I make Flex send along a particular 
username/password in the HTTP 'Authorization' header when it calls a
remote 
object ?

Neither setCredentials() or setRemoteCredentials() work - the web
browser just 
displays it's normal HTTP 'authorisation needed' prompt, and once
entered 
there all proceeds well, so it's just a case of making Flex do the same 
thing.
All is well if I protect the root URL (but then the web browser prompts
the 
user before loading the Flex before passing on the Authorization header
OK).

> Any word on HTTPS endpoints ?

*No one* is trying to do CFC remoting over SSL ?
With





com.XXX.EnvironmentService

true

remote



false

false

false




and

https://archiving.localdomain:443/flex2gateway/"; 
class="flex.messaging.endpoints.AMFEndpoint"/>

false

 
false




I get an error when trying to use it that says "destination
environmentService 
not accessible over channel my-cfamf-arch-sec" :-(

The SWF is being served via HTTPS from the same host name, but I've
stuck the 
following cross domain policy file in anyway to no avail:





-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England
and Wales under registered number OC307980 whose registered office
address is at St James's Court Brown Street Manchester M2 2JF.  A list
of members is available for inspection at the registered office. Any
reference to a partner in relation to Halliwells LLP means a member of
Halliwells LLP. Regulated by the Law Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and
may be confidential or legally privileged.  If you are not the addressee
you must not read it and must not use any information contained in nor
copy it nor inform any person other than Halliwells LLP or the addressee
of its existence or contents.  If you have received this email in error
please delete it and notify Halliwells LLP IT Department on 0870 365
8008.

For more information about Halliwells LLP visit www.halliwells.com.



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



 





 Yahoo! Groups Sponsor ~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/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/
 





[flexcoders] turkish character encoding with webservices

2006-07-13 Thread oktay nba



hi everyone;i am working on a program on Flex 2. some webservices, made with nusoap, mysql, and php, are run at the background. but i have somehow encoding problems. some character in turkish like "ş", "ı", "ğ" and their uppercases cant displayed.
in the charles web debugging proxy, the request, as in xml, is sended correct. but because of the encoding problem they are stored as "?". but on response of another webservice, that contains turkish character, are displayed in swf "þ", "ý", "ð".
how can i solve that problem? is there anyway to change the xml encoding types in flex? or another encoding issues?respectfully oktay

__._,_.___





--
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] Is it Possible to call a function that's inside of a Tree ItemRenderer?

2006-07-13 Thread Tom Chiverton
On Wednesday 12 July 2006 18:36, sufibaba wrote:
> I would like to be able to fire this function programatically at the
> Tree's level.

Is there a getRenderer method/property on tree cells ?

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



 Yahoo! Groups Sponsor ~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/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/
 




Re: [flexcoders] shadow lighting

2006-07-13 Thread Peter Baird
Title: Re: [flexcoders] shadow lighting





Also, it appears you’re trying to apply these styles to a canvas.  Note that to do so, you’ll also need to set the borderStyle of the canvas to solid (you can set the thickness to zero, if you don’t actually want to see a border).  If that’s not enough for you, you can also use flash filters, examples of which can be found here:

http://weblogs.macromedia.com/mc/archives/2006/05/beyond_styling.cfm

-peter


On 7/12/06 6:08 PM, "Jason Szeto" <[EMAIL PROTECTED]> wrote:

 
 
 

Hank,
 
There are a few basic things you can do to style the drop shadows. Look at these styles:
 
dropShadowColor="0x00"
dropShadowEnabled="false"
shadowDirection="center"
shadowDistance="2"
 
Jason
 
 





From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hank williams
Sent: Friday, June 30, 2006 1:26 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] shadow lighting
 

when applying shadowing to an object, if the lighting source is to the
top left of the object, then the shadow will be on the bottom and the
right. Typically there is also a white or light band across the top
and down the left side.

I am wondering how you do this in flex. I see it in the application
bar and so I am thinking that I should be able to style a canvas to do
it, but I cant seem to do it with the shadow related settings. I
believe I was able to do this kind of things with movie clips in
flash.

I guess a second question is whether it is possible to do any of those
cool flash 8 effects on containers/canvases in flex.

Hank

 


__._,_.___





--
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] Duplicating/Copying a UI components

2006-07-13 Thread Tom Chiverton
On Thursday 13 July 2006 04:08, lownlazy000 wrote:
> I simply was to make a copy of a Sprite variable but I cant seem to
> find a way to do it? Can any one tell me how?

You mean 
var myCopy:Sprite=theOtherSprite;
doesn't work ?

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



 Yahoo! Groups Sponsor ~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/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/
 




Re: [flexcoders] Trapping back button and refresh

2006-07-13 Thread Tom Chiverton
On Wednesday 12 July 2006 16:49, quasimotoca wrote:
> Is there a way in AS3 to catch the backbutton and refresh buttons when

Only via javascript.
You could use an onUnload() event in the HTML wrapper to call into the 
ActionScript.

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



 Yahoo! Groups Sponsor ~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/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/
 





Re: [flexcoders] Pass a parameter in the event function of an addEventListener?

2006-07-13 Thread Tom Chiverton
On Wednesday 12 July 2006 22:13, meathead wrote:
> So I'm setting up buttons on the fly via actionscript and I want to
> pass an ID number based on which button was selected.  I was going
> to use an addEventListener for the click event of the newly created
> button, but then I saw this on the live docs

Set the name of the button to the id, and look in event.currentTarget in you 
event handler.

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



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

<*> 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] java enum does not serialize

2006-07-13 Thread Peter Farland












This feature was deferred until a later
release of Flex.

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of busitech
Sent: Wednesday, July 12, 2006
6:53 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] java enum
does not serialize



 







Has anyone found a way to get java 1.5 enums to
serialize and
deserialize correctly through the flex server?






__._,_.___





--
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] Setting fill value of a pie chart programmatically

2006-07-13 Thread Dimitrios Gianninas





yes noticed that too, thx Ely.
 
Dimitrios 
Gianninas
RIA Developer
Optimal 
Payments Inc.
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Ely 
GreenfieldSent: Thursday, July 13, 2006 10:19 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Setting fill 
value of a pie chart programmatically



 
 
you need to set it on the pie series, not the pie 
chart.
 
Ely.
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios 
GianninasSent: Wednesday, July 12, 2006 2:23 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Setting fill value of 
a pie chart programmatically



How in the 
world do u set the fill style of a pie chart in AS3 ?
 
I tried 
pie.setStyle( "fills", someArray ); and it does 
nothing.
 
Dimitrios 
Gianninas
RIA Developer
Optimal 
Payments Inc.
 

  
  

  AVIS 
  IMPORTANT

  WARNING
  

  Ce message 
  électronique et ses pièces jointes peuvent contenir des renseignements 
  confidentiels, exclusifs ou légalement privilégiés destinés au seul usage 
  du destinataire visé. L’expéditeur original ne renonce à aucun privilège 
  ou à aucun autre droit si le présent message a été transmis 
  involontairement ou s’il est retransmis sans son autorisation. Si vous 
  n’êtes pas le destinataire visé du présent message ou si vous l’avez reçu 
  par erreur, veuillez cesser immédiatement de le lire et le supprimer, 
  ainsi que toutes ses pièces jointes, de votre système. La lecture, la 
  distribution, la copie ou tout autre usage du présent message ou de ses 
  pièces jointes par des personnes autres que le destinataire visé ne sont 
  pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier 
  électronique par erreur, veuillez en aviser 
l’expéditeur.

  This 
  electronic message and its attachments may contain confidential, 
  proprietary or legally privileged information, which is solely for the use 
  of the intended recipient. No privilege or other rights are waived by any 
  unintended transmission or unauthorized retransmission of this message. If 
  you are not the intended recipient of this message, or if you have 
  received it in error, you should immediately stop reading this message and 
  delete it and all attachments from your system. The reading, distribution, 
  copying or other use of this message or its attachments by unintended 
  recipients is unauthorized and may be unlawful. If you have received this 
  e-mail in error, please notify the 
sender.


__._,_.___





--
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] [Ann] Flex 2 Training in Sydney - Registration of Interest

2006-07-13 Thread Paul Arch
Chris Velevitch wrote:
> I'm happy to announce the Sydney Flash Platform Developers Group is
> planning to run a once off 3 day training course on Flex 2. The
> initial details is the course will be held towards the end of August,
> you must bring your own laptop with Flex 2 trial version pre-installed
> (windows only), you must provide your own lunch, it'll mostly likely
> be run on W-F, accepting 20-30 people and the cost is approximately
> $500. If you're from outside Sydney, you must arrange your own
> accommodation. The course instructor will be Robin Hilliard. Complete
> details will be finalised in early August.
>
> Please express your interest directly to me and if there's sufficient
> interest the course will go ahead. People from outside Sydney are
> welcome.
>   

Hi,

 do you have details on what the course will cover ?

Paul Arch
 



--
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] HTTPS and Remote passwords

2006-07-13 Thread Tom Chiverton
On Wednesday 12 July 2006 15:00, Tom Chiverton wrote:
> All right, fixed that, my bad :-)

I take it all back :-(
If I have the end point URL (http://somehost/flex2gateway) protected at the 
web server level, how can I make Flex send along a particular 
username/password in the HTTP 'Authorization' header when it calls a remote 
object ?

Neither setCredentials() or setRemoteCredentials() work - the web browser just 
displays it's normal HTTP 'authorisation needed' prompt, and once entered 
there all proceeds well, so it's just a case of making Flex do the same 
thing.
All is well if I protect the root URL (but then the web browser prompts the 
user before loading the Flex before passing on the Authorization header OK).

> Any word on HTTPS endpoints ?

*No one* is trying to do CFC remoting over SSL ?
With





com.XXX.EnvironmentService

true   
 
remote


false

false

false




and

https://archiving.localdomain:443/flex2gateway/"; 
class="flex.messaging.endpoints.AMFEndpoint"/>

false

false




I get an error when trying to use it that says "destination environmentService 
not accessible over channel my-cfamf-arch-sec" :-(

The SWF is being served via HTTPS from the same host name, but I've stuck the 
following cross domain policy file in anyway to no avail:





-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



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

<*> 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] Setting fill value of a pie chart programmatically

2006-07-13 Thread Ely Greenfield





 
 
you need to set it on the pie series, not the pie 
chart.
 
Ely.
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios 
GianninasSent: Wednesday, July 12, 2006 2:23 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Setting fill value of 
a pie chart programmatically



How in the 
world do u set the fill style of a pie chart in AS3 ?
 
I tried 
pie.setStyle( "fills", someArray ); and it does 
nothing.
 
Dimitrios 
Gianninas
RIA Developer
Optimal 
Payments Inc.
 

  
  

  AVIS 
  IMPORTANT

  WARNING
  

  Ce message 
  électronique et ses pièces jointes peuvent contenir des renseignements 
  confidentiels, exclusifs ou légalement privilégiés destinés au seul usage 
  du destinataire visé. L’expéditeur original ne renonce à aucun privilège 
  ou à aucun autre droit si le présent message a été transmis 
  involontairement ou s’il est retransmis sans son autorisation. Si vous 
  n’êtes pas le destinataire visé du présent message ou si vous l’avez reçu 
  par erreur, veuillez cesser immédiatement de le lire et le supprimer, 
  ainsi que toutes ses pièces jointes, de votre système. La lecture, la 
  distribution, la copie ou tout autre usage du présent message ou de ses 
  pièces jointes par des personnes autres que le destinataire visé ne sont 
  pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier 
  électronique par erreur, veuillez en aviser 
l’expéditeur.

  This 
  electronic message and its attachments may contain confidential, 
  proprietary or legally privileged information, which is solely for the use 
  of the intended recipient. No privilege or other rights are waived by any 
  unintended transmission or unauthorized retransmission of this message. If 
  you are not the intended recipient of this message, or if you have 
  received it in error, you should immediately stop reading this message and 
  delete it and all attachments from your system. The reading, distribution, 
  copying or other use of this message or its attachments by unintended 
  recipients is unauthorized and may be unlawful. If you have received this 
  e-mail in error, please notify the 
sender.

__._,_.___





--
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] How to organize projects in Flex Builder?

2006-07-13 Thread Beck Novaes
Thanks for the link, Douglas!

I suppose that for the sake of integration, maybe it's a good idea to
have only one project. That way, I make some changes in Java code and
run my Flex app to see the results. But, only one project doesn't
sounds good for me, *mainly* if it is not a Flex project (a Web
Project for example).

Furthermore, when I have two projects I like to create "Mock
Delegates" to abstract from the Integration Tier – the front-end is
completely decoupled from the back-end.

What I really like to discuss here is what are the benefits of having
a single project (with Flex and Java resources) and what are the
benefits of having two projects (one for Flex and another for Java).

Tks!


On 7/13/06, Douglas Knudsen <[EMAIL PROTECTED]> wrote:
> this may help
> http://weblogs.macromedia.com/dharfleet/archives/2006/07/java_developmen.cfm
>
> in Flex 1.5, we kept both mxml and java code together and used ant to
> compile and build a war.  I suppose you can do the same in 2.
>
> DK
>
> On 7/13/06, Beck Novaes <[EMAIL PROTECTED]> wrote:
> > That way, how do you deploy your application? I mean, do you wrap
> > everything in a WAR file? Do you use ANT?
> >
> > Thanks!
> >
> > On 7/12/06, Clint Modien <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > >I would split it up into two projects for the sake of compiling it / 
> > > versioning it. That way you can build them independently and store in 
> > > your source control sys separately.  That's usually the way it's done.
> > >
> > >
> > >
> > >
> > >  On 7/12/06, Beck Novaes <[EMAIL PROTECTED]> wrote:
> > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Hey Guys,
> > > >
> > > >  Imagine you are working in a big project with a Team and you're using
> > > >  FDS. So, what do you think is the best approach in Eclipse IDE (Flex
> > > >  Builder)?
> > > >
> > > >  1. Only one project: a "Web Project" with flex and java sources
> > > >  2. Two projects: one web project with java sources and FDS binary and
> > > >  configuration files; and another Flex Project with Flex sources
> > > >  3. Another way?
> > > >
> > > >  Why do you think it's the best approach? What about the deployment?
> > > >
> > > >  Tks,
> > > >  Beck Novaes
> > > >
> > > >
> > >
> > >
> >
> >
> > --
> > 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
> >
> >
> >
> >
> >
> >
> >
> >
>
>
> --
> Douglas Knudsen
> http://www.cubicleman.com
> this is my signature, like it?
>
>
>
> --
> 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 ~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/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/
 





[flexcoders] Re: Pass value Using getURL() in MXML 2

2006-07-13 Thread Geoffrey Williams
getURL is gone in AS3.

navigateToURL (new URLRequest ("QueryStringSample.mxml"));

--- In flexcoders@yahoogroups.com, "k_abdul_jabbar" 
<[EMAIL PROTECTED]> wrote:
>
> I have pasted a piece of code to pass value using query string,I am
> sure there wouldn't be any problem with code.But I get error calling
> getURL() method.
> 
> The error I am getting on compilation is,
> 
> Call to a possibly undefined method getURL.
> 
> 4: {
> 5: getURL("QueryStringSample.mxml");
> 6: }





--
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: Array/ArrayCollection problem when migrating from Beta 3 to Flex 2 Final

2006-07-13 Thread sreedhar reddy



Hi Tim,      Thank you so much for your reply. Tim Hoff <[EMAIL PROTECTED]> wrote:  Hi Sreedhar,One of the changes from B3 to final was the use of the makeObjectsBindable property in the HTTPService tag. If you set this property to false, you should get the same result as in B3.-TH--- In [EMAIL PROTECTED]ups.com, sreedhar reddy ...>
 wrote:>> Hi,> > This is Sreedhar. I am working with Flex Builder 2, Java Server Pages, and SQL Server 2005. Currently, I am working on "Search based on Keyword". When I execute the search through the JSP, I am able to see the results. I am having a problem when displaying these results in a Flex DataGrid. If my search yields only one result, the result is displayed in the DataGrid properly. However, if there are multiple results, the DataGrid is blank. I was able to get this to work in Beta 3, but after migrating to the final version, it no longer works. I am pretty sure that the problem has to do with this change that is listed on the changes page: Arrays are wrapped in mx.utils.ArrayCollection instances. However, taking this into account, I still can't fix the problem.> > /*FlexCode/> url=""http://localhost:8080/Essential2/SelectData.jsp">http://localhost:8080/Essential2/SelectData.jsp">> > {key1.text}> >  > > source="{mx.utils.ArrayUtil.toArray(selectdata.lastResult.userinfo)}"/>> > "true" bottom="10" top="210" id="filteredGrid" dataProvider="{emp}" click="displayimg();" > dropEnabled="false"> dragEnabled="true" >> > > > > > > headerText="Title"/>> headerText="Rating"/>> headerText="Category"/>> headerText="File Type"/>> headerText="Price"/>> headerText="LogoPath" visible="false"/> > headerText="SubCategory" visible="false"/> > headerText="WebsiteUrl" visible="false"/> > headerText="FeedDescription" visible="false"/>> headerText="FilePath" visible="false"/>> headerText="Keywords" visible="false"/>> headerText="ConentRating" visible="false"/>> > > > > /***/> /*JSP Code**/> > <%> while (rs.next())> {> > str1 = rs.getString(1);> str2 = rs.getString(2);> str3 = rs.getString(3);> str4 = rs.getString(4);> str5 = rs.getString(5);> str6 = rs.getString(6);> str7 = rs.getString(7);> str8 = rs.getString(8);> str9 = rs.getString(9);> str10 = rs.getString(10);> str11 = rs.getString(11);> str12 = rs.getString(12);> str13 = rs.getString(13);> > > > %>> > > <%=str1%>
 <%=str2%>> <%=str3%>> <%=str4%>> <%=str5%>category>> <%=str6%>filetype>> <%=str7%>> <%=str8%>logopath>> <%=str9%>> <%=str10%>> <%=str11%>on>> <%=str12%>> <%=keyword%>> <%=str13%>>> > > <%> }> %>>
 //> > If anyone can help out, I would greatly appreciate it.> > Thanks & Regards,> Sreedhar> > > Thanks & Regards,> Sreedhar> > -> Find out what India is talking about on Yahoo! Answers India.> So, what's NEW about the NEW Yahoo! Messenger? Find out.>Thanks & Regards,Sreedhar 
	

	
		 
Find out what India is talking about on  Yahoo! Answers India. 
So, what’s NEW about the NEW Yahoo! Messenger? Find out.
__._,_.___





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



  






__,_._,___



  1   2   >