RE: [Flashcoders] Flash 9 AS3 Resource Management

2007-02-28 Thread Dave Watts
I have tried several times to remove myself from this email list to no avail. Can someone please remove me? In the future, if you need help on a list, PLEASE CONTACT THE LIST OWNER DIRECTLY. It is a mistake to assume that the list owner will read every message sent to the list, because the

Re: [Flashcoders] Skewing MovieClip??

2007-02-28 Thread Omar Fouad
set the background color of the stage to black and it will work man On 3/1/07, Stephen Smith [EMAIL PROTECTED] wrote: I've tried it does not work - Original Message - From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] Skewing MovieClip??

2007-02-28 Thread Omar Fouad
PS again: with any bacground color, put a movieClip on the stage and name it mc1 it is a good idea but you know? my version is having a mask that hides 80 percent of the mirrored mc and the 20 showing is fading in.. On 3/1/07, Omar Fouad [EMAIL PROTECTED] wrote: and create a movieClip called

RE: [Flashcoders] Getting frustrated. regarding set Interval, and for loop.

2007-02-28 Thread Matt Samet
Paul: I understand what you're trying to do (make a time-delay slide show of images). Using setInterval for that is fine, but you have to make sure you're using it correctly. Calling setInterval will set up a flash system timer that will call your function every X milliseconds. It will keep

Re: [Flashcoders] Flashcoders

2007-02-28 Thread Ramon Miguel M. Tayag
I believe you can change the settings to get it as a daily digest. On 2/28/07, Allent99 [EMAIL PROTECTED] wrote: Hello, Why am I getting so many flashcoders information from individuals? Before everything was consolidated to one email per week or month. It is very annoying to get my inbox

Re: [Flashcoders] Getting frustrated. regarding set Interval, and for loop.

2007-02-28 Thread Omar Fouad
assign the setInterval to a variable than clear the interval this way : var myInterval = setInterval(blah blah blah); clearInterval(myInterval); read about clearInterval on the docs... U'll realize it more On 3/1/07, Paul V. [EMAIL PROTECTED] wrote: Let me explain the problem I am having and

Re: [Flashcoders] Getting frustrated. regarding set Interval, and for loop.

2007-02-28 Thread Alain Rousseau
Hi Paul, actually what you should do with setInterval is something like setInterval(functionReference, interval); or to keep the scope of the interval : setInterval(this, functionReference, interval); secondly, if you want to load the image at a set interval, then your approach is wrong.

[Flashcoders] Finding all subclasses at runtime

2007-02-28 Thread Timothy Fitz
In ActionScript 3 I'd to find all of the subclasses of a particular class, at runtime. Or put in different terms, I'd like to enumerate every class in existence. My end goal is an extension to Flex Unit that will automatically find all subclasses of UnitTest execute them. It seems at least

Re: [Flashcoders] Tree Table Component

2007-02-28 Thread Guillaume Malartre
here's a simple treeGrid http://www.jamesward.org/wordpress/?p=36 It juste render tree cell differently. I'm using the one from http://flex2components.sourceforge.net/ currently. It's a little bit buggy. I've come around some difficulty with it. But in my opinion it's the best one I've found for

Re: [Flashcoders] Resize Flash content dynamically via JS in IE6 when DOCTYPE declaration is present in HTML

2007-02-28 Thread Alain Rousseau
If i look at the code from Eduardo Ramos, I can see a problem for IE6 in the pixelWidth property. I don't believe it exists ... what you should be doing is the following : function newSize(datoX,datoY) { var flashElement; if(document.all !document.getElementById) { flashElement =

Re: [Flashcoders] webcam

2007-02-28 Thread Webdevotion
Yes, with bitmapdata. ___ 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 Consulting and

Re: [Flashcoders] simulating airbrush + calligraphy brush

