Re: [Flashcoders] Bitwise selection

2009-04-03 Thread Jiri
So each element in a ByteArray can hold 8 bits. What about the readInt() method of the ByteArray, does an integer then span over 4 elements of the bytearray. And if I start at position 0 and then call the readInt(), is the position after that then 4? Jiri Kerry Thompson wrote: Jiri wrote:

[Flashcoders] isseu with a custom function in AS2

2009-04-03 Thread jimmi
Good morning, I have made a function that adds interpunction marks to a value, for example the value 1 gets changed to 10.000, 10 to 100.000 and so forth. The function work fine, but I'm trying to make it reusable so that i can use it in a large scale project. That's where the problem

[Flashcoders] Loading MC

2009-04-03 Thread Karl DeSaulniers
Hello all and good morning, I was wondering if I could get some help on this. I have been trying for days now to figure this out. I know there is some little thing I am missing and its probably right under my nose so to speak. Here is my code:

RE: [Flashcoders] Bitwise selection

2009-04-03 Thread Kerry Thompson
Jiri wrote: So each element in a ByteArray can hold 8 bits. What about the readInt() method of the ByteArray, does an integer then span over 4 elements of the bytearray. And if I start at position 0 and then call the readInt(), is the position after that then 4? Essentially, yes. A ByteArray

Re: [Flashcoders] isseu with a custom function in AS2

2009-04-03 Thread Geografiek
Hi Jimmi, I made a class that does just that (and a little bit more). I can send it to you off list if you wish. HTH, Willem van den Goorbergh Op 3-apr-2009, om 10:19 heeft jimmi het volgende geschreven: Good morning, I have made a function that adds interpunction marks to a value, for example

Re: [Flashcoders] isseu with a custom function in AS2

2009-04-03 Thread jimmi
Hey guys thanks for the feedback. Willem i would love to have that class of yours. On Fri, Apr 3, 2009 at 12:58 PM, Geografiek geograf...@geografiek.nl wrote: Hi Jimmi, I made a class that does just that (and a little bit more). I can send it to you off list if you wish. HTH, Willem van den

[Flashcoders] Duplicating a loaded SWF

2009-04-03 Thread Henry Cooke
hej folks, I'm writing an assetloader class, with the intention of attaching a whole bunch of instances to the stage of a loaded asset. Because I want to attach more than one instance of the loaded SWF, I'm having to duplicate the asset instead of just using addChild, because you can only addChild

Re: [Flashcoders] Duplicating a loaded SWF

2009-04-03 Thread Henry Cooke
Thanks chaps, In the end, loadBytes did the trick. Cheers, h. 2009/4/3 Cédric Tabin tabin.ced...@gmail.com Hello, Usually for that kind of problem, I simple load my SWF as binary data and use Loader.loadBytes to retrieve many instances of the content. Maybe tha'ts a solution for you ?

Re: [Flashcoders] Flashplayer positioning

2009-04-03 Thread Glen Pike
Hi, This was an issue with the Flashplayer running without a Window manager - for some reason FP10 defaulted to a 200x200 pixel sized window and ignored the size of the Flash content when run in fullscreen. The only way around this is to run a desktop / window manager and launch

Re: [Flashcoders] id3 runtime error

2009-04-03 Thread Taka Kojima
Do you have firebug? Is it possible that it's using the wrong path or even trying to request when it makes the call? If you have firebug, you can look at all of the http requests through the net panel. If you're using a variable to make the load call, try hardcoding a value and see if that

Re: [Flashcoders] Flashplayer positioning

2009-04-03 Thread Taka Kojima
Glad you figured it out Glen and thanks for the solution/workaround. On Fri, Apr 3, 2009 at 11:07 AM, Glen Pike postmas...@glenpike.co.uk wrote: Hi,   This was an issue with the Flashplayer running without a Window manager - for some reason FP10 defaulted to a 200x200 pixel sized window and

[Flashcoders] XML loading. Why file is cached, but script response is not?

2009-04-03 Thread Pavel Repkin
Hey! My program loads XML data from the server. I want the data to cache, so the loading happens only once. When I load a simple xml file from the server, the caching works like a charm. But when I load xml from a Perl script response, the cache does not work. The data are being loaded every time