[Flashcoders] Help jsfl traceBitmap

2009-02-09 Thread Jiri
'); } } Hope someone can help! Jiri ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Help jsfl traceBitmap

2009-02-10 Thread Jiri
(- frameCount: + timeline.frameCount); doc.selection = timeline.layers[0].frames[0].elements; doc.traceBitmap(100, 1, 'pixels', 'normal'); } } doc.exitEditMode(); regards, Muzak - Original Message - From: Jiri jiriheitla...@googlemail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] Help jsfl traceBitmap

2009-02-10 Thread Jiri
= timeline.layers[0].frames[0].elements; doc.traceBitmap(100, 1, 'pixels', 'normal'); } } doc.exitEditMode(); regards, Muzak - Original Message - From: Jiri jiriheitla...@googlemail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Monday, February 09, 2009 9:47 AM Subject

Re: [Flashcoders] Help jsfl traceBitmap

2009-02-10 Thread Jiri
will give your suggestion a try tomorrow and cross my fingers it works. Thank you again. jiri Muzak wrote: This one threw me off a bit :) You have to move the timeline playhead for traceBitmap to work. When you enter edit mode, you automatically end up in the first frame, so that's why traceBitmap works

Re: [Flashcoders] Help jsfl traceBitmap

2009-02-18 Thread Jiri
For the archive. This is the way to do it. function convert(tFlaPath , tExportPath , tFilename){ debugMessage += \n Vectorizing file : + tFilename + on + (new Date()).toGMTString() + \n; debugMessage += SettingstraceBitmap(100, 2, 'normal' , 'normal') \n;

Re: [Flashcoders] Gumbo and E4x

2009-02-25 Thread Jiri
Maybe try this._interface_xml..*.(@type == name)@label Jiri Lori Hutchek wrote: Hey All, I have a simple xml search that I'm doing to retrieve some attributes. But when trying to use gumbo no results are returned. I know this is working in the Flex 3 SDK. Is this a bug or have

[Flashcoders] RegExp headache

2009-03-05 Thread Jiri
, but it is killing me. var pattern:RegExp = /^(\d)?(^\d+)|(?)/ var result:Object = pattern.exec(tConditionalString); I tried another approach but i am still figuring out how to do it. It goes something like this var pattern:RegExp = /^():((?(2)then|else)) Jiri

Re: [Flashcoders] RegExp headache

2009-03-06 Thread Jiri
Everybody thank you! Jiri Merrill, Jason wrote: Seriously, just play with RegExr / Regex Buddy, get the cheat sheets: Am now - love it! Can't I still be in awe? :) Jason Merrill Bank of America | Learning Performance Solutions Instructional Technology Media Learn about

[Flashcoders] Strange behaviour ByteArray to BitmapData object

2009-03-16 Thread Jiri
( sourceRect , storedMapData ); var i:int = 0 while(i source.width){ trace( tData.getPixel(i , 0 ) ) i++ } /code Jiri ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo

Re: [Flashcoders] Strange behaviour ByteArray to BitmapData object

2009-03-16 Thread Jiri
is on the walkmap. If I would render it to a graphics I will loose the getPixel() method for checking. Also when i use the Loader.loadBytes. Or am i wrong? Jiri Romuald Quantin wrote: Did you try myByteArray.position = 0 before reading it ? You can try to use a Loader.loadBytes to instantiate

[Flashcoders] Question on ByteArray acces.

2009-03-17 Thread Jiri
probably save me some computation time. How are the bytes stored, is it a multi dimensional array and if so, what is the colum size? Thank you, Jiri ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman

Re: [Flashcoders] Question on ByteArray acces.

2009-03-17 Thread Jiri
/adobe/images/PNGEncoder.as Romu Jiri wrote: Hello, I have a BitmapData and use the draw() method to add sprite data. Then I get the ByteArray through the BitmapData.getPixels() method. This byteArray is compressed and cached. Then when i need it, i decompress the ByteArray and use

Re: [Flashcoders] Question on ByteArray acces.

2009-03-17 Thread Jiri
Thank you , i will try it tommorrow and let you know if that worked. I am just wondering if there is no begin offset in the ByteArray. So maybe I should not start at position=0. Do you know something about that, anyway I will try and see tomorrow. Jiri Juan Pablo Califano wrote: Have you

Re: [Flashcoders] Question on ByteArray acces.

2009-03-18 Thread Jiri
(but I don't think it is) var pixelPos:int = row + col * totalRows; // or y + x * height buffer.position = pixelPos * 4;// each pixel takes 32 bits == 4 bytes var pixelValue:uint = buffer.readUnsignedInt(); Cheers Juan Pablo Califano 2009/3/17, Jiri jiriheitla...@googlemail.com: Seems

[Flashcoders] Storing x and y in a bytearray

2009-03-30 Thread Jiri
mentioned multi array. I could be completely wrong, but would like some advice. Jiri ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Storing x and y in a bytearray

2009-03-30 Thread Jiri
Good point, i can use getPixel to retrieve the color value and based on that 'know' if it is walkable. Cheers. Jiri Hans Wichman wrote: Hi, why not use an image? Eg use an image that represents your area, lookup the pixel values, AND them and decide what you can or cannot do in that area

Re: [Flashcoders] Storing x and y in a bytearray

2009-03-30 Thread Jiri
On stage there is a draw shape. I copy it to BitmapData and use the transparancy for testing walkable or not. So i dont use compressed image format, just raw bitmap data. Or am i missing something? Jiri Hans Wichman wrote: yup exactly, only thing is that I'm not sure how detailed this info

Re: [Flashcoders] Storing x and y in a bytearray

2009-03-30 Thread Jiri
Hittest is to expensive, i try to avoid it at all times. J Hans Wichman wrote: ah no then you'll be fine ! Although if it's just a simple shape, hittest will work as well of course, depending on the performance you need. On Mon, Mar 30, 2009 at 1:52 PM, Jiri jiriheitla...@googlemail.com wrote

[Flashcoders] Bitwise selection

2009-04-02 Thread Jiri
: tRestrict = A-Z a-z; trace('char') } trace('restrict field ' , tRestrict) return tRestrict; } getRestrict() Thank you. Jiri ___ Flashcoders mailing list Flashcoders