2007-02-28 Thread Guntur N. Sarwohadi
@Mick I think I meant modifying bitmapData instead of placing bitmaps one by one.. but to make sure, are you referring to using copyPixels to a single bitmapData per point creation? @Michael I see what you mean.. I think I wont need any undo feature (i'm not like trying to make flash-photoshop

Re: [Flashcoders] Getting frustrated. regarding set Interval, and for loop.

2007-02-28 Thread Alain Rousseau
Ahh yes forgot something to stop loading images : function doLoadImage() { movieCount++; this.attachMovie(image+i, image+i, 41); // allways refer to the movieClip you are attaching, in your case it's this image = this[image+i]; // eval is deprecated in Flahs 8, so this is a better

RE: [Flashcoders] Getting frustrated. regarding set Interval, and for loop.

2007-02-28 Thread Kalani Bright
I take that back...never use it...you can always use onEnterFrame on the root. -Original Message- From: Kalani Bright [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 28, 2007 6:15 PM To: 'flashcoders@chattyfig.figleaf.com' Subject: RE: [Flashcoders] Getting frustrated. regarding set

Re: [Flashcoders] Getting frustrated. regarding set Interval, and for loop.

2007-02-28 Thread Alain Rousseau
And another error on my part in doLoadImage replace i with movieCount Alain Rousseau wrote: Hi Paul, actually what you should do with setInterval is something like setInterval(functionReference, interval); or to keep the scope of the interval : setInterval(this, functionReference,

RE: [Flashcoders] Flash 9 AS3 Resource Management

2007-02-28 Thread Kalani Bright
These are great articles! They are helping me out a lot. While browsing the links I also found grant's talk at flash forward austin. His presentation explaining resource management can be found here http://gskinner.com/talks/resource-management/ (free nicely animated slideshow application if

RE: [Flashcoders] Getting frustrated. regarding set Interval, and for loop.

2007-02-28 Thread Steven Sacks | BLITZ
So even though I never wrote it I would offer the following advice, which is to *almost* not use setInterval at all. Hogwash. http://www.kennybunch.com/index.php?p=16 :) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or

Re: [Flashcoders] Getting frustrated. regarding set Interval, and for loop.

2007-02-28 Thread Omar Fouad
well I've actually created a class called SetTimer.as that executes a function after a given time in seconds and can loop the function many times u want.. see just put the class in the same directory of the fla and use: import SetTimer; var myTimer:SetTimer = new SetTimer(2, function ()

Re: [Flashcoders] Getting frustrated. regarding set Interval, and for loop.

2007-02-28 Thread Omar Fouad
Link Updated :D http://www.proeye.net/omarfouad/myClasses/SetTimer.rar On 3/1/07, Omar Fouad [EMAIL PROTECTED] wrote: well I've actually created a class called SetTimer.as that executes a function after a given time in seconds and can loop the function many times u want.. see just put the

Re: [Flashcoders] Getting frustrated. regarding set Interval, and for loop.

2007-02-28 Thread Muzak
As a posted last week or something, there's a few things to keep in mind when using setInterval - clear interval before setting it - always use this syntax setInterval(scope, method, interval) - and never use this syntax setInterval(function, interval) - keep a reference to the interval - remove

Re: [Flashcoders] Getting frustrated. regarding set Interval, and for loop.

2007-02-28 Thread Adam Pasztory
Intervals are not a problem as long as you use them correctly. Just make sure for every setInterval() call you have a corresponding clearInterval() call. Usually the clearInterval() is within your interval event handler function, so once the interval end condition is met, there's no way for

RE: [Flashcoders] Getting frustrated. regarding set Interval, and for loop.

2007-02-28 Thread Kalani Bright
Always a pleasure having intellegent people prove me wrong. I'd rather be proved wrong by a singleton rather than a simpleton. My only comment is that setinterval doesn't fire accurately. If the user is moving the window for example the interval function will never get called. I like your

Re: [Flashcoders] Getting frustrated. regarding set Interval, and for loop. Thanks All!

2007-02-28 Thread Paul V.
Thanks all! I have the code working now. I will be sure to hang on to the replies, so I can have them for reference. THANKS. Paul Vdst - Original Message - From: Omar Fouad [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Wednesday, February 28, 2007 9:02 PM Subject:

Re: [Flashcoders] Dragging a clip gives erratic ._x numbers

2007-02-28 Thread Alain Rousseau
Hi Paul, checked your files and indeed the position was wrong if you dragged and droped too fast. I made a simple fix to your code and now it works nicely. In your onRelease function you should grab the final position of your mc. Here is the code with a bit of cleaning up and use of Delegate

Re: [Flashcoders] Adding Dynamic Text to Scroll Pane

2007-02-28 Thread Alain Rousseau
Hello Steve and welcome to flashcoders, the proper way to set content for a ScrollPane is as follow : MyScrollPane.contentPath = myContent; where myContent is a MC in your library with a linkage ID myContent So what you should do is create a MovieClip with your dynamic text in it and export

RE: [Flashcoders] Getting frustrated. regarding set Interval, and for loop.

2007-02-28 Thread Kalani Bright
You can use a singleton. It's just important that the intervals be managed in a single location. _root can be used by as1 or as2 programmers. AS3 supports a document class and support for inner classes which means (through some creative engineering) singletons as well, no need for root. 1)

Re: [Flashcoders] Dragging a clip gives erratic ._x numbers

2007-02-28 Thread John VanHorn
this seems to be tied to using a mouse listener. onMouseMove is not synchronous with the frame rate, so it can fire more than once in between framesthat being said, it still doesnt make sense that the _x seemingly increases if you drag left. if you use good ole onEnterFrame, everything works

Re: [Flashcoders] as3 book

2007-02-28 Thread Gustavo Duenas
thanks eric, I'm not a programmer more a designer though, so you think this book would be ok for me, actually I hope to finish my book of flash oop(as2) and once I have this done, I'm going to migrate to the as3 cookbook. I just realized how useful is the actionscript for animations and

Re: [Flashcoders] Flash 9 Full Screen Mode - Mac Player bugs?

2007-02-28 Thread Alain Rousseau
apart from Do not use Safari, ever ! , I don't know what could be the cause of this ... I've tried with a simple test, and indeed onRollOver and onRollOut seem to be overriden by something else ... If you *click* on the button with a onRollOver, then the call is made ! weird ! Definitely a

Re: [Flashcoders] Dragging a clip gives erratic ._x numbers

2007-02-28 Thread Alain Rousseau
onEnterFrame didn't give any better results either, it was definitely a case of how fast can Flash grab the exact _x postion when the button is released and the listener removed (or onEnterFrame deleted). Can't quite understand the logic of the sequence or timing, but it's definitely a case of

RE: [Flashcoders] as3 book

2007-02-28 Thread Kalani Bright
Hi Gustavo, There are several great changes with AS3. But nothing I can tell so far with Flash 9 IDE except that the Alpha's version is all messed up. I would advise thinking on both ends because an artist/programmer can do anything with flash. If you are looking for more of an art

Re: [Flashcoders] Getting frustrated. regarding set Interval, and for loop.

2007-02-28 Thread Muzak
- Original Message - From: Kalani Bright [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Thursday, March 01, 2007 4:55 AM Subject: RE: [Flashcoders] Getting frustrated. regarding set Interval,and for loop. 1) setInterval is not accurate. Try moving the window around

Re: [Flashcoders] Dragging a clip gives erratic ._x numbers

2007-02-28 Thread John VanHorn
here, i set the frame rate to 1, and tried to move the mouse 1 px persecond. i added traces for everything on both enterframe and mousemove events. you can start to see the asychronicity between setting the text and redrawing the stage: onEnterFrame mc._x: 3.45 _xmouse: 149 text: 4

[Flashcoders] ActionScript syntax highlighter

2007-02-28 Thread Iv
Hello, http://www.bezier.ru/marker/ - you can use it offline: swf only needed. -- Ivan Dembicki __ [EMAIL PROTECTED] | http://www.artlebedev.ru | http://www.sharedfonts.com ___

Re: [Flashcoders] Dragging a clip gives erratic ._x numbers

2007-02-28 Thread Paul Hoza
Alain Rousseau wrote: checked your files and indeed the position was wrong if you dragged and droped too fast. I made a simple fix to your code and now it works nicely... Suhweeet... thanks a ton! That's very interesting. I'm much further towards the side of Flash Novice, but this bugger

Re: [Flashcoders] Dragging a clip gives erratic ._x numbers

2007-02-28 Thread Paul Hoza
Wacky. Thanks for looking further into this. It's helping to understand the issues, for sure... not to say that I'm fully aware of what to do with this knowledge so far, but thanks. :) Paul John VanHorn wrote: here, i set the frame rate to 1, and tried to move the mouse 1 px

<    1   2