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

2006-07-14 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:
mx:DataGridColumn headerText=Htl Bkgs paddingRight=4 dataField=Bookings mx:itemRenderer mx:Component mx:Label width=100% height=100% text={
fmt.format(data.Bookings)} mx:NumberFormatter id=fmt useThousandsSeparator=true/ /mx:Label /mx:Component  /mx:itemRenderer

/mx:DataGridColumnLooks
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 lt; 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.



  






__,_._,___



[flexcoders] Test

2006-07-14 Thread jwc_wensan
Just sending myself a test.

I haven't received any posts for over 4 hours.

I guess Yahoo is screwing up again.

Jack






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

2006-07-14 Thread Tom Chiverton
On Thursday 13 July 2006 18:59, Peter Farland wrote:
 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.

Yup, got all that.

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

I'll ping you a mail with out services-config, Apache config.
It's just a normal Cairngorm app using RemoteObject to CF.

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

2006-07-14 Thread Tom Chiverton
On Thursday 13 July 2006 18:02, Steve Pruitt wrote:
 Does anyone know specifically where to place the crossdomain.xml file
 for Weblogic.  Drilling down through the Weblogic directories, I found a

It needs to go in the web root.

-- 
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] Remote Developement Help

2006-07-14 Thread Tom Chiverton
On Friday 14 July 2006 03:08, nigasak wrote:
 my ColdFusion Development server. I mean, my ColdFusion Server is not
 in my local Box. Please Help me.

If I remember rightly, the wizard asks you where the remote CF server is.

-- 
Tom Chiverton, who just uses the command like compiler.



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/
 




[flexcoders] Flex Developer Needed

2006-07-14 Thread wayneposner
User Interface Engineer

Due to continued growth, Right Hemisphere, Inc. 
(www.righthemisphere.com) has an immediate opening for a User 
Interface Engineer for either the Fremont, CA or Dallas, TX region. 
Right Hemisphere, Inc. provides Product Graphics Management (PGM) 
solutions to industrial clients worldwide, specifically targeting 
automotive, aerospace and defense industries.

Responsibilities for this position include
•   Development of Rich Internet Applications (RIAs) with Flex™.
•   Participate in benchmarks, POC's and pilot projects
•   Conduct training seminars at Right Hemisphere offices and 
customer sites

Requirements
•   1+ years experience Rich Internet Applications (RIAs) with 
Flex™.
•   5 years software development experience in C++, C#, SQL, 
XML, Java-scripting, ASP .NET Framework
•   Excellent interpersonal, communication, persuasion, 
presentation and
writing skills.
•   Experience with Windows 2000/XP Operating Systems
•   Must be willing to work in a fast paced start-up environment 
with multiple roles
•   Bachelor's degree is a must
•   Must be willing to travel some (possibly a few days a month)

In addition, the following qualities are highly regarded
•   Knowledge of the engineering visualization and collaboration 
space
•   Knowledge of technical publications tools and workflows
•   Knowledge of CG rendering based on CAD reuse
•   Knowledge of interactive training solutions

If interested, please click my profile and use the Send Email link 
to forward me your resume.

Thanks!
Wayne






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

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

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

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




[flexcoders] Flex Consultant Needed

2006-07-14 Thread wayneposner
Right Hemisphere, Inc. is looking for someone who is proficient in 
developing ActiveX controls to communicate with a Flex Application.  

This is contract work.  Anyone interested please contact me via the 
Send Email link found by clicking on my profile.






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

2006-07-14 Thread Tom Chiverton
On Friday 14 July 2006 00:33, vanhoese wrote:
 I finally figured it out on my own.  For inquisitive minds:

Does setting 
$SDK_HOME/frameworks/license.properties
not 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 ~-- 
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] Announce: Flex 2 MXML schema file

2006-07-14 Thread Tom Chiverton
http://falkensweb.com/other.html
I'll keep it up to date as people let me know things they spot.

There have already been several changes since I posted a diff to the list 
last.
-- 
Tom Chiverton, who gave exclusive early access to it to readers of his blog 
last night



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/
 




[flexcoders] Flex 2 final XML attributes

2006-07-14 Thread bhaq1972
Hi

just wondered, the XML.attributes() method only list the values of all 
the attributes of the specified node.

how can i get a list of name/value pairs of all the attributes.

this is possible using XmlDocument class but not with the new XML 
class.

am i right?

thanks
Bod






--
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] deleting a node with e4x

2006-07-14 Thread Jeff Tapper
does anyone know the syntax to remove a particular node from an xml object 
using e4x?

Working with a structure like this, I want to be able to remove one 
node.  Is the only approach to get a handle on the subpart node and set its 
children without the first subsection?  I'm thinking there must be an 
easier way...

thoughts?

report
 part name=node1 ...
section name=section1 .../
section name=section2 .../
 /part
 part
 subpart name=subpart1
 subsection name=subsection1 .../- I'd like to 
remove this element
 subsection name=subsection2 .../
/subpart
section name=section3 .../
 /part
/report




-- 
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] Embedding flash in my application

2006-07-14 Thread anuranjan yadav
Hi All,
I am new to Flash and Flex environment. My intention
is to embed Flash in my application. My application is
on linux and I need to know how can I achieve it. 

Any help or information on this would be of great
help.
Regards,
Anuranjan

PS: If this query is not meant for this group, please
ignore this mail. 

--- Tom Chiverton [EMAIL PROTECTED]
wrote:

 On Friday 14 July 2006 03:08, nigasak wrote:
  my ColdFusion Development server. I mean, my
 ColdFusion Server is not
  in my local Box. Please Help me.
 
 If I remember rightly, the wizard asks you where the
 remote CF server is.
 
 -- 
 Tom Chiverton, who just uses the command like
 compiler.
 
 
 
 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
 
 
 [EMAIL PROTECTED]
 
  
 
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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/
 





[flexcoders] need solution/best practice regarding VO's

2006-07-14 Thread Andrea Varga
Hi All!

I'm going to ask my question through an example. (I'm using Cairngorm, 
but I think the problem is general)
Let's say I have a database with 2 tables:

1. user -  with fields: user_id, user_name, user_country_id (foreign 
key from country table)
2. countries - with fields: country_id, country_name

Let's say I need an application that lists all the users, in a datagrid 
with 2 columns: User Name, Country Name.
How should I approach this?

Let's say I have 2 VO's, to reflect the database structure:

class UserVO {
public var ID:int;
public var name:String;
public var countryID:int;
}

class CountryVO {
public var ID:int;
public var name:String;
}

And I have in my Model:

users:ArrayCollection;  // array collection of UserVOs
countries:ArrayCollection;  // array collection of CountryVOs

How could I create a binding of users to a Datagrid, so it will display 
the country names?
Or how else should I approach the problem?

In case I  have:
class UserVO {
public var ID:int;
public var name:String;
public var country:countryVO;
}

I think the bindig would be possibe, but a bunch of other 
questions/problems appear.
Eg.:
I'm using remoting to get the data from the server (AMFHP). 
On one hand: Class mappings won't work with VO's insite another VO.
On second hand: I have to load the list of countries (I need it 
somewhere else), and I would not want to carry the CountryVO inside the 
UserVO, for many reasons. One of them is: this is a simple example, but 
what if CountryVO is a more complex data, and i need to send a userVO to 
the server (to update the database for example), I don't need a 
CountryVO there, just a UserVO that has the ID of a country.

Thanks,
Andi








 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] flex web service that returns an object

2006-07-14 Thread kriskross9898



I'm working on a flex application, using Adobe Flex 2.0, and I'm trying to use a web service method that retuns an object.I have several methods in the web service that works, so it's not the connection to the web service it self, but the object that returns from the method getWebObject I can't figure out.mx:WebService id="getTest" wsdl="http://localhost:6060/webservice/getTest?WSDL"mx:operation name="getWebObject" resultFormat="object"/mx:operationmx:operation name="sayHello"/mx:operation/mx:WebServiceThen I call the method like this: [webService id].[operation name].lastResult.[name of the Object from the wsdl file].[name of the String that i need from the wsdl] as: getTest.getWebObject.lastResult.ObjectTest.DDThe Object description in the wsdl file looks like this:complexType name="ObjectTest"sequenceelement name="DD" type="string" / element name="DR" type="string" / /sequence/complexTypeCan anyone please tell me how I can bind the property to the object correct?I allso need to use another method that returns an ArrayList of the same object?Is this possible? 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Re: iframe portal external web page

2006-07-14 Thread Engkee Kwang
Thank you Tim.
This is great stuff.



From: flexcoders@yahoogroups.com on behalf of Tim Hoff
Sent: Thu 7/13/2006 3:26 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: iframe portal external web page



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



 


 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/
 
winmail.dat

Re: [flexcoders] Embedding flash in my application

2006-07-14 Thread Tom Chiverton
On Friday 14 July 2006 10:56, anuranjan yadav wrote:
 I am new to Flash and Flex environment. My intention
 is to embed Flash in my application. My application is
 on linux and I need to know how can I achieve it.

What is your application written in ?
C++ ? Perl ? Qt4 ? XUL ? Python ? Ruby ? ... ?

-- 
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] need solution/best practice regarding VO's

2006-07-14 Thread Tom Chiverton
On Friday 14 July 2006 06:55, Andrea Varga wrote:
 How should I approach this?

You could have the Flex app retrive a list of country IDs and names at start 
up, and then use a custom item renderer in the data grid to display the 
country based on the user VO's countryId.

-- 
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 ~-- 
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] Re: DataGridColumn id attrubute is gone??

2006-07-14 Thread Suzy Lawson
Thanks Dimitrios...yeah, that solution will solve my problem. 

ALthough it doesn't seem ideal since I will have some of the same
columns stored in each Array. Oh well,as long as it's working right!? 

How come the mxml tag DataGridColumn has an 'id' attribute though
but the programatic way does not? Seems odd.


--- In flexcoders@yahoogroups.com, Dimitrios Gianninas
[EMAIL PROTECTED] wrote:

 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:
 
 mx:Array id=columns1
   mx:DataGridColumn ... /
   mx:DataGridColumn ... /
   ...
 /mx:Array
 
 mx:Array id=columns2
   mx:DataGridColumn ... /
   mx:DataGridColumn ... /
   ...
 /mx:Array
 
 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 mx: DataGridColumn id= ../ 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.







 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] force-directed graph layout

2006-07-14 Thread phoberomys
Does anybody know of anybody developing something along the lines of
the prefuse visualization toolkit (http://prefuse.org/) in flex?  Or
on a simpler level, just a force-directed graph component.

- Forrest


--- In flexcoders@yahoogroups.com, Roger Gonzalez [EMAIL PROTECTED] wrote:

 I don't know of an off-the-shelf package, but its not hard to write.
 
 My linker/loader article on devnet includes an utility program for
which I
 wrote a force-directed graph layout algorithm as a component that
scribbles
 on a Canvas using the ActionScript graphics API.  (The utility is
prebuilt,
 no source, but you might want to tinker with it for inspiration.)
 
 -Roger
 
 Roger Gonzalez
 mailto:[EMAIL PROTECTED]
  
 
  -Original Message-
  From: shlomic_thailand [mailto:[EMAIL PROTECTED] 
  Sent: Thursday, March 03, 2005 6:49 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Fwd: Drawing Network topology graph in Flex
  
  
  
  --- In flexcoders@yahoogroups.com, shlomic_thailand [EMAIL PROTECTED] 
  wrote:
  
  Hi
  
  does anyone know of a package that can draw graphs in flex (like tree 
  but more complex)
  we'd like to write an application that draws network topology in the 
  UI.
  
  thanks
  Shlomi
  --- End forwarded message ---
  
  
  
  
  
  
   
  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

* 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 Consultant Needed

2006-07-14 Thread JesterXL
Hey Wayne,

What type of defense work does Right Hemisphere do?

- Original Message - 
From: wayneposner [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, July 14, 2006 6:11 AM
Subject: [flexcoders] Flex Consultant Needed


Right Hemisphere, Inc. is looking for someone who is proficient in 
developing ActiveX controls to communicate with a Flex Application.  

This is contract work.  Anyone interested please contact me via the 
Send Email link found by clicking on my profile.







--
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] How can I get an object instance ...

2006-07-14 Thread chrislee943
Hi all,
How can I get an object instance having Object id property value only
as it done in javascript function : getElementById()?

Regards,
Dmitry.
Thanks






 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] associative arrays and dataproviders

2006-07-14 Thread simon_janssens
Hi,

I was wondering how you access an array inside a dataprovider?

I have a datagrid with a dataprovider of clients, inside that is an
array of address details. Can anyone tell me how I can bind the items in
the address array to columns of the datagrid?

clients
 -id
 -name
 -address
  -- address1
  -- address2
 -email



mx:DataGrid id=clientDisplay dataProvider={clients} left=10
top=10 right=10 height=193
 mx:columns
 mx:DataGridColumn headerText=ID dataField=id
editable=false/
 mx:DataGridColumn headerText=name dataField=name/

 !-- how do I bind address.address1 and
address.address2? --
 mx:DataGridColumn headerText=Address1
dataField=address.address1/
 mx:DataGridColumn headerText=Address2
dataField=address[address2]/
 mx:DataGridColumn headerText=email
dataField=email/
 /mx:columns
 /mx:DataGrid







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

2006-07-14 Thread thunderstumpgesatwork
Looks like the email address got cut off...

thunder.stumpges'at'gmail.com

thanks,
Thunder






 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] Repeater ignores recycleChildren. on my image extendsion!!

2006-07-14 Thread maikelsibbald
If I have a trace in the constructor of my Component (extends Image).
I see my traces, even when I use the recyclechildren (=true) property
in the Repeater that creates the images... how come..?






--
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: deleting a node with e4x

2006-07-14 Thread Geoffrey Williams
Use the delete operator.

delete report.part[1].subpart[0].subsection[0];

--- In flexcoders@yahoogroups.com, Jeff Tapper [EMAIL PROTECTED] wrote:

 does anyone know the syntax to remove a particular node from an xml 
object 
 using e4x?
 
 Working with a structure like this, I want to be able to remove one 
 node.  Is the only approach to get a handle on the subpart node and 
set its 
 children without the first subsection?  I'm thinking there must be 
