[flexcoders] Re: Error executing database querry

2005-12-27 Thread vmlr123

Yes, as you said the problem was with sql query.
for integer field  i was parsing a value 
('#arguments.brandToAdd.brand_id#') which was throwing error.

Also one more thing which should be noticed here is,  for db2 it 
doesnt take double quotes when you insert data. thank you


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

 Yeah, if you can get CF to display or trace or log the final, 
evaluated
 SQL string, you can copy that and try it directly against the 
database
 using Query Analyzer or some other database query tool.
 Tracy
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Tariq Ahmed
 Sent: Monday, December 26, 2005 3:32 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Error executing database querry
 
 One of the practices I've been using in Flex development using CF 
is to 
 build a function test page that can be used to test functions in 
the 
 CFC's that your Flex app will be calling. This makes it easier when 
 debugging to verify if everything on the CF side is good and get 
the 
 detailed CF diagnostics when the function fails.
 
 Though SQL wise there could be a lot of things that could cause the 
 stuff below to bomb. Eg if brand_id is an integer field the 
 '#arguments.brandToAdd.brand_id#' is trying to pass a string to 
that 
 field. Likewise with created_by, and modified_by.
 
 
 
 Tracy Spratt wrote:
 
 I don't do CF, but that error does not sound like it is related to
 flex.
 
 Can you get your cfquery to display in a normal browser page?  Or 
a cf
 generated test page?
 
 Tracy
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of vmlr123
 Sent: Monday, December 26, 2005 8:05 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Error executing database querry
 
 Can any body just tell me why Error executing database querry .
 Im new to flex and just trying to connect my db2 database with 
flex 
 using coldfusion.
 
 I dont find any error in the sql querry im using.
 
 cfquery  datasource=DSFORCF
  INSERT INTO SPFLEX.M_BRAND_DETAILS 
 (brand_id,brand_name,created_by,modified_by)
  VALUES 
 
('#arguments.brandToAdd.brand_id#','#arguments.brandToAdd.brand_name#'
,
 
'#arguments.brandToAdd.created_by#','#arguments.brandToAdd.modified_b
y#
 ')
  /cfquery
 
 
 Is it some thing related to the datasource settings..?
 
 
   
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links







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

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

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

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

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




[flexcoders] Re: How to embed XML in AS3?

2005-12-27 Thread flexhtoo
Thanks all for your replys!

I like that embed in E4X AS3 in 
var embXML:XML  = thanksthankjesterxl/thankthankStanislav
Zayarsky/thankthankmanish.jethani/thank/thanks;

I like that form!



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

 E4X in AS3 allows true embedded XML, like so:
 
 var some_xml:XML = somexml/some;
 
 AS2 doesn't support that format, so you could do:
 
 var some_xml:XML = new XML(somexml/some);
 
 or:
 
 var some_xml:XML = new XML();
 some_xml.parseXML(somexml/some);
 
 or use the MXML mx:XML tag which will embed XML.
 
 - Original Message - 
 From: Stanislav Zayarsky [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Monday, December 26, 2005 1:24 PM
 Subject: Re: [flexcoders] How to embed XML in AS3?
 
 
  I want to konw how to embed XML in AS2? Is xml MIME type?
 
 Let's try the next thing: create XML element in mxml and before this
 set in flex-config.xml file
 keep-generated-astrue/keep-generated-as. and then compile mxml.
 
 Then open generated *.as file and see what is there.
 
 From there we can take this script:
 
 var myXML:XMLNode;
 
 function createXML() {
 myXML = mx.utils.XMLUtil.createXML(document\n data/\n/document);
 }
 
 By this way we can manually embed XML file via ActionScript.
 
 Or I'm not right?
 
 On 12/26/05, Manish Jethani [EMAIL PROTECTED] wrote:
  On 12/24/05, flexhtoo [EMAIL PROTECTED] wrote:
 
   I want to konw how to embed XML in AS2? Is xml MIME type?
 
  I don't think there's a way to embed XML in ActionScript.  You'll have
  to use the XML element in MXML.
 
  Manish
 
 
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
  Yahoo! Groups Links
 
 
 
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links






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

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

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

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

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




[flexcoders] Extra space problem in ViewStack while using Text with 100% width defined

2005-12-27 Thread Sergey Kovalyov
Hi All!

Look at this application:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
mx:ViewStack width=100% borderStyle=solid
mx:VBox width=100% borderStyle=solid
mx:Text width=100% text=An Ithaca College dean is
encouraging students to instead think small - and she's offering a $5,000
prize to do it. The school has invited high school and college students
across America to submit a 30-second movie shot entirely with a cell phone.
/
/mx:VBox
/mx:ViewStack
/mx:Application

Why does extra space appear below the text? What is the proper way to get
rid of this bug? Thank you.

Regards, Sergey.



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

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

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

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

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




[flexcoders] [Flex 2.0] XMLEncoder

2005-12-27 Thread alpharythms
Sorry for previous partial message.  
[mouse click was a bit sloppy when checking the preview]

Does anyone have any examples of using the XMLEncoder class in Flex 2.0.
Language reference is here:
http://livedocs.macromedia.com/labs/1/flex/langref/mx/rpc/xml/XMLEncoder.html

And/or

Does anyone have an example of using the contentType set to
application/xml in an HTTPService call?  
http://livedocs.macromedia.com/labs/1/flex/langref/mx/rpc/http/HTTPService.html#contentType

In particular how would I get this data if it was sent to a PHP script
since I imagine you wouldn't be able to use $_REQUEST['']...

Thanks,
Adam Schroeder







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

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

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

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

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





[flexcoders] Why not XSD import not use in WSDL file in Flex WebService!

2005-12-27 Thread flexhtoo
The following are that I call Web-Service in Flex! But I have one
problem  in this from.

mx:WebService id=ws
wsdl=http://localhost:8080/MyWebService/HelloWebService?WSDL;
service=HelloService
userProxy=false
showBusyCursor=true
fault=Alert.show('WSDL Load error');

mx:operation name=getHelloWorld
concurrency=single
resultFormat=e4x
fault=opFaultHandler(event)
result=opResultHandler(event)/
/mx:WebService

mx:Button label=Hello World
click=ws.getHelloWorld.send([{message:Hello Flex!!!}])/

mx:Script
   ![CDATA[

// Implement the event handler

   ]]
/mx:Script




In this situtation I haven't click could not result! 
It shown up error tns:helloWorld cannot resolve!

That time I copy the WSDL manually and for fix this problem that I
remove the 
xsd:schema
xsd:import namespace=http://com.test.application/HelloWS;
schemaLocation=http://localhost:8080/MyWebService/schema/HelloService_schema1.xsd/
/xsd:schema
with its schemalocation in browse and copy the entire schema into that
text.

And then I run it. It's ok. Why can't import XSD in WSDL!


And then Another Problem!
It is RPC not Doc Lit...


I want to konw how to and what change this source for Document Lit.


Flexhtoo.





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

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

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

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

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





[flexcoders] How caching is done in flex

2005-12-27 Thread manish sharma



hi all  i am very new to flex please tell me how caching is done in flex and how it is different from that in.Net please send me some links so as to read caching in detailthanks and regards- Manish Sharma  
		Yahoo! Shopping 
Find Great Deals on Holiday Gifts at Yahoo! Shopping 





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








  
  
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] [Flex2] creationComplete throw several times...

2005-12-27 Thread Michael Klishin
Manish Jethani wrote:
 I'm not sure I understand the scenario, but creationComplete is
 triggerred once and exactly once for every UIComponent instance. 
 Could it be that you're getting events from child objects as well?  If
 that's the case, you could check for the event object's 'target'
 property to make sure it refers to the object you're listening for.
 
  function creationCompleteHandler(event)
  {
if (event.target == myCanvas) {
 ...
}
  }

You're right, it's because of event bubbling and can be solved by 
checking event phase for equality with EventPhase.AT_TARGET constant as 
well.

-- 
Michael Antares Klishin,

Email: [EMAIL PROTECTED]
Web: www.novemberain.com

Non progredi est regredi


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

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

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

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

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




Re: [flexcoders] Re: Would this make a program secure

2005-12-27 Thread nostra72




I guess what your saying is in a nutshell is all I have to do to make my site secure is store it in the right directory and then make sure the web.xml file is edited to make my site secure? I looked up the file you were writing lines from. It looked different on my computer than on yours so I assume the directory is different. Is that pretty much it?






--
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: How to handle manipulation of Date object and Timezones elegantly in Flex?

2005-12-27 Thread Matt Chotin
I've filed an internal enhancement request for more options to
manipulate the timezone.  Who knows what we'll get out of it but
hopefully I can at least get a little discussion going internally.  More
info when we get back...

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jim Laing
Sent: Thursday, December 22, 2005 10:20 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: How to handle manipulation of Date object
and Timezones elegantly in Flex?

On 12/22/05, Matt Chotin [EMAIL PROTECTED] wrote:
 Are there other developers out here who've been building apps that
need
 to work in multiple timezones (or store their dates in GMT but work in
 another)?  I know I've answered some issues before in the past, if
 anyone wants to speak up ;-)

