Re: [Flashcoders] Path/Point interpolator

2010-10-27 Thread Jiri heitlager
Thanks, I will study it. It does seem to be a bit more than I am hoping for :) 2010/10/27 Patrick Matte > I think this could help you > > > http://senocular.com/flash/actionscript/files/ActionScript_3.0/com/senocular > /drawing/Path.as > > > > From: Jiri > > Reply-To: Flash Coders List > > D

Re: [Flashcoders] Socket connection between two air applications on the same Network Area

2009-01-12 Thread Jiri Heitlager
Couldn't HaXe a good candidate for a solution? Omar Fouad wrote: Hi all, I wanted to ask if there is a way to let two AIR applications connect to each other through a home network (the same AIR application running on different computers) by using sockets or any other method. Thanks.

Re: [Flashcoders] round number to closet value of 8

2008-12-19 Thread Jiri Heitlager
Indeed it looks very impressive. Could some explain what is does exactly? Hans Wichman wrote: very cool! On Thu, Dec 18, 2008 at 4:26 PM, Benjamin Wolsey wrote: Am Donnerstag, den 18.12.2008, 16:13 +0100 schrieb Hans Wichman: Hi, I think you are looking for : function roundToEight (pVal:Num

Re: [Flashcoders] round number to closet value of 8

2008-12-18 Thread Jiri Heitlager
Thank you all. :) Benjamin Wolsey wrote: Am Donnerstag, den 18.12.2008, 16:13 +0100 schrieb Hans Wichman: Hi, I think you are looking for : function roundToEight (pVal:Number) { return Math.round(pVal/8)<<3; } although 44.9 and 44.4 will both return 48, don't you mean 43.9 and 44.4? int(pV

Re: [Flashcoders] round number to closet value of 8

2008-12-18 Thread Jiri Heitlager
...@chattyfig.figleaf.com] On Behalf Of Jiri Heitlager Sent: Thursday, December 18, 2008 8:55 AM To: Flash Coders List Subject: [Flashcoders] round number to closet value of 8 I am trying to figure out the fastest way to get the closest multitude of 8 from a random Number and I am really not a math

[Flashcoders] round number to closet value of 8

2008-12-18 Thread Jiri Heitlager
I am trying to figure out the fastest way to get the closest multitude of 8 from a random Number and I am really not a math person. var tN:Number = 32.3 //32 var tN:Number = 32.00 //32 var tN:Number = 44.9 //48 var tN:Number = 44.4 //40 Much appreciated if someone could help me out Jiri __

Re: [Flashcoders] Pixel precise

2008-12-17 Thread Jiri Heitlager
If the sprite.x is not an exact round number (so not an correct integer) wouldn't that throw an error??? -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Jiri Heitlager Sent: woensdag 17 december 20

Re: [Flashcoders] Pixel precise

2008-12-17 Thread Jiri Heitlager
Casting to int is faster. var tX:int = int(sprite.x) Jiri jonathan howe wrote: Hi, Laurent, You could use localToGlobal(), apply Math.round() to this global point, compare the original global point with the rounded version, and then offset the child's coordineates by the differences. Caveats

Re: [Flashcoders] What design pattern would this be?

2008-12-08 Thread Jiri Heitlager
. On Sun, Dec 7, 2008 at 5:26 AM, Jiri Heitlager <[EMAIL PROTECTED] wrote: Maybe this one: http://www.as3dp.com/2008/12/06/actionscript-30-visitor-design-pattern-a-tale-of-traverser-and-the-double-dispatch-kid/ or check out the articles there I am sure there is a pattern described that w

Re: [Flashcoders] What design pattern would this be?

2008-12-07 Thread Jiri Heitlager
Maybe this one: http://www.as3dp.com/2008/12/06/actionscript-30-visitor-design-pattern-a-tale-of-traverser-and-the-double-dispatch-kid/ or check out the articles there I am sure there is a pattern described that will suit your needs. I also think the previous comment on overenginering should b

[Flashcoders] E4x replace nodename

2008-12-04 Thread Jiri Heitlager
Hello list, i make the following query on an xml file to retrieve a list with certain node names: var tXML:XML = <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> var pat:RegExp = new RegExp('findname' , 'i') var tList:XMLList = tXML.*.(pat['test'](name())) This works fine, but know i would like to

Re: [Flashcoders] OT: smoothd.com

