Re: [Flashcoders] Learn AS2 or AS3?

2005-10-21 Thread Meinte van't Kruis
Well actually there's some difference in learning AS2 with, say, flash mx 2004 and learning it with flash 8. Not that the language is any different, but the API of flash 8 can be a bit more overwhelming (it's API is more OOP orientated than that of 2004), so perhaps start going through the stuff

Re: [Flashcoders] flex 2 for games?

2005-11-20 Thread Meinte van't Kruis
I think the major advantage to as3 is the fact that the virtual machine running it is quite a bit faster. The other part is the fact that your code will be more robust, more oop, more clean in a way. The disadvantage is obviously the fact that the whole as3/player 8.5 is still in alpha. Plus as3

Re: [Flashcoders] flex 2 for games?

2005-11-21 Thread Meinte van't Kruis
as soon as it's finished you mean ;) On 11/20/05, fla coder [EMAIL PROTECTED] wrote: that said, maybe it's worth looking at www.haxe.org, so as not to tie in with only one AS flavour. On 20/11/05, Meinte van't Kruis [EMAIL PROTECTED] wrote: I think the major advantage to as3 is the fact

Re: [Flashcoders] Re: Re: Flash is a single-threaded app? Maybe it'sjusttheAVM? or...

2005-12-07 Thread Meinte van't Kruis
define its Update method, add it to array, and in on enter frame loop through that array and for each element call Update ^^ sounds like a job for AsBroadCaster! hooray On 12/7/05, A.Cicak [EMAIL PROTECTED] wrote: Believe me multithreding is lot harder to debug, read and maintain in most

Re: [Flashcoders] Re: Re: Flash is a single-threaded app? Maybe it'sjusttheAVM? or...

2005-12-08 Thread Meinte van't Kruis
as for onenterframe (as with other 'major' events), I usually bubble that event, as to give me more control of which object(usually a movieclip) listens and which one doesn't, without altering the object itself. Has little to do with threading, but I'm not sure if simulating threading in

[Flashcoders] Asbroadcaster and setinterval

2005-12-12 Thread Meinte van't Kruis
Hello, I'm trying something that might be obvious, but somehow isn't. What I'm trying to do is broadcasting a message on a setinterval basis. I've set up my events broadcaster class and it worked quite well. The problem i had with it was that it extended MovieClip.. The only reason for this was

Re: [Flashcoders] Flash is a single-threaded app? Maybe it's just the AVM? or...

2005-12-12 Thread Meinte van't Kruis
I don't see how UI lock can be effectively solved using actionscript. It seems to me multithreading in AS would be very fancy, and anything fancy that isn't native just slows things down even more in my opinion. On 12/8/05, Mike Britton [EMAIL PROTECTED] wrote: It scares me too, but so does UI

Re: [Flashcoders] Asbroadcaster and setinterval

2005-12-13 Thread Meinte van't Kruis
: Meinte van't Kruis [EMAIL PROTECTED] To: Flashcoders@chattyfig.figleaf.com Sent: Monday, December 12, 2005 10:56 PM Subject: [Flashcoders] Asbroadcaster and setinterval Hello, I'm trying something that might be obvious, but somehow isn't. What I'm trying to do is broadcasting a message

Re: [Flashcoders] Flash is a single-threaded app? Maybe it's just the AVM? or...

2005-12-13 Thread Meinte van't Kruis
/12/05, Meinte van't Kruis [EMAIL PROTECTED] wrote: I don't see how UI lock can be effectively solved using actionscript. It seems to me multithreading in AS would be very fancy, and anything fancy that isn't native just slows things down even more in my opinion. On 12/8/05, Mike Britton

Re: [Flashcoders] Asbroadcaster and setinterval

2005-12-13 Thread Meinte van't Kruis
no longer referes to the original class. Try to use intervalId = setInterval(mx.utils.Delegate.create(this, fireInterval), intervalSpeed); that should work. Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Meinte van't Kruis Sent: 13

Re: [Flashcoders] Public examples of Business RIAs