We have a similar but slightly different use-case (and unresolved
problem, for that matter): Our clients will be all over the world and
will be sending dates back to our database via RemoteObject calls.
When the date object is serialized, Flex automatically takes care of
updating the time zone information. However, this is actually *not*
what we want to happen because we are sending back dates with 00:00:00
timestamps (i.e. no time information). However, when this information
crosses timezones during serialization, 00:00:00 becomes a time
(midnight), which is then offset according to the timezone difference,
and the date possibly becomes a day off. E.g. a date of 25-Dec-2005
00:00:00 GMT on the client becomes 24-Dec-2005 17:00:00 EST in the
database. And those of us who celebrate Christmas know that 24-Dec !=
25-Dec

If there was a way that we could configure our clients to work in the
same timezone as our server, then we'd be all set. Alternatively, if
we could configure serialization to ignore timezone information then
our dates wouldn't be corrupted. Maybe there is already an easy
solution. I haven't had a chance to dig into the problem too much. But
any suggestions are appreciated.

Jim



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



 




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

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

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

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

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





RE: [flexcoders] [Flex 2.0] XMLEncoder

2005-12-27 Thread Matt Chotin
XMLEncoder is really simple.  You'll have a function that takes an
object as a parameter.  That function is expected to return an object of
type XML.  How you create that XML object is completely up to you.  So
you can just go through all of your object properties and build up an
XML document however you please.  

As for PHP I don't know the language so I'm not sure how it would work.
The thing is that the data is not going to come through as form encoding
so the normal request object is not going to be some Map, it should just
be the character data.

As an alternative you could of course send a single parameter as a
String to your HTTPService, just do your own object-to-string conversion
before calling send() (and that could turn the object into an XML
string).

HTH,
Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of alpharythms
Sent: Saturday, December 24, 2005 5:01 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] [Flex 2.0] XMLEncoder

Sorry for previous partial message.  
[mouse click was a bit sloppy when checking the preview]

Does anyone have any examples of using the XMLEncoder class in Flex 2.0.
Language reference is here:
http://livedocs.macromedia.com/labs/1/flex/langref/mx/rpc/xml/XMLEncoder
.html

And/or

Does anyone have an example of using the contentType set to
application/xml in an HTTPService call?  
http://livedocs.macromedia.com/labs/1/flex/langref/mx/rpc/http/HTTPServi
ce.html#contentType

In particular how would I get this data if it was sent to a PHP script
since I imagine you wouldn't be able to use $_REQUEST['']...

Thanks,
Adam Schroeder








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



 





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

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

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

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

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




Re: [flexcoders] Re: How to handle manipulation of Date object and Timezones elegantly in Flex?

2005-12-27 Thread Paul Hastings
Matt Chotin wrote:
 I've filed an internal enhancement request for more options to
 manipulate the timezone.  Who knows what we'll get out of it but
 hopefully I can at least get a little discussion going internally.  More

while you're at it, why not something for locales?


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

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

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

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

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





RE: [flexcoders] Nested faceless components. keeping IDs and DataBinding

2005-12-27 Thread Matt Chotin
I think we're going to allow nested ids in Flex 2.  

For Flex 1.5 though you might be able to make Person an MXMLObject which
would then have its initialized() method called as it gets created.
That call would pass the MXML document which created the object and you
could then attach the person using an id.  We have hard-coded id to
not be allowed on deeper faceless objects, but you could use another
name and then just assign that as the variable name for the document.
Something like this:

function initialized(document, id):Void
{
  Var myId:String = this['valueYouPicked'];
  Document[myId] = this;
}

Now what I don't remember is if when we instantiate via the Array if the
MXMLObject initialized will be called.  You'd need to look at the
generated actionscript (turn keep-generated-actionscript on in
flex-config) to be sure.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Aldo Bucchi
Sent: Monday, December 26, 2005 3:25 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Nested faceless components. keeping IDs and
DataBinding

Hi all,

It would be great to have IDs and databinding available to faceless
data structures.
Unfortunately, there are some restrictions that apply to faceless
components.

Is there any (hacky) way to declare a nested faceless component in an
MXML document and assign a document scoped ID to it ??

This is not legal as there are IDs in the nested components.

c:Person id=foo
c:children
mx:Array
c:Person id=barbie/
c:Person id=birbie/
/mx:Array
/c:children
/c:Person


One ugly way would be to extend a container and do something like the
following

c:Person id=foo
c:Person id=barbie/
c:Person id=birbie/
/c:Person

Now, this limits me to assigning all children to one array... not to
mention the overhead and component-lifecycle-related trouble.


For now the only legal solution is the following I guess...

c:Person id=foo/
c:Person id=barbie parent={foo}/
c:Person id=birbie parent={foo}/


Evidently the benefit of using XML is lost.


Any ideas?



--
: Aldo Bucchi :
mobile (56) 8 429 8300



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



 





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

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

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

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

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





RE: [flexcoders] Re: How to handle manipulation of Date object and Timezones elegantly in Flex?

2005-12-27 Thread Matt Chotin
Go ahead and file at http://www.macromedia.com/go/wish.

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Paul Hastings
Sent: Tuesday, December 27, 2005 12:23 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: How to handle manipulation of Date object
and Timezones elegantly in Flex?

Matt Chotin wrote:
 I've filed an internal enhancement request for more options to
 manipulate the timezone.  Who knows what we'll get out of it but
 hopefully I can at least get a little discussion going internally.
More

while you're at it, why not something for locales?



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



 





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

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

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

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

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




RE: [flexcoders] Why not XSD import not use in WSDL file in Flex WebService!

2005-12-27 Thread Matt Chotin
When you requested
http://localhost:8080/MyWebService/schema/HelloService_schema1.xsd from
the browser does it show up correctly?  I just saw schema importing
working in another case, though it was Flex 2, I thought we had it
working in 1.5 but there may be problems...

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of flexhtoo
Sent: Tuesday, December 27, 2005 9:00 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Why not XSD import not use in WSDL file in Flex
WebService!

The following are that I call Web-Service in Flex! But I have one
problem  in this from.

mx:WebService id=ws
wsdl=http://localhost:8080/MyWebService/HelloWebService?WSDL;
service=HelloService
userProxy=false
showBusyCursor=true
fault=Alert.show('WSDL Load error');

mx:operation name=getHelloWorld
concurrency=single
resultFormat=e4x
fault=opFaultHandler(event)
result=opResultHandler(event)/
/mx:WebService

mx:Button label=Hello World
click=ws.getHelloWorld.send([{message:Hello Flex!!!}])/

mx:Script
   ![CDATA[

// Implement the event handler

   ]]
/mx:Script




In this situtation I haven't click could not result! 
It shown up error tns:helloWorld cannot resolve!

That time I copy the WSDL manually and for fix this problem that I
remove the 
xsd:schema
xsd:import namespace=http://com.test.application/HelloWS;
schemaLocation=http://localhost:8080/MyWebService/schema/HelloService_s
chema1.xsd/
/xsd:schema
with its schemalocation in browse and copy the entire schema into that
text.

And then I run it. It's ok. Why can't import XSD in WSDL!


And then Another Problem!
It is RPC not Doc Lit...


I want to konw how to and what change this source for Document Lit.


Flexhtoo.






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



 





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

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

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

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

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




[flexcoders] Custom Validation Error

2005-12-27 Thread JesterXL
I've been trying to solve this for a week.  I'm making progress, but at a 
snails pace.  My goal is to have my custom component show a tooltip like 
TextInputs do when you have a validation error.

In my debugging various Flex framework files, apparently 
_Application_watcherSetup creates a bunch of PropertyWatchers.  The issue 
is, my custom comonent proprties do not pass in an object for the 2nd 
parameter to PropertyWatcher, and thus do not trigger validation events so 
Binding + ToolTipManager and friends can show a validation error as a 
tooltip with the errorString.

The Application-generated.as file is weird, though; the 
_Application_watcherSetup just has 3 dependecy variables, and I can't find 
who is creating the PropertyWatchers even though the FlexBuilder 1.5 call 
stack claims it's that function.

Any guidance?



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

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

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

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

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





RE: [flexcoders] Custom Validation Error