2008-10-29 Thread Jiri Heitlager
Nice Meinte van't Kruis wrote: has anyone checked out http://www.smoothhd.com/ seems pretty cool, here's the description; SmoothHD.com is an early glimpse of cutting edge new technology from Microsoft and Akamai that will raise the bar on the consumer video experience. SmoothHD.com is powere

[Flashcoders] runtime instantiation

2008-10-28 Thread Jiri Heitlager
I know it is possible to instantiate a class at runtime, but one always needs to put in a concrete piece of code that forces the compiler to actually add the class to the swf. I am currently looking into using this technique to gain flexibility in an application, but the fact that I will always

[Flashcoders] Question on architectural problem.

2008-10-17 Thread Jiri Heitlager
Dear List, I am having a architectural problem and would like to ask people on this list for some input. The project that I am working on uses several models, we call them proxies,i.e RemoteProxy, GameProxy etc... They all extends a base class Proxy and implement an IProxy interface. The ch

Re: [Flashcoders] Question e4x attributes text replace

2008-10-10 Thread Jiri Heitlager
replacement here... xml=new XML(str); Might not be the fastest in the world, depending on the amount of XML you are parsing, but it'll do the job. HTH, Ian On Thu, Oct 9, 2008 at 5:56 PM, Jiri Heitlager <[EMAIL PROTECTED]> wrote: Hello, I have this xml file that I would like to filter o

[Flashcoders] Question e4x attributes text replace

2008-10-09 Thread Jiri Heitlager
Hello, I have this xml file that I would like to filter on a certain string $$lang$$ and I was wondering if it is possible in one go using regExp instead of looping through an XMLList var conf:XML =

Re: [Flashcoders] Retreive name of function within scope of that function

2008-09-16 Thread Jiri Heitlager
in methodTable){ if([EMAIL PROTECTED] == funcRef) { funcName = [EMAIL PROTECTED]; break; } } return funcName; } test(); It's just a quick and dirty test, but it works (at least in the timeline). Cheers Juan Pablo Califano 2008/9/16 Jiri Heitlager <[EMAIL PROTECTED]> Does so

[Flashcoders] Retreive name of function within scope of that function

2008-09-16 Thread Jiri Heitlager
Does somebody now if it is possible to get the name of a function from the scope of that function. function doSomething():void { trace('the name of this function is ' , $$name$$) } Where the trace would be : the name of this function is doSomething In Java one has acces to stack traces

[Flashcoders] AMF objects storing in database

2008-08-28 Thread Jiri Heitlager
I came across a post on storing custom classes as an AMF object. It explains how to do the following. "If you ever need to store the state of a custom object in a ByteArray or SharedObject, or send a custom object through a LocalConnection, there are a few simple steps you can take that will a

Re: [Flashcoders] What's happened to my var?

2008-07-07 Thread Jiri Heitlager
Or add onCompleteScope:this so you dont need to import Delegate class. TweenFilterLite.to(m, tweenTime, {_y:targetPos, onCompleteScope:this , onComplete:moveShape, onCompleteParams:[_timeline.y1]}); Jiri Ali Drongo wrote: Hi there, I've noticed this happen before and can't figure out why.

Re: [Flashcoders] Saffron Modeler - what happened to it

2008-07-03 Thread Jiri Heitlager
http://twitter.com/SamuelAgesilas S. On Jun 30, 2008, at 6:05 PM, Jiri Heitlager wrote: Does somebody know what happend to the saffron UML modelling tool. The site http://www.levelofindustry.com/ is not showing any update anymore. Jiri ___ Flas

[Flashcoders] Saffron Modeler - what happened to it

2008-06-30 Thread Jiri Heitlager
Does somebody know what happend to the saffron UML modelling tool. The site http://www.levelofindustry.com/ is not showing any update anymore. Jiri ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/list

Re: [Flashcoders] Document viewer

2008-06-29 Thread Jiri Heitlager
I don't think that Adobe is especially interested in promoting FlashPaper, which is essentially a competitor or substitute for PDF. What a same, because it has some nice features. Come to think of it, now with the PDF isnt possible to embed flash content and doesnt that open up a way to do som

Re: [Flashcoders] Document viewer

2008-06-27 Thread Jiri Heitlager
ght FlashPaper would allow me to restrict copy and paste and printing. But it only seems to do that for PDF output. Quite dissapointed that Adobe haven't taken FlashPaper forward. On Fri, Jun 27, 2008 at 12:25 PM, Jiri Heitlager < [EMAIL PROTECTED]> wrote: Be carefull with huge docum

