Re: [Flashcoders] event that is not working
solved, Nathan found out that I have two instances with the same name (logoMafle) that were causing the mistake, `I knew that was something very dumb I was missing, thanks Gustavo On Jan 27, 2010, at 5:12 PM, Henrik Andersson wrote: Karl DeSaulniers wrote: not sure if you need the underscore in as3. You might want to practice a little more. It is required that you don't have any underscore. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] event that is not working
Gustavo, I would ditch using the tween engine in flash and use TweenLite for your tweens. Although, this wouldn't have corrected your issue, TweenLite is a lot smaller and more efficient than the tween engine in the Flash IDE. --Original Message-- From: Henrik Andersson Sender: flashcoders-boun...@chattyfig.figleaf.com To: Flash Coders List ReplyTo: Flash Coders List Subject: Re: [Flashcoders] event that is not working Sent: Jan 27, 2010 4:12 PM Karl DeSaulniers wrote: > not sure if you need the underscore in as3. You might want to practice a little more. It is required that you don't have any underscore. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] event that is not working
The issue was two instances with the same name. Tween in flash got confused and didn't want to advance. A fixed fla has been sent to Gustavo. --Original Message-- From: Henrik Andersson Sender: flashcoders-boun...@chattyfig.figleaf.com To: Flash Coders List ReplyTo: Flash Coders List Subject: Re: [Flashcoders] event that is not working Sent: Jan 27, 2010 4:12 PM Karl DeSaulniers wrote: > not sure if you need the underscore in as3. You might want to practice a little more. It is required that you don't have any underscore. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] event that is not working
Karl DeSaulniers wrote: not sure if you need the underscore in as3. You might want to practice a little more. It is required that you don't have any underscore. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] event that is not working
then maybe _root.gotoAndPlay or _parent.gotoAndPlay not sure if you need the underscore in as3. Karl On Jan 27, 2010, at 3:55 PM, Gustavo Duenas wrote: I'm using it on as3 and I'm trying to use gotoAndPlay for the main time line gustavo P.s: I know that is don't but why it isn't working? On Jan 27, 2010, at 4:16 PM, Karl DeSaulniers wrote: Sorry to revert to AS2, but would this.gotoAndPlay work? or mcName.gotoAndPlay? Karl On Jan 27, 2010, at 2:52 PM, Gustavo Duenas wrote: not working! the gotoAndPlay event is on the main timeline, I don't know how can't I been able to use it, I did before...any other ideas Gustavo On Jan 27, 2010, at 2:52 PM, Nathan Mynarcik wrote: Try e.target.gotoAndPlay(2); --Original Message-- From: Gustavo Duenas Sender: flashcoders-boun...@chattyfig.figleaf.com To: Flash Coders List ReplyTo: Flash Coders List Subject: [Flashcoders] event that is not working Sent: Jan 27, 2010 1:39 PM Hi Coders I have this code, apparently it triggers the trace but it doesn't move with the next frame in the time line, any ideas, I will appreciate your input here is my code var ballXTween:Tween = new Tween(logoMafle, "y",Bounce.easeInOut, logoMafle.y, 216, 1.5, true); ballXTween.addEventListener(TweenEvent.MOTION_STOP, completo); function completo(e:TweenEvent){ if(logoMafle.y>=216){ gotoAndPlay(2); trace("arranca"); } } probably is a dumb question, but it is strange you know? I'm doing everything I did before, but this is strange, weird, I hope I'm doing something wrong Gustavo ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Adobe AIR has bad redraw bugs on Windows
http://www.stevensacks.net/2010/01/27/adobe-air-has-bad-redraw-bugs-on-windows/ Recommended reading if you ever plan on working with non-tranparent windows in AIR and expect to have your window be able to minimize and restore. There are some really nasty surprises waiting for you. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] event that is not working
I'm using it on as3 and I'm trying to use gotoAndPlay for the main time line gustavo P.s: I know that is don't but why it isn't working? On Jan 27, 2010, at 4:16 PM, Karl DeSaulniers wrote: Sorry to revert to AS2, but would this.gotoAndPlay work? or mcName.gotoAndPlay? Karl On Jan 27, 2010, at 2:52 PM, Gustavo Duenas wrote: not working! the gotoAndPlay event is on the main timeline, I don't know how can't I been able to use it, I did before...any other ideas Gustavo On Jan 27, 2010, at 2:52 PM, Nathan Mynarcik wrote: Try e.target.gotoAndPlay(2); --Original Message-- From: Gustavo Duenas Sender: flashcoders-boun...@chattyfig.figleaf.com To: Flash Coders List ReplyTo: Flash Coders List Subject: [Flashcoders] event that is not working Sent: Jan 27, 2010 1:39 PM Hi Coders I have this code, apparently it triggers the trace but it doesn't move with the next frame in the time line, any ideas, I will appreciate your input here is my code var ballXTween:Tween = new Tween(logoMafle, "y",Bounce.easeInOut, logoMafle.y, 216, 1.5, true); ballXTween.addEventListener(TweenEvent.MOTION_STOP, completo); function completo(e:TweenEvent){ if(logoMafle.y>=216){ gotoAndPlay(2); trace("arranca"); } } probably is a dumb question, but it is strange you know? I'm doing everything I did before, but this is strange, weird, I hope I'm doing something wrong Gustavo ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] event that is not working
Sorry to revert to AS2, but would this.gotoAndPlay work? or mcName.gotoAndPlay? Karl On Jan 27, 2010, at 2:52 PM, Gustavo Duenas wrote: not working! the gotoAndPlay event is on the main timeline, I don't know how can't I been able to use it, I did before...any other ideas Gustavo On Jan 27, 2010, at 2:52 PM, Nathan Mynarcik wrote: Try e.target.gotoAndPlay(2); --Original Message-- From: Gustavo Duenas Sender: flashcoders-boun...@chattyfig.figleaf.com To: Flash Coders List ReplyTo: Flash Coders List Subject: [Flashcoders] event that is not working Sent: Jan 27, 2010 1:39 PM Hi Coders I have this code, apparently it triggers the trace but it doesn't move with the next frame in the time line, any ideas, I will appreciate your input here is my code var ballXTween:Tween = new Tween(logoMafle, "y",Bounce.easeInOut, logoMafle.y, 216, 1.5, true); ballXTween.addEventListener(TweenEvent.MOTION_STOP, completo); function completo(e:TweenEvent){ if(logoMafle.y>=216){ gotoAndPlay(2); trace("arranca"); } } probably is a dumb question, but it is strange you know? I'm doing everything I did before, but this is strange, weird, I hope I'm doing something wrong Gustavo ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] event that is not working
not working! the gotoAndPlay event is on the main timeline, I don't know how can't I been able to use it, I did before...any other ideas Gustavo On Jan 27, 2010, at 2:52 PM, Nathan Mynarcik wrote: Try e.target.gotoAndPlay(2); --Original Message-- From: Gustavo Duenas Sender: flashcoders-boun...@chattyfig.figleaf.com To: Flash Coders List ReplyTo: Flash Coders List Subject: [Flashcoders] event that is not working Sent: Jan 27, 2010 1:39 PM Hi Coders I have this code, apparently it triggers the trace but it doesn't move with the next frame in the time line, any ideas, I will appreciate your input here is my code var ballXTween:Tween = new Tween(logoMafle, "y",Bounce.easeInOut, logoMafle.y, 216, 1.5, true); ballXTween.addEventListener(TweenEvent.MOTION_STOP, completo); function completo(e:TweenEvent){ if(logoMafle.y>=216){ gotoAndPlay(2); trace("arranca"); } } probably is a dumb question, but it is strange you know? I'm doing everything I did before, but this is strange, weird, I hope I'm doing something wrong Gustavo ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] event that is not working
Try e.target.gotoAndPlay(2); --Original Message-- From: Gustavo Duenas Sender: flashcoders-boun...@chattyfig.figleaf.com To: Flash Coders List ReplyTo: Flash Coders List Subject: [Flashcoders] event that is not working Sent: Jan 27, 2010 1:39 PM Hi Coders I have this code, apparently it triggers the trace but it doesn't move with the next frame in the time line, any ideas, I will appreciate your input here is my code var ballXTween:Tween = new Tween(logoMafle, "y",Bounce.easeInOut, logoMafle.y, 216, 1.5, true); ballXTween.addEventListener(TweenEvent.MOTION_STOP, completo); function completo(e:TweenEvent){ if(logoMafle.y>=216){ gotoAndPlay(2); trace("arranca"); } } probably is a dumb question, but it is strange you know? I'm doing everything I did before, but this is strange, weird, I hope I'm doing something wrong Gustavo ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] event that is not working
Hi Coders I have this code, apparently it triggers the trace but it doesn't move with the next frame in the time line, any ideas, I will appreciate your input here is my code var ballXTween:Tween = new Tween(logoMafle, "y",Bounce.easeInOut, logoMafle.y, 216, 1.5, true); ballXTween.addEventListener(TweenEvent.MOTION_STOP, completo); function completo(e:TweenEvent){ if(logoMafle.y>=216){ gotoAndPlay(2); trace("arranca"); } } probably is a dumb question, but it is strange you know? I'm doing everything I did before, but this is strange, weird, I hope I'm doing something wrong Gustavo ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Ideas, Please
On Wed, Jan 27, 2010 at 12:04 PM, Piers Cowburn wrote: > Hi Beno, > > It's on the way over to the list, but I've just posted the part that does > the actual explosion, it assumes you've got your plane set up in PV3D > already, so I'd get that bit done first if you want to try integrating my > code with it. I'd give more than just the explosion part, but it's all quite > heavily integrated with the rest of my site, and I don't have time right now > to just pull out the relevant parts and put it into a separate project. > This code hasn't arrived yet. Would you mind sending it here instead? benoismyn...@gmail.com Thanks, beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Ideas, Please
Can we stop making this list into a chatroom.. plz.. thx. - Original Message - From: "beno -" To: "Flash Coders List" Sent: Wednesday, January 27, 2010 6:26 PM Subject: Re: [Flashcoders] Ideas, Please On Wed, Jan 27, 2010 at 1:01 PM, Boerner, Brian J wrote: Funny. 12,000 lines of code isn't necessarily a good thing. If you can't deliver your concept then maybe it's a really bad concept! Know your limitations. This is OT and the list manager has already jumped on me for such. I won't respond, except to say that you, too, might want to keep away from this OT stuff. beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Ideas, Please
On Wed, Jan 27, 2010 at 1:01 PM, Boerner, Brian J wrote: > Funny. > > 12,000 lines of code isn't necessarily a good thing. > If you can't deliver your concept then maybe it's a really bad concept! > > Know your limitations. > This is OT and the list manager has already jumped on me for such. I won't respond, except to say that you, too, might want to keep away from this OT stuff. beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Ideas, Please
I am not contributing to helping beno now, but i would kindly ask him to stop replying every single post with not-important phrases. Beno, you're just filling up my inbox, and you are ruining the list. You've reveiced plenty of help, now go and code your thing and come back only when you're done. This is not a chat list, but a mailing list! Thanks. (you don't have to reply this post, I will notice whether you've read it when I will see less "beno to FlashCoders replies") ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Ideas, Please
Use your brain, thats what i would suggest! beno - schrieb: On Wed, Jan 27, 2010 at 12:05 PM, Nathan Mynarcik wrote: "I'm just waiting to see if something better comes along." Yeah we know. Just wait and let us send you stuff for you to "approve". Low blow. No. What would you do? Exactly what I'm doing, no? beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Ideas, Please
Funny. 12,000 lines of code isn't necessarily a good thing. If you can't deliver your concept then maybe it's a really bad concept! Know your limitations. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Nathan Mynarcik Sent: Wednesday, January 27, 2010 11:05 AM To: Flash Coders List Subject: Re: [Flashcoders] Ideas, Please "I'm just waiting to see if something better comes along." Yeah we know. Just wait and let us send you stuff for you to "approve". --Original Message-- From: beno - Sender: flashcoders-boun...@chattyfig.figleaf.com To: Flash Coders List ReplyTo: Flash Coders List Subject: Re: [Flashcoders] Ideas, Please Sent: Jan 27, 2010 9:52 AM On Wed, Jan 27, 2010 at 11:15 AM, Gerry wrote: > You should be looking for Bitmap copyPixels or setPixel32 (andre michelle > example link below) > I made something similar to what you want but want to make a newer version > with images. > http://blog.thespikeranch.com/2008/12/22/as3-bitmap-manipulation/ > > Andre Michelle does some cool stuff along the lines of what you want to > do... > http://lab.andre-michelle.com/bitmap-particles These are cool. I'm just waiting to see if something better comes along. Thanks! beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Ideas, Please
On Wed, Jan 27, 2010 at 12:41 PM, gamera wrote: > try filming a real explosion with a videocamera. KISS! > if even excellent coders work doesn't fit your needs, how can you think to > be able to code something better on your own? > and don't think that integrating complex code in your project is matter of > a "copy-paste". > using complex code requires the deep understanding of almost every line of > code to be able to use it at your needs. > That too is understood! Obvious! beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Ideas, Please
On Wed, Jan 27, 2010 at 12:08 PM, Gerry wrote: > See that's where you come in. YOU take that code and make it work for your > use then > you can turn around and post it here to say "Hey thanks for leading me to > the water, I drank it > and for helping me out here is my code" > Or something along those lines. > I taught myself everything to this point with the help of this list and > reading books. > Get what I'm hinting at? > THAT is understood! Obviously! beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Ideas, Please
On Wed, Jan 27, 2010 at 12:05 PM, Nathan Mynarcik wrote: > "I'm just waiting to see if something better comes along." > > Yeah we know. Just wait and let us send you stuff for you to "approve". > Low blow. No. What would you do? Exactly what I'm doing, no? beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Ideas, Please
try filming a real explosion with a videocamera. KISS! if even excellent coders work doesn't fit your needs, how can you think to be able to code something better on your own? and don't think that integrating complex code in your project is matter of a "copy-paste". using complex code requires the deep understanding of almost every line of code to be able to use it at your needs. s On Jan 27, 2010, at 4:52 PM, beno - wrote: On Wed, Jan 27, 2010 at 11:15 AM, Gerry wrote: You should be looking for Bitmap copyPixels or setPixel32 (andre michelle example link below) I made something similar to what you want but want to make a newer version with images. http://blog.thespikeranch.com/2008/12/22/as3-bitmap-manipulation/ Andre Michelle does some cool stuff along the lines of what you want to do... http://lab.andre-michelle.com/bitmap-particles These are cool. I'm just waiting to see if something better comes along. Thanks! beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Ideas, Please
See that's where you come in. YOU take that code and make it work for your use then you can turn around and post it here to say "Hey thanks for leading me to the water, I drank it and for helping me out here is my code" Or something along those lines. I taught myself everything to this point with the help of this list and reading books. Get what I'm hinting at? -Gerry On Jan 27, 2010, at 10:52 AM, beno - wrote: > On Wed, Jan 27, 2010 at 11:15 AM, Gerry wrote: > >> You should be looking for Bitmap copyPixels or setPixel32 (andre michelle >> example link below) >> I made something similar to what you want but want to make a newer version >> with images. >> http://blog.thespikeranch.com/2008/12/22/as3-bitmap-manipulation/ >> >> Andre Michelle does some cool stuff along the lines of what you want to >> do... >> http://lab.andre-michelle.com/bitmap-particles > > > These are cool. I'm just waiting to see if something better comes along. > Thanks! > beno > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Ideas, Please
"I'm just waiting to see if something better comes along." Yeah we know. Just wait and let us send you stuff for you to "approve". --Original Message-- From: beno - Sender: flashcoders-boun...@chattyfig.figleaf.com To: Flash Coders List ReplyTo: Flash Coders List Subject: Re: [Flashcoders] Ideas, Please Sent: Jan 27, 2010 9:52 AM On Wed, Jan 27, 2010 at 11:15 AM, Gerry wrote: > You should be looking for Bitmap copyPixels or setPixel32 (andre michelle > example link below) > I made something similar to what you want but want to make a newer version > with images. > http://blog.thespikeranch.com/2008/12/22/as3-bitmap-manipulation/ > > Andre Michelle does some cool stuff along the lines of what you want to > do... > http://lab.andre-michelle.com/bitmap-particles These are cool. I'm just waiting to see if something better comes along. Thanks! beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] 3D Explosion Code
Hi, See if I can sneak this in under the 40k limit... // Initialise the shards array shards = []; // Clear the current background plane geometery clearGeometery(); // Make the background plane more complex (so there are more shards) background.segmentsH = 8; background.segmentsW = 3; background.buildPlane(widthPixels, heightPixels); // Initialise some variables we need for the next section var totalFaces:int = background.geometry.faces.length; var explodeForce:int = 110; var a:Vertex3D; var c:Vertex3D; var b:Vertex3D; var uvA :NumberUV; var uvC :NumberUV; var uvB :NumberUV; var face:Triangle3D; var newFace:Triangle3D; var shard3D:Shard3D; // Remove the background from the scene removeChild(background); // Turn off smoothing thumbnailMaterial.smooth = false; //thumbnailMaterial.tiled = true; // Loop through the faces in the background plane and create a seperate shard from each one for (var i:int = 0; i < totalFaces; i++) { // Get a reference to this face face = background.geometry.faces[i] as Triangle3D; // Copy the vertices from this face a = face.vertices[0].clone(); b = face.vertices[1].clone(); c = face.vertices[2].clone(); // Cope the uv coordinates from this face uvA = face.uv0.clone(); uvB = face.uv1.clone(); uvC = face.uv2.clone(); // Create a new face newFace = new Triangle3D(this, [ a, b, c ], thumbnailMaterial, [ uvA, uvB, uvC ] ); // Create a new shard, using the copied vertices and new face shard3D = new Shard3D(thumbnailMaterial, [a, b, c], [newFace]); addChild(shard3D); // Offset the shard to the middle of the plane (the internal coords each // vertex had will be relative to the plane, and so are wrong) shard3D.x = widthPixels / 2; shard3D.y = -heightPixels / 2; // Give the shard a random speed in each direction shard3D.speedX = Math.random() * explodeForce - explodeForce/2; shard3D.speedZ = Math.random() * explodeForce - explodeForce/2; shard3D.speedY = Math.random() * explodeForce - explodeForce/2; shard3D.rotationSpeedX = Math.random() * explodeForce / 10; shard3D.rotationSpeedY = Math.random() * explodeForce / 10; shard3D.rotationSpeedZ = Math.random() * explodeForce / 10; // Tween the shard to its new exploded position TweenMax.to(shard3D, 1.6, { x:shard3D.speedX * 12, y:shard3D.speedY * 12, z:shard3D.speedZ * 12, rotationX:shard3D.rotationSpeedX * 5, rotationY:shard3D.rotationSpeedY * 5, rotationZ:shard3D.rotationSpeedZ * 5, ease:Cubic.easeOut }); // Store the reference to this shard shards[shards.length] = shard3D; }___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Ideas, Please
Hi Beno, It's on the way over to the list, but I've just posted the part that does the actual explosion, it assumes you've got your plane set up in PV3D already, so I'd get that bit done first if you want to try integrating my code with it. I'd give more than just the explosion part, but it's all quite heavily integrated with the rest of my site, and I don't have time right now to just pull out the relevant parts and put it into a separate project. Piers On 27 Jan 2010, at 15:54, beno - wrote: > On Wed, Jan 27, 2010 at 11:36 AM, Piers Cowburn wrote: > >> Hi Jason, >> >> I did that on my site, you can see it here: >> http://www.pierscowburn.com/(click on the thumbnails on the right when it >> loads). >> >> You can have the code if you like :) >> > > That site's nuts! I love it! Yeah, I'm sure I can make my sample size tiny > as opposed to your relatively large triangles. Please send me your code. > Thanks! > beno > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Ideas, Please
The code doesn't make your stuff pretty. Trying blurring each item as it explodes away. Might give a "depth" feeling to the explosion. Looking good or crap is all in who creates the images. Since you are more "artsy", this should be down your alley. Good luck! --Original Message-- From: beno - Sender: flashcoders-boun...@chattyfig.figleaf.com To: Flash Coders List ReplyTo: Flash Coders List Subject: Re: [Flashcoders] Ideas, Please Sent: Jan 27, 2010 9:42 AM On Wed, Jan 27, 2010 at 11:29 AM, Matt S. wrote: > Google "as3 explosion" > > > http://www.google.com/search?hl=en&source=hp&q=as3+explosion&aq=f&aql=&aqi=g2&oq= > > first result: > http://active.tutsplus.com/tutorials/effects/create-your-own-pixel-explosion-effect/ > > Includes explosion and implosion (reversal) > The problem is they all look like crap :( beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Rotation
On Wed, Jan 27, 2010 at 11:49 AM, Dave Watts wrote: > Hi! I'm the list admin (again). > > > Yeah, that's what they told me when I set out to build what became my > 12,000 > > line fully automated python shopping cart ... > > I'm not trying to be a dick here, but discussing your Python > programming, your constant struggles against whatever, etc, is all > very off-topic for Flashcoders. I'd really like to keep a higher > signal-to-noise ratio if possible. If you ask questions on any mailing > list, you're going to get some answers you agree with and some you > don't. You don't need to explain why you don't like the answers you > don't like. You can simply return them for your money back. > > So, please, more Flash coding, and less "life of beno." Thanks in > advance for your cooperation. > Done. beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Ideas, Please
On Wed, Jan 27, 2010 at 11:36 AM, Piers Cowburn wrote: > Hi Jason, > > I did that on my site, you can see it here: > http://www.pierscowburn.com/(click on the thumbnails on the right when it > loads). > > You can have the code if you like :) > That site's nuts! I love it! Yeah, I'm sure I can make my sample size tiny as opposed to your relatively large triangles. Please send me your code. Thanks! beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Ideas, Please
Thanks :) I've posted the code, but it was over the list's size limit for a message, so it might take a while. Piers On 27 Jan 2010, at 15:41, Merrill, Jason wrote: > Hey - nice work! > > > Jason Merrill > > Bank of America Global Learning > Learning & Performance Soluions > > Join the Bank of America Flash Platform Community and visit our > Instructional Technology Design Blog > (note: these are for Bank of America employees only) > > > > > > > -Original Message- > From: flashcoders-boun...@chattyfig.figleaf.com > [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Piers > Cowburn > Sent: Wednesday, January 27, 2010 10:34 AM > To: Flash Coders List > Subject: Re: [Flashcoders] Ideas, Please > > Hi Jason, > > I did that on my site, you can see it here: http://www.pierscowburn.com/ > (click on the thumbnails on the right when it loads). > > You can have the code if you like. > > Piers > > > On 27 Jan 2010, at 15:28, Merrill, Jason wrote: > >> It would be cool to do this with copyPixels and drawing those as >> materials of many planes in Papervision3D - you could explode > (animate) >> each plane in 3D space however you like, and easily animate them back. >> Hmm I might have to try that this weekend... thanks for the idea > :) >> >> >> Jason Merrill >> >> Bank of America Global Learning >> Learning & Performance Soluions >> >> Join the Bank of America Flash Platform Community and visit our >> Instructional Technology Design Blog >> (note: these are for Bank of America employees only) >> >> >> >> >> >> >> -Original Message- >> From: flashcoders-boun...@chattyfig.figleaf.com >> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Gerry >> Sent: Wednesday, January 27, 2010 10:16 AM >> To: Flash Coders List >> Subject: Re: [Flashcoders] Ideas, Please >> >> You should be looking for Bitmap copyPixels or setPixel32 (andre >> michelle example link below) >> I made something similar to what you want but want to make a newer >> version >> with images. >> http://blog.thespikeranch.com/2008/12/22/as3-bitmap-manipulation/ >> >> Andre Michelle does some cool stuff along the lines of what you want > to >> do... >> http://lab.andre-michelle.com/bitmap-particles >> >> -Gerry >> >> >> On Jan 27, 2010, at 9:59 AM, beno - wrote: >> >>> Hi; >>> I have two graphics. I want to explode one and then immediately >> thereafter >>> reverse explode the other. I can do the reverse with TweenLite or > Max, >> that >>> should be easy. But what about the explosion itself? Can y'all just >> point me >>> in the right direction, tutorials, what to search? Searching >> explosions per >>> se was futile. >>> TIA, >>> beno >>> ___ >>> Flashcoders mailing list >>> Flashcoders@chattyfig.figleaf.com >>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> >> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Ideas, Please
On Wed, Jan 27, 2010 at 11:15 AM, Gerry wrote: > You should be looking for Bitmap copyPixels or setPixel32 (andre michelle > example link below) > I made something similar to what you want but want to make a newer version > with images. > http://blog.thespikeranch.com/2008/12/22/as3-bitmap-manipulation/ > > Andre Michelle does some cool stuff along the lines of what you want to > do... > http://lab.andre-michelle.com/bitmap-particles These are cool. I'm just waiting to see if something better comes along. Thanks! beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Ideas, Please
Lol. Ok "beno". .m On Wed, Jan 27, 2010 at 10:42 AM, beno - wrote: > The problem is they all look like crap :( ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Ideas, Please
On Wed, Jan 27, 2010 at 11:29 AM, Nathan Mynarcik wrote: > http://tinyurl.com/yexsdsd You and your little tinyurl thingies LOL. Yeah, I went through 2 pages of that google too, and the same thing, they all stink. I googled this a couple months back and was disappointed with the dismal returns, that's why I asked the list for help. No, the best one I've seen thus far is the two examples Gerry sent me. But thanks ;) beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Rotation
Hi! I'm the list admin (again). > Yeah, that's what they told me when I set out to build what became my 12,000 > line fully automated python shopping cart ... I'm not trying to be a dick here, but discussing your Python programming, your constant struggles against whatever, etc, is all very off-topic for Flashcoders. I'd really like to keep a higher signal-to-noise ratio if possible. If you ask questions on any mailing list, you're going to get some answers you agree with and some you don't. You don't need to explain why you don't like the answers you don't like. You can simply return them for your money back. So, please, more Flash coding, and less "life of beno." Thanks in advance for your cooperation. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Ideas, Please
On Wed, Jan 27, 2010 at 11:29 AM, Matt S. wrote: > Google "as3 explosion" > > > http://www.google.com/search?hl=en&source=hp&q=as3+explosion&aq=f&aql=&aqi=g2&oq= > > first result: > http://active.tutsplus.com/tutorials/effects/create-your-own-pixel-explosion-effect/ > > Includes explosion and implosion (reversal) > The problem is they all look like crap :( beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Ideas, Please
Hey - nice work! Jason Merrill Bank of America Global Learning Learning & Performance Soluions Join the Bank of America Flash Platform Community and visit our Instructional Technology Design Blog (note: these are for Bank of America employees only) -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Piers Cowburn Sent: Wednesday, January 27, 2010 10:34 AM To: Flash Coders List Subject: Re: [Flashcoders] Ideas, Please Hi Jason, I did that on my site, you can see it here: http://www.pierscowburn.com/ (click on the thumbnails on the right when it loads). You can have the code if you like. Piers On 27 Jan 2010, at 15:28, Merrill, Jason wrote: > It would be cool to do this with copyPixels and drawing those as > materials of many planes in Papervision3D - you could explode (animate) > each plane in 3D space however you like, and easily animate them back. > Hmm I might have to try that this weekend... thanks for the idea :) > > > Jason Merrill > > Bank of America Global Learning > Learning & Performance Soluions > > Join the Bank of America Flash Platform Community and visit our > Instructional Technology Design Blog > (note: these are for Bank of America employees only) > > > > > > > -Original Message- > From: flashcoders-boun...@chattyfig.figleaf.com > [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Gerry > Sent: Wednesday, January 27, 2010 10:16 AM > To: Flash Coders List > Subject: Re: [Flashcoders] Ideas, Please > > You should be looking for Bitmap copyPixels or setPixel32 (andre > michelle example link below) > I made something similar to what you want but want to make a newer > version > with images. > http://blog.thespikeranch.com/2008/12/22/as3-bitmap-manipulation/ > > Andre Michelle does some cool stuff along the lines of what you want to > do... > http://lab.andre-michelle.com/bitmap-particles > > -Gerry > > > On Jan 27, 2010, at 9:59 AM, beno - wrote: > >> Hi; >> I have two graphics. I want to explode one and then immediately > thereafter >> reverse explode the other. I can do the reverse with TweenLite or Max, > that >> should be easy. But what about the explosion itself? Can y'all just > point me >> in the right direction, tutorials, what to search? Searching > explosions per >> se was futile. >> TIA, >> beno >> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Ideas, Please
On Wed, Jan 27, 2010 at 11:28 AM, Merrill, Jason < jason.merr...@bankofamerica.com> wrote: > It would be cool to do this with copyPixels and drawing those as > materials of many planes in Papervision3D - you could explode (animate) > each plane in 3D space however you like, and easily animate them back. > Hmm I might have to try that this weekend... thanks for the idea :) > Well if you do, how 'bout sharing? What I see is this: my stage has a magician doing stuff. I'm going to explode him out, then reverse explode in my client's logo :) beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Rotation
On Wed, Jan 27, 2010 at 11:17 AM, Karl DeSaulniers wrote: > That is the book I was going to get you. > You should be good with that one. > > One last thing, no one is saying not to do what is in your head or to stray > from your ideas. > Its just that everyone can see that your not qualified to do the projects > your seeking out except you. > Yeah, that's what they told me when I set out to build what became my 12,000 line fully automated python shopping cart. In fact, they told me the same darn thing when I built my first web site with a relational database. They've always told me that. And they were all wrong and I was right. I'm right this time, too. You'll see. Damn the torpedos, full speed ahead! One of my great passions in life is ancient scripture. One of my favorite quotes is from Confucius (Kung-fu-tze): "When the foundation is laid, the Way is born." Pay dear, close attention to the foundation. Short-cuts are never shorter ;) Don't worry. I might not be good at Flash yet, but I know exactly what I'm doing. And again, this first project is coming along quite well now...in no small measure due to all your help :) beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Ideas, Please
Hi Jason, I did that on my site, you can see it here: http://www.pierscowburn.com/ (click on the thumbnails on the right when it loads). You can have the code if you like :) Piers On 27 Jan 2010, at 15:28, Merrill, Jason wrote: > It would be cool to do this with copyPixels and drawing those as > materials of many planes in Papervision3D - you could explode (animate) > each plane in 3D space however you like, and easily animate them back. > Hmm I might have to try that this weekend... thanks for the idea :) > > > Jason Merrill > > Bank of America Global Learning > Learning & Performance Soluions > > Join the Bank of America Flash Platform Community and visit our > Instructional Technology Design Blog > (note: these are for Bank of America employees only) > > > > > > > -Original Message- > From: flashcoders-boun...@chattyfig.figleaf.com > [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Gerry > Sent: Wednesday, January 27, 2010 10:16 AM > To: Flash Coders List > Subject: Re: [Flashcoders] Ideas, Please > > You should be looking for Bitmap copyPixels or setPixel32 (andre > michelle example link below) > I made something similar to what you want but want to make a newer > version > with images. > http://blog.thespikeranch.com/2008/12/22/as3-bitmap-manipulation/ > > Andre Michelle does some cool stuff along the lines of what you want to > do... > http://lab.andre-michelle.com/bitmap-particles > > -Gerry > > > On Jan 27, 2010, at 9:59 AM, beno - wrote: > >> Hi; >> I have two graphics. I want to explode one and then immediately > thereafter >> reverse explode the other. I can do the reverse with TweenLite or Max, > that >> should be easy. But what about the explosion itself? Can y'all just > point me >> in the right direction, tutorials, what to search? Searching > explosions per >> se was futile. >> TIA, >> beno >> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Ideas, Please
Hi Jason, I did that on my site, you can see it here: http://www.pierscowburn.com/ (click on the thumbnails on the right when it loads). You can have the code if you like. Piers On 27 Jan 2010, at 15:28, Merrill, Jason wrote: > It would be cool to do this with copyPixels and drawing those as > materials of many planes in Papervision3D - you could explode (animate) > each plane in 3D space however you like, and easily animate them back. > Hmm I might have to try that this weekend... thanks for the idea :) > > > Jason Merrill > > Bank of America Global Learning > Learning & Performance Soluions > > Join the Bank of America Flash Platform Community and visit our > Instructional Technology Design Blog > (note: these are for Bank of America employees only) > > > > > > > -Original Message- > From: flashcoders-boun...@chattyfig.figleaf.com > [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Gerry > Sent: Wednesday, January 27, 2010 10:16 AM > To: Flash Coders List > Subject: Re: [Flashcoders] Ideas, Please > > You should be looking for Bitmap copyPixels or setPixel32 (andre > michelle example link below) > I made something similar to what you want but want to make a newer > version > with images. > http://blog.thespikeranch.com/2008/12/22/as3-bitmap-manipulation/ > > Andre Michelle does some cool stuff along the lines of what you want to > do... > http://lab.andre-michelle.com/bitmap-particles > > -Gerry > > > On Jan 27, 2010, at 9:59 AM, beno - wrote: > >> Hi; >> I have two graphics. I want to explode one and then immediately > thereafter >> reverse explode the other. I can do the reverse with TweenLite or Max, > that >> should be easy. But what about the explosion itself? Can y'all just > point me >> in the right direction, tutorials, what to search? Searching > explosions per >> se was futile. >> TIA, >> beno >> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Ideas, Please
http://tinyurl.com/yexsdsd --Original Message-- From: beno - Sender: flashcoders-boun...@chattyfig.figleaf.com To: Flash Coders List ReplyTo: Flash Coders List Subject: [Flashcoders] Ideas, Please Sent: Jan 27, 2010 8:59 AM Hi; I have two graphics. I want to explode one and then immediately thereafter reverse explode the other. I can do the reverse with TweenLite or Max, that should be easy. But what about the explosion itself? Can y'all just point me in the right direction, tutorials, what to search? Searching explosions per se was futile. TIA, beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Ideas, Please
Google "as3 explosion" http://www.google.com/search?hl=en&source=hp&q=as3+explosion&aq=f&aql=&aqi=g2&oq= first result: http://active.tutsplus.com/tutorials/effects/create-your-own-pixel-explosion-effect/ Includes explosion and implosion (reversal) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Ideas, Please
It would be cool to do this with copyPixels and drawing those as materials of many planes in Papervision3D - you could explode (animate) each plane in 3D space however you like, and easily animate them back. Hmm I might have to try that this weekend... thanks for the idea :) Jason Merrill Bank of America Global Learning Learning & Performance Soluions Join the Bank of America Flash Platform Community and visit our Instructional Technology Design Blog (note: these are for Bank of America employees only) -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Gerry Sent: Wednesday, January 27, 2010 10:16 AM To: Flash Coders List Subject: Re: [Flashcoders] Ideas, Please You should be looking for Bitmap copyPixels or setPixel32 (andre michelle example link below) I made something similar to what you want but want to make a newer version with images. http://blog.thespikeranch.com/2008/12/22/as3-bitmap-manipulation/ Andre Michelle does some cool stuff along the lines of what you want to do... http://lab.andre-michelle.com/bitmap-particles -Gerry On Jan 27, 2010, at 9:59 AM, beno - wrote: > Hi; > I have two graphics. I want to explode one and then immediately thereafter > reverse explode the other. I can do the reverse with TweenLite or Max, that > should be easy. But what about the explosion itself? Can y'all just point me > in the right direction, tutorials, what to search? Searching explosions per > se was futile. > TIA, > beno > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Ideas, Please
I would try timeline animation first and if you cant get it to work try tweening and reverse tweening. Karl On Jan 27, 2010, at 8:59 AM, beno - wrote: Hi; I have two graphics. I want to explode one and then immediately thereafter reverse explode the other. I can do the reverse with TweenLite or Max, that should be easy. But what about the explosion itself? Can y'all just point me in the right direction, tutorials, what to search? Searching explosions per se was futile. TIA, beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Rotation
That is the book I was going to get you. You should be good with that one. One last thing, no one is saying not to do what is in your head or to stray from your ideas. Its just that everyone can see that your not qualified to do the projects your seeking out except you. Trust me, I have been their myself. I quickly learned that there was a certain way (a code of design if you will) to do flash. Certain things are common knowledge (like the trace) and some are more in-depth. If you cant even implement the basics on your own, you shouldn't be promising the in-depth. You need to read more. You will figure this out when you have finally learned flash (and you will frown on these postings yourself) or when you get sued for a project you couldn't compete correctly or on time. Can't eat if your getting sued. If you had taken the direction given all this time, some 100 posts ago, you'd be done and eating lobster already.. But alas after you move on and get better there will be someone else with your same mindset of "I know best" (that stubborn thing) posting erroneous questions trying to get ahead by asking everything and studying nothing, and you'll be the one letting them know how to get their questions answered the right way.. :) Best of luck beno.. Karl On Jan 27, 2010, at 8:41 AM, Karl - wrote for beno: The shortest distance between the incomplete and the complete is how much you research. Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Ideas, Please
You should be looking for Bitmap copyPixels or setPixel32 (andre michelle example link below) I made something similar to what you want but want to make a newer version with images. http://blog.thespikeranch.com/2008/12/22/as3-bitmap-manipulation/ Andre Michelle does some cool stuff along the lines of what you want to do... http://lab.andre-michelle.com/bitmap-particles -Gerry On Jan 27, 2010, at 9:59 AM, beno - wrote: > Hi; > I have two graphics. I want to explode one and then immediately thereafter > reverse explode the other. I can do the reverse with TweenLite or Max, that > should be easy. But what about the explosion itself? Can y'all just point me > in the right direction, tutorials, what to search? Searching explosions per > se was futile. > TIA, > beno > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Rotation
On Tue, Jan 26, 2010 at 9:07 PM, Karl DeSaulniers wrote: > I second that. If you need to make money off of Flash to eat. > Keep it SIMPLE! Don't make it harder for you to finish. > Try any animations as a timeline animation before you go into classes on > how to tween bezer paths and such. > Less of a headache and you don't have to be an expert to create nice > timeline animations. > Oh and did I mention you will probably finish faster.. ;) > BTW, I should mention the difference between good and great rarely exceeds 10% additional effort. And even when it does, it's worth it ;) beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Ideas, Please
Hi; I have two graphics. I want to explode one and then immediately thereafter reverse explode the other. I can do the reverse with TweenLite or Max, that should be easy. But what about the explosion itself? Can y'all just point me in the right direction, tutorials, what to search? Searching explosions per se was futile. TIA, beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Rotation
On Tue, Jan 26, 2010 at 9:07 PM, Karl DeSaulniers wrote: > I second that. If you need to make money off of Flash to eat. > Keep it SIMPLE! Don't make it harder for you to finish. > Try any animations as a timeline animation before you go into classes on > how to tween bezer paths and such. > Less of a headache and you don't have to be an expert to create nice > timeline animations. > Oh and did I mention you will probably finish faster.. ;) > No. I'll do it the best I can. Actually, my first project is coming very well and I think I'll have it done within a week. I don't believe in shortcuts. The shortest distance between two points is a straight line. That's why I took 4 months to build that fully automated python shopping cart, not knowing how I'd eat through that period. I ate ;) I'll eat through this period, or not, but I *will* build my Flash projects the way I see them in my head, PERIOD. Stubborn, aren't I? As far as getting the switch to flip on in my head, like I said, for whatever reason this stuff doesn't come as quickly for me as it does for the rest of you. But it *does* come...eventually. It did with Python. It will with Flash. Thanks for sending your email address. I've sent off a problem to Gustavo...see if he can help me with it. Regarding the book, I had my client buy me ActionScript 3.0 Essentials by Colin Moock. If you think I absolutely have to have another, well another would be welcomed and read. If not, thank you for the thought and effort ;) beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Browser levels??
Hi, I am guessing that might work, but you would possibly have problems with www. vs non-www. urls. Also, my email/text seems to have been formatted funny from pasting - it should read: (or samedomain, etc.) Glen Karl DeSaulniers wrote: What about ? Karl On Jan 26, 2010, at 4:04 AM, Glen Pike wrote: Hi, You would need to use JavaScript in the browser to respond to the "onFocus" and "onBlur" events and connect these up to Flash using the "ExternalInterface" method. Your JavaScript would essentially be calling methods in Flash. Remember if you do this, you will need to allow JS<->Flash communication with the in your SWF embedding code. Glen Karl DeSaulniers wrote: Had a feeling Javascript would be a way. Is there a JSFL out there that would do that? Flash Javascript? Or would JSFL not be necessary? Or am I confusing the two? Just curious. I am looking to have my swf figure out if it's window is in focus and if not, clear any listeners, timers and pause any animations. Things that use system resources. I have noticed that flash tends to run hard in the background and slows my computer. Makes the fan spin hard. With fairly light graphics and code. Not sure if it is my code, but I am leaning towards not. I have been being very careful to clear listeners and timers so far. Karl On Jan 26, 2010, at 3:23 AM, Glen Pike wrote: Javascript is your friend http://odondo.wordpress.com/2007/08/28/javascript-and-cross-browser-window-focus/ Karl DeSaulniers wrote: Hello all you glorious flash peoples, I feel I am getting closer to all of you as each day passes. Here is one for the truly gifted. Is there any way to tell (from flash) if the current browser window is on the top level or in the foreground top most application? And here is where the gifted part comes in. Can it be done in AS2? Your helps are always greatly appreciated o omnipotent Mailing list (bow). Thanks, Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders