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" wrote: > > > > > I tried to set allowscriptaccess

[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 wrote: > > Ok ?I think I get what you are doing... Which essentially amounts to > cross-site

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"); successF

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" wrote: > > > > > thaks Rick :) > > About my flex page,at the fi

[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" wrote: > > hi guys i think am making progress. this is what i have so far. > > "login_example.mxml" > > > http://www.adobe.com/2006/mxml"; > layout="absolute" xmlns:view="components.*"> >

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 que

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! http://ectropic.c

[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 flexcoders@yahoog

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. http://booleanbetrayal.com/2007/05/18/httpservice-xmldecode-objecttranslator-and-rabidsqui