Re: [Flashcoders] If a URL starts with “http://” will clip always be loaded into REMOTE sandbox?

2010-06-06 Thread Pavel Repkin
Anthony, thank you! How is it possible? On 6 June 2010 19:50, Anthony Pace wrote: > You can bypass this with javascript, and canvas. > > > On 6/5/2010 1:58 PM, Henrik Andersson wrote: > >> Pavel Repkin wrote: >> >>> Seems to be a question for a Flash security guru. >>> >>> Suppose we are loadin

[Flashcoders] [RE:] flash game source code

2010-06-06 Thread Michael Stocke
found this in 0.25 seconds, but didn't download to check it: Yes, Eric, I also found that link in 0.25 seconds, and the download stopped at 31% each of the 3 times I tried to download it. Your response was rude and condescending. Maybe you should consider that some of the people that post

Re: [Flashcoders] If a URL starts with “http: //” will clip always be loaded into REM OTE sandbox?

2010-06-06 Thread Anthony Pace
You can bypass this with javascript, and canvas. On 6/5/2010 1:58 PM, Henrik Andersson wrote: Pavel Repkin wrote: Seems to be a question for a Flash security guru. Suppose we are loading an external SWF movie with MovieClipLoader.loadMovie(url:String) Is it safe to assume that if url starts wi

Re: [Flashcoders] External Interface with looped parameters

2010-06-06 Thread Juan Pablo Califano
Whenever you need to pass a variable number of arguments, check Function.apply().It generally will be the answer to your problem! If I understood your problem correctly, this should do what you want: var args:Array = [0,1,2,3,4,5]; var jsFunctionName:String = "someJsFunction"; var parameters:Arr

Re: [Flashcoders] External Interface with looped parameters

2010-06-06 Thread Anthony Pace
What you are suggesting, is almost the same as I suggested, except that you are avoiding the xml object and instead using a string; however, because of how a string is converted when passing the data, I wouldn't recommend it for anything too complex. On 6/6/2010 7:13 AM, Ashim D'Silva wrote:

Re: [Flashcoders] External Interface with looped parameters

2010-06-06 Thread Ashim D'Silva
The last 2 weeks were crazy and I completely lost track of this so I apologise for not responding to the answers (cheers though!). We couldn't find a solution so we used an array instead, but the idea was this. I have: var objs:Array = [1, 2, 3, 4, 5]; // arbitrary length defined by the number of