Playing with an idea and was wondering how everyone else would tackle it.
I was thinking that if I tied the blur level of a filter attached to a movieclip to it's _xscale,_yscale then as you move things in what appears to be a Z-axis by scaling it it would move in and out of focus.
You might be best off using actionscript. As far as I know, you can't adjust a filters settings from one frame to the next. So if you change a filters settings in the last frame, it effects the first as well. As you may already know.
I was just playing with ideas here, I figured it out but it's CPU intensive since I have to use timer to constantly check each objects scale. It's ok though it's really easy in AS3 to overide the scale function for a movieclip and do just what I was thinking... Starting to play with AS3 in Flex SDK so I'm ready for KM7 which will be AS3 compatible.
It's not just that.. Coding in AS3 will require a little more work up front, but the Whole OOP system is pretty cool once you get your head around it and the Event model is so very flexible especially when creating your own events.
AS3 is what is called a strict compiler meaning alot of the loose things I'm very used to and really like in AS1 and Basic where I started just don't fly, You must declare the variables and datatypes, You can just say take the string from a textfield and assume that the program will convert it to say an integer just because you used it in an equation you Must convert it.
But the whole concept of a Class and how each object is a class and that class can be extended and methods within it extended or overwritten is really powerfull stuff.
i was thinking that based on the experiences we have had with AS1, that there is going to be heavy demands on the level of help required with ver7 - new examples etc. We can be ready for this is what i understand is that Koolmoves will remain largly unchanged, but it will accept AS3, is that correct?, and will it still accept the stuff that we are currently working on in AS1?
From what I've seen KM7 will still support AS1 but there will be support for AS3 in the actionscript panel. Not sure what this will mean for components as I know that Wilburt is working on all new AS3 built components.
Not sure if the new components will be able to be modified or used in AS1 code... That we'll have to ask of Bob and Wilburt. It's possible and very likley that you would set which set of components you are using from the start.
Stoke if you are interested I suggest you peek at the Flex SDK and AS3 examples for Flash CS3. working with as3 components will really open up alot of options. In Flex I found it easy to make a textfield change it's background color based on focus and lose of focus, a while back I tried to do this for someone on the forum here and it was a big deal and I resorted to a "trick" to make it work.
AS3 isn't backwards compatible with AS1. That was the main reason new components have to be created. This also means you won't be able to mix AS3 and AS1 code so most likely you will have to make a choise before you start a project. You will still be able to develop AS1 projects but new features Adobe is adding to the Flash Player will require AS3.
I assumed that it was going to be similar to the way that now you can choose either flash 6 or 8 versions of the components.
Ive been putting of looking at as3, because I've been busy with the php work, but I must set time aside to do it.
No need to rush Stoke
There haven't been any public beta verions yet of KM7.
It won't be possible to use AS3 components or any other new AS3 classes when you develop using AS1. It is possible to import an old movie as an external object but that will have it's own timeline and communication with it will be very limited.
I don't know if Bob is planning to add AIR support or how difficult that would be. If so, developing in AS3 will also make it possible to develop desktop applications.
Thankfully, whether he does or doesn't.....it will be a while because each beta of AIR has rendered previous applications built with earlier betas almost useless and finds you having to dig through code to find out what has changed just to be able to recompile to the new AIR runtime. An extreme pain in the you know what.
I'm not real happy with the way they ultimately limited AIR and to be honest am still using SWF Studio and Zinc which has deeper integration with the OS and ZINC 3 (Pandora) is also on my radar. Studio is already bringing on the AS3 libraries so by the time Koolmoves brings on AS3 developers will have two solid commercial avenues and one free one (AIR) to choose from to wrap as desktop apps. I guess for free I can't really ***** too much about how AIR is limited but would still like to see some abilities that already exist in the known wrappers. Northcode (Studio) mentions Koolmoves specifically and he has always addressed any problems I've had using a Koolmoves core which is pretty cool.
Going to be a good year. Koolmoves is a solid app and is really preferred by me over Flash 8 personally.
I didn't realize AIR was such a mess. Thanks Chris. I looked at Northcode and if I had a commercial need from what I saw I liked his the best esp since he's obviously been open to supporting KM, I imagine largely due to you. Bob tells me it's going to be a little while yet before he's even at a beta stage as it's a fairly complex change for them. But I've started working with Flex SDK to get my head around AS3.