an 
 easier way...
 
 thoughts?





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

2006-07-14 Thread Allen Riddle












Thanks Cathy, I was able to get it up and running.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Cathy Reilly
Sent: Thursday, July 13, 2006 4:07
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Remote
JNDI server











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 initial-context-environment
as well as the message destinations.



http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=583threadid=1160937messageid=4158668



- Cathy









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Allen Riddle
Sent: Thursday, July 13, 2006 3:57
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Remote JNDI
server



Has anybody
been able to set up the Messaging Services to send messages to a remote machine
using the initial-context-environment configurations? Im 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.



  






__,_._,___






[flexcoders] HTTPService in components

2006-07-14 Thread mcmcbrianfarrell
I am trying to declare an HTTPService inside a simple component but I get a 
variety of errors 
in the IDE wherever I place the line.

Basically the component has a button and a grid. When I click the button it 
calls the 
httpservice and returns an xml file which is bound as the dataprovider for the 
grid. 

my declaration is:

mx:HTTPService id=usrRequest url=usr.xml useProxy=false /

Can anyone provide some guidance as to where I am going wrong?







 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] Remote Developement Help

2006-07-14 Thread Hua Wei

Scott Stroz has a post about this:
Flex Builder 2/Mystic and Multiple URLs on one server
http://www.boyzoid.com/blog/index.cfm/2006/3/24/Flex-Builder-2Mystic-and-Multiple-URLs-on-one-server
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nigasak
Sent: Thursday, July 13, 2006 10:09 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Remote Developement Help

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



 





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

2006-07-14 Thread Allen Riddle












Thanks for the replies. But when I say Spring
Enable Flex, I mean Spring enable the flex services configuration. So
you wire up all of the configuration (Im assuming the configuration
files are just wiring up java objects) using Spring. This way, Spring can
manage the FDS resources. Maybe its not possible or a bad idea, but if
you look at most open source projects (XFire for instance), a lot of them are
configurable through Spring, which makes it very easy to use.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of billy_d_white
Sent: Thursday, July 13, 2006 6:20
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Spring
Enable Flex











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=583threadid=1169760enterthread=y#4190415

--- In [EMAIL PROTECTED]ups.com,
suzy lawson suzylawson@... 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








   






  
  
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: how to get node where item is dropped

2006-07-14 Thread Jonas Windey










Hi, 



I have a tree with drag  drop enabled. Now what is the
best way to find out where the current selected item is dropped?

Id need to know its parent (if its not on the
rootnode), and the position where its dropped inside that parent.



Or is there an easier way to find the position? Like
comparing the dataproviders before  after?



Thanks for the tips,

Jonas




__._,_.___





--
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: force-directed graph layout

2006-07-14 Thread mark_g_wales

Just to be clear, are you looking for a package that will actually
create the layout of nodes for you - or simply draw/paint them using
an existing x,y coordinate set?

I don't know of any commercial packages to do the former in Flex- but
the latter is fairly trivial to do with a bit of code.

-Mark