Re: [Flashcoders] Bitwise selection

2009-04-02 Thread Jiri
Thanks Hans, I am aware of that, so if-else would be the only way to go I guess. Jiri Hans Wichman wrote: Hi, isn't the absence of break statements messing things up? greetz JC On Thu, Apr 2, 2009 at 12:08 PM, Jiri jiriheitla...@googlemail.com wrote: I am new to bitwise operators, so I

Re: [Flashcoders] Bitwise selection

2009-04-02 Thread Jiri
Thanks for the helpfull feedback Mark Winterhalder wrote: Jiri, if() isn't too bad, especially since you will possibly want to permit multiple restrictions (like numbers /and/ letters, or Latin letters plus umlauts). If you use if() and combine that with appending to the restriction instead

Re: [Flashcoders] Bitwise selection

2009-04-02 Thread Jiri
Nice, that you took the time to write that post. It is much appreciated. Jiri Kerry Thompson wrote: Jiri has gotten some good answers. I got to work late today after working until 11:30 last night meeting my 5:00 deadline :-P I did occur to me that a fair number of us may not completely

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] ColorTransform GTween

2009-04-08 Thread Jiri
(colorInfo); var myTween:GTween = new GTween(clip,2,{color:0xFFcc00}); myTween.setAssignment(clip.transform,colorTransform); //resulting in flickering of color of the clip. Jiri ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http

Re: [Flashcoders] ColorTransform GTween

2009-04-08 Thread Jiri
Thanx Ashum...,but is there really nobody out there who knows how to do it ? Jiri Ashim D'Silva wrote: Never used GTween before, but Grant is joining forces with Jack Doyle of TweenLite, and that library is incredibly easy to use. If the possibility exists, you might want to switch libraries

Re: [Flashcoders] ColorTransform GTween