Re: [Flashcoders] Document viewer

2008-06-27 Thread Jiri Heitlager
Be carefull with huge documents in Flash Paper. I had some serious issues with that in the past. Jiri Stuart Campbell wrote: @Eric: Thanks. Downloading the trial now. @Paul - yeah screengrabs aren't considered a problem (the documents are so huge that nobody is likely to bother). On Thu, Jun

Re: [Flashcoders] Flip movie clip

2008-06-12 Thread Jiri Heitlager
Is the center point in the middle? Jiri Bassam M wrote: Hi I have Video playing in the center of the stage and I'm using button to filp it function filp(event:MouseEvent):void { mySampleMC.scaleY *= -1; } mySampleMC.addEventListener(MouseEvent.CLICK, flip); but the problem when I flip it c

Re: [Flashcoders] Job offer in Berlin (ActionScript)

2008-06-11 Thread Jiri Heitlager
He Abe, I am a Dutch Flash developer and I am living in Berlin since 1 year now. Your email sounds quit interesting and I would like to get to know a bit more. Could you send me some more details. Thank you, Jiri Heitlager Abe Pazos wrote: The company where I work is growing and needs

Re: [Flashcoders] Question AIR Sqlite api

2008-04-18 Thread Jiri Heitlager
creating a table it is a good idea to check if the table already exists. 'CREATE TABLE IF NOT EXISTS ...' regards, Muzak - Original Message - From: "Jiri Heitlager" <[EMAIL PROTECTED]> To: "Flash Coders List" Sent: Friday, April 18, 2008 10:19 A

Re: [Flashcoders] Question AIR Sqlite api

2008-04-18 Thread Jiri Heitlager
does work? - Original Message - From: "Jiri Heitlager" <[EMAIL PROTECTED]> To: "Flash Coders List" Sent: Thursday, April 17, 2008 10:52 PM Subject: Re: [Flashcoders] Question AIR Sqlite api weird...I will have to look into that and see if there is a work ar

Re: [Flashcoders] Question AIR Sqlite api

2008-04-17 Thread Jiri Heitlager
found the use of synchronous mode to be alot easier. regards, Muzak - Original Message - From: "Jiri Heitlager" <[EMAIL PROTECTED]> To: "Flash Coders List" Sent: Wednesday, April 16, 2008 5:02 PM Subject: [Flashcoders] Question AIR Sqlite api I have a ques

Re: [Flashcoders] Question AIR Sqlite api

2008-04-16 Thread Jiri Heitlager
om: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jiri Heitlager Sent: Wednesday, April 16, 2008 5:02 PM To: Flash Coders List Subject: [Flashcoders] Question AIR Sqlite api I have a question about SQLite and AIR. Does anybody know why I get this error, becuase the connection is open? I pu

Re: [Flashcoders] Question AIR Sqlite api

2008-04-16 Thread Jiri Heitlager
, Regards, Morten Barklund -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jiri Heitlager Sent: Wednesday, April 16, 2008 5:02 PM To: Flash Coders List Subject: [Flashcoders] Question AIR Sqlite api I have a question about SQLite and AIR. Does anybody

[Flashcoders] Question AIR Sqlite api

2008-04-16 Thread Jiri Heitlager
I have a question about SQLite and AIR. Does anybody know why I get this error, becuase the connection is open? I put the code below. The weird thing is that when I use openAsync instead of open, it does work? Error: Error #3105: Operation is only allowed if a connection has an open transacti

[Flashcoders] Flash developers Berlin - are there any?

2008-04-15 Thread Jiri Heitlager
A bit of topic but here goes anyway. I currently moved from Amsterdam to Berlin and I was wondering if there are any Adobe flash groups or flash related gatherings in Berlin. If anybody knows about some place (on/offline) here in Berlin where I can meet some Flash developers I would be really h

Re: [Flashcoders] Dynamic class instantiation

2008-04-04 Thread Jiri Heitlager
Package.MyClass")) etc On Fri, Apr 4, 2008 at 5:01 PM, Jiri Heitlager <[EMAIL PROTECTED]> wrote: Thanx Alan, using a custom error exception is a nice little added touch :) Jiri Alan MacDougall wrote: Here is the class I use for dynamic instantiation. Note that it throws a custom exce