--- In flexcoders@yahoogroups.com, phoberomys [EMAIL PROTECTED] wrote:

 Does anybody know of anybody developing something along the lines of
 the prefuse visualization toolkit (http://prefuse.org/) in flex?  Or
 on a simpler level, just a force-directed graph component.
 
 - Forrest
 
 
 --- In flexcoders@yahoogroups.com, Roger Gonzalez rgonzalez@ wrote:
 
  I don't know of an off-the-shelf package, but its not hard to write.
  
  My linker/loader article on devnet includes an utility program for
 which I
  wrote a force-directed graph layout algorithm as a component that
 scribbles
  on a Canvas using the ActionScript graphics API.  (The utility is
 prebuilt,
  no source, but you might want to tinker with it for inspiration.)
  
  -Roger
  
  Roger Gonzalez
  mailto:rgonzalez@
   
  
   -Original Message-
   From: shlomic_thailand [mailto:[EMAIL PROTECTED] 
   Sent: Thursday, March 03, 2005 6:49 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Fwd: Drawing Network topology graph in Flex
   
   
   
   --- In flexcoders@yahoogroups.com, shlomic_thailand
[EMAIL PROTECTED] 
   wrote:
   
   Hi
   
   does anyone know of a package that can draw graphs in flex (like
tree 
   but more complex)
   we'd like to write an application that draws network topology in
the 
   UI.
   
   thanks
   Shlomi
   --- End forwarded message ---
   
   
   
   
   
   

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

2006-07-14 Thread hank williams



Actually, I very much doubt there is a clean mapping between spring configuration and FDS. There are things that are very FDS specific even for just remoting, which would most cleanly map to spring. And then there are other concepts that are totally different than what would have been considered in the design of spring configuration.
Apples and oranges, I'm afraid.RegardsHankOn 7/14/06, Allen Riddle [EMAIL PROTECTED]
 wrote:


















Thanks for the replies. But when I say "Spring
Enable Flex", I mean Spring enable the flex services configuration. So
you wire up all of the configuration (I'm assuming the configuration
files are just wiring up java objects) using Spring. This way, Spring can
manage the FDS resources. Maybe it's not possible or a bad idea, but if
you look at most open source projects (XFire for instance), a lot of them are
configurable through Spring, which makes it very easy to use.











From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com
] On Behalf Of billy_d_white
Sent: Thursday, July 13, 2006 6:20
PM
To: flexcoders@yahoogroups.com

Subject: [flexcoders] Re: Spring
Enable Flex











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=583threadid=1169760enterthread=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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: Spring Enable Flex

2006-07-14 Thread Tom Chiverton
On Friday 14 July 2006 14:41, Allen Riddle wrote:
 Spring enable the flex services configuration. So you wire up all of the
 configuration (I'm assuming the configuration files are just wiring up
 java objects) using Spring. This way, Spring can manage the FDS

Err, you want to move from one XML configuration format to another XML 
configuration format ?
Why ?

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




[flexcoders] FDS express error unable to load SWC fds.swc

2006-07-14 Thread Nirav Mehta
We are working on the flex2 with flex data service. We have downloaded 
the fds express but its not working for us. We tried the method 
suggested on some blogs to add fds.swc entry in flex2 builder's library 
path. This result in a error unable to load SWC fds.swc: unknown 
element swc found in versions section in catalog.xml

Anybody know the solution.

Thanks in advance





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

2006-07-14 Thread efeminella
Hey Carson,

I can load the wsdl locally and call methods on the wsdl successfully
when not using the Flex 2 Data Services. But once I attempt to run the
wsdl in a Flex 2.0 App using the Flex 2 Data Services I get the
following security error when attempting to load or call a method on
the 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 also tried adding a crossdomain.xml policy file to the root of the
server that is hosting the wsdl with no success. Is their something I
have to edit in the whitepapers, etc.

Thanks in advance,
Eric Feminella
www.enterrasolutions.com
[EMAIL PROTECTED]





--- In flexcoders@yahoogroups.com, Carson Hager [EMAIL PROTECTED]
wrote:

 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 Hager
 Cynergy Systems, Inc.
 http://www.cynergysystems.com http://www.cynergysystems.com/ 
  
 Email:  [EMAIL PROTECTED]
 Office:  866-CYNERGY
 Mobile: 1.703.489.6466
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of efeminella
 Sent: Thursday, July 13, 2006 12:34 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Loading WSDL using Flex 2.0 Data Services
 
 
 
 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/
 




[flexcoders] DropShadow on an Image

2006-07-14 Thread Phil Marston
Hi

Has anyone come up with a tidy way of getting a drop shadow on an image?

I've been mucking around wraping it in a canvas or a VBox/HBox, but 
nothing working nice yet.  :-(

Cheers,

Phil

-- 
__ 
Phil Marston 
Learning Technologist
Learning Technology Unit 
Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK
[EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660 
http://www.abdn.ac.uk/diss/ltu/pmarston/
http://www.abdn.ac.uk/diss/ltu/
__

The University of Aberdeen Open Day 29th August 2006
Booking is essential
www.abdn.ac.uk/openday
email [EMAIL PROTECTED]
or call 0800 027 1495



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

2006-07-14 Thread Derek Adams
You can emulate a lot of what Spring provides without adding 
anything to Flex. For instance, you can use dependency injection by 
exposing a public variable on a class and using data binding to 
inject the object/value from MXML. I guess what I am getting at is 
that MXML pretty much becomes the Spring config file.

--- In flexcoders@yahoogroups.com, Allen Riddle [EMAIL PROTECTED] 
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.







 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] Scrollbar bug (with sample code)

2006-07-14 Thread Daniel Tuppeny





Is there a public bug tracker for Flex now? I want to find 
out of this is truly a bug (and I have to bodge it), or I'm just doing something 
silly.


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
TuppenySent: 30 June 2006 14:55To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Scrollbar bug 
(with sample code)

I thought that too. So I added a label that displayed the 
properties, (text="{hscroll.height}" etc.), and they all updated fine as the 
control rendered. I can fix it witha bodge, but I'm hoping someone can 
confirm a bug, or explain what I'm doing wrong :-)


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Jason 
HawrylukSent: 30 June 2006 14:48To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Scrollbar bug 
(with sample code)

I 
added this to your vscroll, it worked but not the best,you may want to 
play around with this a bit. Perhaps the binding is not getting called until 
hscroll is created they are not created at the same time, so if hscroll is not 
fully created the height would in fact be 0.

creationComplete="vscroll.y=hscroll.height;"

Hope 
this helps

Jason





  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Daniel TuppenyEnvoyé: vendredi 30 juin 2006 
  15:19À: flexcoders@yahoogroups.comObjet: 
  [flexcoders] Scrollbar bug (with sample code)
  
  
  Here's some code 
  to show the problem I'm having. When I load the page, the VScrollBar goes 
  right to the bottom edge of the page (ignoring thebottom attribute). If 
  I resize the window, everything jumps into place 
correctly.
  
  This worked fine 
  in beta 3. Any ideas? I've attached a screenshot of what I 
  see.
  
  
  ?xml 
  version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" 
  layout="absolute"
  
  mx:Legend width="200" 
  height="200"mx:LegendItem label="Mydtest" 
  //mx:Legend
  
  mx:VScrollBar id="vscroll" bottom="{hscroll.height}" 
  right="0" top="0" /mx:HScrollBar id="hscroll" bottom="0" 
  left="0" right="{vscroll.width}" 
  //mx:Application__This 
  email has been scanned by the MessageLabs Email Security System.For more 
  information please visit http://www.messagelabs.com/email 
  __
  [Inbound Mail Scanned by 
MessageLabs]__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__ [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
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] DropShadow on an Image

2006-07-14 Thread JesterXL
Couldn't get it to work with CSS in a quick test with an external jpg. 
Inline Filters, however, do work.  Check it:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute
 xmlns:flash=flash.filters.*

 mx:Image
  x=37 y=23
  width=321 height=343
  scaleContent=true
  source=05022006.jpg
  mx:filters
   flash:DropShadowFilter distance=6 /
  /mx:filters
 /mx:Image

/mx:Application


- Original Message - 
From: Phil Marston [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, July 14, 2006 10:57 AM
Subject: [flexcoders] DropShadow on an Image


Hi

Has anyone come up with a tidy way of getting a drop shadow on an image?

I've been mucking around wraping it in a canvas or a VBox/HBox, but
nothing working nice yet.  :-(

Cheers,

Phil

-- 
__
Phil Marston
Learning Technologist
Learning Technology Unit
Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK
[EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660
http://www.abdn.ac.uk/diss/ltu/pmarston/
http://www.abdn.ac.uk/diss/ltu/
__

The University of Aberdeen Open Day 29th August 2006
Booking is essential
www.abdn.ac.uk/openday
email [EMAIL PROTECTED]
or call 0800 027 1495




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

2006-07-14 Thread Derek Adams
I have been successful in doing that by declaring the namespace as a 
local variable in ActionScript, then using it in the e4x query. For 
instance:

private var aps:Namespace = new Namespace
(http://cadtel.com/APWebService;);

model.currentOrderPaths = 
results.aps::Order.aps::RelatedPaths.aps::Paths.aps::NetworkPath;

Hope that helps,
Derek

--- In flexcoders@yahoogroups.com, ben.clinkinbeard 
[EMAIL PROTECTED] wrote:

 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 tspratt@ 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
  
  
  ?xml version=1.0 encoding=utf-8?
  mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
  http://www.adobe.com/2006/mxml  
  layout=absolute 
  creationComplete=wsBlogAggr.getMostPopularPosts.send()
  mx:Script
  ![CDATA[
  import mx.controls.Alert;
  private namespace csw 
  
= http://kevin.company.com/services/webservices/adobe/blogSvc/blogPo
  
http://kevin.company.com/services/webservices/adobe/blogSvc/blogPo 
  rt;
  use namespace csw;
  
  ]]
  /mx:Script
  
  mx:WebService id=wsBlogAggr 
  wsdl=http://localhost:9400/services/adobe?wsdl
  http://localhost:9400/services/adobe?wsdl 
  useProxy=false
  mx:operation name=getMostPopularPosts 
  resultFormat=e4x
  mx:request format=xml
  ns1:getMostPopularPosts 
  
xmlns:ns1=http://kevin.company.com/services/webservices/adobe/blogSv
  http://kevin.company.com/services/webservices/adobe/blogSv 
  c/blogPort
  
  ns1:daysBack10.0/ns1:daysBack
  ns1:limit5.0/ns1:limit
  /ns1:getMostPopularPosts
  /mx:request
  /mx:operation
  /mx:WebService
  
  mx:Panel x=10 y=10 width=475 height=400 
  layout=absolute title=Most Popular Posts
  
  mx:TextArea 
  text={wsBlogAggr.getMostPopularPosts.lastResult}/
  
  mx:ComboBox x=48 y=30 id=cbxNumPosts 
  change=wsBlogAggr.getMostPopularPosts.send()
  mx:Object label=Top 5 data=5/
  mx:Object label=Top 10 data=10/
  mx:Object label=Top 15 data=15/
  /mx:ComboBox
  
  mx:DataGrid x=48 y=80 id=dgTopPosts 
  columnWidth=400 
  dataProvider={wsBlogAggr.getMostPopularPosts.lastResult} 
  width=350
  mx:columns
  mx:DataGridColumn headerText=Top 
  Posts 
  
dataField=*::getMostPopularPostsResponse.*::ColumnList.*::row.*::ite
  m/
  mx:DataGridColumn 
  headerText=Clicks 
  dataField=getMostPopularPostsResponse.ColumnList.row.item 
  width=75/
  /mx:columns
  /mx:DataGrid
  mx:LinkButton x=48 y=264 label=Select an item 
  and click here for full post click=navigateToURL(new URLRequest
  (dgTopPosts.selectedItem.postLink));/
  /mx:Panel
  
  /mx:Application
  
  WS Response Doc
  ---
  
  ns1:getMostPopularPostsResponse xmlns:soap-
  env=http://schemas.xmlsoap.org/soap/envelope/
  http://schemas.xmlsoap.org/soap/envelope/  
  
xmlns:ns1=http://kevinobrien.composite.com/services/webservices/adob
  http://kevinobrien.composite.com/services/webservices/adob 
  e/blogSvc/blogPort xmlns:xsi=http://www.w3.org/2001/XMLSchema-
  http://www.w3.org/2001/XMLSchema- 
  instance
  ns1:ColumnList
  ns1:row
  ns1:itempostId/ns1:item
  /ns1:row
  ns1:row
  ns1:itemclicks/ns1:item
  /ns1:row
  ns1:row
  ns1:itemdateTimeAggregated/ns1:item
  /ns1:row
  ns1:row
  ns1:itemfeedId/ns1:item
  /ns1:row
  ns1:row
  ns1:itemfeedName/ns1:item
  /ns1:row
  ns1:row
  ns1:itempostTitle/ns1:item
  /ns1:row
  ns1:row
  ns1:itempostExcerpt/ns1:item
  /ns1:row
  ns1:row
  ns1:itempostLink/ns1:item
  /ns1:row
  /ns1:ColumnList
  /ns1:getMostPopularPostsResponse
  
  I tried 

[flexcoders] bidirectional binding

2006-07-14 Thread jrjazzman23
I find myself wanting to do bidirectional binding, but I have the
feeling there may be some drawbacks to this.  

I want a screen's controls to be initialized (bound to) a data model.
 As the user changes the controls' values, I want the data model to
reflect this.  In this case the data model is basically a VO.  Is
there a best practice for this?

thanks

Jeremy





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

2006-07-14 Thread efeminella
Here is the mxml. I can not display the url to the wsdl however. Hope
this helps:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
creationComplete=this.initBindingHandler() layout=vertical
backgroundColor=#00 backgroundGradientColors=[#00, #00]
mx:Script
![CDATA[

import com.bindings.managers.BindingHandler;

[Bindable]
public var bindingHandler:BindingHandler;

public function initBindingHandler():void {
this.bindingHandler = new BindingHandler(this.wsdl);
this.bindingHandler.setUI(this.textRuleComboBox,
this.textRuleTextArea, this.bindingsDataGrid, this.xmlrpcTextArea,
this.selectedTextRuleLabel);
this.bindingHandler.loadDataProvider();
}
]]
/mx:Script

mx:WebService id=wsdl wsdl=http://?wsdl;
fault=e.show(event.fault.toString()) useProxy=true
showBusyCursor=true 
   
  mx:operation name=getTextRule
result=this.bindingHandler.setSelectedTextRule(event.result.ruleText); 
mx:request
  payload{this.bindingHandler.selectedTextRuleUqName}/payload
/mx:request
  /mx:operation
  
/mx:WebService










--- In flexcoders@yahoogroups.com, efeminella [EMAIL PROTECTED] wrote:

 Hey Carson,
 
 I can load the wsdl locally and call methods on the wsdl successfully
 when not using the Flex 2 Data Services. But once I attempt to run the
 wsdl in a Flex 2.0 App using the Flex 2 Data Services I get the
 following security error when attempting to load or call a method on
 the 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 also tried adding a crossdomain.xml policy file to the root of the
 server that is hosting the wsdl with no success. Is their something I
 have to edit in the whitepapers, etc.
 
 Thanks in advance,
 Eric Feminella
 www.enterrasolutions.com
 [EMAIL PROTECTED]
 
 
 
 
 
 --- In flexcoders@yahoogroups.com, Carson Hager carson.hager@
 wrote:
 
  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 Hager
  Cynergy Systems, Inc.
  http://www.cynergysystems.com http://www.cynergysystems.com/ 
   
  Email:  carson.hager@
  Office:  866-CYNERGY
  Mobile: 1.703.489.6466
  
   
  
  
  
  From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
  Behalf Of efeminella
  Sent: Thursday, July 13, 2006 12:34 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Loading WSDL using Flex 2.0 Data Services
  
  
  
  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
 








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

2006-07-14 Thread Pan Troglodytes



Upon further painstaking experimentation, it appears that ANY itemRenderer introduces a certain lagginess to scrolling. Not unacceptable and probably wouldn't be noticed much with a smaller browser window than what I use in 1600x1200. But it's there. It doesn't matter if the renderer is just a subclass with no new code. So I guess I'll just have to live with it to do the coloring.
On the other hand, using labelFunction has helped cut down on the lag introduced by the numeric formatting.On 7/14/06, Ralf Bokelberg
 [EMAIL PROTECTED] wrote:













  



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:
mx:DataGridColumn headerText=Htl Bkgs paddingRight=4 dataField=Bookings mx:itemRenderer mx:Component mx:Label width=100% height=100% text={
fmt.format(data.Bookings)} mx:NumberFormatter id=fmt useThousandsSeparator=true/ /mx:Label /mx:Component  /mx:itemRenderer

/mx:DataGridColumnLooks
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 lt; 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


  













-- 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] Flex 2: Datagrid Autoscrolling

2006-07-14 Thread Colin Wiseley










Hi, is it possible to have a datagrid autoscroll down to a
particular spot? Basically, I have a datagrid. When the data is
refreshed I would like the datagrid to first store its current scroll
position, refresh the data, and then scroll back to spot where it was
previously. Is this possible? Thanks!






__._,_.___





--
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] ClassCastException on updateItem

2006-07-14 Thread mcantrell138
I'm trying out the data management service. I've developed a very
simple example but I'm having a problem with the data types. When I
change the data, my updateItem method is being called but I cannot
cast them to their proper data types. I get the following error:


[RPC Fault faultString=Could not invoke sync method on data adapter
for destination 'wishlist' due to the following error: class
java.lang.ClassCastException:flex.messaging.io.amf.ASObject.
faultCode=Server.Processing faultDetail=null]
at
mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal::dispatchFaultEvent()[C:\dev\enterprise_gmc\frameworks\mx\data\ConcreteDataService.as:1602]
at
mx.data::CommitResponder/fault()[C:\dev\enterprise_gmc\frameworks\mx\data\CommitResponder.as:167]
at
mx.rpc::AsyncRequest/fault()[C:\dev\enterprise_gmc\frameworks\mx\rpc\AsyncRequest.as:107]
at
NetConnectionChannel.as$37::NetConnectionMessageResponder/NetConnectionChannel.as$37:NetConnectionMessageResponder::statusHandler()[C:\dev\enterprise_gmc\frameworks\mx\messaging\channels\NetConnectionChannel.as:458]
at
mx.messaging::MessageResponder/status()[C:\dev\enterprise_gmc\frameworks\mx\messaging\MessageResponder.as:225]


Perhaps I've missed a step or I have cocnfiguration problems. I'll
post some code below. Please let me know if you can spot any problems.


data-management-config.xml:
===
?xml version=1.0 encoding=UTF-8?
service id = data-service
 class = flex.data.DataService
 messageTypes = flex.data.messages.DataMessage

  adapters
adapter-definition id = actionscript class =
flex.data.adapters.ASObjectAdapter default = true /
adapter-definition id = java-dao class =
flex.data.adapters.JavaAdapter /
  /adapters

  default-channels
channel ref = my-rtmp /
  /default-channels

  destination id = wishlist
adapter ref = java-dao /
properties
  sourcecom.test.flex.assemblers.WishListAssembler/source
  scopeapplication/scope
  cache-itemstrue/cache-items
  metadata
identity property = id /
  /metadata
  network
session-timeout20/session-timeout
paging enabled = true pageSize = 10 /
throttle-inbound policy = ERROR max-frequency = 500 /
throttle-outbound policy = REPLACE max-frequency = 500 /
  /network
/properties
  /destination
/service



Assembler:
===
package com.test.flex.assemblers;

import com.test.flex.util.SpringUtils;
import com.test.wishlist.data.model.Item;
import com.test.wishlist.data.service.ItemService;
import com.test.wishlist.ws.StoreIndex;
import flex.data.assemblers.AbstractAssembler;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import java.util.List;

public class WishListAssembler extends AbstractAssembler {

   private static Log log = LogFactory.getLog(WishListAssembler.class);
   ItemService itemService

   public WishListAssembler() {
  super();
  this.itemService = (ItemService) SpringUtils.getBean(itemService);
   }

   @Override
   public ListItem fill(List list) {
  ListItem results = itemService.findByKeywordsAndStore(j2ee,
StoreIndex.BOOKS);
  return results;
   }

   @Override
   public void updateItem(Object currentObject, Object previousObject,
List changes) {
  Item current = (Item)currentObject;
  Item previous = (Item)previousObject;
  if (log.isDebugEnabled()) {
 log.debug(new object:  + current);
 log.debug(previous object:  + previous);
 log.debug(changes:  + changes);
  }
   }

}


AS model object: 
===
package com.test.wishlist.model {
import com.test.common.model.GenericEntity;

[Managed]
[RemoteClass(alias=com.test.wishlist.data.model.Item)]
public class Item extends GenericEntity  {
public var price:Number;
public var name:String;
public var url:String;
}
}


MXML init method:
===
[Bindable]
public var items:ArrayCollection;

public function initApp():void {
items = new ArrayCollection();
wishListDs = new DataService(wishlist);
wishListDs.fill(items); 
}






 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/


Re: [flexcoders] bidirectional binding

2006-07-14 Thread Clint Modien



It works like this...// --- myVO.as ---package {public class myVO { public var name:String; public var phone:String;}// -- SampleForm.mxml -mx:Script 
 ![CDATA[ public var vo:myVO; ]]/mx:Script mx:Form mx:FormItem label=Name mx:TextInput id=nameTextInput text={
vo.name} / /mx:FormItem mx:FormItem label=Phone
 mx:TextInput id=phoneTextInput text={vo.phone} /
 /mx:FormItem/mx:Form// - here's how to create two way binding mx:Binding source=nameTextInput.text destination=vo.name /
mx:Binding source=phoneTextInput.text desitnation=vo.phone /On 7/14/06, jrjazzman23 
[EMAIL PROTECTED] wrote:












  



I find myself wanting to do bidirectional binding, but I have the
feeling there may be some drawbacks to this.  

I want a screen's controls to be initialized (bound to) a data model.
 As the user changes the controls' values, I want the data model to
reflect this.  In this case the data model is basically a VO.  Is
there a best practice for this?

thanks

Jeremy


  















__._,_.___





--
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: How can I get an object instance ...

2006-07-14 Thread Doug Lowder
Try someObj[myIdValue] for an object named someObj,
or this[myIdValue] for the current object.


--- In flexcoders@yahoogroups.com, chrislee943 [EMAIL PROTECTED] 
wrote:

 Hi all,
 How can I get an object instance having Object id property value only
 as it done in javascript function : getElementById()?
 
 Regards,
 Dmitry.
 Thanks







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

2006-07-14 Thread Uday M. Shankar






I am also facing a similar problem (atleast I think its similar :) ). I
would like to provide my users with an option to hide/show columms. So,
I provide a small popup with the column names with a scheckbox beside
each. I was trying to make it work so that when the user unchecks a
checkbox, the column gets hidden. But, since I am unable to access a
single column through id, I am unable to do something like
columnid.visible=false. :(


Suzy Lawson wrote:


  
  Thanks Dimitrios...yeah, that solution will solve my problem.
  
  
ALthough it doesn't seem ideal since I will have some of the same
columns stored in each Array. Oh well,as long as it's working right!? 
  
How come the mxml tag DataGridColumn has an 'id' attribute
though
but the programatic way does not? Seems odd.
  
--- In [EMAIL PROTECTED]ups.com,
"Dimitrios Gianninas"
dimitrios.giannina[EMAIL PROTECTED] wrote:

 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:
 
 mx:Array id="columns1"
 mx:DataGridColumn ... /
 mx:DataGridColumn ... /
 ...
 /mx:Array
 
 mx:Array id="columns2"
 mx:DataGridColumn ... /
 mx:DataGridColumn ... /
 ...
 /mx:Array
 
 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: [EMAIL PROTECTED]ups.com
on behalf of Suzy Lawson
 Sent: Thu 7/13/2006 6:04 PM
 To: [EMAIL PROTECTED]ups.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 mx: DataGridColumn id="" ../
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 pices jointes peuvent contenir des
renseignements confidentiels, exclusifs ou lgalement privilgis
destins au seul usage du destinataire vis. L'expditeur original ne
renonce  aucun privilge ou  aucun autre droit si le prsent message
a t transmis involontairement ou s'il est retransmis sans son
autorisation. Si vous n'tes pas le destinataire vis du prsent
message ou si vous l'avez reu par erreur, veuillez cesser
immdiatement de le lire et le supprimer, ainsi que toutes ses pices
jointes, de votre systme. La lecture, la distribution, la copie ou
tout autre usage du prsent message ou de ses pices jointes par des
personnes autres que le destinataire vis ne sont pas autoriss et
pourraient tre illgaux. Si vous avez reu ce courrier lectronique
par erreur, veuillez en aviser l'expditeur.

  
  
  




__._,_.___





--
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] associative arrays and dataproviders

2006-07-14 Thread Tracy Spratt












Use a labelFunction.



Specify it on the DataGrid tag or on a
columntag.



The specified function will receive a
reference to the current Item object (and the column index, so one function can
work for all columns).



Dot down to get the data out of the nested
object, and return a string.



Tracy











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simon_janssens
Sent: Friday, July 14, 2006 2:11
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] associative
arrays and dataproviders











Hi,

I was wondering how you access an array inside a dataprovider?

I have a datagrid with a dataprovider of clients, inside that is an
array of address details. Can anyone tell me how I can bind the items in
the address array to columns of the datagrid?

clients
-id
-name
-address
-- address1
-- address2
-email

mx:DataGrid id=clientDisplay dataProvider={clients}
left=10
top=10 right=10 height=193
mx:columns
mx:DataGridColumn headerText=ID dataField=id
editable=false/
mx:DataGridColumn headerText=name dataField=name/

!-- how do I bind address.address1 and
address.address2? --
mx:DataGridColumn headerText=Address1
dataField=address.address1/
mx:DataGridColumn headerText=Address2
dataField=address[address2]/
mx:DataGridColumn headerText=email
dataField=email/
/mx:columns
/mx:DataGrid






__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] Dashboard Sample: problems

2006-07-14 Thread davidsen_ryan
I was messing around with the dashboard sample on the adobe site
http://www.adobe.com/devnet/flex/samples/dashboard/
And everything was going fine.   Ever since upgrading FP9 to 9.0.16.0
though I can't get the application to successfully load. I redownloaded
the source just in case I inadvertently changed something - but same
affect.   I get the pretty blue background and a status window that
freezes about 20% through the load.

Any ideas?


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

2006-07-14 Thread Ethan Miller
I'm trying to quickly demonstrate the ability to upload a file. Just  
need a button with a click action that invokes a file browser in the  
user's OS.

Tried this:

mx:Button label=Upload  click=FileReferenceList.browse()/

Per the docs, which gets a compiler error of undefined method  
with static type  class... 

Any sample code for this kicking around?

thanks!  ethan



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

2006-07-14 Thread Shannon Hicks





Did you:

import 
flash.net.FileReference;
Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Ethan 
MillerSent: Friday, July 14, 2006 12:27 PMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] [flexcoders] 
File Upload