2009-04-09 Thread Jiri
people are using GTween, especially not for color tranformations. Jiri Karl DeSaulniers wrote: Oh yeah, TweenLite is really easy and a realy great class. TweenMax too. They definately have tween for color. And MUCH more. Worth its weight in gold. Karl DeSaulniers Design Drumm http

Re: [Flashcoders] ColorTransform GTween

2009-04-10 Thread Jiri
Is there really nobody that knows how to do it? Jiri Karl DeSaulniers wrote: Oh yeah, TweenLite is really easy and a realy great class. TweenMax too. They definately have tween for color. And MUCH more. Worth its weight in gold. Karl DeSaulniers Design Drumm http://designdrumm.com On Apr 8

Re: [Flashcoders] ColorTransform GTween

2009-04-10 Thread Jiri
above would be the same. Jiri Paul Venton wrote: Taken a look at the comments on here: http://www.gskinner.com/blog/archives/2008/08/gtween_a_new_tw.html after a quick search on Google. coltw:GTween = new GTween(theclip.transform.colorTransform, 0.5, { redOffset:255, greenOffset:255

Re: [Flashcoders] ColorTransform GTween

2009-04-10 Thread Jiri
He Cor, the question is. I want to tween a clip its color to a certain hex Value. So the equivalent of this in TweenLite: TweenLite.to(mc, 1, {tint:0xff9900}); Cheers, Jiri Cor wrote: No, yours. Yes it does flicker, but as I said, I don't think I understand the question correctly

Re: [Flashcoders] Adobe AIR Mailing List?

2009-04-24 Thread Jiri
I will join to :) J Steve Mathews wrote: Start your own, I will join! :) On Thu, Apr 23, 2009 at 10:27 AM, Steven Sacks flash...@stevensacks.netwrote: Anyone know of an active Adobe AIR mailing list (like Flashcoders/Flash Tiger)? Apollocoders is basically dead, and all posts are

