[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

Re: [Flashcoders] id3 runtime error

2009-04-03 Thread Dave Segal
I see the request in the headers and when I debug with Flex, the variables all appear to be declared correctly. I tried hardcoding the url as well but I get the same issue. I'm stumped. I suppose I can just catch the error and try to reload the mp3 file though that is a very unsatisfying solutio

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 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 ignored > the size of t

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 sol

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 Flas

Re: [Flashcoders] id3 runtime error

2009-04-03 Thread Dave Segal
Joel, I am not sure of the ID3 version. Does that matter? Would different versions of the ID3 tags cause this type of inconsistent failure? Dave - Original Message - From: "Joel Stransky" To: "Flash Coders List" Sent: Friday, April 3, 2009 12:01:11 AM GMT -05:00 US/Canada Eastern Subjec

Re: [Flashcoders] id3 runtime error

2009-04-03 Thread Dave Segal
This is the error I am seeing. Strangely the part after the word "access" is left blank. Which leads me to believe it is some kind of timing bug on my side however, the trigger for this function is the ID3 event. I also tried waiting for the COMPLETE event but the same issue occurs. As I mention

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 > 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 ? > > Regards, > Cedri

[Flashcoders] Scroll image line probleme AS2

2009-04-03 Thread natalia Vikhtinskaya
Hi to all people in this list. Please help me with code. I want to scroll image line as on this site http://www.vincentpetersphotography.com/ Look please at any gallery. Here is my example http://www.natavi.co.uk/test/gallery_mouse.html I don’t like how my scrolling works. It stops sometimes, it’s

Re: [Flashcoders] Bitwise selection

2009-04-03 Thread Mark Winterhalder
On Fri, Apr 3, 2009 at 8:38 AM, 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 the

Re: [Flashcoders] Duplicating a loaded SWF

2009-04-03 Thread Cédric Tabin
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 ? Regards, Cedric On Fri, Apr 3, 2009 at 2:35 PM, Ian Thomas wrote: > Henry, > As far as I'm aware, duplication of

Re: [Flashcoders] Duplicating a loaded SWF

2009-04-03 Thread Ian Thomas
Henry, As far as I'm aware, duplication of existing instances of objects is still something sadly lacking in Flash. There are a number of hacks, but none of them seem to work for all cases (I've tried a bunch!). In your case, I have two suggestions; both are a change of approach: i) Use the

[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] 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 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 Goorbergh > Op 3-apr

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] 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 ByteAr

[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] Flashplayer "positioning"

2009-04-03 Thread Glen Pike
Hi, I tried the Stage.align but this has no effect. The stage size is the same as the monitor size. Looking into this further, it seems to be an issue with the Window Manager - if we run X11 with no Window Manager and start Flashplayer from the command line it can't seem to position

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

2009-04-03 Thread Hans Wichman
Hi Jimmi, your parameter is being passed by value not object since it's a literal value. In your previous situation the function applied itself to a global variable so this problem didn't occur. Add a return statement to your function at the end: function interpunk (par1):Void { . return par1

[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 com