I'm trying to quickly demonstrate the ability to upload a file. Just need 
a button with a click action that invokes a file browser in the user's 
OS.Tried this:mx:Button label="Upload" 
click="FileReferenceList.browse()"/Per the docs, which 
gets a compiler error of "undefined method with static type class... 
"Any sample code for this kicking around?thanks! 
ethan
--No virus found in this incoming message.Checked by AVG 
Free Edition.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








   






  
  
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.10.0/388 - Release Date: 7/13/2006
 


Re: [flexcoders] bidirectional binding

2006-07-14 Thread Douglas Knudsen



Clint, you missing some curlies in there? Another way is to use two binding tagsmx:Binding source={nameTextInput.text} destination=
vo.name /
mx:Binding source={vo.name} destination=nameTextInput.text
 /
mx:TextInput id=nameTextInput /yet another is mx:TextInput id=nameTextInput text={
vo.name} change=vo.name =nameTextInput.text /
which is best? you like swiss or cheddar?DKOn 7/14/06, Clint Modien [EMAIL PROTECTED] wrote:



It works like this...// --- myVO.as ---package {public class myVO { public var name:String; public var phone:String;}// -- SampleForm.mxml -mx:Script 
 ![CDATA[ public var vo:myVO; ]]/mx:Script mx:Form mx:FormItem label=Name mx:TextInput id=nameTextInput text={
vo.name} / /mx:FormItem mx:FormItem label=Phone

 mx:TextInput id=phoneTextInput text={vo.phone} /
 /mx:FormItem/mx:Form// - here's how to create two way binding mx:Binding source=nameTextInput.text destination=
vo.name /
mx:Binding source=phoneTextInput.text desitnation=vo.phone /On 7/14/06, jrjazzman23 

[EMAIL PROTECTED] wrote:












  



I find myself wanting to do bidirectional binding, but I have the
feeling there may be some drawbacks to this.  

I want a screen's controls to be initialized (bound to) a data model.
 As the user changes the controls' values, I want the data model to
reflect this.  In this case the data model is basically a VO.  Is
there a best practice for this?

thanks

Jeremy


  


















-- Douglas Knudsenhttp://www.cubicleman.comthis 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] [flexcoders] File Upload

2006-07-14 Thread Oscar . Cortes
What it means is that in addition to importing the class, you need to
instate the FileReference class. Something like ...

var myFM:FileReference = new FileReference();

myFM.browse(new Array());



|-+-
| | |
| |  Shannon Hicks|
| |  [EMAIL PROTECTED]|
| |  Sent by:   |
| |  flexcoders@yahoogroups.com |
| |  07/14/2006 01:56 PM|
| |  Please respond to  |
| |  flexcoders |
| | |
|-+-
  
-|
  | 
|
  |  To: flexcoders@yahoogroups.com   
|
  |  cc:
|
  |  Subject:  RE: [Junk E-Mail - LOW] [flexcoders] File Upload 
|
  
-|




Did you:



   import flash.net.FileReference;
Shan

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ethan Miller
Sent: Friday, July 14, 2006 12:27 PM
To: flexcoders@yahoogroups.com
Subject: [Junk E-Mail - LOW] [flexcoders] File Upload



I'm trying to quickly demonstrate the ability to upload a file. Just
need a button with a click action that invokes a file browser in the
user's OS.

Tried this:

mx:Button label=Upload click=FileReferenceList.browse()/

Per the docs, which gets a compiler error of undefined method
with static type class... 

Any sample code for this kicking around?

thanks! ethan






--
No virus found in this incoming message.
Checked by AVG Free Edition.
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 Free Edition.
Version: 7.1.394 / Virus Database: 268.10.0/388 - Release Date: 7/13/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 ~-- 
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/
 


pic06816.gif
Description: GIF image


[flexcoders] Re: File Upload

2006-07-14 Thread Doug Lowder
The browse() method isn't static, so you'll need an object instance, 
i.e. click=new FileReferenceList().browse().


--- In flexcoders@yahoogroups.com, Ethan Miller [EMAIL PROTECTED] wrote:

 I'm trying to quickly demonstrate the ability to upload a file. 
Just  
 need a button with a click action that invokes a file browser in 
the  
 user's OS.
 
 Tried this:
 
 mx:Button label=Upload  click=FileReferenceList.browse()/
 
 Per the docs, which gets a compiler error of undefined 
method  
 with static type  class... 
 
 Any sample code for this kicking around?
 
 thanks!  ethan







 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] Removing a drag item from a List

2006-07-14 Thread boozabel
Hello,

I'm trying to remove a drag item from a List.  It get's inside the 
doDragComplete() function but does not remove any items:


function doDragComplete(event) 
{
 var dragItems = event.dragSource.dataForFormat
(source).selectedIndicies;

 var counter = dragItems.length;

 alert(in doDragComplete());

 for (var i=0;icounter;i++)
 {
var item = dragItems[i];
item.removeItemAt(item.selectedIndex);
 }
}

!-- Source List --
mx:List id=portListLeft dragEnabled=true 
dragComplete=doDragComplete(event);
   mx:dataProvider{availPortList}/mx:dataProvider
/mx:List

!-- Destination List --
mx:List id=portListRight dragEnabled=true
dragEnter=doDragEnter(event); 
dragExit=doDragExit(event);
dragOver=doDragOver(event);
dragDrop=doDragDrop(event);
mx:dataProvider{currPortList}/mx:dataProvider
/mx:List






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

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

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

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





[flexcoders] Can anyone explain how to load a wsdl in flex 2.0 using Flex 2 Data Services

2006-07-14 Thread efeminella
Can anyone explain how to load a wsdl in flex 2.0 using Flex 2 Data
Services? How do I set up a proxy for the srvice, and do I need to set
up anything else?

Thanks,
Eric





--
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] RichTextEditor setFocus()?

2006-07-14 Thread Mike Britton
I have a custom component containing a RichTextEditor.  How do I set
cursor focus on its internal textarea?  I've tried all the obvious
things to no avail.






 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] Running DS project with Eclipse WTP

2006-07-14 Thread Allen Riddle










Does anybody know if its possible to run a DS project
using the server project you can set up using the Eclipse Web Tools Platform?



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] flex2 compc external-library-path inconsistency - bug or feature ?

2006-07-14 Thread jan_harmsen
Hi,

this refers to released Flex2 SDK, build 143452 on OSX

As it seems compc behaves inconsistent depending on where
external-library-path is set:

When adding an external library path via config file
'-load-config+=myConfig.xml' like

external-library-path append=true
path-elementaslib/flexunit.swc/path-element
/external-library-path

the external-library-path set in flex-config.xml gets replaced (i.e.
playerglobal.swc is not included anymore) although 'append=true' is
specified.

Consequently Errors are thrown like
Error: 'flash.net:XMLSocket' is undefined.
Error: 'decodeURI' is undefined.
Error: 'Class' is undefined.
Error: 'uint' is undefined.
Error: 'flash.utils:Timer' is undefined.
Error: 'flash.events:WeakFunctionClosure' is undefined.
Error: 'encodeURI' is undefined.
Error: 'Array' is undefined.
.


However when the external-library-path is set via commandline
'-external-library-path+=aslib/flexunit.swc' or the path to
playerglobal.swc is specified in the config file as well, compc does
not report any errors.

Is this inconsistent behaviour intended or a bug ?

Best regards,


Jan Harmsen






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

2006-07-14 Thread Allen Riddle
Because it can make it much easier when you have n number of different
configurations, all using their own xml schema. For instance, XFire,
Mule, and Flex DS all have their own config formats, however, XFire and
Mule, are Spring enabled, so you can configure them with the
dependencies using Spring, and configuration at that point becomes much
much easier.

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Friday, July 14, 2006 9:40 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Spring Enable Flex

On Friday 14 July 2006 14:41, Allen Riddle wrote:
 Spring enable the flex services configuration. So you wire up all of
the
 configuration (I'm assuming the configuration files are just wiring up
 java objects) using Spring. This way, Spring can manage the FDS

Err, you want to move from one XML configuration format to another XML 
configuration format ?
Why ?

-- 
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] Re: File Upload

2006-07-14 Thread Geoffrey Williams
mx:Button label=Upload... click=new FileReferenceList ().browse 
(); /

--- In flexcoders@yahoogroups.com, Ethan Miller [EMAIL PROTECTED] wrote:

 I'm trying to quickly demonstrate the ability to upload a file. 
Just  
 need a button with a click action that invokes a file browser in 
the  
 user's OS.
 
 Tried this:
 
 mx:Button label=Upload  click=FileReferenceList.browse()/
 
 Per the docs, which gets a compiler error of undefined 
method  
 with static type  class... 
 
 Any sample code for this kicking around?
 
 thanks!  ethan








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

2006-07-14 Thread Peter Farland












It seems youre using the proxy
service through FDS but relying on the DefaultHTTP destination (since a
destination was not specified). Have you setup the allowed URL patterns in the corresponding
/WEB-INF/flex/proxy-config.xml file for the DefaultHTTP destination? Have you
looked at the channels that are configured for this destination? These ids
refer to channel-definitions in the top level services configuration file at
/WEB-INF/flex/services-config.xml. Each channel-definition defines an endpoint
url. This information is compiled into the SWF when you specify the services=your_path_to_the_services_config_file
command line argument for the MXML compiler. If the endpoint url contains a
{context.root} token you need to also specify the context-root=/yourcontextroot
command line argument (or replace this token with the known context root of the
deployed web application hosting the FDS message broker and thus the channel
endpoint(s)). Finally, if youre using the proxy you do not need to have
a crossdomain.xml file on the server hosting your WSDL, however depending on
where youre hosting your SWF you may need a crossdomain.xml file to
contact the proxy service (i.e. based on the channel endpoint URL). Have you
considered all of this?



Pete











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of efeminella
Sent: Friday, July 14, 2006 11:35
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Loading
WSDL using Flex 2.0 Data Services











Here is the mxml. I can not display the url to the
wsdl however. Hope
this helps:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
creationComplete=this.initBindingHandler()
layout=vertical
backgroundColor=#00 backgroundGradientColors=[#00,
#00]
mx:Script
![CDATA[

import com.bindings.managers.BindingHandler;

[Bindable]
public var bindingHandler:BindingHandler;

public function initBindingHandler():void {
this.bindingHandler = new BindingHandler(this.wsdl);
this.bindingHandler.setUI(this.textRuleComboBox,
this.textRuleTextArea, this.bindingsDataGrid, this.xmlrpcTextArea,
this.selectedTextRuleLabel);
this.bindingHandler.loadDataProvider();
}
]]
/mx:Script

mx:WebService id=wsdl wsdl=http://?wsdl
fault=e.show(event.fault.toString())
useProxy=true
showBusyCursor=true 

mx:operation name=getTextRule
result=this.bindingHandler.setSelectedTextRule(event.result.ruleText);

mx:request
payload{this.bindingHandler.selectedTextRuleUqName}/payload
/mx:request
/mx:operation

/mx:WebService

--- In [EMAIL PROTECTED]ups.com,
efeminella efeminella@... wrote:

 Hey Carson,
 
 I can load the wsdl locally and call methods on the wsdl successfully
 when not using the Flex 2 Data Services. But once I attempt to run the
 wsdl in a Flex 2.0 App using the Flex 2 Data Services I get the
 following security error when attempting to load or call a method on
 the 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 also tried adding a crossdomain.xml policy file to the root of the
 server that is hosting the wsdl with no success. Is their something I
 have to edit in the whitepapers, etc.
 
 Thanks in advance,
 Eric Feminella
 www.enterrasolutions.com
 [EMAIL PROTECTED]..
 
 
 
 
 
 --- In [EMAIL PROTECTED]ups.com,
Carson Hager carson.hager@
 wrote:
 
  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
Hager
  Cynergy Systems, Inc.
  http://www.cynergysystems.com
http://www.cynergysystems.com/

  
  Email: carson.hager@
  Office: 866-CYNERGY
  Mobile:
1.703.489.6466
  
  
  
  
  
  From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
  Behalf Of efeminella
  Sent: Thursday, July 13, 2006 12:34 PM
  To: [EMAIL PROTECTED]ups.com
  Subject: [flexcoders] Loading WSDL using Flex 2.0 Data Services
  
  
  
  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








   






  
  

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

2006-07-14 Thread Dimitrios Gianninas





Use my solution and but have another array that gets 
constructed programmatically based on the use selection and get assigned to the 
DataGrid. That's how I would do it.