[Flashcoders] Conditional statement in [Embed(source=... tag

2009-04-28 Thread Jiri
country? Many thanks, Jiri ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Conditional statement in [Embed(source=... tag

2009-04-29 Thread Jiri
So, you could do something like this in an embed tag [Embed(source=Arial-Rounded-MT-Bold.ttf, fontFamily=ArialRoundedBold, fontWeight=bold, mimeType=application/x-font-truetype, unicodeRange=getCodeRange()] Will try it. Cheers for replying. Sidney de Koning wrote: Hi Jiri, Why do you

Re: [Flashcoders] Conditional statement in [Embed(source=... tag

2009-04-29 Thread Jiri
Thanx, i will look into that. Jiri Ian Thomas wrote: It does accept conditionals, sort of, using the mxmlc -define tag. I blogged about it somewhere (hunts around). Aha! http://code.awenmedia.com/node/34 HTH, Ian On Tue, Apr 28, 2009 at 8:41 PM, Merrill, Jason jason.merr

[Flashcoders] mxmlc include classes , possible???

2009-04-29 Thread Jiri
to create a .swc and have that add to the librart tag? Jiri ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] SmartyPants IOC

2009-05-04 Thread Jiri
/smartypants-ioc/ Jiri ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Delete node using e5x inline.

2009-06-08 Thread Jiri
=true/ randomImage id=3/ randomImage id=4/ /image_conf Much appreciated. Jiri ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Delete node using e5x inline.

2009-06-08 Thread Jiri
Thnx, but delete is not a method of XMLList so you suggestion wont work. I guess I will have to build an loop, but it feels like overhead, becuase e4x should support it, or am i wrong. Jiri Glen Pike wrote: Is it because you are using: delete pXML.randomImage.(attribute(delete

[Flashcoders] Determining probablity of a random pick.

2009-06-22 Thread Jiri
to each node. This weight would have to determine the probability the nodes get selected out when a random pick is being performed. Does anybody know how to build such an algorithm? Much appreciated, Jiri ___ Flashcoders mailing list Flashcoders

Re: [Flashcoders] Determining probablity of a random pick.

2009-06-22 Thread Jiri
[0-5] = A Array[6-7] = B Array[8-10] = C Last step get a random number between 0 - 10 = for instance 5 //result is then return Array[5] as XML If this is what you mean, would this approach not take a 'relatively' big amount of memory? JIri Paul Andrews wrote: Jiri wrote: Hello list, I have

Re: [Flashcoders] Determining probablity of a random pick.

2009-06-22 Thread Jiri
I see, that makes sense. Cheers. Jiri Paul Andrews wrote: Jiri wrote: Thank you i understand it. Could u please elloborate on the last part ..You can optimise this by using an array of pointers.. Do you mean that this; a weight=5 b weight=1 c weight=2 First calculated the range for each

[Flashcoders] gzipped xml receiving with flash

2009-06-25 Thread Jiri
with it? I know AMF would work for what i want, or have the server preprocess the files into a .zip. But i was just wondering and curious. As my questions probably reveal, i am not an expert in this area, so excuse me if my questions are really naive. Jiri

[Flashcoders] When to use flash.util.proxy

2009-06-30 Thread Jiri
is the difference with using normal getters and setters? Could somebody tell me of a case where he/she used this flash.util.proxy? Jiri ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] AS3 MOUSE_OVER/OUT bubbling

2009-07-05 Thread Jiri
Did u try ROLL_OVER / ROLL_OUT to? Jiri Andrew Sinning wrote: I've read though the documentation regarding event bubbling several times, but the concept remains blurry. Perhaps this example will help me get my head around it. I want to display a custom cursor, a version of the Photoshop

Re: [Flashcoders] Strange characters added to file when saving from AIR using fileStream

2009-07-05 Thread Jiri
I had similair behaviour. Save the xml as UTF-8 and it should be allright. J Kenneth Kawamoto wrote: I may be wrong but that could be BOM? If you use writeUTF() and open the resulting file in a Unicode editor do you still see it? Kenneth Kawamoto http://www.materiaprima.co.uk/ Cheetham,

Re: [Flashcoders] separating MouseEvent.MOUSE_UP from MouseEvent.CLICK

2009-07-12 Thread Jiri
I think that it makes sense that the functions like formHidden() gets called, because that is what you put down. It think you will need to put only the function name/ref like so: this.quoteRequest_mc.ySlideTo(quoteHideY,4,easeoutbounce,.5, formHidden ,20,4.5); Give it a try. Jiri Karl

Re: [Flashcoders] separating MouseEvent.MOUSE_UP from MouseEvent.CLICK

2009-07-13 Thread Jiri
nice! Good luck. Jiri Karl DeSaulniers wrote: Thanks Jiri, That worked perfectly. I knew I had been looking at this code too long and that it was something as simple as deleting a couple of parenthesis. Thanks again.. Karl On Jul 12, 2009, at 2:47 PM, Jiri wrote: I think that it makes

[Flashcoders] Question on preventing this array[n] = 'whatever' on Array var

2009-07-14 Thread Jiri
would have to override all the public methods of Array which can be a pain. My question is. How would I prevent users from doing this: listArray[n] = 'whatever' Much appreciated Jiri ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http

Re: [Flashcoders] Question on preventing this array[n] = 'whatever' on Array var

2009-07-14 Thread Jiri
somebody hint me if this would be worth looking into for this particular case? Jiri Glen Pike wrote: Sounds like you want to use a kind of Observer pattern: Can you wrap up your array class in something that implements the methods you want, ignores / passes on the stuff you care about

[Flashcoders] Syntax coloring Eclipse

2009-08-21 Thread Jiri
be provided in any decent editorthank you Adobe !! Jiri ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] bitwise question

2009-09-15 Thread Jiri
++) { if (8 (1 i)) return i; } return 0; } Can this be done faster? Jiri ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] bitwise question

2009-09-15 Thread Jiri
Thnx, i tought that there would be some kind of smart bitwise operation to do that. This will do fine. Cheers. Jiri Paul Andrews wrote: Paul Andrews wrote: Jiri wrote: When i have a 8 bit int where only one of the bit can be 1, what is then the quickest way to get that bit position

Re: [Flashcoders] bitwise question

2009-09-15 Thread Jiri
0010 0100 etc.. Will do testing tomorrow. jiri John McCormack wrote: It's a little curious loop! i=0 i shifted = 0 i++ gives = 1 binary 0001 i shifted = 2 binary 0010 i++ gives i=3 binary 0011 i shifted=6 binary 0110 i++ gives i= 7 binary 0111 i

Re: [Flashcoders] bitwise question

2009-09-15 Thread Jiri
Cheers. Jiri Paul Andrews wrote: Juan Pablo Califano wrote: Another option: function test(value:int):int { // just to be safe... value = value 0xff; switch(value) { case 0x01: return 0; case 0x02: return 1; case 0x04: return 2; case 0x08: return 3; case 0x10: return 4

[Flashcoders] Strange RegExp behaviour

2010-03-18 Thread Jiri
); } childs-- } I have three movieclips called 'frame_0' , 'frame_1' and 'frame_2' for sure, but it when I run the above code, it only show 1 and 0?? Anybody has an idea? Jiri On 11/03/2010 22:16, Guest Services, City Concierge wrote: We're looking for a coder

[Flashcoders] Distribute evenly over half a circle

2010-03-23 Thread Jiri
Does someone know how to distribute a n number of sprite of a top half circumference of a cicrle. I have this, but cant figure out the offset. function plot():void { var totalNumbers:int = 5; var slice:Number = ( 180 / totalNumbers ); var p:Point; for (var

Re: [Flashcoders] Distribute evenly over half a circle

2010-03-23 Thread Jiri
tnx Erik. Jiri On 23/03/2010 16:33, Mattheis, Erik (MIN - WSW) wrote: Half a circle is PI radians, so you'd increment by Math.PI / (totalNumbers - 1) Try - function plot():void { var totalNumbers:int = 5; var radius:Number = 30; var startAt:Number = Math.PI/2

[Flashcoders] JSFL question on shapes and strokes.

2010-06-01 Thread Jiri
Hello, I am trying to convert some drawings on stage into a movieclip via jsfl. It works when all the elements on stage are separatly grouped. JSFL doesnt seem to 'see' non grouped drawings as seperate entities. To clearify, I have on frame on the main timeline. In this frame I have three

[Flashcoders] colorpallete pngencoder

2010-06-15 Thread Jiri
Hello, i am using the PNGEncoder to create png's.Does someone know how and if it is possible to set the colorpalette of the bitmap data, before encoding it into a png? Jiri ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http

[Flashcoders] Question on variable init in a for loop

2010-08-04 Thread Jiri
' is not resetted to null on every iteration as I would expect. I have to explicitly set the id to null myself! Does some know why this is, or are my expectations just wrong. Jiri ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http

[Flashcoders] const inside function

2010-08-05 Thread Jiri
] + my_var } } What is the difference compared to this: function doSomething():void{ var my_var:String = my_var var buffer:String = ''; for(var i:int = 0 ; ilist.length ; i++){ buffer += list[i] + my_var } } Regards, Jiri