Re: [Flashcoders] Dynamic class instantiation

2008-04-04 Thread Jiri Heitlager
Thanx Alan, using a custom error exception is a nice little added touch :) Jiri Alan MacDougall wrote: Here is the class I use for dynamic instantiation. Note that it throws a custom exception type, you'll have to create that type yourself or alter that line of code. I copied the instantiation

Re: [Flashcoders] Dynamic class instantiation

2008-04-04 Thread Jiri Heitlager
code to be included in the SWF. Something like: import com.mypack.MyClass; import com.mypack.MyOtherClass; // somewhere in the startup of your app var dummyClasses:Array=[MyClass,MyOtherClass]; should be enough to get them compiled in. HTH, Ian On Fri, Apr 4, 2008 at 1:18 PM, Jiri Heitlag

Re: [Flashcoders] Dynamic class instantiation

2008-04-04 Thread Jiri Heitlager
= _global ; while( packageList.length> 0 ) { constructor = constructor[String(packageList.shift() )]; } return Function(constructor).apply( constructor , args ) ; } On Fri, Apr 4, 2008 at 12:29 PM, Jiri Heitlager <[EMAIL PROTECTED]> wrote:

[Flashcoders] Dynamic class instantiation

2008-04-04 Thread Jiri Heitlager
Hello list, Does anybody know an AS2 version of the AS method getDefinitionByName() I would like to dynamic instantiated classes in AS2 with passing argument to that created instance. I am using a modified script from 'http://blog.generalrelativity.org/' , but the return datatype == null,

Re: [Flashcoders] how to check if child exists

2008-04-02 Thread Jiri Heitlager
From the help files and modified a bit. It is probably more efficient to keep track of names and the do a getChildByName(string) function traceDisplayList(container:DisplayObjectContainer, DispObjToCheck:DisplayObject) : Boolean { var child:DisplayObject; for (var i:uint=0; i < conta

Re: [Flashcoders] Some feedback on a coding design question

2008-04-02 Thread Jiri Heitlager
decides what actions to take in response to user interaction with the application. Thanks, Raymond Simmons - Original Message - From: "Jiri Heitlager" <[EMAIL PROTECTED]> To: "Flash Coders List" Sent: Tuesday, April 01, 2008 6:03 AM Subject: [Flashcoders]

[Flashcoders] Some feedback on a coding design question

2008-04-01 Thread Jiri Heitlager
Hello List, I am currently building an application that uses panels. The Panels implement a Composite Pattern. The panel holds instances of panelButtonSets class. The panel displays certain sets based on a selected item in the client code. Now my question is, how do I get around a lot of if s

Re: [Flashcoders] AS3 MouseEvent target?

2008-04-01 Thread Jiri Heitlager
I think the best way to learn about Event Bubbling is understanding the Composite desing pattern. This is the pattern the DisplayList is implementing and bubbling will make much more sense when you understand the workings of the Composite Pattern. At least it did for me. Jiri Steven Sacks wro

Re: [Flashcoders] How to determine value of source code

2008-03-27 Thread Jiri Heitlager
l the time to (re)develop all those libraries (and associated testing etc.). And I'll explain the reasons behind it. At that point they look at the numbers, look uncomfortable, and say 'okay, well, maybe we don't want the source code, then.' :-) Ian On Wed, Mar 26, 2008 at 11:

[Flashcoders] How to determine value of source code

2008-03-26 Thread Jiri Heitlager
Hello, a client of mine has requested to buy the source code of a project I did for them. I havent really sold any source code yet, so I was wondering if somebody maybe could give me some tips, because I really dont know how to value source code? I was thinking in the line of a percentage o

Re: [Flashcoders] Decorator Pattern - removing a decorator

2008-03-20 Thread Jiri Heitlager
Steven, thanks for that helpfull reply. It is funny becuase I was just thinking about the dualism, on the one hand there are these wonderfull elegant design patterns that supposed to make things easier and on the other hand it seems like coding has just became harder ever since when I started

Re: [Flashcoders] Decorator Pattern - removing a decorator

2008-03-20 Thread Jiri Heitlager
e used a design pattern, than beginning to code thinking you have to use a specifick pattern, but that's just my humble opinion. On Thu, Mar 20, 2008 at 6:08 PM, Jiri Heitlager < [EMAIL PROTECTED]> wrote: I could use another design pattern, but I need to figure out which one then. The ap

Re: [Flashcoders] Decorator Pattern - removing a decorator

2008-03-20 Thread Jiri Heitlager
really don't recommend this, though -- instead, use a different design pattern or program architecture. On 3/20/08, Jiri Heitlager <[EMAIL PROTECTED]> wrote: Hello List, i am looking into the decorator pattern for an upcoming AS2 project. I was wondering if the following is possible v

[Flashcoders] Decorator Pattern - removing a decorator

2008-03-20 Thread Jiri Heitlager
Hello List, i am looking into the decorator pattern for an upcoming AS2 project. I was wondering if the following is possible var com:Component = new Component() com = new decoratorA(com) com = new decoratorB(decA) com = new decoratorC(decB) I cant seem to figure out what I need to do in order

Re: [Flashcoders] Question on garbage collection

2008-02-18 Thread Jiri Heitlager
slowly going up, but that is because we are doing a trace each interval. Note that it takes a few seconds for the memory to be stable. Greetz Erik On 2/18/08, Jiri Heitlager <[EMAIL PROTECTED]> wrote: Erik, it would be something like this: var c:Clock = new Clock(); getTime() setIn

Re: [Flashcoders] Question on garbage collection

2008-02-18 Thread Jiri Heitlager
be better ??? } 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