Dimitrios 
Gianninas
RIADeveloper
Optimal 
Payments Inc.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Uday M. 
ShankarSent: Friday, July 14, 2006 1:12 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: 
DataGridColumn "id" attrubute is gone??


I am also facing a similar problem (atleast I think its similar :) ). I would 
like to provide my users with an option to hide/show columms. So, I provide a 
small popup with the column names with a scheckbox beside each. I was trying to 
make it work so that when the user unchecks a checkbox, the column gets hidden. 
But, since I am unable to access a single column through id, I am unable to do 
something like columnid.visible=false. :(Suzy Lawson wrote: 

  
  Thanks Dimitrios...yeah, that solution will solve my problem. 
  ALthough it doesn't seem ideal since I will have some of the 
  samecolumns stored in each Array. Oh well,as long as it's working right!? 
  How come the mxml tag DataGridColumn has an 'id' attribute 
  thoughbut the programatic way does not? Seems odd.--- In [EMAIL PROTECTED]ups.com, 
  "Dimitrios Gianninas"dimitrios.giannina[EMAIL PROTECTED] 
  wrote: Hi,  I've done this, but in a different 
  way. The DataGrid's columnproperty takes an array DataGridColumn objects, 
  so what u do is createtwo sets of arrays:  mx:Array 
  id="columns1" mx:DataGridColumn ... / 
  mx:DataGridColumn ... / ... /mx:Array 
   mx:Array id="columns2" mx:DataGridColumn ... 
  / mx:DataGridColumn ... / ... 
  /mx:Array  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: [EMAIL PROTECTED]ups.com 
  on behalf of Suzy Lawson Sent: Thu 7/13/2006 6:04 PM To: [EMAIL PROTECTED]ups.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 mx: 
  DataGridColumn id="" ../ 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 
  containconfidential, proprietary or legally privileged information, which 
  issolely for the use of the intended recipient. No privilege or 
  otherrights are waived by any unintended transmission or 
  unauthorizedretransmission of this message. If you are not the intended 
  recipientof this message, or if you have received it in error, you 
  shouldimmediately stop reading this message and delete it and 
  allattachments from your system. The reading, distribution, copying 
  orother use of this message or its attachments by unintended 
  recipientsis unauthorized and may be unlawful. If you have received this 
  e-mailin error, please notify the sender.  AVIS 
  IMPORTANT -- Ce message électronique et ses 
  pièces jointes peuvent contenir desrenseignements confidentiels, exclusifs 
  ou légalement privilégiésdestinés au seul usage du destinataire visé. 
  L'expéditeur original nerenonce à aucun privilège ou à aucun autre droit 
  si le présent messagea été transmis involontairement ou s'il est 
  retransmis sans sonautorisation. Si vous n'êtes pas le destinataire visé 
  du présentmessage ou si vous l'avez reçu par erreur, veuillez 
  cesserimmédiatement de le lire et le supprimer, ainsi que toutes ses 
  piècesjointes, de votre système. La lecture, la distribution, la copie 
  outout autre usage du présent message ou de ses pièces jointes par 
  despersonnes autres que le destinataire visé ne sont pas autorisés 
  etpourraient être illégaux. Si vous avez reçu ce courrier 
  électroniquepar erreur, veuillez en aviser 
  l'expéditeur.

 
  
  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 

Re: [flexcoders] Re: deleting a node with e4x

2006-07-14 Thread Jeff Tapper
thanks!

At 09:34 AM 7/14/2006, you wrote:

Use the delete operator.

delete report.part[1].subpart[0].subsection[0];

--- In mailto:flexcoders%40yahoogroups.comflexcoders@yahoogroups.com, 
Jeff Tapper [EMAIL PROTECTED] wrote:
 
  does anyone know the syntax to remove a particular node from an xml
object
  using e4x?
 
  Working with a structure like this, I want to be able to remove one
  node. Is the only approach to get a handle on the subpart node and
set its
  children without the first subsection? I'm thinking there must be
an
  easier way...
 
  thoughts?



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


--
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/
 
attachment: 13bd68d.jpg
 

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] Re: Pass a parameter in the event function of an addEventListener?

2006-07-14 Thread meathead
Thanks a bunch.  This totally works.  Boy, was I ever going down the 
wrong path. 

Here's my working code in case any other newbie comes accross this.

CODE**
// so far I've set up an array to return data from XML and am
//looping thru adding buttons where needed.
if(arrSection[i].MLSEID != null) {
var btn:Button = new Button()
btn.label = MLSE Info;
btn.x = intX;
//I'm adding a 'prefix' to the button id because there will be other
//buttons I'm adding and theroretically the same ID could be used.
btn.id = MLSE + arrSection[i].MLSEID;
btn.addEventListener(MouseEvent.CLICK, ShowMessage);
btn.y = intY;
can.addChild(btn);
intY += 30;
}

public function ShowMessage(event:Event):void
{
//this is just a test to see if I can pass info.
//Parsing and further coding would happen here.
Alert.show (event.currentTarget.id);
}

***END OF CODE**

Just to note, the Flex builder intelisense will not pick up the 
button properties.

Thanks,
Aaron

--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] 
wrote:

 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
 
 






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

2006-07-14 Thread Danny Patterson





Sorry, a little explination is probably 
needed.

The browse methods of FileReference and FileReferenceList 
are not static. Therefore you must call them on an instance of one of 
those two classes.

var fileInstance:FileReference = new 
FileReference();
fileInstance.browse();

If it were static, you could call it the way you had it 
scripted.

DP



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Ethan 
MillerSent: Friday, July 14, 2006 12:27 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] File 
Upload


I'm trying to quickly demonstrate the ability to upload a file. Just need 
a button with a click action that invokes a file browser in the user's 
OS.Tried this:mx:Button label="Upload" 
click="FileReferenceList.browse()"/Per the docs, which 
gets a compiler error of "undefined method with static type class... 
"Any sample code for this kicking around?thanks! 
ethan
__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] dataGrid drop-in itemRenderer/Editor

2006-07-14 Thread Shannon Hicks





I have a dataGrid 
where I'd like to use a checkbox drop-in renderer/editor. My query returns two 
columns: name [varchar(45)]and featured [smallint]. Featured returns 
either 1 or 0.

Now, in the 
dataGrid, my featured column looks like this:

mx:DataGridColumn headerText="Featured Image" dataField="featured" 
itemRenderer="mx.controls.CheckBox" rendererIsEditor="true" 
editorDataField="selected" textAlign="center"/

First off... The 
checkbox doesn't show checked/unchecked according to the value of featured (1 or 
0). Do I need to somehow convert 1  0 to boolean values? Isn't flash 
supposed to do this automatically?

Secondly... The 
checkbox isn't centered. I'm not sure how to do that, as silly as it 
sounds.

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.10.0/388 - Release Date: 7/13/2006
 


Re: [flexcoders] Dashboard Sample: problems

2006-07-14 Thread JesterXL
I have the exact same problem with 9.0.16.0 here with my app:

http://dev.jessewarden.com/flex/webserviceexample/

1st time works.  Refresh.

2nd time, stops at 20%.  Refresh.

3rd time, doesn't even show preloader.

Same exact behavior in IE and Firefox.

- Original Message - 
From: [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, July 14, 2006 12:22 PM
Subject: [flexcoders] Dashboard Sample: problems


I was messing around with the dashboard sample on the adobe site
http://www.adobe.com/devnet/flex/samples/dashboard/
And everything was going fine.   Ever since upgrading FP9 to 9.0.16.0
though I can't get the application to successfully load. I redownloaded
the source just in case I inadvertently changed something - but same
affect.   I get the pretty blue background and a status window that
freezes about 20% through the load.

Any ideas?



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

* 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] ModelLocator - Cairngorm 2

2006-07-14 Thread jrjazzman23
I can't get the reference implementation to compile (pasted below). 
Seems to be missing a constructor.  How should this be solved keeping
in mind that private constructors aren't supported?

[Bindable]
public class ShopModelLocator implements ModelLocator
{
   private static var modelLocator : ShopModelLocator;
   
   public static function getInstance() : ShopModelLocator 
   {
  if ( modelLocator == null )
  modelLocator = new ShopModelLocator();
  
  return modelLocator;
   }
 
   public var products : ICollectionView;
}






 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] ModelLocator - Cairngorm 2

2006-07-14 Thread Oscar . Cortes
What about something like this?



[Bindable]
public class ShopModelLocator implements ModelLocator
{
private static var modelLocator : ShopModelLocator;

public static function getInstance() : ShopModelLocator
{
if ( modelLocator == null )
modelLocator = new ShopModelLocator();

return modelLocator;
}

public function ShopModelLocator()
{
  if ( ShopModelLocator.modelLocator != null )
throw new Error( Only one ShopModelLocatorinstance
should be instantiated );
}

public var products : ICollectionView;
}



|-+-
| | |
| |  jrjazzman23  |
| |  [EMAIL PROTECTED]|
| |  Sent by:   |
| |  flexcoders@yahoogroups.com |
| |  07/14/2006 02:27 PM|
| |  Please respond to  |
| |  flexcoders |
| | |
|-+-
  
-|
  | 
|
  |  To: flexcoders@yahoogroups.com 
|
  |  cc:
|
  |  Subject:  [flexcoders] ModelLocator - Cairngorm 2  
|
  
-|




I can't get the reference implementation to compile (pasted below).
Seems to be missing a constructor. How should this be solved keeping
in mind that private constructors aren't supported?

[Bindable]
public class ShopModelLocator implements ModelLocator
{
private static var modelLocator : ShopModelLocator;

public static function getInstance() : ShopModelLocator
{
if ( modelLocator == null )
modelLocator = new ShopModelLocator();

return modelLocator;
}

public var products : ICollectionView;
}








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


pic01723.gif
Description: GIF image


[flexcoders] Firing DataGridColumn's ItemRenderer methods.

2006-07-14 Thread sufibaba
Hello All,

I have a datagrid that has 2 DataGridColumns.

Each DataGridColumn has its own itemrenderer.  I would like to fire a
function that is inside of each of the DataGridColumn's itemRenderer.

I have been successful with firing a function inside of an ItemRenderer
for a Tree Control by using tree.indexToItemRenderer(), however, with
the DataGrid, I can't seem to get to the DataGridColumn's itemrenderer.

I tried  myGrid.indexToItemRenderer()  and I got back a
DataGridItemRenderer but not the DataGridColumn's rendererer.

Lots of thanks for any light on this issue.

Tim

--
mx:DataGrid id=myGrid 
dataProvider={ArrayCollection(model.layoutSelectorList)}
variableRowHeight=true  width=100% height=100%

mx:columns
 mx:DataGridColumn dataField=label  headerText=Column1  
itemRenderer=renderer1  /
 mx:DataGridColumn  id=radioColumn dataField=type 
itemRenderer=renderer2   headerText=Column2  /
/mx:columns
/mx:DataGrid

-








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

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

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

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




RE: [flexcoders] Can anyone explain how to load a wsdl in flex 2.0 using Flex 2 Data Services

2006-07-14 Thread Peter Farland












Did you read the online documentation for
Flex Data Services 2? Did you see these pages?



http://livedocs.macromedia.com/flex/2/docs/1162.html

http://livedocs.macromedia.com/flex/2/docs/1163.html

http://livedocs.macromedia.com/flex/2/docs/1164.html















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of efeminella
Sent: Friday, July 14, 2006 1:20
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Can anyone
explain how to load a wsdl in flex 2.0 using Flex 2 Data Services











Can anyone explain how to load a wsdl in flex 2.0
using Flex 2 Data
Services? How do I set up a proxy for the srvice, and do I need to set
up anything else?

Thanks,
Eric






__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] Re: Addressing buried children in XML with default namespace- an easier way?

2006-07-14 Thread ben.clinkinbeard
Not sure what I was doing wrong here but I've got this worked out and
documented here:
http://www.returnundefined.com/dealing-with-default-namespaces-in-flex-2as3

Hopefully someone will find it useful.

Ben

--- In flexcoders@yahoogroups.com, ben.clinkinbeard
[EMAIL PROTECTED] wrote:

 That doesn't seem to work for me. I have this file:
 
 package com.fmr.tests.PSA_Cairngorm.model
 {
   public namespace CLIENT_SEARCH_NAMESPACE =
 http://site.com/BackOffice/DoSearch;;
 }
 
 and then in my command class, along with all my other import
 statements I have:
 import com.fmr.tests.PSA_Cairngorm.model.CLIENT_SEARCH_NAMESPACE;
 
 and then I try to use it like this:
 use namespace CLIENT_SEARCH_NAMESPACE;
 
 Unfortunately I get the same error as usual:
 1004: Namespace was not found or is not a compile-time constant.







 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] Removing a drag item from a List

2006-07-14 Thread Pan Troglodytes



This isn't Flex 1.5, is it? I got a ton problems trying to run your code. I'm not sure how you're not running into more problems than you describe. Maye this isn't the exact code but pseudo code?Anyway, here's what I did and it works fine. It even keeps your ports sorted:
?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=
http://www.adobe.com/2006/mxml layout=vertical creationComplete=doCreationComplete(event)mx:Script ![CDATA[ import mx.events.DragEvent; import mx.collections.ArrayCollection
; import mx.managers.DragManager; import mx.core.UIComponent;  [Bindable] public var availPortList:ArrayCollection = new ArrayCollection([1, 2, 3, 4, 5]); [Bindable] public var currPortList:ArrayCollection = new ArrayCollection;
  public function doDragEnter(e:DragEvent):void { if (e.target != e.dragInitiator) DragManager.acceptDragDrop(UIComponent(e.target)); } public function doDragOver(e:DragEvent):void {
 DragManager.showFeedback(DragManager.MOVE); }  public function doCreationComplete(e:Event):void { availPortList.sort = mySort; currPortList.sort = mySort; } public function doDragDrop(event:DragEvent):void {
 var srcData:ArrayCollection = ArrayCollection(List(event.dragInitiator).dataProvider); var targetData:ArrayCollection = ArrayCollection(List(event.target).dataProvider); var dragItems:Array = List(
event.dragInitiator).selectedIndices;  dragItems.sort(Array.NUMERIC | Array.DESCENDING);  var item:Object; for (var i:uint=0;idragItems.length;i++) { targetData.addItem
(srcData.getItemAt(dragItems[i])); srcData.removeItemAt(dragItems[i]); }  targetData.refresh(); }  ]]/mx:Scriptmx:Sort id=mySort 
 /mx:Sort!-- Source List --mx:List id=portListLeft dragEnabled=true width=100%dragEnter=doDragEnter(event) dragDrop=doDragDrop(event)