Re: [Flashcoders] const inside function

2010-08-06 Thread Jiri
Ok, thanks. Yes that makes sense. I was thinking that it might be a slight enhancement to speed up execution time of a function. Jiri On 05-08-10 19:20, Juan Pablo Califano wrote: The difference is that the reference is constant, meaning you cannot change it. You can't do this: const

[Flashcoders] Could this be done more elegant.

2010-08-13 Thread Jiri
{ addValue = -1 } buffer+=addValue if(buffer treshold) { buffer = treshold; }else if(buffer -treshold) { buffer = -treshold; }else if(buffer == 0) adjustQuality() } Cheers, Jiri

Re: [Flashcoders] Could this be done more elegant.

2010-08-13 Thread Jiri
is below 30. I wanted to prevent this and make the profiling a bit better. Not toggle all the time, but just wait a bit before doing the call. So it is not so much about the execution based on EnterFrame but more on how to write the function a bit cleaner. Jiri On 13-08-10 10:29, Henrik

Re: [Flashcoders] Could this be done more elegant.

2010-08-13 Thread Jiri
better. Not toggle all the time, but just wait a bit before doing the call. So it is not so much about the execution based on EnterFrame but more on how to write the function a bit cleaner. Jiri On 13-08-10 10:29, Henrik Andersson wrote: I use a different event than what you are most likely