Re: [Flashcoders] Question on garbage collection

2008-02-15 Thread Jiri Heitlager
some good links on garbage collection in AS3. http://www.bit-101.com/blog/?p=783 http://gskinner.com/blog/archives/2006/06/as3_resource_ma.html http://board.flashkit.com/board/showthread.php?t=756290 32000+ more links can be found by googling, "Flash AS3 garbage collection". hth, Bob

[Flashcoders] Question on garbage collection

2008-02-15 Thread Jiri Heitlager
Hello List, I have two classes Time and Clock, see below. To get good encapsulation, in the Time class I added a function called clone(). This returns a copy of the Time instance, instead of a reference to it. Now I run the code, using an interval that calls the Clock.getElepasedTime(). While wat

Re: [Flashcoders] Step rouding numbers

2008-01-08 Thread Jiri Heitlager
(0.2/0.15)*0.15 trace(100 + Math.round (0.2/0.15)*0.15); Im not sure you wont get rounding errors though... greetz JC On Jan 8, 2008 12:08 PM, Jiri Heitlager <[EMAIL PROTECTED]> wrote: Hmm, i understand the logic now, but there is this small thing I dont understand Math.round(100.2/0.15

Re: [Flashcoders] Step rouding numbers

2008-01-08 Thread Jiri Heitlager
(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: Hello, i am not at all a mathematic/calculus wonder and would therefore like some help with the following.

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

[Flashcoders] Step rouding numbers

2008-01-08 Thread Jiri Heitlager
Hello, i am not at all a mathematic/calculus wonder and would therefore like some help with the following. I need to round numbers up or down to a certain step size. As an example: nVal = 100,1 nStep = 0,15 outcome = 225,15 nVal = 100,35 nStep = 0,5 outcome = 100,5 nVal = 100,175 nStep = 0,125

[Flashcoders] Step rouding numbers

2008-01-08 Thread Jiri Heitlager
Hello, i am not at all a mathematic/calculus wonder and would therefore like some help with the following. I need to round numbers up or down to a certain step size. As an example: nVal = 100,1 nStep = 0,15 outcome = 225,15 nVal = 100,35 nStep = 0,5 outcome = 100,5 nVal = 100,175 nStep = 0,125

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

2007-10-25 Thread Jiri Heitlager
Hello, good to see that the list is back and running again! I have a question about Loadvars object. The following code bellow sends all the data nicely to a server, but it also send the loadVars.onLoad method. That is on the server this is received: unit=V&name=Input voltage&value=24&step=0.

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

2007-09-14 Thread Jiri Heitlager
eeSlotNumberForThisYValue That's not exact, but you get the idea. That way, generally you just need to assign a depth to an object, you don't need to shuffle all the other objects around. IIRC, it worked rather well. Hope that's helpful. Ian On 9/11/07, Jiri Heitlager <[EMAIL P

Re: [Flashcoders] TWeener custom class property tweening

2007-09-14 Thread Jiri Heitlager
t's already acessible, you can tween it directly, with no special property, wrapping function, or anything. Ie: Tweener.addTween(this, {x:10, time:.5}); Zeh Jiri Heitlager wrote: I tried to use the Tweener class to 'animate' a property of a class, but it doenst seem to work.

[Flashcoders] TWeener custom class property tweening

2007-09-13 Thread Jiri Heitlager
I tried to use the Tweener class to 'animate' a property of a class, but it doenst seem to work. Can somebody point me out, what it is I am doing wrong. Here is my code /** * ... * @author Default * @version 0.1 */ import caurina.transitions.Tweener; import org.dadata.utils.Proxy; class Test.t

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

2007-09-13 Thread Jiri Heitlager
-8026 mobile: 919-609-0408 fax: 919-882-1121 - Original Message ----- From: "Jiri Heitlager" <[EMAIL PROTECTED]> To: Sent: Tuesday, September 11, 2007 8:50 AM Subject: [Flashcoders] Isometic game - zdepth managing for multiple movablecharacters He guys (and maybe girls

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

2007-09-13 Thread Jiri Heitlager
First off, thanks that you people took the time to help me out and thank you Jobe for sending me your class. I appreciate that, but would really like to program the game myself from scratch to get a full understanding on how games like this are made. I am reading all the replies and trying to

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

2007-09-12 Thread Jiri Heitlager
He guys (and maybe girls), I have a question that is related to z-depth managing in an isometric game, that needs to be made in AS2. In the game I basically use one abstract layer that holds all the tiles and their information wheter or not a movable object is allowed to 'walk' over the tile.

Re: [Flashcoders] search engine optimization for flash sites

2007-09-06 Thread Jiri Heitlager | dadata.org
Robin, maybe this will help. It wont solve all your problems, but could make a solution a bit easier. http://www.asual.com/swfaddress/ Jiri Robin Burrer wrote: Hi there, My client wants to have his website optimized for search engines. I don't know much about this topic. The binary data o

[Flashcoders] Iterator question

2007-08-27 Thread Jiri Heitlager | dadata.org
Hello list, i have a page object that contains has a Array that holds pageElements. This is a storage for elements with an iPageElement interface. The page object has an destroy() method. When page.destroy() is called, it will loop trough the page.pageElements Array using an iterator. Every iP

[Flashcoders] Colin Moock Book - stores in Berlin

2007-07-16 Thread Jiri Heitlager | dadata.org
Hello, My question has not so much to do with actual coding, so I hope that it is not a problem posting it here. I am currently living in Berlin for a few months and I am looking for a bookstore where I can buy the new Colin Moock book on AS3. If somebody on the list happens to be living in Berli

Re: AW: [Flashcoders] Turn image around effect?

2007-06-29 Thread Jiri Heitlager | dadata.org
Hmmm, i would also really like to know how they did that. It seems to be running in as2 FP8, so that probably rules out papervision. Maybe it is done by Sandt, but I cant figure out how. But then again it could also be done by using mask, couldn't it. Jiri Matthias Dittgen wrote: have you tri

[Flashcoders] Preloading mp3 - onLoad vs GetBytesLoaded()

2007-06-29 Thread Jiri Heitlager | dadata.org
Hello list, I have a question on preloading mp3's. When I start preloading the mp3 I set the isstreaming to false. Then I check the bytesloaded compared to bytestotal en when that is 100% procent it means all is loaded When I start preloading the sound, I also delegate the function onLoad of th

Re: [Flashcoders] Grid / Math - getting neighbouring positions

2007-06-18 Thread Jiri Heitlager | dadata.org
I'll take it ;) thanks for everybody's help. Jiri Merrill, Jason wrote: That is a nice solution, but it leaves me with the problem that starting from one point (3,2) it only produces a set of points of ring directly around the selected point. I am looking for a solution to get _all_ the poi

Re: [Flashcoders] Grid / Math - getting neighbouring positions

2007-06-17 Thread Jiri Heitlager | dadata.org
Thxn Joshua and others, I have to look into that. In the mean time I came up with the following code. This takes in a vector and then calculates a 'ring' from that position. With this, I can scale up the 'radius' and get recursively get all the rings from a point from in to outer ring. My goal

Re: [Flashcoders] Grid / Math - getting neighbouring positions

2007-06-17 Thread Jiri Heitlager | dadata.org
Please I really need help on this on, I am cracking my head over it. Bresenham algo is also not the way to go, because it is for circle's and to complex! I can only get one ring, arggg If I go one ring further then it results in many double values, calculate allready when doing the fir

Re: [Flashcoders] Grid / Math - getting neighbouring positions

2007-06-16 Thread Jiri Heitlager | dadata.org
rpose of knowing this? Ron Jiri Heitlager | dadata.org wrote: Hello list, I have the following grid and would like to find the neighbouring positions of a certain point, going in a radius from in to out, covering all the positions. [0,0] [1,0] [2,0] [3,0] [4,0] [0,1] [1,1] [2,1] [3,1] [4,1]

Re: [Flashcoders] Grid / Math - getting neighbouring positions

2007-06-16 Thread Jiri Heitlager | dadata.org
ll objects with for loops. for(var i-0; iBank of America GT&O Learning & Leadership Development eTools & Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jiri Heitlager | dadata.org Sent: Saturday, June 16, 2007 8

Re: [Flashcoders] Grid / Math - getting neighbouring positions

2007-06-16 Thread Jiri Heitlager | dadata.org
this? Ron Jiri Heitlager | dadata.org wrote: Hello list, I have the following grid and would like to find the neighbouring positions of a certain point, going in a radius from in to out, covering all the positions. [0,0] [1,0] [2,0] [3,0] [4,0] [0,1] [1,1] [2,1] [3,1] [4,1] [0,2] [1,2]

[Flashcoders] Grid / Math - getting neighbouring positions

2007-06-16 Thread Jiri Heitlager | dadata.org
Hello list, I have the following grid and would like to find the neighbouring positions of a certain point, going in a radius from in to out, covering all the positions. [0,0] [1,0] [2,0] [3,0] [4,0] [0,1] [1,1] [2,1] [3,1] [4,1] [0,2] [1,2] [2,2] [3,2] [4,2] [0,3] [1,3] [2,3] [3,3] [4,3] [0,

[Flashcoders] Grid - getting neighbouring positions

2007-06-16 Thread Jiri Heitlager | dadata.org
[0,0] [1,0] [2,0] [3,0] [4,0] [0,1] [1,1] [2,1] [3,1] [4,1] [0,2] [1,2] [2,2] [3,2] [4,2] [0,3] [1,3] [2,3] [3,3] [4,3] [0,4] [1,4] [2,4] [3,4] [4,4] I have the following grid and would like to find the neighbouring positions of a certain point, going in a radius from in to out, covering all th

[Flashcoders] Mathematics specialist - trigonometry

2007-06-16 Thread Jiri Heitlager | dadata.org
Hello list, I have a client that wants something like this: http://www.wdcs.co.uk/media/flash/whalebanner/content_pub_en.html Basically a huge image is split into tiles, and each load a tileImage. The user can drag a navigator (small view in ratio) over the image. It can occur that the tiles und

[Flashcoders] SWX and security

2007-05-25 Thread Jiri Heitlager | dadata.org
I have been reading up on SWX by Aral Balkan and have a question that maybe the list can answer. Dealing with sending data to a server from flash there is always the question of security. Making games in flash and sending data to a server is always a hassle when the sended data needs to be obscur

Re: [Flashcoders] amfphp.org?

2007-05-17 Thread Jiri Heitlager | dadata.org
The new URL is http://www.amf-php.org Jiri Hershell Bryant wrote: See Count Schemula's reply...it's at sourceforge. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of dnk Sent: Tuesday, May 15, 2007 9:43 AM To: Flashcoders Subject: [Flashcoders] amfphp.o

[Flashcoders] Question on removeEventListener and Delegate callback

2007-05-08 Thread Jiri Heitlager | dadata.org
I was wondering if I am doing something correctly when adding listeners to objects. My question is, if I remove the listener is the code below then the right way. Do I use the Proxy class (or mx.utils.Delegate) also when I remove the listener?? //adding a listener this.currentDisplayObject.addEve

[Flashcoders] Question on removeEventListener and Delegate callback

2007-05-08 Thread Jiri Heitlager | dadata.org
Hello List, I was wondering if I am doing something correctly when adding listeners to objects. My question is, if I remove the listener is the code below then the right way. Do I use the Proxy class (or mx.utils.Delegate) also when I remove the listener?? //adding a listener this.currentDisplay

[Flashcoders] Question on removing Proxied Functions and EventListeners

2007-05-08 Thread Jiri Heitlager | dadata.org
Hello List, I was wondering if I am doing something correctly when adding listeners to objects. My question is, if I remove the listener is the code below then the right way. Do I use the Proxy class (or mx.utils.Delegate) also when I remove the listener?? //adding a listener this.currentDispla

[Flashcoders] Question on removeEventListener and Delegate callback

2007-05-07 Thread Jiri Heitlager | dadata.org
I was wondering if I am doing something correctly when adding listeners to objects. My question is, if I remove the listener is the code below then the right way. Do I use the Proxy class (or mx.utils.Delegate) also when I remove the listener?? //adding a listener this.currentDisplayObject.add

[Flashcoders] Matrix Building

2007-04-26 Thread Jiri Heitlager | dadata.org
Can somebody help me out with dynamically building a matrix of clips. Well it is not really a matrix, see example: 1 2 3 4 12 5 11 6 10 9 8 7 Thanks.. Jiri ___ Flashcoders@chattyfig.figleaf.com To change your subscription opt

[Flashcoders] Matrix Building

2007-04-26 Thread Jiri Heitlager | dadata.org
Can somebody help me out with dynamically building a matrix of clips. Well it is not really a matrix, see example: 1 2 3 4 12 5 11 6 10 9 8 7 Thanks.. Jiri ___ Flashcoders@chattyfig.figleaf.com To change your subscription opti

Re: [Flashcoders] Init generic clip

2007-04-18 Thread Jiri Heitlager | dadata.org
the enclosed script to be executed before the frame of the timeline it is seen on is started. Is this possible. For more light on what I am trying to achive, the file can be downloaded here: playground.dadata.org/initButtonWoo.fla Jiri Heitlager | dadata.org wrote: Hello list, I have made a ve

[Flashcoders] Init generic clip

2007-04-18 Thread Jiri Heitlager | dadata.org
Hello list, I have made a very simpele MovieClip that functions as a generic button, this is clip 'gen_btn_mc'. For the designers it is important that I place the gen_btn_mc on stage and not attach it at runtime. The gen_btn_mc clip itself has a few functions on the 1st frame of its timeline, the

Re: [Flashcoders] AS2 TextField with html content question

2007-04-12 Thread Jiri Heitlager | dadata.org
I think you have to use a placeholder. So in you html code that is rendered in the input field set the width and height: To detect if images are loaded I think you will have to make something like a proxy class that handles the loading of the images (offscreen for instance) Jiri Max Kauf

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 a

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

2007-02-28 Thread Jiri Heitlager
d the swfobject.js and my stage is 1200x1000 px. set the Stage.scaleMode to "noScale" and alligned to top left. i used to do this with many projects and it works just fine.. what is the problem than in this one?? any ideas?? thanks -- --- Jiri Heitlager Stichting z25.org Conc

[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

[Flashcoders] Class packaging swc

2006-10-10 Thread Jiri Heitlager
For a project, I made two movieclips that are both linked to an as class in the linkage Identifier box. Now I want to protect my classes so I read an article that explains how to make a compiled clip, a class packager. It all worked well, becuase I tested the .swc in new .fla. The classes are al

[Flashcoders] Using transform matrix

2006-09-18 Thread Jiri Heitlager
I need to build an application for a client to scale and rotate an image. I am thinking of using a tranfomation matrix, but am not so familiar with it. I read the article of Senocular: http://www.senocular.com/flash/tutorials/transformmatrix/ i did some tests. The app itself places four handlers

[Flashcoders] FlashPaper limited amount of links

2006-09-03 Thread Jiri Heitlager
I am experiencing a very weird bug with converting .doc to flashpaper .swf. The .doc is very large, 400 pages and holds +400 hyperlinks. When converting to an .swf, all the links on the first 200 pages are gone. When I reduce the page amount of the .doc to 200 pages, and convert it again to an .

[Flashcoders] Flashpaper issue with large Word doc

2006-08-31 Thread Jiri Heitlager
y 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 optio

[Flashcoders] Flashpaper issue with large Word doc

2006-08-30 Thread Jiri Heitlager
y 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 PROT

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

[Flashcoders] saving bmp from flash

2006-05-14 Thread Jiri Heitlager
I am looking for a way to capture webcam images from Flash and save them as .bmp's. Using PHP is not a possibilty because it cannot save images as a .bmp. Is it in theory possible to use screenweaver. So in Flash I would run trough all the pixels getting there value and store these values in an

  1   2   >