dragOver=doDragOver(event);allowMultipleSelection=truemx:dataProvider{availPortList}/mx:dataProvider/mx:List!-- Destination List --mx:List id=portListRight dragEnabled=true width=100% 
dragEnter=doDragEnter(event) dragDrop=doDragDrop(event)dragOver=doDragOver(event);allowMultipleSelection=truemx:dataProvider{currPortList}/mx:dataProvider
/mx:List /mx:ApplicationOn 7/14/06, boozabel 
[EMAIL PROTECTED]
 wrote:












  



Hello,

I'm trying to remove a drag item from a List.  It get's inside the 
doDragComplete() function but does not remove any items:

function doDragComplete(event) 
{
 var dragItems = event.dragSource.dataForFormat
(source).selectedIndicies;

var counter = dragItems.length;

alert(in doDragComplete());

for (var i=0;icounter;i++)
 {
var item = dragItems[i];
item.removeItemAt(item.selectedIndex);
 }
}

!-- Source List --
mx:List id=portListLeft dragEnabled=true 
dragComplete=doDragComplete(event);
   mx:dataProvider{availPortList}/mx:dataProvider
/mx:List

!-- Destination List --
mx:List id=portListRight dragEnabled=true
		dragEnter=doDragEnter(event); 
 	dragExit=doDragExit(event);
 	dragOver=doDragOver(event);
 	dragDrop=doDragDrop(event);
		mx:dataProvider{currPortList}/mx:dataProvider
/mx:List


  













-- 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: dataGrid drop-in itemRenderer/Editor

2006-07-14 Thread Tim Hoff



Hi Shannon,
CheckBox.selected needs to be true or false. Also,you can put the CheckBox itemRenderer in a container and center it with verticalAlign and horizontalAlign. Here's a sample:
http://www.cflex.net/showfiledetails.cfm?ChannelID=1Object=FileobjectID=443
-TH
--- In flexcoders@yahoogroups.com, "Shannon Hicks" [EMAIL PROTECTED] wrote: I have a dataGrid where I'd like to use a checkbox drop-in renderer/editor. My query returns two columns: name [varchar(45)] and featured [smallint]. Featured returns either 1 or 0.  Now, in the dataGrid, my featured column looks like this:  mx:DataGridColumn headerText="Featured Image" dataField="featured" itemRenderer="mx.controls.CheckBox" rendererIsEditor="true" editorDataField="selected" textAlign="center"/  First off... The checkbox doesn't show checked/unchecked according to the value of featured (1 or 0). Do I need to somehow convert 1  0 to boolean values? Isn't flash supposed to do this automatically?  Secondly... The checkbox isn't centered. I'm not sure how to do that, as silly as it sounds.  Shan  --  No virus found in this outgoing message. Checked by AVG Free Edition. 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








   






  
  
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] Spring Framework

2006-07-14 Thread javanatic23
Can I publish spring framework beans throught FDS?

(like openamf)







--
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: Pass a parameter in the event function of an addEventListener?

2006-07-14 Thread Tim Scollick



If you'd need more than just the name, you can put any object into the button.data field and retrieve it as event.data in the listener function.TimOn 7/14/06, 
meathead [EMAIL PROTECTED] wrote:













  



Thanks a bunch.  This totally works.  Boy, was I ever going down the 
wrong path. 

Here's my working code in case any other newbie comes accross this.

CODE**
// so far I've set up an array to return data from XML and am
//looping thru adding buttons where needed.
if(arrSection[i].MLSEID != null) {
var btn:Button = new Button()
btn.label = MLSE Info;
btn.x = intX;
//I'm adding a 'prefix' to the button id because there will be other
//buttons I'm adding and theroretically the same ID could be used.
btn.id = MLSE + arrSection[i].MLSEID;
btn.addEventListener(MouseEvent.CLICK, ShowMessage);
btn.y = intY;
can.addChild(btn);
intY += 30;
}

public function ShowMessage(event:Event):void
{
//this is just a test to see if I can pass info.
//Parsing and further coding would happen here.
Alert.show (event.currentTarget.id);
}

***END OF CODE**

Just to note, the Flex builder intelisense will not pick up the 
button properties.

Thanks,
Aaron

--- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiverton
@... 
wrote:

 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
 
 


  















__._,_.___





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

2006-07-14 Thread Danny Patterson





mx:Button 
label="Upload" click="var fileReference:FileReference = new FileReference(); 
fileReference.browse();" /



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Ethan 
MillerSent: Friday, July 14, 2006 12:27 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] File 
Upload


I'm trying to quickly demonstrate the ability to upload a file. Just need 
a button with a click action that invokes a file browser in the user's 
OS.Tried this:mx:Button label="Upload" 
click="FileReferenceList.browse()"/Per the docs, which 
gets a compiler error of "undefined method with static type class... 
"Any sample code for this kicking around?thanks! 
ethan
__._,_.___





--
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] dataGrid drop-in itemRenderer/Editor

2006-07-14 Thread Pan Troglodytes



Flash knows how to convert 0/1 to Boolean, it just doesn't always know WHEN to do it. To answer both your questions, here is a modified version of the help example:
?xml version=1.0?mx:Application xmlns:mx=
http://www.adobe.com/2006/mxml height=700 width=700 
 mx:Script ![CDATA[ 
 [Bindable] public var myDP:Array = [
 {label1:Order #2314, contact:John Doe, quant:3, solddate:new Date(2005, 0, 1), Sent:1},
 {label1:Order #2315, contact:Jane Doe, quant:3, solddate:new Date(2005, 0, 5), Sent:0}]; ]]
 /mx:Script mx:DataGrid id=myDG dataProvider={myDP} variableRowHeight=true width=500 height=250 editable=true
 mx:columns mx:DataGridColumn dataField=label1 headerText=Order # editable=false/
 mx:DataGridColumn dataField=quant headerText=Quantity itemEditor=mx.controls.NumericStepper
 editorDataField=value/ mx:DataGridColumn dataField=solddate headerText=Date itemRenderer=
mx.controls.DateField rendererIsEditor=true editorDataField=selectedDate/ mx:DataGridColumn dataField=Sent rendererIsEditor=true editorDataField=selected textAlign=center
 mx:itemRenderer mx:Component
 mx:Canvas width=100% height=100%
 mx:CheckBox selected={Boolean(data.Sent)} horizontalCenter=0 verticalCenter=0/ /mx:Canvas
 /mx:Component /mx:itemRenderer
 /mx:DataGridColumn /mx:columns
 /mx:DataGrid/mx:Application
On 7/14/06, Shannon Hicks [EMAIL PROTECTED] wrote:













  






I have a dataGrid 
where I'd like to use a checkbox drop-in renderer/editor. My query returns two 
columns: name [varchar(45)]and featured [smallint]. Featured returns 
either 1 or 0.

Now, in the 
dataGrid, my featured column looks like this:

mx:DataGridColumn headerText=Featured Image dataField=featured 
itemRenderer=mx.controls.CheckBox rendererIsEditor=true 
editorDataField=selected textAlign=center/

First off... The 
checkbox doesn't show checked/unchecked according to the value of featured (1 or 
0). Do I need to somehow convert 1  0 to boolean values? Isn't flash 
supposed to do this automatically?

Secondly... The 
checkbox isn't centered. I'm not sure how to do that, as silly as it 
sounds.

Shan


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

  













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



  






__,_._,___



[flexcoders] Re: Can anyone explain how to load a wsdl in flex 2.0 using Flex 2 Data Services

2006-07-14 Thread efeminella
Yes, I was able to resolve the problem as it was due to an error in
the app.

Thanks,
Eric
--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote:

 Did you read the online documentation for Flex Data Services 2? Did you
 see these pages?
 
  
 
 http://livedocs.macromedia.com/flex/2/docs/1162.html
 
 http://livedocs.macromedia.com/flex/2/docs/1163.html
 
 http://livedocs.macromedia.com/flex/2/docs/1164.html
 
  
 
  
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of efeminella
 Sent: Friday, July 14, 2006 1:20 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Can anyone explain how to load a wsdl in flex 2.0
 using Flex 2 Data Services
 
  
 
 Can anyone explain how to load a wsdl in flex 2.0 using Flex 2 Data
 Services? How do I set up a proxy for the srvice, and do I need to set
 up anything else?
 
 Thanks,
 Eric







 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: [Junk E-Mail - MED] Re: [flexcoders] dataGrid drop-in itemRenderer/Editor

2006-07-14 Thread Shannon Hicks





Pan-

I tried this, and the checkbox shows up properly 
checked/unchecked.

Now, I get this error when I change the 
state:

ReferenceError: Error #1069: Property selected not found on 
flexComponents.editMouse_inlineComponent1 and there is no default 
value.

Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Pan 
TroglodytesSent: Friday, July 14, 2006 2:58 PMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - MED] Re: 
[flexcoders] dataGrid drop-in itemRenderer/Editor


Flash knows how to convert 0/1 to Boolean, it just doesn't always know WHEN 
to do it. To answer both your questions, here is a modified version of the 
help example:?xml version="1.0"?mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" 
height="700" width="700"  
mx:Script ![CDATA[ 
 
[Bindable] public var 
myDP:Array = [ 
{label1:"Order #2314", contact:"John Doe", quant:3, solddate:new Date(2005, 0, 
1), Sent:1}, 
{label1:"Order #2315", contact:"Jane Doe", quant:3, solddate:new 
Date(2005, 0, 5), Sent:0}]; ]]  
/mx:Script 
mx:DataGrid id="myDG" dataProvider="{myDP}" 
variableRowHeight="true" width="500" height="250" editable="true"  mx:columns 
mx:DataGridColumn 
dataField="label1" 
headerText="Order #" editable="false"/  
mx:DataGridColumn 
dataField="quant" 
headerText="Quantity" 
itemEditor="mx.controls.NumericStepper 
" 
editorDataField="value"/ 
mx:DataGridColumn 
dataField="solddate" 
headerText="Date" 
itemRenderer=" 
mx.controls.DateField" 
rendererIsEditor="true" 
editorDataField="selectedDate"/ 
mx:DataGridColumn dataField="Sent" rendererIsEditor="true" 
editorDataField="selected" textAlign="center"  
mx:itemRenderer 
mx:Component  
mx:Canvas width="100%" height="100%" 
mx:CheckBox selected="{Boolean(data.Sent)}" horizontalCenter="0" 
verticalCenter="0"/ 
/mx:Canvas  
/mx:Component 
/mx:itemRenderer  
/mx:DataGridColumn /mx:columns  
/mx:DataGrid/mx:Application 

On 7/14/06, Shannon 
Hicks [EMAIL PROTECTED] 
wrote:

  
  
  
  
  
  
  I have a dataGrid where I'd like to use a 
  checkbox drop-in renderer/editor. My query returns two columns: name 
  [varchar(45)]and featured [smallint]. Featured returns either 1 or 
  0.
  
  Now, in the dataGrid, my featured column 
  looks like this:
  
  mx:DataGridColumn headerText="Featured 
  Image" dataField="featured" itemRenderer="mx.controls.CheckBox" 
  rendererIsEditor="true" editorDataField="selected" 
  textAlign="center"/
  
  First off... The checkbox doesn't show 
  checked/unchecked according to the value of featured (1 or 0). Do I need to 
  somehow convert 1  0 to boolean values? Isn't flash supposed to do this 
  automatically?
  
  Secondly... The checkbox isn't centered. 
  I'm not sure how to do that, as silly as it sounds.
  
  Shan
  --No virus found in this outgoing message.Checked by 
  AVG Free Edition.Version: 7.1.394 / Virus Database: 268.10.0/388 - Release 
  Date: 7/13/2006
  -- Jason 

--No virus found in this incoming message.Checked by AVG 
Free Edition.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








   






  
  
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.10.0/388 - Release Date: 7/13/2006
 


Re: [flexcoders] need solution/best practice regarding VO's

2006-07-14 Thread Andrea Varga
Thanks. This works, but is this the best way to do it? To have VO's 
reflecting the database tables? I can't come out with a better solution, 
but maybe there is.

Andi


Tom Chiverton wrote:

On Friday 14 July 2006 06:55, Andrea Varga wrote:
  

How should I approach this?



You could have the Flex app retrive a list of country IDs and names at start 
up, and then use a custom item renderer in the data grid to display the 
country based on the user VO's countryId.

  



--
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] Dashboard Sample: problems

2006-07-14 Thread Paul Andrews
No problems here with the dashboard in ie or firefox with 9,0,16,0.

Jesse's app gave me just a blue screen on firefox, but after a few refreshes 
on ie, no problems.

Paul



- Original Message - 
From: JesterXL [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, July 14, 2006 8:15 PM
Subject: Re: [flexcoders] Dashboard Sample: problems


I have the exact same problem with 9.0.16.0 here with my app:

 http://dev.jessewarden.com/flex/webserviceexample/

 1st time works.  Refresh.

 2nd time, stops at 20%.  Refresh.

 3rd time, doesn't even show preloader.

 Same exact behavior in IE and Firefox.

 - Original Message - 
 From: [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Friday, July 14, 2006 12:22 PM
 Subject: [flexcoders] Dashboard Sample: problems


 I was messing around with the dashboard sample on the adobe site
 http://www.adobe.com/devnet/flex/samples/dashboard/
 And everything was going fine.   Ever since upgrading FP9 to 9.0.16.0
 though I can't get the application to successfully load. I redownloaded
 the source just in case I inadvertently changed something - but same
 affect.   I get the pretty blue background and a status window that
 freezes about 20% through the load.

 Any ideas?



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








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







 




 Yahoo! Groups Sponsor ~-- 
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] Re: ModelLocator - Cairngorm 2

2006-07-14 Thread jrjazzman23
thanks for the response.  I think it solves the problem, however the
pseudo-private constructor can only be enforced at runtime.  


--- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote:

 What about something like this?
 
 
 
 [Bindable]
 public class ShopModelLocator implements ModelLocator
 {
 private static var modelLocator : ShopModelLocator;
 
 public static function getInstance() : ShopModelLocator
 {
 if ( modelLocator == null )
 modelLocator = new ShopModelLocator();
 
 return modelLocator;
 }
 
 public function ShopModelLocator()
 {
   if ( ShopModelLocator.modelLocator != null )
 throw new Error( Only one
ShopModelLocatorinstance
 should be instantiated );
 }
 
 public var products : ICollectionView;
 }
 
 
 
 |-+-
 | | |
 | |  jrjazzman23  |
 | |  [EMAIL PROTECTED]|
 | |  Sent by:   |
 | |  flexcoders@yahoogroups.com |
 | |  07/14/2006 02:27 PM|
 | |  Please respond to  |
 | |  flexcoders |
 | | |
 |-+-
  
-|
   |
|
   |  To: flexcoders@yahoogroups.com
|
   |  cc:   
|
   |  Subject:  [flexcoders] ModelLocator - Cairngorm 2 
|
  
-|
 
 
 
 
 I can't get the reference implementation to compile (pasted below).
 Seems to be missing a constructor. How should this be solved keeping
 in mind that private constructors aren't supported?
 
 [Bindable]
 public class ShopModelLocator implements ModelLocator
 {
 private static var modelLocator : ShopModelLocator;
 
 public static function getInstance() : ShopModelLocator
 {
 if ( modelLocator == null )
 modelLocator = new ShopModelLocator();
 
 return modelLocator;
 }
 
 public var products : ICollectionView;
 }
 
 
 
 
 
 
 
 

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

---







--
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: ModelLocator - Cairngorm 2

2006-07-14 Thread JesterXL
If you're a purist, here's a couple of solutions:
http://www.gskinner.com/blog/archives/2006/07/as3_singletons.html

- Original Message - 
From: jrjazzman23 [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, July 14, 2006 3:42 PM
Subject: [flexcoders] Re: ModelLocator - Cairngorm 2


thanks for the response.  I think it solves the problem, however the
pseudo-private constructor can only be enforced at runtime.


--- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote:

 What about something like this?



 [Bindable]
 public class ShopModelLocator implements ModelLocator
 {
 private static var modelLocator : ShopModelLocator;

 public static function getInstance() : ShopModelLocator
 {
 if ( modelLocator == null )
 modelLocator = new ShopModelLocator();

 return modelLocator;
 }

 public function ShopModelLocator()
 {
   if ( ShopModelLocator.modelLocator != null )
 throw new Error( Only one
ShopModelLocatorinstance
 should be instantiated );
 }

 public var products : ICollectionView;
 }



 |-+-
 | | |
 | |  jrjazzman23  |
 | |  [EMAIL PROTECTED]|
 | |  Sent by:   |
 | |  flexcoders@yahoogroups.com |
 | |  07/14/2006 02:27 PM|
 | |  Please respond to  |
 | |  flexcoders |
 | | |
 |-+-

-|
   |
|
   |  To: flexcoders@yahoogroups.com
|
   |  cc:
|
   |  Subject:  [flexcoders] ModelLocator - Cairngorm 2
|

-|




 I can't get the reference implementation to compile (pasted below).
 Seems to be missing a constructor. How should this be solved keeping
 in mind that private constructors aren't supported?

 [Bindable]
 public class ShopModelLocator implements ModelLocator
 {
 private static var modelLocator : ShopModelLocator;

 public static function getInstance() : ShopModelLocator
 {
 if ( modelLocator == null )
 modelLocator = new ShopModelLocator();

 return modelLocator;
 }

 public var products : ICollectionView;
 }









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

---







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

* 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: need solution/best practice regarding VO's

2006-07-14 Thread Tim Hoff
I agree with Tom's solution, but a labelFunction would be sufficient 
in this case.

-TH

--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] 
wrote:

 On Friday 14 July 2006 06:55, Andrea Varga wrote:
  How should I approach this?
 
 You could have the Flex app retrive a list of country IDs and 
names at start 
 up, and then use a custom item renderer in the data grid to 
display the 
 country based on the user VO's countryId.
 
 -- 
 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] Mac equivalent of ActiveX

2006-07-14 Thread John Dowdell
FineLine wrote:
 Hi, I have a question for the Mac experts. On Windows, I can embed a
 component written in Flex into a host application using the Shockwave Flash
 ActiveX object, and communicate with it using various method calls and
 events. Is there any equivalent mechanism(s) on the Macintosh?

Sorry I'm late to the discussion... here's a couple of things you might 
be seeking:

(Q)  Is there a Mac ActiveX?
(A)  There was, but few used it, and IE/Mac was abandoned by Microsoft 
awhile back.

(Q)  Can I add a browser extension to my native-code Macintosh 
applications?
(A)  Yes, if you can emulate the Netscape Plugin hosting mechanism.

(Q)  Is there a protocol for Netscape Plugins to communicate with their 
host, on Macintosh?
(A)  Yes, the Adobe Flash Player uses a generic externalInterface 
wrapper layer for using various host communication protocols, and for 
the Netscape Plugin protocol you'd be implementing this API:
http://www.mozilla.org/projects/plugins/npruntime.html

(Q)  How can I render Flash within native-code applications across 
platforms?
(A)  Via the above path, but it's a lot of work to write one native-code 
application, much less multiple ones which integrate platform-neutral 
renderers.

jd





-- 
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.


 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] Re: RichTextEditor setFocus()?

2006-07-14 Thread Mike Britton
To save time, I ended up using a simple TextArea instead.  I suspect I
need to do a getChildAt() to access the TextArea, then use setFocus().



--- In flexcoders@yahoogroups.com, Mike Britton [EMAIL PROTECTED] wrote:

 I have a custom component containing a RichTextEditor.  How do I set
 cursor focus on its internal textarea?  I've tried all the obvious
 things to no avail.







--
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 - MED] Re: [flexcoders] dataGrid drop-in itemRenderer/Editor