[Flashcoders] Question FP10 inactive event dispatched when not visible.

2010-08-17 Thread Jiri
'. Does somebody know if that is done, or could point me to an article describing this behaviour Regards, Jiri ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Embedding Fonts, it should be easy...., right!

2010-09-14 Thread Jiri
Hello, i am really getting headache from Embedded font stuff in as3 and would like some help. I embedded the fonts by using the Embed tag: code [Embed( source='../../../../../fonts/myriad pro/MyriadPro-Bold.otf', fontName='MyriadProFont', unicodeRange='U+0010-U+00FC',

Re: [Flashcoders] Embedding Fonts, it should be easy...., right!

2010-09-15 Thread Jiri
fontStyle regular fontTypeembedded length 4 So although regsitering two fonts to the Font class, it shows 4 Font instances in the embeddedFonts?? Anybody has another take? Jiri On 14-09-10 22:39, Keith Reinfeld wrote

[Flashcoders] Path/Point interpolator

2010-10-27 Thread Jiri
to say. Could someone give me a hint on how to tackle this. Much appreciated. Jiri ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Linebreak textfield

2006-01-08 Thread Jiri Heitlager
.this is a text and has many lines. -- So far i can only think of something like this. But I cant get the linebreaks from the textfield. Pseudo code: var lookfor = '\r'; var replacewith = '\r\t'; textfield.text = stringreplace(textfield.text , lookfor, replacewith); Thnx in advance Jiri

[Flashcoders] Re: How to Build a Flash Bandwidth Tester?

2006-01-18 Thread Jiri Heitlager
it appears. But how this exactly is being done I cant quit figure out? Anybody, I am curious now. Jiri ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Hybrid CD's

2006-01-25 Thread Jiri Heitlager
He, I am planning to make a cd with FLV's on it. It needs to become a hybrid cd. I was wondering if somebody maybe knows some good resources that explain how to make an Hybrid cd and what potentially could be some difficulties. Thnx in advance, Jiri

[Flashcoders] FLV not showing, please help

2006-01-26 Thread Jiri Heitlager
Can somebody please take a look at my code. The flv doesnt show, but the audio I do hear. class flvController { private var flvArray : Array; private var flvHolder : MovieClip; private var flvObject : Video; public var my_nc : NetConnection; public var

[Flashcoders] adding button handlers extending movieclip

2006-02-08 Thread Jiri Heitlager
extend the MovieCLip class. And how would i do this. Or is this the normal way to do it? Jiri ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Encrypting data

2006-03-14 Thread Jiri Heitlager
Hello, I am currently making a game that sends the highscore to a php file that puts it into a database. If I would just send the var score to a php file, then it will be quit easy to manipulate the score. Using the firefox plugin Live HTTP Headers it is easy to see what is being send from

[Flashcoders] Question on removeMovieClip

2006-04-08 Thread Jiri Heitlager
(){ _root.mc.removeMovieClip() } Can somebody explain why that is? Jiri -- --- Jiri Heitlager Stichting z25.org Concordiastraat 67A 3551 EM Utrecht tel:06-28159323 http://www.z25.org [EMAIL PROTECTED] ___ Flashcoders

[Flashcoders] saving bmp from flash

2006-05-15 Thread Jiri Heitlager
in an Array. Then use screenweaver to save the array to a file. But how do I build an .bmp then. Would this be possible to save a bmp from flash or does someone knows a solution using php. Thank you in advance. Jiri ___ Flashcoders@chattyfig.figleaf.com

[Flashcoders] Overriding method FlashPaper

2006-08-02 Thread Jiri Heitlager
Hi I have a question. I am overridding the goToLinkTarget () method of flashpaper object. The reason is that the links to pages, where not opening in a new window. It works but somehow the anchors dont work anymore. I dont understand why because I am simply just forwarding the aguments. I

[Flashcoders] Flashpaper issue with large Word doc

2006-08-30 Thread Jiri Heitlager
the first 200 pages, all works fine. Is there anybody that once coverted a large word doc with hyperlinks and that experienced the same problem? Thnk you -- --- Jiri Heitlager Stichting z25.org Concordiastraat 67A 3551 EM Utrecht tel:06-28159323 http://www.z25.org [EMAIL PROTECTED

[Flashcoders] Flashpaper issue with large Word doc

2006-08-31 Thread Jiri Heitlager
the first 200 pages, all works fine. Is there anybody that once coverted a large word doc with hyperlinks and that experienced the same problem? Thnk you --- Jiri Heitlager ___ Flashcoders@chattyfig.figleaf.com To change your subscription options

[Flashcoders] FlashPaper limited amount of links

2006-09-03 Thread Jiri Heitlager
to an .swf, the links work fine. It seems that the links start breaking up when a .doc has more then 400 links. Did anybody ever experience this, or is this a know bug. I searched the web, but could not find anything about it. Jiri ___ Flashcoders

[Flashcoders] Using transform matrix

2006-09-18 Thread Jiri Heitlager
on the matrix grid? Thank you Jiri ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe

[Flashcoders] Class packaging swc

2006-10-11 Thread Jiri Heitlager
have an idea how to handle this problem? Jiri ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized

[Flashcoders] onPrinting done

2006-10-12 Thread Jiri Heitlager
Is it somehow possible to recieve a notice when a printer is done printing a document? Can this be done with flash? Jiri -- --- Jiri Heitlager Stichting z25.org Concordiastraat 67A 3551 EM Utrecht tel:06-28159323 http://www.z25.org [EMAIL PROTECTED

Re: [Flashcoders] swf working but in browser doesnt???!!!

2007-02-28 Thread Jiri Heitlager
I am not sure if this will help you, but I had some .swf's in the past that didnt work as expected online, altough offline the worked fine. Check the local playback security in PublishSettings. maybe it is not set correct. Jiri Omar Fouad schreef: i have a flash movie that i am still

Re: [Flashcoders] Need help problem with sound object

2007-03-08 Thread Jiri Heitlager
When creating a sound object, you should give a movieclip as it parameter var snd:Sound = new Sound(movieclipReference) By not assigning a movieclip, you acces the global sound. Jiri creativity wrote: Hi, i have used sound object at level 0 which is controlled by a button to stop

[Flashcoders] Isometic game - zdepth managing for multiple movable characters

2007-09-12 Thread Jiri Heitlager
every movable object needs to check/swap z-depth on every frame. Wouldn't that be to CPU intensive? I really hope someone can clear this up for me. thank you in advance, Jiri ___ Flashcoders@chattyfig.figleaf.com To change your subscription options

Re: [Flashcoders] Isometic game - zdepth managing for multiple movablecharacters

2007-09-13 Thread Jiri Heitlager
more. I am not quit sure if I understand it. However, you can optimise quite a bit by sub-sorting - if you know that object 1 is in the rear 16 tiles and object 2 is in the front 16 tiles, no need to check the z-order. Jiri Danny Kodicek wrote: Every object gets a z-depth assigned

Re: [Flashcoders] Isometic game - zdepth managing for multiple movablecharacters

2007-09-13 Thread Jiri Heitlager
/index.htm#Isometry --- Jobe Makar [EMAIL PROTECTED] wrote: Hi Jiri, I've pasted below the isometric class that I wrote for one of my game books. It is a handy class that allows for easy translation between screen coords, and iso coords. In addition, it handles tile-based dept calculations

[Flashcoders] TWeener custom class property tweening

2007-09-13 Thread Jiri Heitlager
:: '+p_value) trace('this x :: '+p_obj.x) } } Thank you. Jiri ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you

Re: [Flashcoders] TWeener custom class property tweening

2007-09-14 Thread Jiri Heitlager
Thanks Zeh, that is exactly what I want to achieve. My apologize that I didn't tested the most obvious first :) Jiri Zeh Fernando wrote: Hey Jiri, I'm not sure if I'm getting it right; but if you want to animate a property of a class, you don't need to register anything. The special

Re: [Flashcoders] Isometic game - zdepth managing for multiple movable characters

2007-09-14 Thread Jiri Heitlager
Thanks everybody for their explanation. I am going to try to implement the z-depth manager as discussed. Jiri Ian Thomas wrote: Hi Jiri, The key here is that you can have 'empty' depth levels i.e. an object at depth 5 and an object at depth 8 with nothing at depth 6 and 7. You can make

[Flashcoders] AS2 loadvars - sends onLoad=[type Function]

2007-10-25 Thread Jiri Heitlager
=0.25max=35min=0onLoad=[type Function] is there someway that I can get ride of this onLoad thing? Thank you, Jiri code private function sendData():Void { var req:LoadVars = new LoadVars(); req.onLoad = Proxy.create( this , onDataReceived , req

[Flashcoders] Step rouding numbers

2008-01-08 Thread Jiri Heitlager
= 0,125 outcome = 100,125 I just havent got a clue on how to approach this problem. Can somebody shed some light on a possible way to go? Thank you, Jiri ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman

[Flashcoders] Step rouding numbers

2008-01-08 Thread Jiri Heitlager
= 0,125 outcome = 100,125 I just havent got a clue on how to approach this problem. Can somebody shed some light on a possible way to go? Thank you, Jiri ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman

Re: [Flashcoders] Step rouding numbers

2008-01-08 Thread Jiri Heitlager
Great, that seems to work like a charm. Thanks a million.. Jiri Hans Wichman wrote: Hi, sonething like: trace (Math.round(100.1/0.15)*0.15); trace (Math.round(100.35/0.5)*0.5); trace (Math.round(100.175/0.125)*0.125); greetz JC On Jan 8, 2008 10:05 AM, Jiri Heitlager [EMAIL PROTECTED] wrote

Re: [Flashcoders] Step rouding numbers

2008-01-08 Thread Jiri Heitlager
Hmm, i understand the logic now, but there is this small thing I dont understand Math.round(100.2/0.15)*0.15) results in 100.2 it should actually be 100.15... Is it possible to get this result, can somebody please help me out (again) Jiri Hans Wichman wrote: Hi, sonething like: trace

Re: [Flashcoders] Step rouding numbers

2008-01-08 Thread Jiri Heitlager
Hans, thank you for the very clear answer. I have a feeling now why things went wrong and will work with your suggested psuedo code. Thank you again. Jiri Hans Wichman wrote: Hi Jiri, well not really, since 100 / 0.15 is not a whole number, it is 666,6 etc. Although this is a great

[Flashcoders] Question on garbage collection

2008-02-15 Thread Jiri Heitlager
watching the Memory I can see it build up. Does this mean that with every clone of the Time object it still holds a reference and therefore doesnt get deleted by the garbage collector. Hope somebody can enlighten me.. Jiri class Clock { private var startTime:Number; private var

Re: [Flashcoders] Question on garbage collection

2008-02-15 Thread Jiri Heitlager
. I tested it with only this two classes instantiated and nothing else. I am hoping somebody can take a look at the code I posted and give me the reassurence that I am doing things correctly. Jiri Bob Leisle wrote: Hi Jiri, I'm not sure which AS version you're using but here are some good

Re: [Flashcoders] Question on garbage collection

2008-02-18 Thread Jiri Heitlager
??? } EECOLOR wrote: Could you post the code that actualy calls these methods? Greetz Erik On 2/15/08, Jiri Heitlager [EMAIL PROTECTED] wrote: Thanks for your reply Bob, it is for AS2. I read a lot of articles about it and understand the general concept. That is why I post the question. If I

  1   2   >