2006-01-17 Thread Meinte van't Kruis
on a sidenote: Why are YOU convinced that flash is the way to go for a B2B RIA? perhaps if you answer that one, you can better convince the client. (and convince me while you're at it ;) ) On 1/17/06, matt stuehler [EMAIL PROTECTED] wrote: All, I'm trying to convince a potential client that

Re: [Flashcoders] embed SWF with PHP

2006-01-17 Thread Meinte van't Kruis
the mx3d.com example seems a bit ill-chosen, since one can simply 'save as' the php file and end up with the SWF file just as easily on the desktop (in firefox anyway). On 1/17/06, Nathan Derksen [EMAIL PROTECTED] wrote: A DOM viewer, such as the one that comes with Firefox, can easily allow

Re: [Flashcoders] v2 components - are you kidding me?

2006-01-31 Thread Meinte van't Kruis
then maybe your question should be: Why do I use V2 components? -Meinte (the first time I even tried using components was when I discovered the things it put on the highest level(of _root in that case), plus i saw my flash movie go from 5 to 60kb, I never looked at components again after that.)

Re: [Flashcoders] v2 components - are you kidding me?

2006-02-01 Thread Meinte van't Kruis
for the tip. I don't intend to use v2 components myself. I am trying to make a component for distribution, and I would like to make something that can play nicely with stuff that other people are likely to use. Jason On Jan 31, 2006, at 5:11 PM, [EMAIL PROTECTED] wrote: From: Meinte van't Kruis

[Flashcoders] Issue with two instances on a timeline

2006-02-16 Thread Meinte van't Kruis
Hi folks, I've had this problem for a long time and it keeps on coming back once in a while, and allthough I've allways found ways to work around it, I never got to a real solution, so perhaps some of you know the answer. The problem is, simply put: make a textfield, called tfield place it

Re: [Flashcoders] Issue with two instances on a timeline

2006-02-21 Thread Meinte van't Kruis
thx for the answers, how can i include the frame name, number, without going there physically in the movie? gr, Meinte On 2/17/06, Chris Velevitch [EMAIL PROTECTED] wrote: If there are 2 instances with the name name in different frames, can't you refer to a specific instance by including the

Re: [Flashcoders] OOP Concepts

2006-02-21 Thread Meinte van't Kruis
hello, if you'd want to do it conceptually right OOP-wise, basically you have to write a class for each nested clip (or one class for all nested clips if their functionality overlaps). -Meinte On 2/21/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: This is my first experience use the mailing

Re: [Flashcoders] OOP Concepts

2006-02-21 Thread Meinte van't Kruis
More importantly, there can always be a debate about what is the 'cleanest' or best 'OOP' way to do stuff (let's not go down that road again ;) ). But it's good to remember to do things the way you feel most comfortable with, without losing readability. (which is easy for me to say, considering

[Flashcoders] Re: Flash 8 - setMask from BitmapData

2006-02-21 Thread Meinte van't Kruis
I found an answer in: http://www.quasimondo.com/archives/000594.php Who made a nice class for it :). regards, Meinte On 2/21/06, Meinte van't Kruis [EMAIL PROTECTED] wrote: Hi folks, This question has been asked before by franto (http://chattyfig.figleaf.com/pipermail/flashcoders/2005

[Flashcoders] coordinates of a scaled movieclip

2006-04-24 Thread Meinte van't Kruis
Hi folks, I have a problem correctly figuring out the actual x value of the top-left corner of a movieclip when scaling it. To demonstrate to this: put movieclip t on stage(a black box). Edit it, so that it's left top corner isn't on the movieclip centerpoint. this code on stage:

Re: [Flashcoders] coordinates of a scaled movieclip

2006-04-24 Thread Meinte van't Kruis
; clip.removeMovieClip(); Now, (x, y) should be the coordinates of your origin (i.e., top left is at (-x, -y)). Maybe. I haven't tested it. Good luck... Mark On 4/24/06, Meinte van't Kruis [EMAIL PROTECTED] wrote: Hi folks, I have a problem correctly figuring out the actual x value of the top-left

Re: [Flashcoders] coordinates of a scaled movieclip

2006-04-24 Thread Meinte van't Kruis
, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: When the registration point is not the top-left corner of your clip, you might want to check the MovieClip.getBounds() method, it's very handy. Tim. On Mon, 24 April 2006 18:45, Meinte van't Kruis wrote: Hi folks, I have a problem correctly

Re: [Flashcoders] coordinates of a scaled movieclip

2006-04-24 Thread Meinte van't Kruis
actually, I'm not sure if localToGlobal does anything with the scaling. I have the feeling it simply adds coordinates of parent movieclips to the local ones.. On 4/24/06, Meinte van't Kruis [EMAIL PROTECTED] wrote: getBounds doesn't really help, as I'm also tracing it, and it doesn't seem

Re: [Flashcoders] coordinates of a scaled movieclip

2006-04-24 Thread Meinte van't Kruis
allright, thanks, I'll check into it. On the long run perhaps moving things out of the timeline saves quite alot of time (sounds trivial typed down ;) ). thanks, Meinte ps. it's good to know localToGlobal takes away alot of work, I always found it quite the opposite, now I can honoustly say I'm

[Flashcoders] the Function class and messing with it

2006-06-22 Thread Meinte van't Kruis
Hi folks, In common javascript it's possible to alert a function and 'see' the function as it is. function test(){ alert(A); } Prints out in javascript excactly as it is, in actionscript you get '[Type Function]'. Is there any way to somehow to see the internals of a function in

Re: [Flashcoders] the Function class and messing with it

2006-06-22 Thread Meinte van't Kruis
, the function does not exist the way, you coded it. Don't know about AS3 ... Janosch Meinte van't Kruis schrieb: Hi folks, In common javascript it's possible to alert a function and 'see' the function as it is. function test(){ alert(A); } Prints out in javascript excactly

Re: [Flashcoders] AS3 - Missing

2006-07-05 Thread Meinte van't Kruis
I'm not sure if it's entirely impossible to assign one class to multiple movieclips, but if that's true than the easiest way to overcome that problem is make a baseclass 'Country' and have Brazil extends Country. You still have the silly task of assigning all your countries to a different class,

Re: [Flashcoders] AS3 - Missing

2006-07-05 Thread Meinte van't Kruis
the point. But this silly task wasn´t needed on flash 8. That´s the point. Should it be on flash 9? I don´t think so. Isn´t this the time to ask Adobe to include this feature? But I need help from others developers to show that this feature is essential. On 7/5/06, Meinte van't Kruis [EMAIL

Re: [Flashcoders] AS3 - Missing

2006-07-05 Thread Meinte van't Kruis
no I meant kiss=keep it simple stupid On 7/5/06, Johannes Nel [EMAIL PROTECTED] wrote: KISS is not inheritance over composition. KISS is the reverse. rule of thumb always compose rather than extend so that it will be simple later on to change things. On 7/5/06, Meinte van't Kruis [EMAIL

Re: [Flashcoders] AS3 faster ??

2006-07-07 Thread Meinte van't Kruis
wonder what happens if you load a SWF published with as2.0 into a SWF publishes in as3.0, does it have to switch VMs? On 7/7/06, Johannes Nel [EMAIL PROTECTED] wrote: yes for as3 as well. no as2 in vm2. On 7/7/06, Blumenthal, Peter [EMAIL PROTECTED] wrote: but the faster part should be F9

[Flashcoders] as3: weird package problem

2006-07-15 Thread Meinte van't Kruis
Hellow, I'm currently exploring as3 with the free compiler and keep running against a seemingly strange problem. Here's my class: package nl.test{ public class Test{ public function Test(){ } } } It's sitting in the directory c:\classes\nl\test. That directory is added in

[Flashcoders] Re: as3: weird package problem

2006-07-15 Thread Meinte van't Kruis
On 7/15/06, Meinte van't Kruis [EMAIL PROTECTED] wrote: Hellow, I'm currently exploring as3 with the free compiler and keep running against a seemingly strange problem. Here's my class: package nl.test{ public class Test{ public function Test(){ } } } It's sitting

Re: [Flashcoders] as3: weird package problem

2006-07-15 Thread Meinte van't Kruis
PROTECTED] wrote: it's a stab in the dark, but have you tried renaming your class to somehting different than the folder/package it sits in? package nl.test{ public class MyClassTest{ public function MyClassTest(){ } } } On 7/15/06, Meinte van't Kruis [EMAIL PROTECTED] wrote

Re: [Flashcoders] as3: weird package problem

2006-07-15 Thread Meinte van't Kruis
can anyone test my case and tell me if it actually works? this thing is really weird, i've tried some other options, but just naming a package anything keeps going wrong.. On 7/15/06, Meinte van't Kruis [EMAIL PROTECTED] wrote: Thanks for your reply, I just tried out what you suggested

Re: [Flashcoders] as3: weird package problem

2006-07-15 Thread Meinte van't Kruis
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Meinte van't Kruis Verzonden: zaterdag 15 juli 2006 15:11 Aan: Flashcoders mailing list Onderwerp: Re: [Flashcoders] as3: weird package problem Thanks for your reply, I just tried out what you suggested, but didn't make any difference

Re: [Flashcoders] as3: weird package problem

2006-07-17 Thread Meinte van't Kruis
-elementc:/classes//path-element /source-path But I can't see what's wrong with it -Meinte On 7/15/06, Meinte van't Kruis [EMAIL PROTECTED] wrote: I tried it just yet, doesn't work either :(. On 7/15/06, Bernard Visscher [EMAIL PROTECTED] wrote: Try this: source-path path-elementc

Re: [Flashcoders] as3: weird package problem

2006-07-17 Thread Meinte van't Kruis
haha, ok well at least I'm not the only one. Question is: What is the solution?? I can't imagine beeing the only one wondering bout this.. On 7/17/06, John Giotta [EMAIL PROTECTED] wrote: This same problem had me puzzled too. ___

Re: [Flashcoders] as3: weird package problem

2006-07-18 Thread Meinte van't Kruis
must have the s ame package structure '', as the definition's package, 'nl.test'. - On 7/18/06, Meinte van't Kruis [EMAIL PROTECTED] wrote: haha, ok well at least I'm not the only one. Question is: What is the solution?? I can't imagine beeing the only one wondering bout this.. On 7/17

Re: [Flashcoders] as3: weird package problem

2006-07-20 Thread Meinte van't Kruis
Thanks for replying, sounds like a pretty good hack to me, thanks! -Meinte On 7/19/06, John Giotta [EMAIL PROTECTED] wrote: Hey Meinte, What I've just done is set the file and path then just lowercased the drive letter. Windows C: drive - SET ASFILE=%~dp0TestClass.as SET

Re: [Flashcoders] getting started with AS3

2006-07-23 Thread Meinte van't Kruis
try these as well, helped me get started: http://www.senocular.com/flash/tutorials/as3withmxmlc/ the same guy also posts as3 tip-of-the day on kirupa.com forum. good luck, -Meinte On 7/21/06, Bbt Lists [EMAIL PROTECTED] wrote: Tom Lee wrote: If you are a licensed user of Flash 8, you can

Re: [Flashcoders] as3 and attachmovie

2006-07-25 Thread Meinte van't Kruis
Carl, Everything in AS3 is classes, so you can't do anything without using classes. It's actually easier than attachmovie. Just make a var newMC=new MovieClip(); this.addChild(newMC); feels alot cleaner that attachmovie(gf,gf+_root.getNextHighestDepth(),_root.getNextHighestDepth()); doesn't it

Re: [Flashcoders] Specifying constructors in interfaces

2006-08-08 Thread Meinte van't Kruis
Interesting question, I don't think so because every class constructor needs to be named like the class. So how would you define a constructor in an interface in this case?: public class Example implements IExample{ public funtion Example(){ } } public class Example2 implements

Re: [Flashcoders] Creating an image in one game to be reused in another game

2006-08-14 Thread Meinte van't Kruis
That is a nice workaround, allthough sending a bitmap over an ascii line generates alot of overhead. If you are able to use flash 9 you could use it's ability to send raw bytes back to the server, you would still have to write a serverside solution(i think), but it would be nice. -Meinte On

Re: [Flashcoders] private property doesn't get called?

2006-08-14 Thread Meinte van't Kruis
Just had a quick look here. This is the only place you set your flag: (within closeButton) trace(flag: + this.flag); // undefined this.flag = true; So the fact that you trace it BEFORE setting it kind of explains why it traces undefined. Something that would also be good form is

Re: [Flashcoders] AS3 bitmapdata lock/unlock

2006-08-16 Thread Meinte van't Kruis
from the AS3 reference: Locks an image so that any objects that reference the BitmapData object, such as Bitmap objects, are not updated when this BitmapData object changes. To improve performance, use this method along with the unlock() method before and after numerous calls to the setPixel()

Re: [Flashcoders] shared class library

2006-08-16 Thread Meinte van't Kruis
using CVS would seem the obvious choice. I don't think it's easily done to import classes across a network, tho I'm not a network guru, not at all :). Directly sharing classes would probably be done by sharing your network drive with the classes and have the designer connect to that drive and

Re: [Flashcoders] Flash 7,8,9 , AS 2 and 3 - clarify the situation

2006-08-18 Thread Meinte van't Kruis
Hi, actually the flash 9 player is the current version, allthough I doubt many people in the world have it, since version 8 just got released not too long ago. Tho I do think releasing something in version 8 isn't that big a deal, since alot of people have it allready (

Re: [Flashcoders] PRINTJOB HELL, PRINTJOB NIGHTMARE with several PAGES

2006-08-18 Thread Meinte van't Kruis
my solution is scrolling the text and printing as you go, here's the function. (beware though, it's been ages since writing this, it works tho) function buildPrinter() { _root.print.onPress = function() { var p_length = Math.round(Math.floor

Re: [Flashcoders] PRINTJOB HELL, PRINTJOB NIGHTMARE with several PAGES

2006-08-18 Thread Meinte van't Kruis
_root.test is the textfield, _root.line_length is the lines fitting on one page. good luck! -Meinte On 8/18/06, Meinte van't Kruis [EMAIL PROTECTED] wrote: my solution is scrolling the text and printing as you go, here's the function. (beware though, it's been ages since writing

Re: [Flashcoders] PRINTJOB HELL, PRINTJOB NIGHTMARE with several PAGES

2006-08-21 Thread Meinte van't Kruis
Very cool idea Haikal! Certainly seems the best option for text printing, I'm going to try it one day. thanks, -Meinte On 8/21/06, Haikal Saadh [EMAIL PROTECTED] wrote: My approach to printing oodles of multiline text is to let the browser do it: * When the print button is pressed, save

Re: [Flashcoders] ClassFactory and Reflection in Actionscript

2006-08-21 Thread Meinte van't Kruis
in the last case an eval might take some work out of your hands. -Meinte On 8/21/06, Miguel Serrano [EMAIL PROTECTED] wrote: The problem is not passing the arguments, but how many arguments pass. I can't use a text file, there I could only store basic types, but not complex properties nor

Re: [Flashcoders] OOP methodology and flash. I'm loosing my faith...

2006-08-25 Thread Meinte van't Kruis
going a bit offtopic here, but isnt polymorphism a non-issue in both flash and java? People talk about like there can be such a thing in these languages, which isn't really true. It seems a bit silly to call something polymorphism just because its implementing some interfaces. oh well, that

Re: [Flashcoders] OOP methodology and flash. I'm loosing my faith...

2006-08-25 Thread Meinte van't Kruis
well, I get Interfaces, but thanks for explaining :). I just don't think actionscript, or java, has any polymorphism, since the definition of that is, in my opinion, a class having more than one parent class (ie, can extend 2 or more classes), which isn't the case. So I don't understand why

Re: [Flashcoders] OOP methodology and flash. I'm loosing my faith...

2006-08-25 Thread Meinte van't Kruis
aaah ok, so polymorphism isnt multiple inheritance, well ok, got it wrong all this time, lol. thanks for the enlightenment :) On 8/25/06, James [EMAIL PROTECTED] wrote: in polymorphism using the previous example you could have a cat object with a 'make noise' method that prints 'meow' and a

Re: [Flashcoders] as 3 help

2006-09-06 Thread Meinte van't Kruis
use the displayObjects' function AddEventListener, like this: this.addEventListener(Event.ENTER_FRAME,enterFrame); and then have function function enterFrame(e:Event){ } dont forgot the e:Event parameter in enterFrame, it will cause an error if you don't include that. Also, read the API ref,

Re: [Flashcoders] Memory Leak

2006-09-07 Thread Meinte van't Kruis
you should read gskinners' reasearch on this, it's a 3 part story, pretty interesting. http://www.gskinner.com/blog/archives/2006/06/as3_resource_ma.html part 3 describes a way to force the gc to actually execute, for testing purposes. -Meinte On 9/6/06, Michael Trim [EMAIL PROTECTED] wrote:

Re: [Flashcoders] classes vs external .as files

2006-09-11 Thread Meinte van't Kruis
it's more of a taste thing i guess, and this question kinda revolves around 'oop vs procedural' etc. These discussions have been 'waged' alot of times, and often result in language religion wars ;) Personally, if code is readable and makes sense, it's allright by me. Meinte On 9/11/06, Adrian

[Flashcoders] AS3: Objects never get deleted

2006-09-11 Thread Meinte van't Kruis
Hi Folks, I've read up on grant skinners' articles about the garbage collector and how the new memory management gets done in as3. I've build some test cases to see how the new virtual machine handles stuff, and came upon some weirdness. I have two classes, GCTester and GCTarget. GCTester

[Flashcoders] Re: AS3: Objects never get deleted

2006-09-11 Thread Meinte van't Kruis
done some more testing. If I don't use a constructor and just do this; var b:GCTarget=new GCTarget(); b.x=0; b.y=0; b=null; it never gets deleted as well.. On 9/12/06, Meinte van't Kruis [EMAIL PROTECTED] wrote: Hi Folks, I've read up on grant

Re: [Flashcoders] AS3: Objects never get deleted

2006-09-11 Thread Meinte van't Kruis
that's it, else it wouldn't really matter if I pass arguments or set variables or not , because if I don't it does get deleted properly. -Meinte On 9/12/06, Ian Thomas [EMAIL PROTECTED] wrote: On 9/11/06, Meinte van't Kruis [EMAIL PROTECTED] wrote: GCTarget only listens to an enterframe event

Re: [Flashcoders] AS3: Objects never get deleted

2006-09-11 Thread Meinte van't Kruis
it DOES however get deleted when setting the useCapture flag to true; this.addEventListener(Event.ENTER_FRAME,onFrame,true,0,true); Isn't this weird? Why would this be? -Meinte On 9/12/06, Meinte van't Kruis [EMAIL PROTECTED] wrote: thanks for replying, I am using weak references

Re: [Flashcoders] AS3: Objects never get deleted

2006-09-11 Thread Meinte van't Kruis
nevermind bout the onCapture bit, probably bubbles the event instead of firing the local onFrame function.. On 9/12/06, Meinte van't Kruis [EMAIL PROTECTED] wrote: it DOES however get deleted when setting the useCapture flag to true; this.addEventListener(Event.ENTER_FRAME,onFrame,true,0,true

Re: [Flashcoders] AS3: Objects never get deleted

2006-09-12 Thread Meinte van't Kruis
with the parameter set to true. Flash 9 ActionScript 3.0 Preview: Does useWeakReference parameter of addEventListener() method work? http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72catid=612threadid=1186643enterthread=y _ Meinte van't Kruis wrote: I am using weak

Re: [Flashcoders] AS3: Objects never get deleted

2006-09-12 Thread Meinte van't Kruis
, callback, false, 0, true); // addEventListener(Event.ENTER_FRAME, callback, false, 0, false); - On 9/12/06, Meinte van't Kruis [EMAIL PROTECTED] wrote: ok, thats nice to know :) any known solutions to this? -Meinte On 9/12/06, Fumio Nonaka [EMAIL PROTECTED] wrote: The useWeakReference parameter

Re: [Flashcoders] Right-MouseClick

2006-09-22 Thread Meinte van't Kruis
you cant suppress the context menu in flash, you can add items to it tho.Might be what you're looking for. -Meinte On 9/22/06, Michael Bedar [EMAIL PROTECTED] wrote: Is there a reliable way to detect a r-mouse click, and at the same time suppress the context menu? I could swear that there was

Re: [Flashcoders] Useful Ascii codes:

2006-11-02 Thread Meinte van't Kruis
lol.. well, still nice of you tho :) On 11/1/06, eric dolecki [EMAIL PROTECTED] wrote: Oh man... i wish i had seen that... thanks for the link! On 11/1/06, Michael Stuhr [EMAIL PROTECTED] wrote: eric dolecki schrieb: I never wanna do this again, and you probably don't either, so here

Re: [Flashcoders] AS 3 - lockroot

2006-11-02 Thread Meinte van't Kruis
since there's no root in as3, i wouldnt know what lockroot is supposed to do, what are you trying to accomplish? Meinte On 11/1/06, Dave Geurts [EMAIL PROTECTED] wrote: Does anybody know anything about implementing something similar as lockroot for as3. The only thing I have found in my

Re: [Flashcoders] Chopping an FLV

2006-11-06 Thread Meinte van't Kruis
i'm using flvtool to auto-cut movies for me, its beta, but it works. Meinte On 11/6/06, Adrian Lynch [EMAIL PROTECTED] wrote: Hey all, I am trying to extract a small section of a larger flv file and was wondering the best way to do it. I thought that importing to a movie, expanding the

Re: [Flashcoders] Chopping an FLV

2006-11-07 Thread Meinte van't Kruis
FLV but it only has sound, no video. Any ideas? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Meinte van't Kruis Sent: 06 November 2006 13:34 To: Flashcoders mailing list Subject: Re: [Flashcoders] Chopping an FLV i'm using flvtool to auto-cut movies

Re: [Flashcoders] Recommended encoding rates for FLV?

2006-11-09 Thread Meinte van't Kruis
this has been great help to me in using ffmpeg to encode to on2 vp6; http://sh0dan.blogspot.com/2006/09/command-line-flash-8-flv-encoding.html On 11/9/06, Reuben Stanton [EMAIL PROTECTED] wrote: Thanks, that was very helpful. Reuben On 04/11/2006, at 5:31 AM, Clark, Craig wrote: I have

[Flashcoders] Flash player 9.0.47 serious issue (maybe some 9 versions before too)

2008-02-07 Thread Meinte van't Kruis
I find the following: When following the methods described by Daryl Theo (at http://darylteo.com/blog/2007/11/16/abstracting-assets-from-actionscript-in-as30-asset-libraries/ ) to duplicate DisplayObjects works fine in flash player 9.0.115 (latest). In version 9.0.47 it repeatedly crashes the

Re: [Flashcoders] Flash player 9.0.47 serious issue (maybe some 9 versions before too)

2008-02-07 Thread Meinte van't Kruis
= appDomain.getDefinition(getQualifiedClassName( e.target.content.getChildAt(0))) as Class; trace(skinClass: + skinClass); } Output: skinClass: [class Circle] Kenneth Kawamoto http://www.materiaprima.co.uk/ Meinte van't Kruis wrote: I find the following: When

Re: [Flashcoders] Flash player 9.0.47 serious issue (maybe some 9 versions before too)

2008-02-08 Thread Meinte van't Kruis
was not working on Mac at all though, but that's another matter...) Kenneth Kawamoto http://www.materiaprima.co.uk/ Meinte van't Kruis wrote: Actually, the trace doesn't really matter. The point is, flash player of that version keeps crashing whenever I try to get a class definition

Re: [Flashcoders] Flash player 9.0.47 serious issue (maybe some 9 versions before too)

2008-02-08 Thread Meinte van't Kruis
if Moviestar is not present? (The last time I checked, the ExpressInstall was not working on Mac at all though, but that's another matter...) Kenneth Kawamoto http://www.materiaprima.co.uk/ Meinte van't Kruis wrote: Actually, the trace doesn't really matter. The point is, flash player

Re: [Flashcoders] AS3 singleton not working across multiple loaded swf

2008-02-15 Thread Meinte van't Kruis
I've never had that problem. To avoid conflicts between classes of loaded swf's, I usually set the loader context to the current domain of the loading SWF, maybe it helps in your case too. On Fri, Feb 15, 2008 at 2:22 AM, Patrick Matte | BLITZ [EMAIL PROTECTED] wrote: The only way I have been

[Flashcoders] getting SoundChannel out of a NetStream

2008-02-28 Thread Meinte van't Kruis
Hi Folks, At the moment we have a project which loads in Mp3 from 2 different sources; one is progressive - We use the Sound class to Load this one the other is streaming - We use the NetStream class to load this one We have a visual effect which listens to the volume and then reacts to it,

Re: [Flashcoders] 9-slice scaling not working when used as mask

2008-03-14 Thread Meinte van't Kruis
scale9 can only be applied to shapes not to movieclips or sprites etc.. So thats probably why it wont work with masks and why children of a scale9ed movieclip will still distort.. On Thu, Mar 13, 2008 at 4:01 PM, Matt S. [EMAIL PROTECTED] wrote: Speaking of Scale 9, can the Scaled MC, eg the

Re: [Flashcoders] 9-slice scaling not working when used as mask

2008-03-14 Thread Meinte van't Kruis
actually, let me rephrase that, scale9 is offcourse applied to a movieclip, but it only works on shapes within this movieclip. On Fri, Mar 14, 2008 at 12:58 PM, Meinte van't Kruis [EMAIL PROTECTED] wrote: scale9 can only be applied to shapes not to movieclips or sprites etc.. So thats probably

Re: [Flashcoders] frameworks and classes for flash cs3

2008-03-17 Thread Meinte van't Kruis
it also depends if you want a structural framework (which would be cairngorn) or an application framework(this of would be something like papervision) the difference beeing that structural frameworks help you structurise and patternize your own code, whereas application frameworks actually do

Re: [Flashcoders] swc

2008-03-19 Thread Meinte van't Kruis
you can use flash cs3 as well, if you dont want to be bothered with fcsh or mxmlc just make a document class, let's say you want to compile test.test just do this import test.test import flash.display.Sprite; public class SWC_export extends Sprite{ public function SWC_export(){

Re: [Flashcoders] swc

2008-03-20 Thread Meinte van't Kruis
with 100 classes and say 99 of them are ready for production and I am only editing one, I can put all my other 99 into a swc and use it with my movie without having to compile them all together? On 3/19/08, Meinte van't Kruis [EMAIL PROTECTED] wrote: you can use flash cs3 as well, if you dont

Re: [Flashcoders] Decorator Pattern - removing a decorator

2008-03-20 Thread Meinte van't Kruis
it's better to code and accidentally discover you've 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

Re: [Flashcoders] Variable scope within for loops: reusing iterator variables

2008-03-24 Thread Meinte van't Kruis
besides, the compiler only warns you that you're about the overwrite the variable, by re-assigning it. In case of 2 loops(where the variable is only used within the loop), it doesn't have any real consequences. On Mon, Mar 24, 2008 at 4:56 PM, Cory Petosky [EMAIL PROTECTED] wrote: Jonathon:

Re: [Flashcoders] Tweening Engines for AS3

2008-03-24 Thread Meinte van't Kruis
Tweenlite has one lil thingy against it though; tweens aren't synchronised. It doesn't happen much that this becomes a problem, though I can imagine projects where people want lots of tweens ending at the same time, which simply won't happen with lots of objects in TweenLite, other than that it's

Re: [Flashcoders] Tweening Engines for AS3

2008-03-25 Thread Meinte van't Kruis
true, but knowing so saves a lot of wtf's when you do have lots of stuff tweening and want it in sync ;) On Mon, Mar 24, 2008 at 7:58 PM, Zeh Fernando [EMAIL PROTECTED] wrote: While I agree with the speed thing, let's just keep this in context - it's so when you have a lot of tweenings going

Re: [Flashcoders] AS3 MouseEvent target?

2008-04-01 Thread Meinte van't Kruis
the problem with most explanations about event bubbling is that it concentrates on the displaylist (understandable), i'd like to see an example of custom events being bubbled. Though Steven's probably right, playing with it helps alot. On Tue, Apr 1, 2008 at 12:49 PM, Allandt Bik-Elliott

Re: [Flashcoders] AS3 MouseEvent target?

2008-04-02 Thread Meinte van't Kruis
so how does it work internally for displayObjects? Can a developer emulate this behaviours somehow?(cant imagine it since target and currentTarget are readonly) On Tue, Apr 1, 2008 at 10:01 PM, Merrill, Jason [EMAIL PROTECTED] wrote: Well, you still haven't convinced me it isn't kludy, but no

Re: [Flashcoders] some dying logic ...

2008-04-02 Thread Meinte van't Kruis
granted that the eventListener was added with a weak reference On Wed, Apr 2, 2008 at 3:35 PM, EECOLOR [EMAIL PROTECTED] wrote: *if (this.basicNews != null) { this.basicNews.removeEventListener(RepeaterEvent.CLICK, this.onNewsClicked); this.removeChild(this.basicNews);

Re: [Flashcoders] some dying logic ...

2008-04-03 Thread Meinte van't Kruis
create a reference from the object to the listener, not the other way around. This means that you can remove the object without removing the listener, the object will then still be garbage collected. Greetz Erik On 4/2/08, Meinte van't Kruis [EMAIL PROTECTED] wrote: granted

Re: [Flashcoders] Flash IRC Client

2008-04-03 Thread Meinte van't Kruis
this is what I came across today; http://blog.je2050.de/2006/02/15/flirc-next-version-with-flex2-beta-1/ On Thu, Apr 3, 2008 at 1:46 AM, Elia Morling [EMAIL PROTECTED] wrote: Are there any Flash IRC clients that can connect to a real IRC server network? Preferably skinnable? Thanks Elia

Re: [Flashcoders] embedded fonts

2008-04-04 Thread Meinte van't Kruis
as for font strangeness, this page is very helpful; http://www.connectedpixel.com/blog/fonts/embedding On Thu, Apr 3, 2008 at 7:13 PM, Kenneth Kawamoto [EMAIL PROTECTED] wrote: For embedded fonts you can either use the actual font name (as you have discovered it already), or

Re: [Flashcoders] Tweening Engines for AS3

2008-04-08 Thread Meinte van't Kruis
available at www.TweenMax.com. Of course everything is available in AS2 and AS3. Cheers! Jack -Original Message- From: Meinte van't Kruis [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2008 1:51 PM To: Flash Coders List Subject: Re: [Flashcoders] Tweening Engines for AS3 Tweenlite

[Flashcoders] Sending messages to FMS from a PHP server

2008-04-22 Thread Meinte van't Kruis
Hi Folks, I'm not sure if this is the right list for these kinds of questions, but I'll give it a shot anyway. What I want to do is push data from PHP to Flash Media Server. I haven't seen it elsewhere, and can't really find any people who did such a thing, but maybe I'm overlooking the obvious.

Re: [Flashcoders] Sending messages to FMS from a PHP server

2008-04-22 Thread Meinte van't Kruis
van't Kruis wrote: Hi Folks, I'm not sure if this is the right list for these kinds of questions, but I'll give it a shot anyway. What I want to do is push data from PHP to Flash Media Server. I haven't seen it elsewhere, and can't really find any people who did such a thing, but maybe

Re: [Flashcoders] Sending messages to FMS from a PHP server

2008-04-22 Thread Meinte van't Kruis
maybe the whole trick to this is to fake a netconnection in php, building the right packets in amf, sending it and then doing a call like you would from a swf... Seems a bit messy, but can't really think of something else. On Tue, Apr 22, 2008 at 11:41 AM, Meinte van't Kruis [EMAIL PROTECTED

Re: [Flashcoders] New game: Exxon - The decontaminator

2008-04-23 Thread Meinte van't Kruis
pretty cool, would be nice to work out the concept and add some features here and there On Wed, Apr 23, 2008 at 11:04 AM, Christoffer Enedahl [EMAIL PROTECTED] wrote: This weekend I participated in ludum dare 48h, A bi-annual 48 hour solo game development competition. In the contest you are

Re: [Flashcoders] New game: Exxon - The decontaminator

2008-04-23 Thread Meinte van't Kruis
possibilities, so little time. Meinte van't Kruis skrev: pretty cool, would be nice to work out the concept and add some features here and there On Wed, Apr 23, 2008 at 11:04 AM, Christoffer Enedahl [EMAIL PROTECTED] wrote: This weekend I participated in ludum dare 48h, A bi-annual 48

Re: [Flashcoders] Automatically Declare Stage Instances and inheritance.

2008-05-11 Thread Meinte van't Kruis
If you want to have the flexibility of not having to define it, you can always make the class dynamic On Sun, May 11, 2008 at 12:42 AM, Chris [EMAIL PROTECTED] wrote: Ok, so I've done a bit of googling and found nothing. And the mailing lists search features are less than ideal (sorry).

Re: [Flashcoders] stack overflow in IE ?

2008-05-20 Thread Meinte van't Kruis
The last time I had a flash version crashing problem, I simply installed the version it crashed on and simply commented/uncommented untill I had the problem. It sounds like a lot of work, but actually, it's not so bad. Maybe you can solve it this way. On Tue, May 20, 2008 at 7:06 PM, Andrei

Re: [Flashcoders] stack overflow in IE ?

2008-05-20 Thread Meinte van't Kruis
im on 9.0.115, works like a charm. one thing I forgot to mention; WIth my problem the problem was indeed the flash player, I doubt if it's the browser doing the messup. On Tue, May 20, 2008 at 8:08 PM, Meinte van't Kruis [EMAIL PROTECTED] wrote: The last time I had a flash version crashing

  1   2   >