2006-07-14 Thread Anatole Tartakovsky



You can use this class as your item renderer

package com.theriabook.controls {

 import mx.controls.CheckBox;

 import mx.controls.dataGridClasses.DataGridListData;

 

 public class CheckBox extends mx.controls.CheckBox  {


 public var onValue:Object = 1;

 public var offValue:Object = 0;

 public function set value(o:Object) :void {

 selected = (o == onValue);

 }

 public function get value():Object {

 return selected?onValue:offValue;

 }

 override public function set data(item:Object):void  {

 super.data = "">

 if( item!=null )

 value = item[DataGridListData(listData).dataField];

 }

 }
}
and these attributes on the datagridcolumn



... itemRenderer=com.theriabook.controls.CheckBox 

 rendererIsEditor=true editorDataField=value




Styling and dealing with settings controls defaults without drop-in itemRenderer requires subclassing of DataGridColumnand it's ClassFactory - described in details in upcoming Flex book, but would take about 5 pages to explain. Nevertheless, the case is classical, will try to respond via components forum




Thank you,

Anatole








On 7/14/06, Shannon Hicks [EMAIL PROTECTED] wrote:







Pan-

I tried this, and the checkbox shows up properly checked/unchecked.

Now, I get this error when I change the state:

ReferenceError: Error #1069: Property selected not found on flexComponents.editMouse_inlineComponent1 and there is no default value.


Shan


From: flexcoders@yahoogroups.com
 [mailto:flexcoders@yahoogroups.com] On Behalf Of 
Pan TroglodytesSent: Friday, July 14, 2006 2:58 PMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - MED] Re: [flexcoders] dataGrid drop-in itemRenderer/Editor



Flash knows how to convert 0/1 to Boolean, it just doesn't always know WHEN to do it. To answer both your questions, here is a modified version of the help example:
?xml version=1.0?mx:Application xmlns:mx=
 http://www.adobe.com/2006/mxml height=700 width=700 
 mx:Script ![CDATA[ 
 [Bindable] public var myDP:Array = [
 {label1:Order #2314, contact:John Doe, quant:3, solddate:new Date(2005, 0, 1), Sent:1}, {label1:Order #2315, contact:Jane Doe, quant:3, solddate:new Date(2005, 0, 5), Sent:0}];
 ]]  /mx:Script
 mx:DataGrid id=myDG dataProvider={myDP} variableRowHeight=true width=500 height=250 editable=true 
 mx:columns mx:DataGridColumn dataField=label1 headerText=Order # editable=false/ 
 mx:DataGridColumn dataField=quant headerText=Quantity itemEditor=mx.controls.NumericStepper
  editorDataField=value/ mx:DataGridColumn dataField=solddate headerText=Date itemRenderer= 
mx.controls.DateField rendererIsEditor=true editorDataField=selectedDate/ mx:DataGridColumn dataField=Sent rendererIsEditor=true editorDataField=selected textAlign=center 
 mx:itemRenderer mx:Component 
 mx:Canvas width=100% height=100%
 mx:CheckBox selected={Boolean(data.Sent)} horizontalCenter=0 verticalCenter=0/ /mx:Canvas 
 /mx:Component /mx:itemRenderer 
 /mx:DataGridColumn /mx:columns 
 /mx:DataGrid/mx:Application 
On 7/14/06, Shannon Hicks 
[EMAIL PROTECTED] wrote: 







I have a dataGrid where I'd like to use a checkbox drop-in renderer/editor. My query returns two columns: name [varchar(45)]and featured [smallint]. Featured returns either 1 or 0.


Now, in the dataGrid, my featured column looks like this:

mx:DataGridColumn headerText=Featured Image dataField=featured itemRenderer=mx.controls.CheckBox rendererIsEditor=true editorDataField=selected textAlign=center/


First off... The checkbox doesn't show checked/unchecked according to the value of featured (1 or 0). Do I need to somehow convert 1  0 to boolean values? Isn't flash supposed to do this automatically?


Secondly... The checkbox isn't centered. I'm not sure how to do that, as silly as it sounds.

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



--No virus found in this incoming message.
Checked by AVG Free Edition.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 Free Edition.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



  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] need solution/best practice regarding VO's

2006-07-14 Thread Douglas Knudsen
On 7/14/06, Andrea Varga [EMAIL PROTECTED] wrote:
 Hi All!

 I'm going to ask my question through an example. (I'm using Cairngorm,
 but I think the problem is general)
 Let's say I have a database with 2 tables:

 1. user -  with fields: user_id, user_name, user_country_id (foreign
 key from country table)
 2. countries - with fields: country_id, country_name

 Let's say I need an application that lists all the users, in a datagrid
 with 2 columns: User Name, Country Name.
 How should I approach this?

 Let's say I have 2 VO's, to reflect the database structure:

 class UserVO {
 public var ID:int;
 public var name:String;
 public var countryID:int;
 }

 class CountryVO {
 public var ID:int;
 public var name:String;
 }

 And I have in my Model:

 users:ArrayCollection;  // array collection of UserVOs
 countries:ArrayCollection;  // array collection of CountryVOs

 How could I create a binding of users to a Datagrid, so it will display
 the country names?
 Or how else should I approach the problem?

 In case I  have:
 class UserVO {
 public var ID:int;
 public var name:String;
 public var country:countryVO;
 }

 I think the bindig would be possibe, but a bunch of other
 questions/problems appear.
 Eg.:
 I'm using remoting to get the data from the server (AMFHP).
 On one hand: Class mappings won't work with VO's insite another VO.

who says?  Works for me.  In your case maybe try
mx:DataGridColumn dataField=userVO.countryVO.name headerText=Country/  ???



 On second hand: I have to load the list of countries (I need it
 somewhere else), and I would not want to carry the CountryVO inside the
 UserVO, for many reasons. One of them is: this is a simple example, but
 what if CountryVO is a more complex data, and i need to send a userVO to
 the server (to update the database for example), I don't need a
 CountryVO there, just a UserVO that has the ID of a country.

Another way maybe to just add countryName:string to your userVO.
Depends on what you need userVO to fully model.


DK


 Thanks,
 Andi









 --
 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 ~-- 
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] can I use older ver of CF with Flex 2

2006-07-14 Thread Clint Tredway



I have a project that I need to move to a CF server (shared hosting) and the server is 7.01... can I use the old remoting gateway with Flex 2? If I can, do I use it like I did in Flex 1.5?-- diabetic? 
http://www.diabetesforums.comAlbert Einstein - It's not that I'm so smart, it's just that I stay with problems longer.

__._,_.___





--
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] binding ViewStack.selectedChild to the data model

2006-07-14 Thread jrjazzman23
I think the binding is happening before the viewstack children are
initialized.. getting the following error when I run the prog:

TypeError: Error #2007: Parameter child must be non-null.


ModelLocator snippet
---
public var selectedView : Container;



mainapp.mxml snippet
--
mx:ViewStack x=238 y=123 id=viewstack1 width=752 height=550
creationPolicy=all
selectedChild={ModelLocator.getInstance().selectedView} 
  Components:FindClient id=FindClientCanvas /
  Components:GeneralInformation id=GeneralInformationCanvas /
/mx:ViewStack



I've tried running the following from main app's initialize,
preinitialize and creationcomplete
---
ModelLocator.initialize();
ModelLocator.getInstance().selectedView = FindClientCanvas;



How can I delay the binding until the viewstack and its children have 
been created?

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/
 





[flexcoders] considering a flex purchase

2006-07-14 Thread bristondavidge64086
Greetings, 

My company is considering switching to flex for our data intensive
flash projects, however i have a few questions before i decide.

1. am i correct in assuming you can only apply a certain 'look'.  all
the sample apps ive checked out have the same component look to them.
 apparantly just changed w/ css.

2. Whats the main advantage of using flex over a straight flash solution?

3. if i was to buy flex what all do i need?  currently we run on a
windows box.

4. flex complaints?

thanks so much.

Briston 
luminopolis







 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 - MED] Re: [flexcoders] dataGrid drop-in itemRenderer/Editor

2006-07-14 Thread Pan Troglodytes