2005-12-27 Thread Matt Chotin
Do you want it watching per key-stroke or when the user hits enter or
removes focus.  I don't think you want to try to emulate the
PropertyWatcher setup if you have your own component to begin with, it
relies on the compiler knowing what to generate and lots of other setup
independent of the individual component.

So just add an event listener on the input for the change event (per
key-stroke) or on the enter or focusOut event for a more delayed
reaction.  Then in the handler for the event do whatever you want to do,
and if there's a problem set the errorString property.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of JesterXL
Sent: Tuesday, December 27, 2005 12:19 PM
To: Flexcoders
Subject: [flexcoders] Custom Validation Error

I've been trying to solve this for a week.  I'm making progress, but at
a 
snails pace.  My goal is to have my custom component show a tooltip like

TextInputs do when you have a validation error.

In my debugging various Flex framework files, apparently 
_Application_watcherSetup creates a bunch of PropertyWatchers.  The
issue 
is, my custom comonent proprties do not pass in an object for the 2nd 
parameter to PropertyWatcher, and thus do not trigger validation events
so 
Binding + ToolTipManager and friends can show a validation error as a 
tooltip with the errorString.

The Application-generated.as file is weird, though; the 
_Application_watcherSetup just has 3 dependecy variables, and I can't
find 
who is creating the PropertyWatchers even though the FlexBuilder 1.5
call 
stack claims it's that function.

Any guidance?




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



 





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

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

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

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

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




Re: [flexcoders] Extra space problem in ViewStack while using Text with 100% width defined

2005-12-27 Thread Andriy Panas
Hello Sergey,

Tuesday, December 27, 2005, 3:43:09 PM, you wrote:

Thank you for the straightforward example. I think you had encountered
the problem because of ViewStack does not know exactly of what height
it should be rendered, because you omitted atribute height for your
ViewStack instance.


Try the following:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
mx:ViewStack width=100% borderStyle=solid height={contentSize.height}
mx:VBox width=100% borderStyle=solid id=content
mx:Text width=100% id=contentSize text=An Ithaca College 
dean is
encouraging students to instead think small - and she's offering a $5,000
prize to do it. The school has invited high school and college students
across America to submit a 30-second movie shot entirely with a cell phone.
/
/mx:VBox
/mx:ViewStack
/mx:Application


Notice the binding set for ViewStack's attribute height.

 Look at this application:

 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
 mx:ViewStack width=100% borderStyle=solid
 mx:VBox width=100% borderStyle=solid
 mx:Text width=100% text=An Ithaca College dean is
 encouraging students to instead think small - and she's offering a $5,000
 prize to do it. The school has invited high school and college students
 across America to submit a 30-second movie shot entirely with a cell phone.
/
 /mx:VBox
 /mx:ViewStack
 /mx:Application


-- 
Best regards,
 Andriymailto:[EMAIL PROTECTED]



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

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

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

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

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





RE: [flexcoders] Custom Validation Error

2005-12-27 Thread Matt Chotin
Actually, I'm not paying attention here.  If you have a custom component
and were already using a validator, all you need to do is override
validationFailed and validationSucceeded (I think those are the method
names) and you'll be able to raise your tooltip.  Just make sure that
that the listener property for the validator points to you (which it
should if your component is the source of the binding that triggers
validation, otherwise just set it).

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of JesterXL
Sent: Tuesday, December 27, 2005 12:19 PM
To: Flexcoders
Subject: [flexcoders] Custom Validation Error

I've been trying to solve this for a week.  I'm making progress, but at
a 
snails pace.  My goal is to have my custom component show a tooltip like

TextInputs do when you have a validation error.

In my debugging various Flex framework files, apparently 
_Application_watcherSetup creates a bunch of PropertyWatchers.  The
issue 
is, my custom comonent proprties do not pass in an object for the 2nd 
parameter to PropertyWatcher, and thus do not trigger validation events
so 
Binding + ToolTipManager and friends can show a validation error as a 
tooltip with the errorString.

The Application-generated.as file is weird, though; the 
_Application_watcherSetup just has 3 dependecy variables, and I can't
find 
who is creating the PropertyWatchers even though the FlexBuilder 1.5
call 
stack claims it's that function.

Any guidance?




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



 





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

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

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

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

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




Re: [flexcoders] Custom Validation Error

2005-12-27 Thread JesterXL
I love how when I send emails, I make accelerated progress... well, some. 
Ok, looking at TextInput, apparently I needed some weird metatags:

[Bindable]
 [ChangeEvent(valueCommitted)]
   [ChangeEvent(clear)]
   [NonCommittingChangeEvent(change)]

I put those above my public variable, and I now get the tooltip error... 
however, it doesn't draw the red-rect.  I guess I have to implement my own 
drawFocus, pressFocus methods?

- Original Message - 
From: JesterXL [EMAIL PROTECTED]
To: Flexcoders flexcoders@yahoogroups.com
Sent: Tuesday, December 27, 2005 12:18 PM
Subject: [flexcoders] Custom Validation Error


I've been trying to solve this for a week.  I'm making progress, but at a
snails pace.  My goal is to have my custom component show a tooltip like
TextInputs do when you have a validation error.

In my debugging various Flex framework files, apparently
_Application_watcherSetup creates a bunch of PropertyWatchers.  The issue
is, my custom comonent proprties do not pass in an object for the 2nd
parameter to PropertyWatcher, and thus do not trigger validation events so
Binding + ToolTipManager and friends can show a validation error as a
tooltip with the errorString.

The Application-generated.as file is weird, though; the
_Application_watcherSetup just has 3 dependecy variables, and I can't find
who is creating the PropertyWatchers even though the FlexBuilder 1.5 call
stack claims it's that function.

Any guidance?




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








 Yahoo! Groups Sponsor ~-- 
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/WpTY2A/izNLAA/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] How caching is done in flex

2005-12-27 Thread Carson Hager





By default, all caching in Flex would be done client 
side. There are no built in caching faciilities per se but unless you set 
the headers explicitly, all httpservice calls with the same parameters will be 
cached by the underlying browser at the browser's choice. This is especially 
prevalent when using IE.


Carson

  Carson Hager Cynergy Systems, Inc. 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 manish 
sharmaSent: Monday, December 26, 2005 9:27 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] How caching is done 
in flex

hi all
i am very new to flex 

please tell me how caching is done in flex and how it is different from 
that in.Net 

please send me some links so as to read caching in detail

thanks and regards- Manish Sharma



Yahoo! ShoppingFind Great Deals on Holiday Gifts at Yahoo! 
Shopping 





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





  




  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] Custom Validation Error

2005-12-27 Thread Matt Chotin
The border stuff was done through borderStyle I believe with
errorTooltipRight or something like that.  So your component may need to
support that style.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of JesterXL
Sent: Tuesday, December 27, 2005 12:30 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Custom Validation Error

I love how when I send emails, I make accelerated progress... well,
some. 
Ok, looking at TextInput, apparently I needed some weird metatags:

[Bindable]
 [ChangeEvent(valueCommitted)]
   [ChangeEvent(clear)]
   [NonCommittingChangeEvent(change)]

I put those above my public variable, and I now get the tooltip error...

however, it doesn't draw the red-rect.  I guess I have to implement my
own 
drawFocus, pressFocus methods?

- Original Message - 
From: JesterXL [EMAIL PROTECTED]
To: Flexcoders flexcoders@yahoogroups.com
Sent: Tuesday, December 27, 2005 12:18 PM
Subject: [flexcoders] Custom Validation Error


I've been trying to solve this for a week.  I'm making progress, but at
a
snails pace.  My goal is to have my custom component show a tooltip like
TextInputs do when you have a validation error.

In my debugging various Flex framework files, apparently
_Application_watcherSetup creates a bunch of PropertyWatchers.  The
issue
is, my custom comonent proprties do not pass in an object for the 2nd
parameter to PropertyWatcher, and thus do not trigger validation events
so
Binding + ToolTipManager and friends can show a validation error as a
tooltip with the errorString.

The Application-generated.as file is weird, though; the
_Application_watcherSetup just has 3 dependecy variables, and I can't
find
who is creating the PropertyWatchers even though the FlexBuilder 1.5
call
stack claims it's that function.

Any guidance?




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









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



 




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

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

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

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

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




Re: [flexcoders] Custom Validation Error

2005-12-27 Thread JesterXL
I copied the border_mc (RectBorder) code from TextInput, and implemented it 
in my custom component.  However, he doesn't have the green border when 
focused, nor does the error tooltip go away when I validate.

Fixing the former I think is easy; I have to use pressFocus since there is 
no key usage.  Not sure about removing the tooltip, though...

