Re: [Flashcoders] MouseEvent.MOUSE_WHEEL event not working for me.

2007-04-25 Thread Nick Johnston
Daniel Freeman wrote: I can't get mouse wheel events to work. stage.addEventListener(MouseEvent.MOUSE_WHEEL,mousewheel); trace('mousewheel event set'); function mousewheel(ev:MouseEvent):void { trace('localX='+ev.localX+' localY='+ev.localY');

Re: [Flashcoders] The great CS3 Swindle

2007-04-25 Thread Zárate
it must be paying for a lot of local country specialists, lawyers, etc. which are unique to each country Well, that makes sense, but as the article says, how then Adobe competitors manage to keep that difference wy slower? A little bit of overprice? Fair enough. But not *that* difference.

RE: Re[2]: [Flashcoders] Clear Set Interval Q:

2007-04-25 Thread Danny Kodicek
HG So once you create a new interval with the same name you will lose HG the path of the original? An interval has no name, it has a numeric ID - what has a name is the variable (or more variables if you want) where you store this ID. And yes, if you doesn't care about storing the

Re: Re[2]: [Flashcoders] Clear Set Interval Q:

2007-04-25 Thread Muzak
Is a new intervalID always one greater than the most recent intervalID? AFAIK, yes. That is, will this always work to ensure you only ever have one interval running at a time? Again, AFAIK, yes.. but at the same time it limits your to only ever have one interval, no matter where. For

RE: Re[2]: [Flashcoders] Clear Set Interval Q:

2007-04-25 Thread Danny Kodicek
Is a new intervalID always one greater than the most recent intervalID? AFAIK, yes. That is, will this always work to ensure you only ever have one interval running at a time? Again, AFAIK, yes.. but at the same time it limits your to only ever have one interval, no matter

[Flashcoders] Pile of Objects Physics

2007-04-25 Thread Joe Cutting
Hello, I'm looking at simulating the physics of a pile of irregular objects in Flash. The idea is that you drop irregular object on the pile and it decides where to stop, if you remove an object then it decides whether the ones above it fall etc. Has anyone seen any good tutorials, books or

[Flashcoders] Flash CS 3 Proff - Backward compatibility

2007-04-25 Thread vipin chandran
Hi All, This is again related to Flash CS3. We are having running projects which uses either flash MX 2004 or Flash 8. These projects come back to us on a yearly basis for updations. So we wont get time to change/migrate all the MX 2004 projects to 8 or to CS3. Now the company is thinking of

Re: [Flashcoders] The great CS3 Swindle

2007-04-25 Thread Maximilian Reuss
wow, that's an really good thread here. it hits the point. but please sign this petition: Online petition - Fair pricing for European Software / Des prix corrects pour les logiciels vendus en Europe http://www.gopetition.com/petitions/fair-pricing-for-european-software.html cheers, max

Re: [Flashcoders] Javascript SetVariable -- when does Flash see thechange?

2007-04-25 Thread Andy Herrman
Could you set a watch on the variable? I haven't done it, but my understanding is that you can set a function to be called any time a particular variable is changed. In theory this would let you know when the value was changed by javascript and then you can handle it.

RE: [Flashcoders] Pile of Objects Physics

2007-04-25 Thread Tom Gooding
I think fisix engine is an AS3 continuation of APE. I've used the flade library (which I think in turn is the precursor of APE) for some rigid body simulations before and it's pretty good (especially if you need to support 9 version players), documentation is non existent though, you need to look

[Flashcoders] Q: Best tool for AS3 development

2007-04-25 Thread moveup
At the latest FITC in Toronto I was surprised by the amount of commercial AS3 work being done already. Also, it seems that Eclipse is very popular for AS3 development. As a long time Flashdevelop fan I was wondering what are some of the other favorite AS3 development environments? Which one is

Re: [Flashcoders] Q: Best tool for AS3 development

2007-04-25 Thread Eric E. Dolecki
I like Flex Builder and I know many who like FlashDevelop as well. The AS editor in Flash CS3 is improved, but I don't like coding in it as much as a dedicated editor. - eric On Apr 25, 2007, at 11:10 AM, [EMAIL PROTECTED] wrote: At the latest FITC in Toronto I was surprised by the amount