Woops, one small correction. If you want to preserve your 0/1, do this: public var value:uint;
On 7/14/06, Pan Troglodytes [EMAIL PROTECTED] wrote:
You may have figured out the reason by now, but if not it's because editorDataField=selected is making it look for the selected attribute on the top level component. Unfortunately, when I added a canvas to make the centering work, the canvas because the top level. So it gets a little more complicated. You could break this out into separate files, but I'll just show you how to do it inline:
Put this before the DataGrid:mx:Component id=inlineEditor
 mx:Canvas width=100% height=100%

 mx:Script
 ![CDATA[ public var value:Boolean;
 ]] /mx:Script

 mx:CheckBox id=checkbox selected={Boolean(data.Sent)} horizontalCenter=0 verticalCenter=0/

 mx:Binding source=checkbox.selected destination=value/ /mx:Canvas
/mx:ComponentAnd make the column like this:

mx:DataGridColumn dataField=Sent rendererIsEditor=true editorDataField=value textAlign=center itemRenderer={inlineEditor}/This should properly expose and linkup the variable.
There might be better ways to do this. This is just what I've come up with.On 7/14/06, Shannon Hicks
 [EMAIL PROTECTED]
 wrote:












  






Pan-

I tried this, and the checkbox shows up properly 
checked/unchecked.

Now, I get this error when I change the 
state:

ReferenceError: Error #1069: Property selected not found on 
flexComponents.editMouse_inlineComponent1 and there is no default 
value.

Shan


From: 
flexcoders@yahoogroups.com
 
[mailto:flexcoders@yahoogroups.com
] On Behalf Of Pan 
TroglodytesSent: Friday, July 14, 2006 2:58 PMTo: 
flexcoders@yahoogroups.com
Subject: [Junk E-Mail - MED] Re: 
[flexcoders] dataGrid drop-in itemRenderer/Editor


Flash knows how to convert 0/1 to Boolean, it just doesn't always know WHEN 
to do it. To answer both your questions, here is a modified version of the 
help example:?xml version=1.0?

mx:Application xmlns:mx= http://www.adobe.com/2006/mxml
 
height=700 width=700  
mx:Script ![CDATA[ 
 
[Bindable] public var 
myDP:Array = [ 
{label1:Order #2314, contact:John Doe, quant:3, solddate:new Date(2005, 0, 
1), Sent:1}, 
{label1:Order #2315, contact:Jane Doe, quant:3, solddate:new 
Date(2005, 0, 5), Sent:0}]; ]]  
/mx:Script 
mx:DataGrid id=myDG dataProvider={myDP} 
variableRowHeight=true width=500 height=250 editable=true  mx:columns

 
mx:DataGridColumn 
dataField=label1 
headerText=Order # editable=false/  
mx:DataGridColumn 
dataField=quant 
headerText=Quantity 
itemEditor=mx.controls.NumericStepper 
 
editorDataField=value/ 
mx:DataGridColumn 
dataField=solddate 
headerText=Date 
itemRenderer= 
mx.controls.DateField 
rendererIsEditor=true 
editorDataField=selectedDate/ 
mx:DataGridColumn dataField=Sent rendererIsEditor=true 
editorDataField=selected textAlign=center  
mx:itemRenderer 
mx:Component  
mx:Canvas width=100% height=100% 
mx:CheckBox selected={Boolean(data.Sent)} horizontalCenter=0 
verticalCenter=0/ 
/mx:Canvas  
/mx:Component 
/mx:itemRenderer  
/mx:DataGridColumn /mx:columns  
/mx:DataGrid/mx:Application 

On 7/14/06, Shannon 
Hicks [EMAIL PROTECTED] 
wrote:

  
  
  
  
  
  
  I have a dataGrid where I'd like to use a 
  checkbox drop-in renderer/editor. My query returns two columns: name 
  [varchar(45)]and featured [smallint]. Featured returns either 1 or 
  0.
  
  Now, in the dataGrid, my featured column 
  looks like this:
  
  mx:DataGridColumn headerText=Featured 
  Image dataField=featured itemRenderer=mx.controls.CheckBox 
  rendererIsEditor=true editorDataField=selected 
  textAlign=center/
  
  First off... The checkbox doesn't show 
  checked/unchecked according to the value of featured (1 or 0). Do I need to 
  somehow convert 1  0 to boolean values? Isn't flash supposed to do this 
  automatically?
  
  Secondly... The checkbox isn't centered. 
  I'm not sure how to do that, as silly as it sounds.
  
  Shan
  --No virus found in this outgoing message.Checked by 
  AVG Free Edition.Version: 7.1.394 / Virus Database: 268.10.0/388 - Release 
  Date: 7/13/2006
  -- Jason 

--No virus found in this incoming message.Checked by AVG 
Free Edition.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 Free Edition.
Version: 7.1.394 / Virus Database: 268.10.0/388 - Release Date: 7/13/2006
 

  













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

Re: [Junk E-Mail - MED] Re: [flexcoders] dataGrid drop-in itemRenderer/Editor

2006-07-14 Thread Pan Troglodytes



Anatole:You seem pretty knowledgable about Flex. Can you find any problem with the casting approach I posted? Seems like a bit less of a hassle than defining an external class.
On 7/14/06, Anatole Tartakovsky [EMAIL PROTECTED] wrote:













  



You can use this class as your item renderer

package com.theriabook.controls {

 import mx.controls.CheckBox;

 import mx.controls.dataGridClasses.DataGridListData;

 

 public class CheckBox extends mx.controls.CheckBox  {


 public var onValue:Object = 1;

 public var offValue:Object = 0;

 public function set value(o:Object) :void {

 selected = (o == onValue);

 }

 public function get value():Object {

 return selected?onValue:offValue;

 }

 override public function set data(item:Object):void  {

 super.data = "">

 if( item!=null )

 value = item[DataGridListData(listData).dataField];

 }

 }
}
and these attributes on the datagridcolumn



... itemRenderer=com.theriabook.controls.CheckBox 

 rendererIsEditor=true editorDataField=value




Styling and dealing with settings controls defaults without drop-in itemRenderer requires subclassing of DataGridColumnand it's ClassFactory - described in details in upcoming Flex book, but would take about 5 pages to explain. Nevertheless, the case is classical, will try to respond via components forum




Thank you,

Anatole








On 7/14/06, Shannon Hicks 
[EMAIL PROTECTED] wrote:







Pan-

I tried this, and the checkbox shows up properly checked/unchecked.

Now, I get this error when I change the state:

ReferenceError: Error #1069: Property selected not found on flexComponents.editMouse_inlineComponent1 and there is no default value.



Shan


From: 
flexcoders@yahoogroups.com
 [mailto:flexcoders@yahoogroups.com
] On Behalf Of 
Pan TroglodytesSent: Friday, July 14, 2006 2:58 PMTo: 

flexcoders@yahoogroups.comSubject: [Junk E-Mail - MED] Re: [flexcoders] dataGrid drop-in itemRenderer/Editor



Flash knows how to convert 0/1 to Boolean, it just doesn't always know WHEN to do it. To answer both your questions, here is a modified version of the help example:

?xml version=1.0?mx:Application xmlns:mx=

 http://www.adobe.com/2006/mxml height=700 width=700 

 mx:Script ![CDATA[ 

 [Bindable] public var myDP:Array = [

 {label1:Order #2314, contact:John Doe, quant:3, solddate:new Date(2005, 0, 1), Sent:1}, {label1:Order #2315, contact:Jane Doe, quant:3, solddate:new Date(2005, 0, 5), Sent:0}];
 ]]  /mx:Script

 mx:DataGrid id=myDG dataProvider={myDP} variableRowHeight=true width=500 height=250 editable=true 
 mx:columns mx:DataGridColumn dataField=label1 headerText=Order # editable=false/ 
 mx:DataGridColumn dataField=quant headerText=Quantity itemEditor=mx.controls.NumericStepper

  editorDataField=value/ mx:DataGridColumn dataField=solddate headerText=Date itemRenderer= 
mx.controls.DateField rendererIsEditor=true editorDataField=selectedDate/ mx:DataGridColumn dataField=Sent rendererIsEditor=true editorDataField=selected textAlign=center 
 mx:itemRenderer mx:Component 

 mx:Canvas width=100% height=100%

 mx:CheckBox selected={Boolean(data.Sent)} horizontalCenter=0 verticalCenter=0/ /mx:Canvas 
 /mx:Component /mx:itemRenderer 

 /mx:DataGridColumn /mx:columns 

 /mx:DataGrid/mx:Application 
On 7/14/06, Shannon Hicks 

[EMAIL PROTECTED] wrote: 







I have a dataGrid where I'd like to use a checkbox drop-in renderer/editor. My query returns two columns: name [varchar(45)]and featured [smallint]. Featured returns either 1 or 0.


Now, in the dataGrid, my featured column looks like this:

mx:DataGridColumn headerText=Featured Image dataField=featured itemRenderer=mx.controls.CheckBox rendererIsEditor=true editorDataField=selected textAlign=center/


First off... The checkbox doesn't show checked/unchecked according to the value of featured (1 or 0). Do I need to somehow convert 1  0 to boolean values? Isn't flash supposed to do this automatically?


Secondly... The checkbox isn't centered. I'm not sure how to do that, as silly as it sounds.

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



--No virus found in this incoming message.
Checked by AVG Free Edition.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 Free Edition.Version: 7.1.394 / Virus Database: 268.10.0/388 - Release Date: 7/13/2006

 

  













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

[flexcoders] Re: binding ViewStack.selectedChild to the data model

2006-07-14 Thread Doug Lowder
The docs say selectedChild can only be set in AS, not MXML.  Maybe 
try something like:

creationComplete=viewstack1.selectedChild = ModelLocator.getInstance
().selectedView 


--- In flexcoders@yahoogroups.com, jrjazzman23 [EMAIL PROTECTED] 
wrote:

 I think the binding is happening before the viewstack children are
 initialized.. getting the following error when I run the prog:
 
 TypeError: Error #2007: Parameter child must be non-null.
 
 
 ModelLocator snippet
 ---
 public var selectedView : Container;
 
 
 
 mainapp.mxml snippet
 --
 mx:ViewStack x=238 y=123 id=viewstack1 width=752 
height=550
 creationPolicy=all
 selectedChild={ModelLocator.getInstance().selectedView} 
   Components:FindClient id=FindClientCanvas /
   Components:GeneralInformation id=GeneralInformationCanvas /
 /mx:ViewStack
 
 
 
 I've tried running the following from main app's initialize,
 preinitialize and creationcomplete
 ---
 ModelLocator.initialize();
 ModelLocator.getInstance().selectedView = FindClientCanvas;
 
 
 
 How can I delay the binding until the viewstack and its children 
have 
 been created?
 
 thanks








 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] considering a flex purchase

2006-07-14 Thread JesterXL
1.  Nope.  If you are in Atlanta August 3rd, New York August 16th, or in 
Vegas October 23rd, I'll be showing how you can lay the funk using Flash  
other design elements in Flex applications.  You can skin a LOT of the 
components via CSS; some need code, but it's easier to do than it is in 
Flash 8.

2. Familiar workflow to developers and declaritive XML layout seperates your 
GUI from your code; less coupling means your code doesn't break when the 
design changes.  Those are the big 2.  The others are built-in layout 
engine, lack of initialization issues, better components, and better coding 
IDE.  The new player, Flash Player 9 is a huge deal.  The new ActionScript 
virtual machine, ActionScript 3, DisplayList, binary sockets, organized 
language, etc. etc. etc.

3. Flex 2 SDK w/ Charting is what I recommend.  I'll let others explain FDS.

4. Flash takes Flex to the bank with font handling; total pain in the ass. 
A lot of things were accidentally made private in the base classes, so it's 
somewhat challenging to ensure you don't modify the original code.  Not all 
filters are implemented CSS.   The bloody NavBar class utilizes the 
DisplayList for order; this makes it impossible to make z-depth sorted tabs 
for example.

Everything else is pimp!



- Original Message - 
From: bristondavidge64086 [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, July 14, 2006 4:31 PM
Subject: [flexcoders] considering a flex purchase


Greetings,

My company is considering switching to flex for our data intensive
flash projects, however i have a few questions before i decide.

1. am i correct in assuming you can only apply a certain 'look'.  all
the sample apps ive checked out have the same component look to them.
 apparantly just changed w/ css.

2. Whats the main advantage of using flex over a straight flash solution?

3. if i was to buy flex what all do i need?  currently we run on a
windows box.

4. flex complaints?

thanks so much.

Briston
luminopolis








--
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: Spring Framework

2006-07-14 Thread Jesús Ramos
We have used this adapter sucessfully in a banking services project.

http://carbonfive.sourceforge.net/springadapter/api/com/carbonfive/flas
h/spring/package-summary.html#documentation

Quite easy to use, and very powerful.

HTH.

J.






--
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] considering a flex purchase

2006-07-14 Thread Tracy Spratt












Heres my opinion:




 That
 is absolutely incorrect. The only limit on appearance is the
 imagintion. If a lot of apps look similar, it may be because they
 were created by developer-types who are more interested in creating usable
 functionality than in re-inventing the tree or data grid. We may
 need more outside the box creative designer types involved.
 Flex is still Flash.
 I
 am not a Flash developer, so it is difficult for me to compare. But
 as I understand, Flex fits better into enterprise level development processes
 and methodologies. No timeline, whatever that is.
 It
 depends. You do not have to buy anything. You will probably
 want Flex Builder, since it is a very productive way to code and compile
 Flex apps. If your server-side data requirements are intense, you
 might want FDS, Flex Data Services. For normal data access, the RPC
 functionality is sufficient, and that is included with the framework (free).
 Uh, you need Flex developers.
 Flex
 is new. Flex is dependent on the Flash Player(that is not really a
 complaint). Flex componets are immature and limited, compared to
 ActiveX or even the new widget thingies. Flex Builder
 is new, there are some bugs, and the add-in tools for it do
 not exist yet.




Tracy









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bristondavidge64086
Sent: Friday, July 14, 2006 4:31
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] considering
a flex purchase











Greetings, 

My company is considering switching to flex for our data intensive
flash projects, however i have a few questions before i decide.

1. am i correct in assuming you can only apply a certain 'look'. all
the sample apps ive checked out have the same component look to them.
apparantly just changed w/ css.

2. Whats the main advantage of using flex over a straight flash solution?

3. if i was to buy flex what all do i need? currently we run on a
windows box.

4. flex complaints?

thanks so much.

Briston 
luminopolis






__._,_.___





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