Re: [Flashcoders] Question about the AIR security model...

2008-04-25 Thread John Eriksson
Yeah it is backwards for me. I would have to change every swf loaded for this to work. The byteArray suggestion is the best suggestion so far, gotta try that out :-) I've actually solved my problem in an unorthodox way currently. I've written a check method that does a describeType on the content

[Flashcoders] Converting a ByteArray to string and back again...

2008-04-25 Thread John Eriksson
I've been messing around with the ByteArray for some time now, and I wonder if there isa way to convert the ByteArray to a string (ie using toString()) and then converting that string back into a ByteArray which would then be the same as the original ByteArray. This would mean I could include an

Re: [Flashcoders] Question about the AIR security model...

2008-04-24 Thread John Eriksson
Yes. I have understood this when doing some research on the subject. My problem though is that I don't want theswfs to be installed together with the app (a few thousand swfs altogether). I want my AIR App to load a dir full of them and walk through them all and check if they implement a certain

Re: [Flashcoders] using scrollRect and the width / height properties in AS3 F9 - weirdness

2008-04-01 Thread John Eriksson
This code is about the width and height properties not getting changed until some time in the future (perhaps one frame ahead or a few ms ahead) when setting a scrollRect. This causes all kinds of problems. The code was very very simple, just to show that the values are not immediately changed