Re: [Flashcoders] Clear Set Interval Q:

2007-04-25 Thread Steven Sacks
Danny, I think you're missing out by not using Intervals. They're extremely useful (and efficient) once you get familiar with them. If you're looking for one that you don't have to keep track of, google Kenny Bunch Interval Manager. It takes care of a lot of interval overhead and puts all

Re: [Flashcoders] Q: Best tool for AS3 development

2007-04-25 Thread eka
Hello :) For me... i wait FDT3 - http://www.powerflasher.com/fdt/forum/viewtopic.php?t=801 EKA+ :) 2007/4/25, Eric E. Dolecki [EMAIL PROTECTED]: I like Flex Builder and I know many who like FlashDevelop as well. The AS editor in Flash CS3 is improved, but I don't like coding in it as much

Re: [Flashcoders] Clear Set Interval Q:

2007-04-25 Thread Robert Brisita
Don't know if this helps you but I'll mention it for the sake of knowledge. You could also use: _global.setTimeout(scope, function_str, milliseconds) Works like setInterval and it will return an ID but it will only run once then kill itself. Ciao, Rob. Danny Kodicek wrote: Is a new

Re: [Flashcoders] Clear Set Interval Q:

2007-04-25 Thread Muzak
I was referring to this usage: clearInterval(setInterval(this, something, 1000) - 1) I'd actually have to test this (which I haven't), but it looks to me like this will prevent 2 intervals to run at any given time. regards, Muzak - Original Message - From: Steven Sacks [EMAIL

Re: [Flashcoders] Q: Best tool for AS3 development

2007-04-25 Thread thotskee
These two get my vote: Flex Builder 2 Edit Plus You can grab the: ActionScript 3.0: Application Template (for Ant/MXMLC) here: http://actionscriptcheatsheet.com/blog/quick-referencecheatsheet-for-actionscript-20/ You can use the template with Ant, MXMLC and Editplus to author and compile

RE: [Flashcoders] Q: Best tool for AS3 development

2007-04-25 Thread Ash Warren
Would you suggest Flex Builder even for hybrid Flash designer/developer geeks that still try and separate out code form the timeline and use proper class structures, but still do a lot of work on the timeline for visual assets, etc.? -Original Message- From: [EMAIL PROTECTED]

Re: [Flashcoders] Q: Best tool for AS3 development

2007-04-25 Thread Igor Costa
The Best AS3 dev tool it's that tool that solve or help me to create more quick my projects. in my current Uses I use Flex Builder 2.0.1 Better then others and works perfectly on my needs. On 4/25/07, Ash Warren [EMAIL PROTECTED] wrote: Would you suggest Flex Builder even for hybrid Flash

Re: [Flashcoders] Q: Best tool for AS3 development

2007-04-25 Thread thotskee
I would probably create my timeline based material in Flash and then load the SWFs into my main application which I would author and manage in Flex Builder or Editplus... HTH... - Original Message - From: Ash Warren [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent:

[Flashcoders] Zigo Fuse Filter syntax

2007-04-25 Thread Mick G
I'm working with Zigo/FMP and just getting used to these mysterious wonders... I've used *mc_tween2* in the past and was able to do this type of thing but not having any luck with the Fuse Kit... //Blur to 10, then back to 0 ZigoEngine.doTween(mc, Blur_blur, 10, 2, Elastic.easeOut, 0);

Re: [Flashcoders] Q: Best tool for AS3 development

2007-04-25 Thread Muzak
For that kind of work I still use the Flash IDE. I create a Project that contains all the Classes + default fla for easy compiling (ctrl+alt+p). I also have a script that generates class skeletons for ARP forms and other UI components + a Flash Panel that creates Library MovieClips and

Re: [Flashcoders] Q: Best tool for AS3 development

2007-04-25 Thread Gustavo Duenas
case scenario, I have a swf with some animations and menus in flash 8, I can just load into flex , and use fl;ex buttons to give orders into the fl8 movie, the same way as I usually do in fl8? Regards On Apr 25, 2007, at 1:19 PM, Ash Warren wrote: Would you suggest Flex Builder even for

Re: [Flashcoders] Zigo Fuse Filter syntax

2007-04-25 Thread leolea
If you want to animate sequentially, I think you should use Fuse object. Try this: var f:Fuse = new Fuse(); f.push({target:mc, Blur_blur:10, time:2, ease:easeOutElastic}); f.push({target:mc, Blur_blur:0, time:2, ease:easeOutElastic}); f.start(); Every tween that you push in the fuse object

Re: [Flashcoders] Q: Best tool for AS3 development

2007-04-25 Thread Muzak
It's restricted. Flash 8 produces flash player 8 swf's Flex produces flash player 9 swf's Both run in a separate VM (virtual machine) and can not communicate with eachother directly. To have a fp8 swf and fp9 swf communicate, you have to go through a LocalConnection. more info here:

[Flashcoders] MTASC/FLASC type error class not found

2007-04-25 Thread Steven Sacks
I'm having a weird issue with MTASC that just started up. It compiles fine in Flash. C:/Project/src/classes/com/stevensacks/site/data/SiteModel.as:10: characters 16-25 : type error class not found : com.stevensacks.site.data.PageModel Here is line 10: private static var _pm:PageModel; It's

[Flashcoders] SOLVED: MTASC/FLASC type error class not found

2007-04-25 Thread Steven Sacks
Nevermind. I had the class path going one level too deep. Isn't that always the way? You bang your head against something for awhile and as soon as you ask the list, you figure it out. ___ Flashcoders@chattyfig.figleaf.com To change your

[Flashcoders] Curves question for math gurus

2007-04-25 Thread leolea
Hi, I have a dynamically drawn curve. It's a simple curve, with 2 end points, and its yfactor will vary. I'm trying to figure out a way to have objects snap to this curved line. I would distribute them over the _x axis, and I need a formula to get their _y position on the curved line. Here is a

Re: [Flashcoders] Curves question for math gurus

2007-04-25 Thread Jobe Makar
Hi, Your typical funciton looks something like this in math books: f(x) = A*x + x^2 //just an example Where f(x) is essentially 'y'. So, you just need the equation that defines your curve. The curve in your jpg appears to be a circle. y = sqrt(x^2 + r^2) //where r is the radius That

Re: [Flashcoders] Zigo Fuse Filter syntax

2007-04-25 Thread Michael Stuhr
Mick G schrieb: I'm working with Zigo/FMP and just getting used to these mysterious wonders... I've used *mc_tween2* in the past and was able to do this type of thing but not having any luck with the Fuse Kit... //Blur to 10, then back to 0 ZigoEngine.doTween(mc, Blur_blur, 10, 2,

Re: [Flashcoders] Curves question for math gurus

2007-04-25 Thread leolea
Hi, thanks for your reply! My curve isn't exactly a circle. Here's what my animated curve would look like: http://pages.videotron.com/poubou/flash/cannes01.html The curve is drawn using the drawing API: example: mc.moveTo(0,0); mc.curveTo(400,900,0,800); So, I know the 3 bezier points that

Re: [Flashcoders] Curves question for math gurus

2007-04-25 Thread Jobe Makar
Hi, The function that I gave you (A*x +x^2) was an arbitrary example. Looks like you'd need to use what ever bezier math is used by the Flash player to represent the line. Not the easiest thing to figure out, but here's a link that might help:

[Flashcoders] format alert text

2007-04-25 Thread Maziak, Peter
Is there a way to bold or indent specific text within an alert? ie: The following fields will be deleted: b Name Number /b Are you sure you want to continue? Thanks, -Pete Peter Maziak Web Design Global Repertoire Management Universal Music Group voice: 818.286.5122 fax:

RE: [Flashcoders] format alert text

2007-04-25 Thread Steve Abaffy
Can you not use \t in the text for tabbing, not sure about making it bold tho. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Maziak, Peter Sent: Wednesday, April 25, 2007 3:48 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] format alert

RE: [Flashcoders] format alert text

2007-04-25 Thread Maziak, Peter
\t and \n DO work, but the \t is not so great when you want to indent an entire paragraph. Really what I'd like to do is bold (and/or indent the entire paragraph). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Abaffy Sent: Wednesday, April 25,

Re: [Flashcoders] Curves question for math gurus

2007-04-25 Thread leolea
On 4/25/07 4:43 PM, Jobe Makar [EMAIL PROTECTED] wrote: Another trick is to position the clips on the line where they need to be when the line is at rest. Then displace them vertically based on the amplitude of the center displacement. I thought about this method... I could go with it. I

Re: [Flashcoders] Curves question for math gurus

2007-04-25 Thread Joshua Sera
A bezier curve would be one way to go about it. Flash's curveTo method uses a quadtratic curve though, so using a cubic curve won't give you an accurate curve. If you know that the two endpoints of the curve are always going to have an equal x or y value, the you can just use the quadratic

Re: [Flashcoders] Curves question for math gurus

2007-04-25 Thread leolea
On 4/25/07 5:31 PM, Joshua Sera [EMAIL PROTECTED] wrote: If you know that the two endpoints of the curve are always going to have an equal x or y value, the you can just use the quadratic formula, and get the right Y value. The two endpoints will never move. The middlepoint will be the only

Re: [Flashcoders] format alert text

2007-04-25 Thread Andrew Sinning
Have you considered using a modal pop up? script type=text/javascript function modalWin(url, width, height) { if (window.showModalDialog) { window.showModalDialog(url,name,dialogWidth:+width+px;dialogHeight:+height+px); } else {

Re: [Flashcoders] Curves question for math gurus

2007-04-25 Thread Joshua Sera
Actually, you're right. if your endpoints will never move, you can still use a quadratic bezier. The percentage would be (mc._x - firstpoint.x)/(lastpoint.x - firstpoint.x) Since you're using curveTo, you already have all the points you need for the formula Here's a function for you: import

RE: [Flashcoders] Curves question for math gurus

2007-04-25 Thread Patrick Matte | BLITZ
A quadratic curve is made of 3 points. The first point is beginning of the curve, the second point creates the curve between the first and last point. This will place mc exactly on the middle of the curve mc._x = bezierQuadratic(0.5, point1.x, point2.x, point3.x); mc._y = bezierQuadratic(0.5,

RE: [Flashcoders] Curves question for math gurus

2007-04-25 Thread Patrick Matte | BLITZ
I actually made a little mistake in the code mc._x = bezierQuadratic(0.5, point1.x, point2.x, point3.x); mc._y = bezierQuadratic(0.5, point1.y, point2.y, point3.y); function bezierQuadratic(t, a, b, c) { return (1-t)*(1-t)*a+2*(1-t)*t*b+t*t*c; } BLITZ | Patrick Matte - 310-551-0200

RE: [Flashcoders] Javascript SetVariable -- when does Flash seethechange?

2007-04-25 Thread Douglas Pearson
Thanks JD. That helps to explain the behavior we're seeing. Doug -Original Message- From: John Dowdell [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 24, 2007 10:33 PM To: flashcoders@chattyfig.figleaf.com; flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Javascript

[Flashcoders] Job Posting: Falls Church, VA

2007-04-25 Thread Jim Robson
Job description below. Please note the citizenship and clearance requirements as well as the location. Although the description seems to emphasize non-Flash skills, Flash / Flex is really the key skill set to have for this position. If you think you're a good match and you're interested, please

RE: [Flashcoders] WhITE SNOW and Seven Dwarf - MAth Problems!

2007-04-25 Thread Erich Erlangga
onEnterFrame/setInterval function is just to give spreading effect to the app. as I mention earlier, using for loop doesnt't let any animation play before loop ends. the real problem is only about the SEQUENCE-PATTERN. but, to make my question clearer 1. for example: there are 7000

[Flashcoders] Adobe to Open Source Flex!!!

2007-04-25 Thread greg h
Oh, my God. Who would ever have thunk it! ADOBE HAS PUT UP AN ANNOUNCEMENT THAT THEY WILL BE OPEN SOURCING FLEX. THE WHOLE KIT AND KABOODLE!!! http://labs.adobe.com/wiki/index.php/Flex:Open_Source It will take time, but likely by this time next year it will all be out there! TRULY, NOW,