- Original Message - 
From: JesterXL [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, December 27, 2005 12:30 PM
Subject: Re: [flexcoders] Custom Validation Error


I love how when I send emails, I make accelerated progress... well, some.
Ok, looking at TextInput, apparently I needed some weird metatags:

[Bindable]
 [ChangeEvent(valueCommitted)]
   [ChangeEvent(clear)]
   [NonCommittingChangeEvent(change)]

I put those above my public variable, and I now get the tooltip error...
however, it doesn't draw the red-rect.  I guess I have to implement my own
drawFocus, pressFocus methods?

- Original Message - 
From: JesterXL [EMAIL PROTECTED]
To: Flexcoders flexcoders@yahoogroups.com
Sent: Tuesday, December 27, 2005 12:18 PM
Subject: [flexcoders] Custom Validation Error


I've been trying to solve this for a week.  I'm making progress, but at a
snails pace.  My goal is to have my custom component show a tooltip like
TextInputs do when you have a validation error.

In my debugging various Flex framework files, apparently
_Application_watcherSetup creates a bunch of PropertyWatchers.  The issue
is, my custom comonent proprties do not pass in an object for the 2nd
parameter to PropertyWatcher, and thus do not trigger validation events so
Binding + ToolTipManager and friends can show a validation error as a
tooltip with the errorString.

The Application-generated.as file is weird, though; the
_Application_watcherSetup just has 3 dependecy variables, and I can't find
who is creating the PropertyWatchers even though the FlexBuilder 1.5 call
stack claims it's that function.

Any guidance?




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









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







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

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

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

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

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




RE: [flexcoders] How caching is done in flex

2005-12-27 Thread Matt Chotin










What kind of caching are you talking
about? The Flex SWF will be cached by the browser just like an image is cached
by the browser, so repeated requests to the same SWF should come back quickly.
The server caches compiled pieces of code so that it isnt re-compiling
all the time, that makes the first request of an MXML file potentially slow but
subsequent requests are fast.



Caching of data (like web service results
etc) is completely up to you. Macromedia Consulting introduced a package
called FAST which does assist in some service caching (http://www.macromedia.com/devnet/flex/articles/fast_userguide.html).



Hope this can get you started,



Matt











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of manish sharma
Sent: Tuesday, December 27, 2005
12:27 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How caching
is done in flex







hi all





i am very new to flex 











please tell me how caching is done in flex and how it is different from
that in.Net 











please send me some links so as to read caching in detail












thanks and regards
- Manish Sharma















Yahoo! Shopping
Find Great Deals on Holiday Gifts at Yahoo!
Shopping 







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








  
  
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] Custom Validation Error

2005-12-27 Thread JesterXL
Ok, set tabEnabled = true, and pressFocus  releaseFocus draw the focusRect 
correctly, as well as during an error.  He extends UIComponent, so I'm 
already supporting all of the necessary styles.

It's hard to reproduce, but the tooltip will stick sometimes in both Flash 
Player 7 IE and Flash Player 8.5 Firefox 1.5.  Anyway, close enough... 
unless you have an idea to force-remove the tooltip.

- Original Message - 
From: JesterXL [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, December 27, 2005 1:03 PM
Subject: Re: [flexcoders] Custom Validation Error


I copied the border_mc (RectBorder) code from TextInput, and implemented it
in my custom component.  However, he doesn't have the green border when
focused, nor does the error tooltip go away when I validate.

Fixing the former I think is easy; I have to use pressFocus since there is
no key usage.  Not sure about removing the tooltip, though...

- Original Message - 
From: JesterXL [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, December 27, 2005 12:30 PM
Subject: Re: [flexcoders] Custom Validation Error


I love how when I send emails, I make accelerated progress... well, some.
Ok, looking at TextInput, apparently I needed some weird metatags:

[Bindable]
 [ChangeEvent(valueCommitted)]
   [ChangeEvent(clear)]
   [NonCommittingChangeEvent(change)]

I put those above my public variable, and I now get the tooltip error...
however, it doesn't draw the red-rect.  I guess I have to implement my own
drawFocus, pressFocus methods?

- Original Message - 
From: JesterXL [EMAIL PROTECTED]
To: Flexcoders flexcoders@yahoogroups.com
Sent: Tuesday, December 27, 2005 12:18 PM
Subject: [flexcoders] Custom Validation Error


I've been trying to solve this for a week.  I'm making progress, but at a
snails pace.  My goal is to have my custom component show a tooltip like
TextInputs do when you have a validation error.

In my debugging various Flex framework files, apparently
_Application_watcherSetup creates a bunch of PropertyWatchers.  The issue
is, my custom comonent proprties do not pass in an object for the 2nd
parameter to PropertyWatcher, and thus do not trigger validation events so
Binding + ToolTipManager and friends can show a validation error as a
tooltip with the errorString.

The Application-generated.as file is weird, though; the
_Application_watcherSetup just has 3 dependecy variables, and I can't find
who is creating the PropertyWatchers even though the FlexBuilder 1.5 call
stack claims it's that function.

Any guidance?




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









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








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







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

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

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

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

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





Re: [flexcoders] Custom Validation Error

2005-12-27 Thread JesterXL
Apparently, if I dispatch a change event, the errorTip will go away 
according to ToolTipManager, but dispatching this does not remove it, nor 
does tweaking the metatags.  Hrm...

- Original Message - 
From: JesterXL [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, December 27, 2005 1:39 PM
Subject: Re: [flexcoders] Custom Validation Error


Ok, set tabEnabled = true, and pressFocus  releaseFocus draw the focusRect
correctly, as well as during an error.  He extends UIComponent, so I'm
already supporting all of the necessary styles.

It's hard to reproduce, but the tooltip will stick sometimes in both Flash
Player 7 IE and Flash Player 8.5 Firefox 1.5.  Anyway, close enough...
unless you have an idea to force-remove the tooltip.

- Original Message - 
From: JesterXL [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, December 27, 2005 1:03 PM
Subject: Re: [flexcoders] Custom Validation Error


I copied the border_mc (RectBorder) code from TextInput, and implemented it
in my custom component.  However, he doesn't have the green border when
focused, nor does the error tooltip go away when I validate.

Fixing the former I think is easy; I have to use pressFocus since there is
no key usage.  Not sure about removing the tooltip, though...

- Original Message - 
From: JesterXL [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, December 27, 2005 12:30 PM
Subject: Re: [flexcoders] Custom Validation Error


I love how when I send emails, I make accelerated progress... well, some.
Ok, looking at TextInput, apparently I needed some weird metatags:

[Bindable]
 [ChangeEvent(valueCommitted)]
   [ChangeEvent(clear)]
   [NonCommittingChangeEvent(change)]

I put those above my public variable, and I now get the tooltip error...
however, it doesn't draw the red-rect.  I guess I have to implement my own
drawFocus, pressFocus methods?

- Original Message - 
From: JesterXL [EMAIL PROTECTED]
To: Flexcoders flexcoders@yahoogroups.com
Sent: Tuesday, December 27, 2005 12:18 PM
Subject: [flexcoders] Custom Validation Error


I've been trying to solve this for a week.  I'm making progress, but at a
snails pace.  My goal is to have my custom component show a tooltip like
TextInputs do when you have a validation error.

In my debugging various Flex framework files, apparently
_Application_watcherSetup creates a bunch of PropertyWatchers.  The issue
is, my custom comonent proprties do not pass in an object for the 2nd
parameter to PropertyWatcher, and thus do not trigger validation events so
Binding + ToolTipManager and friends can show a validation error as a
tooltip with the errorString.

The Application-generated.as file is weird, though; the
_Application_watcherSetup just has 3 dependecy variables, and I can't find
who is creating the PropertyWatchers even though the FlexBuilder 1.5 call
stack claims it's that function.

Any guidance?




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









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








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








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








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

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

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

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

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




Re: [flexcoders] Custom Validation Error

2005-12-27 Thread JesterXL
Er, take that back; if I dispatch it before dispatchValueCommittedEvent();, 
she's good to go!

- Original Message - 
From: JesterXL [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, December 27, 2005 1:45 PM
Subject: Re: [flexcoders] Custom Validation Error


Apparently, if I dispatch a change event, the errorTip will go away
according to ToolTipManager, but dispatching this does not remove it, nor
does tweaking the metatags.  Hrm...

- Original Message - 
From: JesterXL [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, December 27, 2005 1:39 PM
Subject: Re: [flexcoders] Custom Validation Error


Ok, set tabEnabled = true, and pressFocus  releaseFocus draw the focusRect
correctly, as well as during an error.  He extends UIComponent, so I'm
already supporting all of the necessary styles.

It's hard to reproduce, but the tooltip will stick sometimes in both Flash
Player 7 IE and Flash Player 8.5 Firefox 1.5.  Anyway, close enough...
unless you have an idea to force-remove the tooltip.

- Original Message - 
From: JesterXL [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, December 27, 2005 1:03 PM
Subject: Re: [flexcoders] Custom Validation Error


I copied the border_mc (RectBorder) code from TextInput, and implemented it
in my custom component.  However, he doesn't have the green border when
focused, nor does the error tooltip go away when I validate.

Fixing the former I think is easy; I have to use pressFocus since there is
no key usage.  Not sure about removing the tooltip, though...

- Original Message - 
From: JesterXL [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, December 27, 2005 12:30 PM
Subject: Re: [flexcoders] Custom Validation Error


I love how when I send emails, I make accelerated progress... well, some.
Ok, looking at TextInput, apparently I needed some weird metatags:

[Bindable]
 [ChangeEvent(valueCommitted)]
   [ChangeEvent(clear)]
   [NonCommittingChangeEvent(change)]

I put those above my public variable, and I now get the tooltip error...
however, it doesn't draw the red-rect.  I guess I have to implement my own
drawFocus, pressFocus methods?

- Original Message - 
From: JesterXL [EMAIL PROTECTED]
To: Flexcoders flexcoders@yahoogroups.com
Sent: Tuesday, December 27, 2005 12:18 PM
Subject: [flexcoders] Custom Validation Error


I've been trying to solve this for a week.  I'm making progress, but at a
snails pace.  My goal is to have my custom component show a tooltip like
TextInputs do when you have a validation error.

In my debugging various Flex framework files, apparently
_Application_watcherSetup creates a bunch of PropertyWatchers.  The issue
is, my custom comonent proprties do not pass in an object for the 2nd
parameter to PropertyWatcher, and thus do not trigger validation events so
Binding + ToolTipManager and friends can show a validation error as a
tooltip with the errorString.

The Application-generated.as file is weird, though; the
_Application_watcherSetup just has 3 dependecy variables, and I can't find
who is creating the PropertyWatchers even though the FlexBuilder 1.5 call
stack claims it's that function.

Any guidance?




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









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








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








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









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







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

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

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

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

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




RE: [flexcoders] Extra space problem in ViewStack while using Text with 100% width defined

2005-12-27 Thread Matt Chotin
Look into the margin styles maybe?

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sergey Kovalyov
Sent: Tuesday, December 27, 2005 8:43 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Extra space problem in ViewStack while using Text
with 100% width defined

Hi All!

Look at this application:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
mx:ViewStack width=100% borderStyle=solid
mx:VBox width=100% borderStyle=solid
mx:Text width=100% text=An Ithaca College dean is
encouraging students to instead think small - and she's offering a
$5,000
prize to do it. The school has invited high school and college students
across America to submit a 30-second movie shot entirely with a cell
phone.
/
/mx:VBox
/mx:ViewStack
/mx:Application

Why does extra space appear below the text? What is the proper way to
get
rid of this bug? Thank you.

Regards, Sergey.




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



 




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

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

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

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

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




Re: [flexcoders] Flex Development on the Mac

2005-12-27 Thread JesterXL
Er, G4 I think.

- Original Message - 
From: JesterXL [EMAIL PROTECTED]
To: Flexcoders flexcoders@yahoogroups.com
Sent: Tuesday, December 27, 2005 3:20 PM
Subject: [flexcoders] Flex Development on the Mac


I know nothing about Macs.  I have access to one, and would like to develop
Flex on it so I have an excuse to leave the house.

On the PC, I use:
- Apache Tomcat
- FlexBulder 1.5
- Firefox 1.5

Anybody know what I can do on a fresh G3 Powerbook?  Thanks in advance!




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







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

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

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

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

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





Re: [flexcoders] Flex Development on the Mac

2005-12-27 Thread Weyert de Boer
JesterXL wrote:
 Er, G4 I think
Yeah, Tomcat and Firefox are both available for the Mac. You can install 
Tomcat via DarwinPorts. Only Flex Builder isn't available for the Mac it 
never was. Hopefully with version 2.0 using Eclipse it will, because 
Eclipse is.




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

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

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

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

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




[flexcoders] Having hard time understanding what features are available to whom when and how

2005-12-27 Thread BCichowlas
Hi!

I'm an independent developer trying to put together an RIA demo for
potential investors in a proposed enterprise.  This proposed
enterprise is not a software company but would make heavy use of an
RIA application.

My most reasonable choices seem to be Flex, Laszlo or Ajax (in its
many variations).  I spent the last week with the Iteration Two Flex
book, downloading what is available freely to developers from the
Macromedia/Adobe site.

As part of my demo, I need to be able to change the color of irregular
small shapes.  The shapes themselves are known in advance and don't
change.  For the sake of discussion, it is as if I had an outline of
New England, divided into the six New England states and I wanted to
be able to choose one of eight colors for each of the states based on
user interaction.

After looking at the complexities of Ajax, Flex seemed like an ideal
choice.  Since I develop under Eclipse and since the 2.0 alpha seemed
like a generally usable version, it was my first choice.  However, the
examples in the Iteration Two book seem to be written for 1.0 or 1.5,
and I spent quite a while trying to run them under 2.0 with varying
degrees of success.

My database needs for this demo application are modest, but I did want
to be able to use RemoteObject.  I was never able to get anything
using RemoteObject to operate successfully.  I was developing under
Eclipse and using the Run Flex application to try to run my
application.  I'm not sure exactly what runtime environment this
results in, but I had been successful at getting some small forms
running successfully and trading string messages with the server.

Is RemoteObject supposed to be possible using only the 2.0 alpha
materials?  If not, what do I need?  The Cold Fusion server
extensions?  The Enterprise version?  Is what I need available now? 
Does it cost money just to use for a demo?  Are there some examples of
using a RemoteObject under 2.0 that I could try under Eclipse?  Should
I be using 1.5 instead?

I am wondering if my expectations of the 2.0 alpha are inappropriate
for programming a demo now and in January 2006.  I'm not a Cold Fusion
user and have only a rudimentary understanding of its operation.  I'm
 now thinking that I should use Ajax or possibly Laszlo, but would
listen carefully to any argument that Flex is the right choice.

Thanks,
Bruce
  






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

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

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

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

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





[flexcoders] Re: [Flex 2.0] XMLEncoder

2005-12-27 Thread alpharythms
Thanks Matt,

That makes sense, basically you are just telling the HTTPService to
use myXmlConvert function to convert the object into XML.  I thought
HTTPService might have had a built in way of doing this conversion.  

I understand I can write my own code to do this but I would rather
learn how the API's work if it is possible to do it that way.

Currently I'm working directly with the XML data (instead of
converting it into an object first) so I can pull it out back out again.
http://www.evilfree.com/adam/blog/2005/12/flex_example_editing_xml_save.html

But I'm losing some of the automatic binding that is possible and
having to manually create arrays to use as dataproviders.  This will
only get more tedious as I start doing more advanced data manipulation.

There is an XMLEncoder class that says:
---
Take ActionScript Objects and encode them to XML. If schema metadata
is available, use it, otherwise use default serialization. Supports
SOAP encoded arrays.
---

The use of a schema metadata is particularly interesting to me if that
allows you to customize the exact formatting that XML will be in after
it is converted from a generic object.

I've yet to actually use a schema with XML in general and with Flex
2.0 being an alpha I don't even know if this class works as
documented.  I was hoping to see some source code or hear from people
that this class work correctly.   I would hate to spend hours and
hours trying to determine if I'm doing something incorrectly or if
it's a bug (or unimplemented) in Flex.

Thanks Again!
Adam







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

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

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

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

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




Re: [flexcoders] Having hard time understanding what features are available to whom when and how

2005-12-27 Thread JesterXL
I cannot answer all of your questions, but here are my suggestions.
- assuming on Windows, download Apache Tomcat
- download Flex 1.5 demo
- install Flex 1.5 demo with just FlexBuilder 1.5
- copy and paste the flex.war  samples.war files into Tomcat's webapps 
directory

Hit the samples page to ensure all is well.  On mine, it's:

http://localhost:8080/samples/

I've yet to get Flex 2 to work with Remoting + AMFPHP.  Considering AMF (the 
binary format used to send serialized class bits across the wire) is 
undergoing big changes, OpenAMF (Java) and AMFPHP (PHP) don't really work 
yet.

I've heard of some people getting Remoting to work with the CFAdapter, but I 
don't use CF ( I do at work, but I don't code it).  Some have reported 
success with the WebService/HTTPService.

Me?  I use Flex 1.5 every day and it works great.  At night, I moonlight in 
Flex 2, but she's still alpha, so we have a ways to go.

The bad news is, for those client developers (like me) who only care about 
the client, Flex 1.5 has the server requirement.  However, you can still 
snag SWF's off of the server once compiled as well as to show clients of 
what's possible.  Good news, she works great, HTTPService (GET/POST) works, 
WebService works, and RemoteObject works with AMFPHP, OpenAMF, and 
ColdFusion.

Hope that helps some.  Feel free to post more questions.

- Original Message - 
From: BCichowlas [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, December 27, 2005 4:22 PM
Subject: [flexcoders] Having hard time understanding what features are 
available to whom when and how


Hi!

I'm an independent developer trying to put together an RIA demo for
potential investors in a proposed enterprise.  This proposed
enterprise is not a software company but would make heavy use of an
RIA application.

My most reasonable choices seem to be Flex, Laszlo or Ajax (in its
many variations).  I spent the last week with the Iteration Two Flex
book, downloading what is available freely to developers from the
Macromedia/Adobe site.

As part of my demo, I need to be able to change the color of irregular
small shapes.  The shapes themselves are known in advance and don't
change.  For the sake of discussion, it is as if I had an outline of
New England, divided into the six New England states and I wanted to
be able to choose one of eight colors for each of the states based on
user interaction.

After looking at the complexities of Ajax, Flex seemed like an ideal
choice.  Since I develop under Eclipse and since the 2.0 alpha seemed
like a generally usable version, it was my first choice.  However, the
examples in the Iteration Two book seem to be written for 1.0 or 1.5,
and I spent quite a while trying to run them under 2.0 with varying
degrees of success.

My database needs for this demo application are modest, but I did want
to be able to use RemoteObject.  I was never able to get anything
using RemoteObject to operate successfully.  I was developing under
Eclipse and using the Run Flex application to try to run my
application.  I'm not sure exactly what runtime environment this
results in, but I had been successful at getting some small forms
running successfully and trading string messages with the server.

Is RemoteObject supposed to be possible using only the 2.0 alpha
materials?  If not, what do I need?  The Cold Fusion server
extensions?  The Enterprise version?  Is what I need available now?
Does it cost money just to use for a demo?  Are there some examples of
using a RemoteObject under 2.0 that I could try under Eclipse?  Should
I be using 1.5 instead?

I am wondering if my expectations of the 2.0 alpha are inappropriate
for programming a demo now and in January 2006.  I'm not a Cold Fusion
user and have only a rudimentary understanding of its operation.  I'm
 now thinking that I should use Ajax or possibly Laszlo, but would
listen carefully to any argument that Flex is the right choice.

Thanks,
Bruce








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








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

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

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

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

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




Re: [flexcoders] Flex Development on the Mac

2005-12-27 Thread Jordan Snyder



What about Flex 2 development on a Mac? Anyone?


Cheers
On 12/27/05, Weyert de Boer [EMAIL PROTECTED] wrote:
JesterXL wrote: Er, G4 I thinkYeah, Tomcat and Firefox are both available for the Mac. You can install 
Tomcat via DarwinPorts. Only Flex Builder isn't available for the Mac it never was. Hopefully with version 2.0 using Eclipse it will, because Eclipse is.
--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 


YAHOO! GROUPS LINKS 

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



-- Jordan SnyderApplications DeveloperImage Action LLChttp://www.imageaction.com 






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Flex Development on the Mac

2005-12-27 Thread Jason Weiss
Title: Re: [flexcoders] Flex Development on the Mac





I do 100% of my Flex development on my Mac G5 Quad using Tomcat, Apache ANT, Apache AXIS and an array of databases, from Sybase to mySQL (depending on the client). I use BBEdit (cant speak for Adobes official position on FlexBuilder 2.0 on the Mac platform), Eclipse for my web services development, and a bit of command line magic here and there. The bottom line is that it is absolutely feasible to do full-fledged development on a Mac. Naturally, only Adobe can say if they will officially support 2.0 on the Mac.

HTH,

Jason



__
Jason Weiss
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com

Email: jasonDOTweissATcynergysystemsDOTcom__nospam
Office: 866-CYNERGY




On 12/27/05 3:41 PM, Jordan Snyder [EMAIL PROTECTED] wrote:

What about Flex 2 development on a Mac? Anyone?


Cheers


On 12/27/05, Weyert de Boer [EMAIL PROTECTED] wrote: 
JesterXL wrote:
 Er, G4 I think
Yeah, Tomcat and Firefox are both available for the Mac. You can install 
Tomcat via DarwinPorts. Only Flex Builder isn't available for the Mac it 
never was. Hopefully with version 2.0 using Eclipse it will, because 
Eclipse is.




--
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 http://groups.yahoo.com/group/flexcoders  on the web.
 
 To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
 
 Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ .











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











Re: [flexcoders] Flex Development on the Mac

2005-12-27 Thread Leif Wells



http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=582threadid=1067652highlight_key=ykeyword1=os%20x#3819358

(searching the forums with the term os x found that item. Look at the posts that have the Macromedia logo.

Leif
On 12/27/05, Jordan Snyder [EMAIL PROTECTED] wrote:



What about Flex 2 development on a Mac? Anyone?


Cheers
On 12/27/05, Weyert de Boer [EMAIL PROTECTED]
 wrote:
JesterXL wrote: Er, G4 I thinkYeah, Tomcat and Firefox are both available for the Mac. You can install 
Tomcat via DarwinPorts. Only Flex Builder isn't available for the Mac it never was. Hopefully with version 2.0 using Eclipse it will, because Eclipse is.
--Flexcoders Mailing ListFAQ: 

http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 

http://www.mail-archive.com/flexcoders%40yahoogroups.com 


YAHOO! GROUPS LINKS 

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

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




-- Jordan SnyderApplications DeveloperImage Action LLC
http://www.imageaction.com 






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group flexcoders on the web.

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




  















--
Flexcoders 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] Having hard time understanding what features are available to whom when and how

2005-12-27 Thread Matt Chotin
I think you'll find 1.5 a more stable development experience in the next
month though of course 2.0 offers a lot of stuff.  For RemoteObject in
2.0 for now you do need the 2.0 CF adapter, but as many folks will be
happy to point out you could also just expose your Java objects via a
WebService using Apache Axis instead (this should be done in the 2.0
samples maybe but is definitely in 1.5 for reference).  The Flex 2 alpha
will hint at functionality (like RemoteObject) that may not actually be
functional in your configuration.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of JesterXL
Sent: Tuesday, December 27, 2005 4:39 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Having hard time understanding what features
are available to whom when and how

I cannot answer all of your questions, but here are my suggestions.
- assuming on Windows, download Apache Tomcat
- download Flex 1.5 demo
- install Flex 1.5 demo with just FlexBuilder 1.5
- copy and paste the flex.war  samples.war files into Tomcat's webapps 
directory

Hit the samples page to ensure all is well.  On mine, it's:

http://localhost:8080/samples/

I've yet to get Flex 2 to work with Remoting + AMFPHP.  Considering AMF
(the 
binary format used to send serialized class bits across the wire) is 
undergoing big changes, OpenAMF (Java) and AMFPHP (PHP) don't really
work 
yet.

I've heard of some people getting Remoting to work with the CFAdapter,
but I 
don't use CF ( I do at work, but I don't code it).  Some have reported 
success with the WebService/HTTPService.

Me?  I use Flex 1.5 every day and it works great.  At night, I moonlight
in 
Flex 2, but she's still alpha, so we have a ways to go.

The bad news is, for those client developers (like me) who only care
about 
the client, Flex 1.5 has the server requirement.  However, you can still

snag SWF's off of the server once compiled as well as to show clients of

what's possible.  Good news, she works great, HTTPService (GET/POST)
works, 
WebService works, and RemoteObject works with AMFPHP, OpenAMF, and 
ColdFusion.

Hope that helps some.  Feel free to post more questions.

- Original Message - 
From: BCichowlas [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, December 27, 2005 4:22 PM
Subject: [flexcoders] Having hard time understanding what features are 
available to whom when and how


Hi!

I'm an independent developer trying to put together an RIA demo for
potential investors in a proposed enterprise.  This proposed
enterprise is not a software company but would make heavy use of an
RIA application.

My most reasonable choices seem to be Flex, Laszlo or Ajax (in its
many variations).  I spent the last week with the Iteration Two Flex
book, downloading what is available freely to developers from the
Macromedia/Adobe site.

As part of my demo, I need to be able to change the color of irregular
small shapes.  The shapes themselves are known in advance and don't
change.  For the sake of discussion, it is as if I had an outline of
New England, divided into the six New England states and I wanted to
be able to choose one of eight colors for each of the states based on
user interaction.

After looking at the complexities of Ajax, Flex seemed like an ideal
choice.  Since I develop under Eclipse and since the 2.0 alpha seemed
like a generally usable version, it was my first choice.  However, the
examples in the Iteration Two book seem to be written for 1.0 or 1.5,
and I spent quite a while trying to run them under 2.0 with varying
degrees of success.

My database needs for this demo application are modest, but I did want
to be able to use RemoteObject.  I was never able to get anything
using RemoteObject to operate successfully.  I was developing under
Eclipse and using the Run Flex application to try to run my
application.  I'm not sure exactly what runtime environment this
results in, but I had been successful at getting some small forms
running successfully and trading string messages with the server.

Is RemoteObject supposed to be possible using only the 2.0 alpha
materials?  If not, what do I need?  The Cold Fusion server
extensions?  The Enterprise version?  Is what I need available now?
Does it cost money just to use for a demo?  Are there some examples of
using a RemoteObject under 2.0 that I could try under Eclipse?  Should
I be using 1.5 instead?

I am wondering if my expectations of the 2.0 alpha are inappropriate
for programming a demo now and in January 2006.  I'm not a Cold Fusion
user and have only a rudimentary understanding of its operation.  I'm
 now thinking that I should use Ajax or possibly Laszlo, but would
listen carefully to any argument that Flex is the right choice.

Thanks,
Bruce








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









--

RE: [flexcoders] Re: [Flex 2.0] XMLEncoder

2005-12-27 Thread Matt Chotin
The XMLEncoder class is used by HTTPService but it will only do some
generic serialization and deserialization, it does not have generic
schema support (only WSDL schema support).  We tried to put schema
support for the non-webservice case in at one point but ran out of time
(and there hasn't been a huge push for it in 2.0).  So if you want some
basic serialization support our class will do it for you, no need for
the xmlEncoder function.  But if you have a schema you want to follow
you'll need to do it yourself.

If you want the binding and dataprovider support you'll need to wait for
the next beta (hopefully in the next less-than 10 weeks no promises)
where we've really gotten that code back up-to-snuff.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of alpharythms
Sent: Tuesday, December 27, 2005 4:36 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: [Flex 2.0] XMLEncoder

Thanks Matt,

That makes sense, basically you are just telling the HTTPService to
use myXmlConvert function to convert the object into XML.  I thought
HTTPService might have had a built in way of doing this conversion.  

I understand I can write my own code to do this but I would rather
learn how the API's work if it is possible to do it that way.

Currently I'm working directly with the XML data (instead of
converting it into an object first) so I can pull it out back out again.
http://www.evilfree.com/adam/blog/2005/12/flex_example_editing_xml_save.
html

But I'm losing some of the automatic binding that is possible and
having to manually create arrays to use as dataproviders.  This will
only get more tedious as I start doing more advanced data manipulation.

There is an XMLEncoder class that says:
---
Take ActionScript Objects and encode them to XML. If schema metadata
is available, use it, otherwise use default serialization. Supports
SOAP encoded arrays.
---

The use of a schema metadata is particularly interesting to me if that
allows you to customize the exact formatting that XML will be in after
it is converted from a generic object.

I've yet to actually use a schema with XML in general and with Flex
2.0 being an alpha I don't even know if this class works as
documented.  I was hoping to see some source code or hear from people
that this class work correctly.   I would hate to spend hours and
hours trying to determine if I'm doing something incorrectly or if
it's a bug (or unimplemented) in Flex.

Thanks Again!
Adam








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



 




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

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

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

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

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





Re: [flexcoders] Flex Development on the Mac

2005-12-27 Thread JesterXL





Here's Grant's take:

http://www.gskinner.com/blog/archives/2005/12/easily_compile.html



- Original Message - 
From: Leif Wells 

To: flexcoders@yahoogroups.com 
Sent: Tuesday, December 27, 2005 5:51 PM
Subject: Re: [flexcoders] Flex Development on the Mac
http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=582threadid=1067652highlight_key=ykeyword1=os%20x#3819358 
(searching the forums with the term "os x" found that item. Look at 
the posts that have the Macromedia logo.Leif
On 12/27/05, Jordan 
Snyder [EMAIL PROTECTED] 
wrote:

  What about Flex 2 development on a Mac? Anyone?
  
  
  Cheers
  On 12/27/05, Weyert de Boer [EMAIL PROTECTED]  
  wrote: 
  JesterXL wrote: Er, G4 I thinkYeah, 
Tomcat and Firefox are both available for the Mac. You can install 
Tomcat via DarwinPorts. Only Flex Builder isn't available for the Mac it 
never was. Hopefully with version 2.0 using Eclipse it will, because 
Eclipse is.
--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 



YAHOO! GROUPS LINKS 

  Visit your group "flexcoders" on the web. 

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


-- Jordan 
  SnyderApplications DeveloperImage Action LLChttp://www.imageaction.com 
  --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  
  SPONSORED 
  LINKS 
  


  Web site design development 
  Computer software development 
  Software design and development 

  Macromedia flex 
  Software development best practice 
  
  
  
  YAHOO! GROUPS LINKS 
  
Visit your group "flexcoders" on the web. 
To unsubscribe from this group, send an email 
to: 
[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service. 
  
  
  





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








  
  
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] I need help information of command line compile at Flex2.0

2005-12-27 Thread sn197412
Hi.

How can I compile a Flex2.0 project that includes a lot of mxml files
 from command line ??

java -jar mxmlc.jar -optimize=false -file-spec ... ??







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

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

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

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

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




Re: [flexcoders] Having hard time understanding what features are available to whom when and how

2005-12-27 Thread Bruce Cichowlas



I've used Axis on other projects, but I'm not sure how this interaction as a RemoteObject would look in the context of Flex 2.0 . Do you know of a working example of this somewhere? I'm not sure what I would code on the Flex side and I'm not sure what I'd need to do on the server side to make it compatible and synchronize.
I'm also wondering whether everything is available to support developing this demo for as long as it takes or if I will at some point have to buy a license for one thing or another to continue development. I also need to know how to explain the production operational costs to a potential investor. Potentially this is an application run by large companies on their own servers for many subscribers.
And from a technical viewpoint, I'm still wondering how to implement these arbitrary small shapes (such as states on a map) that need to change to one of a number of colors. I'd probably be able to answer that by myself if I were a Flash developer, but my Flash experience is limited to having run through the examples of a much earlier version of Flash.
I know that's a lot of questions.Thanks,BruceOn 12/27/05, Matt Chotin [EMAIL PROTECTED]
 wrote:



I think you'll find 1.5 a more stable development experience in the next
month though of course 2.0 offers a lot of stuff. For RemoteObject in
2.0 for now you do need the 2.0 CF adapter, but as many folks will be
happy to point out you could also just expose your Java objects via a
WebService using Apache Axis instead (this should be done in the 2.0
samples maybe but is definitely in 1.5 for reference). The Flex 2 alpha
will hint at functionality (like RemoteObject) that may not actually be
functional in your configuration.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On
Behalf Of JesterXL
Sent: Tuesday, December 27, 2005 4:39 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Having hard time understanding what features
are available to whom when and how

I cannot answer all of your questions, but here are my suggestions.
- assuming on Windows, download Apache Tomcat
- download Flex 1.5 demo
- install Flex 1.5 demo with just FlexBuilder 1.5
- copy and paste the flex.war  samples.war files into Tomcat's webapps 
directory

Hit the samples page to ensure all is well. On mine, it's:

http://localhost:8080/samples/

I've yet to get Flex 2 to work with Remoting + AMFPHP. Considering AMF
(the 
binary format used to send serialized class bits across the wire) is 
undergoing big changes, OpenAMF (Java) and AMFPHP (PHP) don't really
work 
yet.

I've heard of some people getting Remoting to work with the CFAdapter,
but I 
don't use CF ( I do at work, but I don't code it). Some have reported 
success with the WebService/HTTPService.

Me? I use Flex 1.5 every day and it works great. At night, I moonlight
in 
Flex 2, but she's still alpha, so we have a ways to go.

The bad news is, for those client developers (like me) who only care
about 
the client, Flex 1.5 has the server requirement. However, you can still

snag SWF's off of the server once compiled as well as to show clients of

what's possible. Good news, she works great, HTTPService (GET/POST)
works, 
WebService works, and RemoteObject works with AMFPHP, OpenAMF, and 
ColdFusion.

Hope that helps some. Feel free to post more questions.

- Original Message - 
From: BCichowlas [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, December 27, 2005 4:22 PM
Subject: [flexcoders] Having hard time understanding what features are 
available to whom when and how


Hi!

I'm an independent developer trying to put together an RIA demo for
potential investors in a proposed enterprise. This proposed
enterprise is not a software company but would make heavy use of an
RIA application.

My most reasonable choices seem to be Flex, Laszlo or Ajax (in its
many variations). I spent the last week with the Iteration Two Flex
book, downloading what is available freely to developers from the
Macromedia/Adobe site.

As part of my demo, I need to be able to change the color of irregular
small shapes. The shapes themselves are known in advance and don't
change. For the sake of discussion, it is as if I had an outline of
New England, divided into the six New England states and I wanted to
be able to choose one of eight colors for each of the states based on
user interaction.

After looking at the complexities of Ajax, Flex seemed like an ideal
choice. Since I develop under Eclipse and since the 2.0 alpha seemed
like a generally usable version, it was my first choice. However, the
examples in the Iteration Two book seem to be written for 1.0 or 1.5,
and I spent quite a while trying to run them under 2.0 with varying
degrees of success.

My database needs for this demo application are modest, but I did want
to be able to use RemoteObject. I was never able to get anything
using RemoteObject to operate successfully. I was developing under
Eclipse 

Re: [flexcoders] Having hard time understanding what features are available to whom when and how

2005-12-27 Thread JesterXL





Can help with #3.

Here's a sample:

?xml version="1.0" 
encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"initialize="initApp()"mx:Script![CDATA[import 
mx.controls.ComboBox;private function 
initApp():Void{var color_str:String = 
color_cb.selectedItem.toString();colorMe_box.setStyle("backgroundColor", 
color_str); }private function 
setColor(event:Object):Void{var cb:ComboBox = 
ComboBox(event.target);var color_str:String = 
cb.selectedItem.toString();colorMe_box.setStyle("backgroundColor", 
color_str); 
}]]/mx:Scriptmx:FormItem 
label="Colors:"mx:ComboBoxid="color_cb"change="setColor(event)"mx:dataProvidermx:Arraymx:String0x00/mx:Stringmx:String0x66/mx:Stringmx:String0x66/mx:String/mx:Array/mx:dataProvider/mx:ComboBox/mx:FormItemmx:Boxid="colorMe_box"borderStyle="solid"width="100" 
height="100"/

/mx:Application

- Original Message - 
From: Bruce 
Cichowlas 
To: flexcoders@yahoogroups.com 
Sent: Tuesday, December 27, 2005 8:01 PM
Subject: Re: [flexcoders] Having hard time understanding what 
features are available to whom when and how
I've used Axis on other projects, but I'm not sure how this 
interaction as a RemoteObject would look in the context of Flex 2.0 . Do 
you know of a working example of this somewhere? I'm not sure what I would 
code on the Flex side and I'm not sure what I'd need to do on the server side to 
make it compatible and synchronize. I'm also wondering whether 
everything is available to support developing this demo for as long as it takes 
or if I will at some point have to buy a license for one thing or another to 
continue development. I also need to know how to explain the production 
operational costs to a potential investor. Potentially this is an 
application run by large companies on their own servers for many subscribers. 
And from a technical viewpoint, I'm still wondering how to implement 
these arbitrary small shapes (such as states on a map) that need to change to 
one of a number of colors. I'd probably be able to answer that by myself 
if I were a Flash developer, but my Flash experience is limited to having run 
through the examples of a much earlier version of Flash. I know that's a 
lot of questions.Thanks,Bruce
On 12/27/05, Matt 
Chotin [EMAIL PROTECTED]  
wrote:
I 
  think you'll find 1.5 a more stable development experience in the 
  nextmonth though of course 2.0 offers a lot of stuff. For 
  RemoteObject in2.0 for now you do need the 2.0 CF adapter, but as many 
  folks will behappy to point out you could also just expose your Java 
  objects via aWebService using Apache Axis instead (this should be done in 
  the 2.0samples maybe but is definitely in 1.5 for reference). The 
  Flex 2 alphawill hint at functionality (like RemoteObject) that may not 
  actually befunctional in your configuration.Matt
  -Original 
  Message-From: flexcoders@yahoogroups.com [mailto: 
  flexcoders@yahoogroups.com] OnBehalf Of JesterXLSent: Tuesday, 
  December 27, 2005 4:39 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] 
  Having hard time understanding what featuresare available to whom when and 
  howI cannot answer all of your questions, but here are my 
  suggestions.- assuming on Windows, download Apache Tomcat- download 
  Flex 1.5 demo- install Flex 1.5 demo with just FlexBuilder 1.5- copy 
  and paste the flex.war  samples.war files into Tomcat's webapps 
  directoryHit the samples page to ensure all is well. On 
  mine, it's:http://localhost:8080/samples/I've yet to get Flex 2 
  to work with Remoting + AMFPHP. Considering AMF(the binary 
  format used to send serialized class bits across the wire) is undergoing 
  big changes, OpenAMF (Java) and AMFPHP (PHP) don't reallywork 
  yet.I've heard of some people getting Remoting to work with the 
  CFAdapter,but I don't use CF ( I do at work, but I don't code 
  it). Some have reported success with the 
  WebService/HTTPService.Me? I use Flex 1.5 every day and it works 
  great. At night, I moonlightin Flex 2, but she's still alpha, so 
  we have a ways to go.The bad news is, for those client developers 
  (like me) who only careabout the client, Flex 1.5 has the server 
  requirement. However, you can stillsnag SWF's off of the server 
  once compiled as well as to show clients ofwhat's possible. Good 
  news, she works great, HTTPService (GET/POST)works, WebService works, 
  and RemoteObject works with AMFPHP, OpenAMF, and ColdFusion.Hope 
  that helps some. Feel free to post more questions.- Original 
  Message - From: "BCichowlas" [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Tuesday, December 
  27, 2005 4:22 PMSubject: [flexcoders] Having hard time understanding what 
  features are available to whom when and howHi!I'm an 
  independent developer trying to put together an RIA demo forpotential 
  investors in a proposed enterprise. This proposedenterprise is not a 
  software company but would make heavy use of anRIA 

Re: [flexcoders] Nested faceless components. keeping IDs and DataBinding

2005-12-27 Thread Aldo Bucchi
Hi Matt,

Back posting huh!

Thx for the answer.

 Now what I don't remember is if when we instantiate via the Array if the
 MXMLObject initialized will be called.  You'd need to look at the

Yes it is called. As with every faceless comp.

Using the initalized() indeed allows me to set an id or registe the
component somehow... but still, it is of little use with no binding
and inline events.

another point for flex2

Best,
Aldo



On 12/27/05, Matt Chotin [EMAIL PROTECTED] wrote:
 I think we're going to allow nested ids in Flex 2.

 For Flex 1.5 though you might be able to make Person an MXMLObject which
 would then have its initialized() method called as it gets created.
 That call would pass the MXML document which created the object and you
 could then attach the person using an id.  We have hard-coded id to
 not be allowed on deeper faceless objects, but you could use another
 name and then just assign that as the variable name for the document.
 Something like this:

 function initialized(document, id):Void
 {
   Var myId:String = this['valueYouPicked'];
   Document[myId] = this;
 }

 Now what I don't remember is if when we instantiate via the Array if the
 MXMLObject initialized will be called.  You'd need to look at the
 generated actionscript (turn keep-generated-actionscript on in
 flex-config) to be sure.

 Matt

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Aldo Bucchi
 Sent: Monday, December 26, 2005 3:25 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Nested faceless components. keeping IDs and
 DataBinding

 Hi all,

 It would be great to have IDs and databinding available to faceless
 data structures.
 Unfortunately, there are some restrictions that apply to faceless
 components.

 Is there any (hacky) way to declare a nested faceless component in an
 MXML document and assign a document scoped ID to it ??

 This is not legal as there are IDs in the nested components.

 c:Person id=foo
 c:children
 mx:Array
 c:Person id=barbie/
 c:Person id=birbie/
 /mx:Array
 /c:children
 /c:Person


 One ugly way would be to extend a container and do something like the
 following

 c:Person id=foo
 c:Person id=barbie/
 c:Person id=birbie/
 /c:Person

 Now, this limits me to assigning all children to one array... not to
 mention the overhead and component-lifecycle-related trouble.


 For now the only legal solution is the following I guess...

 c:Person id=foo/
 c:Person id=barbie parent={foo}/
 c:Person id=birbie parent={foo}/


 Evidently the benefit of using XML is lost.


 Any ideas?



 --
 : Aldo Bucchi :
 mobile (56) 8 429 8300



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










--
: Aldo Bucchi :
mobile (56) 8 429 8300


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

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

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

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

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




[flexcoders] Question - Still alive the FLEX Quick Start 4cpu Pack ?

2005-12-27 Thread kimkhan0909
Happy New Year! All flexcoders.


I heard an bad new from MM few days ago that the FLEX Quick Start 4cpu 
Pack was over from this December. 

It's very useful for us. So I was keeping in trouble.

Anybody help me.






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

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

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

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

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