Re: [flexcoders] Creating strongly typed objects from HTTPService results

2008-12-13 Thread Brent Dearth
Cleaning out my list mail and came across this ... I have a sample of this, I put together awhile back, if anyone's interested. It's a JSON implementation, but it piggy-backs on all the same principles here.

[flexcoders] Re: SecurityError

2008-12-13 Thread dialogtmp
thaks Rick :) About my flex page,at the first,it will wait another page development by javascript pass the parameter. And then the flex page accroding to the parameter to parse html . Finally, passing the result of html parsing back to the javascript page. dialogtmp --- In

Re: [flexcoders] Re: Best Practices: ArrayCollection of custom objects?

2008-12-13 Thread Rick Winscot
Have you been reading the articles in the replies? Seriously, they contain great bits of information that would guide you in the right direction. Reduce, reuse, and recycle... http://www.insideria.com/2008/03/flex-performance-memory-manage.html Array vs. ArrayCollection ­ FIGHT!

Re: [flexcoders] Restrictions on non-visual component placement

2008-12-13 Thread Rick Winscot
Tracy / Michael, The parent/child relationship (post application root) in MXML is constrained to DisplayObjectContainer and DisplayObject relationships... this rule does not apply to components within an item renderer. http://www.adobe.us/livedocs/flex/2/langref/mxml/component.html So... The

[flexcoders] Re: flex login popup help needed pleaseeeeeeeee

2008-12-13 Thread Tracy Spratt
You are not following my advice. Good luck. Tracy --- In flexcoders@yahoogroups.com, stinasius stinas...@... wrote: hi guys i think am making progress. this is what i have so far. login_example.mxml ?xml version=1.0 encoding=utf-8? mx:Application

Re: [flexcoders] Re: SecurityError

2008-12-13 Thread Rick Winscot
Ok ­ I think I get what you are doing... Which essentially amounts to cross-site scripting. Have you tried the allowscriptaccess parameter? What is your security configuration? Rick Winscot On 12/13/08 10:20 PM, dialogtmp dialog...@yahoo.com.tw wrote: thaks Rick :) About my flex

RE: [flexcoders] Best practice for calling asynchronous functions?

2008-12-13 Thread Alex Harui
Your code looks like this: function save(xml:XML, successFunc:Function, failureFunc:Function):void { var service:HTTPService = new HTTPService(); ... service.addEventListener(ResultEvent.RESULT, function(evt:ResultEvent):void { trace(Successfully saved XML);

[flexcoders] Re: SecurityError

2008-12-13 Thread dialogtmp
I tried to set allowscriptaccess=always,but it still occured Error #2060. I try to search some information, but I don't find the solution until now. --- In flexcoders@yahoogroups.com, Rick Winscot rick.wins...@... wrote: Ok ?I think I get what you are doing... Which essentially amounts

Re: [flexcoders] Re: SecurityError

2008-12-13 Thread Rick Winscot
So back to the second question ­ your security? The kind of communication you describe requires crossdomain permissions ­ is this in place? http://www.adobe.com/products/flashplayer/security/ Rick Winscot On 12/14/08 1:42 AM, dialogtmp dialog...@yahoo.com.tw wrote: I tried to set