Re: [Flashcoders] Flash on Wii
Don't speak too soon! http://aralbalkan.com/825 regards Seb Lee-Delisle http://sebleedelisle.com On 28/12/06, Max [EMAIL PROTECTED] wrote: Hey, good news. The buttons on the Wiimote give out key events. http://wiinintendo.net/2006/12/27/wiimote-d-pad-works-in-javascript-or-flash-games/ On 12/25/06, Max [EMAIL PROTECTED] wrote: Any key events? What about right-clicks or mouse scrolling? I'd do it myself but I'm facinated by this and don't have any wireless Internet for a while so I can't test anything. On 12/25/06, Martin Jonasson [EMAIL PROTECTED] wrote: I've also been doing some poking around. It seems it renders the page at a higher resolution than the one displayed and then scales it down (since you can zoom), so setting the swf to half the resolution (400x250 for 4:3) and then zooming in gives a nice performance boost. The only real problems I've been having is some trouble getting all mousedown's to register properly, sometimes it just ignores the clicks, but zooming in and then out again helps. It might be my code acting up though. Josh Santangelo skrev: I did some poking around and discovered the following: - The user-agent of the Wii browser (US version) is Opera/9.00 (Nintendo Wii; U; ; 1309-9; en). - The Flash Player version on the Wii is WII 7.0.70.0 - You CAN enter a URL directly to a SWF. - You CAN add a favorite directly to a SWF, but it won't show a good icon in the favorites screen. - A SWF's stage at 100% width and height in 16:9 mode (480p) is 1024x500. - In 4:3 mode it is 800x500. - After messing with the screen mode I was able to get the browser into a state where it was reporting the stage size as 700x150. Restarting the Wii fixed it. - There are no global objects named Controller, Remote, Buttons, Wii, Nintendo, or com (looking for things like Mouse and Key). - When pressing the A button on the remote, you get a mousedown event -- in fact it seems like you get four of them! - Releasing the A button does not create a mouseup event. - onMouseMove works pretty much as expected. - Mouse.hide() does not hide the Wii remote pointer. - Clicking on a text input field does bring up the Wii on-screen keyboard. - I was not able to trap any events from buttons other than A on the main remote using mouse or keyboard events -- also tried Nunchuck and Classic Controller. My only tools here are outputting things to a text field and using ASSetPropFlags to unhide any potentially-hidden variables. If anyone else has other tricks for finding things, I'd be into hearing them, but at this point it looks like you can't do anything particularly cool with Flash on Wii. -josh On Dec 22, 2006, at 9:37a, Josh Santangelo wrote: The Wii's Internet Channel launched today, which is basically a downloadable version of Opera. Of course the first thing I did after getting it was check out what version of Flash was included. getVersion() returns WII 7.0.70.0. Kind of lame that it's only Flash 7. It looks like wiicade.com, a site full of Flash games to play on the Wii, was surprised too: http://wiicade.com/ I wonder if there's any kind of hidden API to trap events from the Wii remote control. ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] onFrameReached {do something}
why can't you just use this on the first frame : this.onEnterFrame = function(){ if(this._currentframe==30){ // do something } } cheers! Seb Lee-Delisle www.sebleedelisle.com On 02/12/06, Ray Chuan [EMAIL PROTECTED] wrote: Hi, afaik there's no such thing. If you want to, in the frame that you are looking for you can put a dispatch call, eg at frame 30: trace(frame reached); broadcaster.dispatch({type: onFrameReached}); I made that up, there's no event by the name onFrameReached. Even if you do that or use onEnterFrame you may not get what you want since the player can choose to skip that frame/not call onEnterFrame for performance reasons. On 12/1/06, Wendy Richardson [EMAIL PROTECTED] wrote: Hi All, I'm looking for some suggestions for the best way to know when a certain frame has been reached or plays. Barring checking for that frame-by-frame on each onEnterFrame, is there a way to listen for a swf reaching or playing a certain frame? Some event to listen for? Code will be 1st frame only or via new classes. Thanks for any ideas! Wendy ___ 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 Training http://www.figleaf.com http://training.figleaf.com -- Cheers, Ray Chuan ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] swf2Video
Anyone know if this software is still being updated/supported? I've tried mailing them but no response. I need to get an upgrade that works with FP8. cheers Seb Lee-Delisle sebleedelisle.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Problem: Safari and dynamic loading?
I've had this problem recently. I found it was an issue when the swf and the html file aren't in the same directory. Either put them both in the same directory, or give the full path in your filename. Let me know how you get along! Seb Lee-Delisle sebleedelisle.com On 22/11/06, Haydn [EMAIL PROTECTED] wrote: Hi, I'm pretty sure this is an issue with Safari as a similar problem somethings occurs when loading HTML pages. From what I can tell it's completely random. I'm using Safari 1.3.1 so maybe an update to 1.3.2 would fix the problem? Haydn. On 21/11/2006, at 9:08 PM, Daniel Forslund|Lists wrote: Hi everyone! I've researched this - apologies if I've missed the answer somewhere. Anyways: I have a flash application that reads an XML-file and then proceeds to load lots of content dynamically - a common situation. Everything works very well, except now and then in Safari. Safari will then miss loading an element and my preload bar for that object will hang indefinitely. A simple reload of the page solves the problem. This happens regardless of whether I've cleared Safari's cache etc. The problem *never* occurs in other browsers (Firefox for example) or offline. So I'm starting to suspect Safari as the culprit rather than my code. - Has anyone experienced the same problem? - Any idea what may be causing it? - Any pitfalls in using Moviecliploader that may cause this? I would be very thankful for advice as I want to pin down the problem before it causes problems for the client. Thanks in advance! Regards, Dan ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] OT: Flash on the beach
I also live in Brighton and I'll be there too! But then I am presenting a session on realtime 3D in Flash ... ;-) http://flashonthebeach.com/sessions/index.php?pageid=315 And here are my recommendations for the rest of the conference... http://sebleedelisle.com/?p=38 It's gonna be amazing, AMAZING I tell you cheers! Seb Lee-Delisle (quite excited about the whole thing...) On 17/11/06, James Marsden [EMAIL PROTECTED] wrote: I'll be there, I live in Brighton, woo hoo! Zárate wrote: I will be there, Hope to meet a bunch of people : ) On 11/17/06, Pedro Furtado [EMAIL PROTECTED] wrote: Who's going then? http://www.flashonthebeach.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] OT: Flash on the beach
a flashcoders beer night AKA the Flash on the Beach Main Party, Tuesday night, 8pm. :-) On 17/11/06, Pedro Furtado [EMAIL PROTECTED] wrote: Good, let's have a flashcoders beer night :D lol -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Marsden Sent: sexta-feira, 17 de Novembro de 2006 14:10 To: Flashcoders mailing list Subject: Re: [Flashcoders] OT: Flash on the beach I'll be there, I live in Brighton, woo hoo! Zárate wrote: I will be there, Hope to meet a bunch of people : ) On 11/17/06, Pedro Furtado [EMAIL PROTECTED] wrote: Who's going then? http://www.flashonthebeach.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] OT: Flash on the beach
what can i say? i'm the flash slut of sussex... :-) On 17/11/06, James Marsden [EMAIL PROTECTED] wrote: Damn, I was just about to pimp your must see list, you've got your autopimp set too sensitive... ;) Seb L wrote: I also live in Brighton and I'll be there too! But then I am presenting a session on realtime 3D in Flash ... ;-) http://flashonthebeach.com/sessions/index.php?pageid=315 And here are my recommendations for the rest of the conference... http://sebleedelisle.com/?p=38 It's gonna be amazing, AMAZING I tell you cheers! Seb Lee-Delisle (quite excited about the whole thing...) On 17/11/06, James Marsden [EMAIL PROTECTED] wrote: I'll be there, I live in Brighton, woo hoo! ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] odd _alpha arithmetic
It's because _alpha is stored internally at 255 levels, so it's the dodgy floating point accuracy and conversion from the internal value to a percentage that causes the inconsistency. If it causes problems, I usually have a separate value for storing the current alpha. myClip = _root.createEmptyMovieClip(appClip,1); myClip.modifier = 5; myClip.currentAlpha = 100; myClip.onEnterFrame = function(){ this.currentAlpha-=this.modifier; this._alpha = this.currentAlpha } Hope this helps! Seb Lee-Delisle http://sebleedelisle.com On 14/11/06, Mendelsohn, Michael [EMAIL PROTECTED] wrote: I asked this question once. Check out the archives of my post: http://chattyfig.figleaf.com/mailman/htdig/flashcoders/2002-December/055 709.html - MM ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Weird movie corruption
A couple of things to try... I've recently been getting VERY unpredictable results with JS/AS communication and I realised that security settings seem to be a bit weird... so the first thing to try is uploading it to a web server and see if it still happens there. Secondly, I would delete all the movieclips and just have the button left just to make sure there's nothing to do with hiding the mouse or changing frames. I'm sure it's fine, but you need to eliminate everything that could be a problem. good luck! Seb Lee-Delilsle http://sebleedelisle.com On 14/11/06, Chris Akins [EMAIL PROTECTED] wrote: Greetings, all. I've been working on an interactive quiz for a while now, and it's working correctly, except that some parts of it break after making a call to any JavaScript function. I've been trying fruitlessly to debug this for a small eternity now, and I've finally run out of ideas. Could someone try to reproduce this effect? I've been able to reproduce the bug (?) with the following setup: The components are a button symbol and three movie clips. One movie clip has three frames with a static graphic on each frame; each frame has a stop() statement on it, and nothing else. Attached to it at the root level is onClipEvent(enterFrame){ this._x=_root._xmouse; this._y=_root._ymouse; } This clip should be named 'pointer', and reside alone on the top layer. The second movie clip has the following code attached to it: onClipEvent(load){ onRollOver=function(){ Mouse.hide(); _root.pointer.gotoAndPlay(2); } onRollOut=function(){ Mouse.show(); _root.pointer.gotoAndPlay(1); } } The third and final movie clip has the same code attached to it, save that its onRollOver send the pointer clip to frame 3, rather than frame 2. The button has the following code attached to it: on(release){ flash.external.ExternalInterface.call(alert, alert called); } After clicking the button and thereby making the JS call, the pointer clip stops following the system mouse movements. I've seen this behavior using both fscommand and ExternalInterface, exporting for Flash Player 6 and 8. The consistency makes me believe either that it's a bug in the way that Flash handles calls to JavaScript, or that it's a really really basic error in my AS. Many Thanks, Chris Akins ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Faking 3D perspective of a 2D map in Flash 8..?
OK it's on my list, but I'm not sure when that'll be... I have a whole lot of 3D tutorials to prepare for Flash on the Beach first... But I have an rss if you want to be the first to see... http://sebleedelisle.com/?feed=rss2 cheers Seb Lee-Delisle http://sebleedelisle.com On 14/11/06, Jake Prime [EMAIL PROTECTED] wrote: Hi Seb Seconded. If you find the time I'd love to read that blog. Jake On 14/11/06, Ben Smeets [EMAIL PROTECTED] wrote: Oe, I'm liking this one very much. More background would be greatly appreciated :D -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Seb L Sent: maandag 13 november 2006 11:33 To: Flashcoders mailing list Subject: Re: [Flashcoders] Faking 3D perspective of a 2D map in Flash 8..? We did this at FlashCodersBrighton : http://www.flashcodersbrighton.org/wordpress/?cat=1 We used a mode7 style technique. It was actually a bit complicated, but maybe I'll post a blog about it if enough people are interested? cheers! Seb Lee-Delisle http://sebleedelisle.com On 10/11/06, Andrew Murphy [EMAIL PROTECTED] wrote: Hello. I'm trying to take a vector map of North America and produce the sense of 'flying over' it. I want to have the flat map tipped along the X axis, so that the bottom (Florida, Texas, etc.) appear closer and the top (Nunuvut, Greenland, etc.) appear farther away. Then I want to be able to pan the map left and right, up and down, and 'zoom' in by scaling it.. scaling it a little faster vertically so that it seems to flatten out a bit as you get closer to the ground. So far I've only been able to achieve that in Illustrator and then saving the perspectively squished vectors as a .swf What I'd love to do is to get that perspective squish done within Flash 8 using script. I know about 3D program extensions for Flash like Sandy, but I find them cryptic (at best) and over kill for my simple needs. Any suggestions..? Thanks. :) - - - - - - - - - -[andrew murphy]- flash developer [EMAIL PROTECTED] delvinia interactive inc. 214 king street west, suite 214 toronto canada M5H 3S6 voice 416.364.1455 ext. 232 cell 416.820.8723 fax 416.364.9830 www.delvinia.com CONFIDENTIALITY NOTICE This email message may contain privileged or confidential information. If you are not the intended recipient or received this communication by error, please notify the sender and delete the message without copying or disclosing it. AVIS DE CONFIDENTIALITÉ Ce message peut contenir de l'information légalement privilégiée ou confidentielle. Si vous n'êtes pas le destinataire ou croyez avoir reçu par erreur ce message, nous vous saurions gré d'en aviser l'émetteur et d'en détruire le contenu sans le communiquer a d'autres ou le reproduire. -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.1/527 - Release Date: 09/11/2006 6:00 PM ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Faking 3D perspective of a 2D map in Flash 8..?
We did this at FlashCodersBrighton : http://www.flashcodersbrighton.org/wordpress/?cat=1 We used a mode7 style technique. It was actually a bit complicated, but maybe I'll post a blog about it if enough people are interested? cheers! Seb Lee-Delisle http://sebleedelisle.com On 10/11/06, Andrew Murphy [EMAIL PROTECTED] wrote: Hello. I'm trying to take a vector map of North America and produce the sense of 'flying over' it. I want to have the flat map tipped along the X axis, so that the bottom (Florida, Texas, etc.) appear closer and the top (Nunuvut, Greenland, etc.) appear farther away. Then I want to be able to pan the map left and right, up and down, and 'zoom' in by scaling it.. scaling it a little faster vertically so that it seems to flatten out a bit as you get closer to the ground. So far I've only been able to achieve that in Illustrator and then saving the perspectively squished vectors as a .swf What I'd love to do is to get that perspective squish done within Flash 8 using script. I know about 3D program extensions for Flash like Sandy, but I find them cryptic (at best) and over kill for my simple needs. Any suggestions..? Thanks. :) - - - - - - - - - -[andrew murphy]- flash developer [EMAIL PROTECTED] delvinia interactive inc. 214 king street west, suite 214 toronto canada M5H 3S6 voice 416.364.1455 ext. 232 cell 416.820.8723 fax 416.364.9830 www.delvinia.com CONFIDENTIALITY NOTICE This email message may contain privileged or confidential information. If you are not the intended recipient or received this communication by error, please notify the sender and delete the message without copying or disclosing it. AVIS DE CONFIDENTIALITÉ Ce message peut contenir de l'information légalement privilégiée ou confidentielle. Si vous n'êtes pas le destinataire ou croyez avoir reçu par erreur ce message, nous vous saurions gré d'en aviser l'émetteur et d'en détruire le contenu sans le communiquer a d'autres ou le reproduire. -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.1/527 - Release Date: 09/11/2006 6:00 PM ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Q: 3D effect similar to OSX RSS Visualizer Quartz screen saver
Hiya, we've built a similar texture mapped text effect on our new website, currently in beta. Here's an example : http://www.sebleedelisle.com/?p=18 It's actually quite complex to stretch text like that... it may be easier to just treat the text as always facing towards you, then there's no need for a perspective distortion. But you'll probably still need to convert the text image into a bitmap first, otherwise it may take a while to render all those words all over the place... And then there are all the rotations to calculate... so generally speaking, a complex area to get into, but there are some good tutorials on kurupa, or else attend my 3D session at Flash on the Beach (http://flashonthebeach.com) and i'll tell you all about it :-) cheers Seb Lee-Delisle http://sebleedelisle.com On 13/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi I know there's a surplus of threads on 3D and 3D frameworks for Flash but what I am after is a spcific treatment used in the RSS Visualizer Quartz screen saver for OSX Here is a screen shot: http://www.mactech.com/articles/mactech/Vol.21/21.05/QuartzComposer/index.html I'd like to reproduce this using actionscript... Can anyone point me in the right direction to get started? Thanks in advance Jim Bachalo [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] hitDetect and levels?
hmmm interesting... ball.checkBricks is a method of the ball object? So it may be a scoping issue? If you're calling the checkBricks function from within the ball object you'd need to do a call on this.hitTest(brick0_0), rather than ball.hitTest(...). Try that first. Just a general comment, eval is not widely used any more, although it will work when it's on the right hand side of an equation, it won't on the left. But you can use the square bracket notation : _root[brick+row+_+col]; Oh and of course it's not good practice to refer to _root, but we'll take that on another time ;-) hope this helps Seb Lee-Delisle http://sebleedelisle.com On 31/10/06, Martin Scott Goldberg [EMAIL PROTECTED] wrote: Working on another side project (Breakout clone), and am having an interesting problem with hitDetect. The paddle and ball are detecting hits with each other just fine, but the same code isn't working for the bricks. The ball, paddle, and brick are all attached dynamically. Here's the initialize code for the player and paddle: _root.attachMovie(ball, ball, 2); ball._x = 275; ball._y = 200; _root.attachMovie(paddle, player, 1); player._x = 200; player._y = 362; Here's the code for the bricks: yPos = 150.8; xPos = 138.3; zBuff = 3; for (col = 0; col 14; col++) { for (row = 0; row 8; row++) { _root.attachMovie(brick, brick + row + _ + col, zBuff); currentBrick = eval(brick + row + _ + col); currentBrick._x = xPos; currentBrick._y = yPos; yPos = yPos - 8; zBuff++; } xPos = xPos + 21; yPos = 150.8; } The hit test routine for the ball/paddle (which works) uses: if (ball.hitTest(player)) etc. etc. The routine for the ball/brick (which is not working) is a sample one I have for just one brick test right now: ball.checkBricks() { if (ball.hitTest(_root.brick0_0)) { _root.brick0_0.removeMovieClip(); } } I've tested the _root.brick0_0.removeMovieClip() line on its own, and that works fine (it removes the lower left brick in question perfectly). Its the hitTest that's not working. I tried setting it to this.hitTest(_root.brick0_0) and that incorrectly returns true all the time (even when the program first starts up and the ball hasn't started moving yet). Am I approaching something wrong with levels? I know I have the brick name right (brick0_0), and hitTest is working fine for the Paddle and Ball itself. Really confusing. Marty ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Q:Justifying Flash 8 Content
We've just sold two projects on FP8, the first because of it bitmap rendering capabilities, and the fact that we could use bitmap fills to stretch bitmap textures on 3D surfaces. Recently we've been using cacheAsBitmap, and also custom bitmap caching methods to massively increase the speed of animation. (all documented on my blog - sebleedelisle.com) And the latest project uses video - the new codecs mean much better video quality with lower bandwidth - this represents both a quality increase and real financial saving in terms of file transfer costs. cheers Seb Lee-Delisle http://sebleedelisle.com On 31/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'm working on a large commercial site that uses FP7 based content. What are some of the arguments and/or approaches that Flash developers have and are using to push the transition to FP8 content? The bottom line is really about providing the best user experience possible Jim bachalo [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] hitDetect and levels?
Oh and of course it's not good practice to refer to _root, but we'll take that on another time ;-) Really? I've seen it done in several books I have, so I assumed its ok. What are some of the possible errors that can happen with that? If you swf is loaded into another swf, it may cause problems. More info at the AS2 best practice guide : http://www.adobe.com/devnet/flash/articles/as_bestpractices_04.html cheers Seb Lee-Delisle http://sebleedelisle.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Dynamically Distort Text?
There are ways to do it but it's tricky. Here's an example on my blog : http://www.sebleedelisle.com/?p=18 You need to convert the text to a bitmap first, then you can do perspective distortions using the triangles method described here : http://www.sebleedelisle.com/?page_id=7 We wrote our own code for it but if you want to save time, you can use Sandy's excellent DistordImage class. :-) http://sandy.media-box.net/blog/distordimage-the-way-to-distord-bitmaps-by-code.html hope this helps! Seb On 24/10/06, slangeberg [EMAIL PROTECTED] wrote: Not in (solely) flash, as far as I know or have ever seen. We created a Java class that takes the parameters (font, text, style) and performs the distortions on actual letter outlines, using Font objects. This was set up as a webservice (coldfusion instantiates java object) that returns coordinates for flash to draw out, at runtime. Here's a section of that code, to give an idea (sorry, closed-source!): private java.awt.Shape transform( int layout, String text, String font ) { j_Font = new java.awt.Font(font, java.awt.Font.PLAIN, FONT_SIZE); // FontRenderContext needed to create a GlyphVector object FontRenderContext frc = new FontRenderContext(null,true,true); // Create a GlyphVector object to get an outline of the text string GlyphVector gv = j_Font.createGlyphVector(frc, text); int length = gv.getNumGlyphs(); //Get the number of characters for(int i = 0; i length; i++) { java.awt.Shape glyph = gv.getGlyphOutline(i); //Transform single glyph to Shape double glyphWidth = glyph.getBounds().getWidth(); //Get single glyph width prior to rotation theta = (accGlyphWidth/gvWidth) * totalRotationDistance; //Set rotation by points accGlyphWidth = accGlyphWidth + glyphWidth; //Add up distance traveled thus far Point2D p = gv.getGlyphPosition(i); AffineTransform at = new AffineTransform(); at.translate(-p.getX(), -p.getY()); . . . } . . . } As you can see, most of the transformations were accomplised using AffineTransform to the glyphs stored in 'gv'. Hope that gives you an idea of how this was done..! Scott On 10/23/06, Marc Hoffman [EMAIL PROTECTED] wrote: I need to dynamically distort user input text to fill a limited set of shapes. For example, the user might type in WINNERS and select a shape like the Arc d' Triomphe (flat-topped arch), and the tops of all the letters would be flat but the bottoms would be curved. This is more than just putting text on a curve -- it requires actually distorting the individual letters. Nike has something similar to this (but not exactly) on their custom uniform builder. See http://www.niketeam.com/v2/new/Builders/Baseball/check_flash5.asp and move through the steps until you reach the Select Name Style, after which you'll see the effect I'm after. Somehow they are able to skew the letters, though they're not actually distorting any straight lines into a curve, and all the letters keep the same height. Anyone know of something like this? Especially Flash 7-compliant? Thanks. Marc Hoffman ___ 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 Training http://www.figleaf.com http://training.figleaf.com -- : : ) Scott ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] ... client server flash dev
It's not something that I personally would do, but then I generally avoid programming the back-end systems at all these days... :-) But yeah, SQL in the Flash seems wrong! Seb On 06/10/06, Guy Parton [EMAIL PROTECTED] wrote: hi everyone, last night i received an email reviewing a very well designed site (visually) ... and then i came to the following line in the article : SQL statements are sent directly from in flash via PHP to access records from the database... now i have not developed a flash application in ages, but i have been part of a web development team for sometime now - and one thing i have learnt over the years is that your sql NEVER sits on your client - ie in the SWF - or have i missed something. any other thoughts, agreements, disagreements about this application design approach in flash - i would be interested in. tia :) ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash based desktop mate
Zinc can do this and so can IceProjector, IIRC. On 05/10/06, Shane Casey [EMAIL PROTECTED] wrote: Hey all, I'm looking into the possibility of building a desktop buddy type application in Flash. Basically it would need to be a full-screen projector file but with a transparent background that would allow the user to interact with other windows etc. Any ideas? This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Rendering flash 8 to video
I used swf2video, which worked really well. Not sure if they've updated for 8 though, last time i used it on Flash 7. On 03/10/06, Giles Taylor [EMAIL PROTECTED] wrote: You could use some screen capture software (there are lots, but for example: http://www.techsmith.com/camtasia.asp) to capture the swf area as you play it back. A lot cheaper than Director ;) Giles -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alias(tm) Sent: 03 October 2006 11:48 To: Flashcoders mailing list Subject: [Flashcoders] Rendering flash 8 to video Hi guys, Every so often, this question comes up, and I've never really gotten a satisfactory answer. So... I have a flash movie. I want to render it out to a video file, but of course I want to have all the timelines playing correctly and all the transparencies/filters properly rendered, etc. so save as... really won't cut it. As I understand, the only way to do this is to export via director. Is this still the case? And if so, does whatever version of director that is still in existence support flash 8? Anyone got any leads on this? Thanks in advance, Alias ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Euler angles...
... any crazy geniuses out there know how to generate euler angles for a 3D vector? Or i guess to calculate the rotation angles between 2 3D vectors? Any pointers would be greatly appreciated. I am losing it now... :-) cheers! Seb ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Euler angles...
I have a simulated cable in 3D, and all I have a 3D plug attached to the end of the cable. My 3D plug object stores its rotation as 3 euler angles. I need to work out what those angles should be so that they point in the same direction as the end of the cable. I have the cable direction as a 3D Vector. I guess this same calculation could be used to work out how to point the camera at a particular object. thanks! Seb On 01/09/06, Alias™ [EMAIL PROTECTED] wrote: What are you trying to do? Do you want to tween from one 3d position/rotation to another? How are you representing your objects? Alias On 01/09/06, Seb L [EMAIL PROTECTED] wrote: ... any crazy geniuses out there know how to generate euler angles for a 3D vector? Or i guess to calculate the rotation angles between 2 3D vectors? Any pointers would be greatly appreciated. I am losing it now... :-) cheers! Seb ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Euler angles...
That is indeed an amazing resource. Thank you so much! Seb On 01/09/06, Mark Winterhalder [EMAIL PROTECTED] wrote: Hi, it's been a while, but IIRC the cross product of the two normalized vectors will give you the rotation vector, and the acos of the dot product is the rotation angle. Convert that into a quaternion (much, much easier than it sounds), that quaternion into a rotation matrix, and extract the Euler angles from that one. I might be wrong, though. In any case, have a look at these two FAQs: http://www.j3d.org/matrix_faq/ They'll walk you through all the necessary steps and will answer pretty much every question you might have regarding these issues. Extremely helpful resource. Mark On 9/1/06, Seb L [EMAIL PROTECTED] wrote: I have a simulated cable in 3D, and all I have a 3D plug attached to the end of the cable. My 3D plug object stores its rotation as 3 euler angles. I need to work out what those angles should be so that they point in the same direction as the end of the cable. I have the cable direction as a 3D Vector. I guess this same calculation could be used to work out how to point the camera at a particular object. thanks! Seb On 01/09/06, Alias™ [EMAIL PROTECTED] wrote: What are you trying to do? Do you want to tween from one 3d position/rotation to another? How are you representing your objects? Alias On 01/09/06, Seb L [EMAIL PROTECTED] wrote: ... any crazy geniuses out there know how to generate euler angles for a 3D vector? Or i guess to calculate the rotation angles between 2 3D vectors? Any pointers would be greatly appreciated. I am losing it now... :-) cheers! Seb ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Custom cacheAsBitmap with scale and rotate
Hi guys, So cacheAsBitmap is great, but it re-renders the bitmap every time you scale or rotate. I remember seeing some code that you could apply to a movie clip and it manually cached a bitmap version of the clip, which was scaled and rotated as a bitmap... but I can't remember where... can anyone else? Thanks in advance! Seb ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Custom cacheAsBitmap with scale and rotate
Yes that's exactly what I'm about to do, but I remember seeing someone else had done that a while back, and I was asking if anyone could tell me who it was, to save me the trouble :-) Seb On 31/07/06, Howard Nager [EMAIL PROTECTED] wrote: Have you tried drawing the movieclip to a bitmap using the BitmapData draw() methos? You could display (scale/rotate) the bitmap instead of the cacheAsBitmap movieclip. -Original Message- From: [EMAIL PROTECTED] on behalf of eric dolecki Sent: Mon 7/31/2006 8:20 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Custom cacheAsBitmap with scale and rotate If you are scaling and rotating a clip often, it wouldn't seem likely to be a good candidate for cacheAsBitmap in the first place. - e.d. On 7/31/06, Seb L [EMAIL PROTECTED] wrote: Hi guys, So cacheAsBitmap is great, but it re-renders the bitmap every time you scale or rotate. I remember seeing some code that you could apply to a movie clip and it manually cached a bitmap version of the clip, which was scaled and rotated as a bitmap... but I can't remember where... can anyone else? Thanks in advance! Seb ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Alpha fade problem
try this... myAlpha = ((alphaTime-(getTimer()-loadTime))/alphaTime)*100; On 01/06/06, Tony Watkins [EMAIL PROTECTED] wrote: So, the following script will cause a MC to fade in. What would I change to make a MC fade out? onClipEvent (load) { loadTime = getTimer(); alphaTime = 1000; myAlpha = 0; this._alpha = myAlpha; } onClipEvent (enterFrame) { if (this._alpha100) { myAlpha = ((getTimer()-loadTime)/alphaTime)*100; this._alpha = myAlpha; } } ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Alpha fade problem
oh yeah, well spotted :) On 01/06/06, Adrian Park [EMAIL PROTECTED] wrote: You'll also have to change... if (this._alpha100) { to if (this._alpha0) { On 6/1/06, Seb L [EMAIL PROTECTED] wrote: try this... myAlpha = ((alphaTime-(getTimer()-loadTime))/alphaTime)*100; On 01/06/06, Tony Watkins [EMAIL PROTECTED] wrote: So, the following script will cause a MC to fade in. What would I change to make a MC fade out? onClipEvent (load) { loadTime = getTimer(); alphaTime = 1000; myAlpha = 0; this._alpha = myAlpha; } onClipEvent (enterFrame) { if (this._alpha100) { myAlpha = ((getTimer()-loadTime)/alphaTime)*100; this._alpha = myAlpha; } } ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] FlashCodersBrighton.org
Thought that UK Flashers may be interested in this! Seb -- Forwarded message -- From: James Marsden [EMAIL PROTECTED] Date: 30-May-2006 18:48 Subject: [BNM] Flash Coders Brighton To: Brighton New Media [EMAIL PROTECTED] Hello BNM flash people! Just when you thought Brighton couldn't get any more interesting, along comes a Flash coders group hosted by the Skills Lab at City College! The first session is due to take place on 6th June at 6:30 pm and will run for 2 hours. It'll be a meet and greet session to find out what people would really like to focus on during the meetings, and will be followed by a presentation on particle systems if we have the time! The Skills Lab is kitted out with enough CPU's for us all to play with, so we can hack around with code, share ideas and have some fun. More details in the press release below. Hope to see you there! James //[ Press Release ]==// *Flashers come together* Shame on you readers, this has nothing to do with the raincoat brigade! A new Flash developers group, FlashCodersBrighton (FCB), is being established in the city to bring together users of the software and create a knowledge sharing network. FCB, who have no intention of exposing themselves, will meet fortnightly at City College, Brighton and Hove, in Pelham Street. They hope to attract all levels of Flash enthusiasts, from the casual hobbyist to the Flash professional and this diversity will make for some exciting discussions. The first of its kind in the area, the group was inspired by FlashCodersNewYork (_www.flashcodersny.org http://www.flashcodersny.org/_) and intends to maintain close contact with the American network through the mutual sharing of ideas and information from the meetings. The group aims to cultivate a Flash programming community that will raise standards and inspire, further enhancing Brighton's reputation as a centre of excellence in the field of Digital Media. The meetings will cover a wide range of topics. Some will feature high-profile guest speakers from the Flash community; others will be more informal discussions and an opportunity for information sharing. They aim to cover the latest developments in software such as AS3 and Flex, and more inspirational areas such as particle systems, animation and physics simulations. The first meeting will be on the 6th of June, and registration will be required before attending. For more information please contact Seb at Plug-In Media on [EMAIL PROTECTED] or check the website at www.flashcodersbrighton.org. FCB is supported by Plug-In Media, FuturLab, SkillsLab at City College Brighton and Hove and Wired Sussex. -- ___ 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 Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] FDT weirdness
FDT has suddenly stopped doing its code parsing for new classes... anyone else had this? It's still parsing and checking on the pre-existing classes. Weird! Seb ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] FDT weirdness
of course, that's always the first thing to try! :-) On 05/05/06, Sönke Rohde [EMAIL PROTECTED] wrote: Did you try to restart Eclipse? Cheers, Sönke -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Seb L Sent: Friday, May 05, 2006 12:35 PM To: Flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] FDT weirdness FDT has suddenly stopped doing its code parsing for new classes... anyone else had this? It's still parsing and checking on the pre-existing classes. Weird! Seb ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] FDT weirdness
Yeah it seems to be, the new classes are just in the same folder as the old one! On 05/05/06, Sönke Rohde [EMAIL PROTECTED] wrote: And is the path with your classes added to the classpath? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Seb L Sent: Friday, May 05, 2006 12:35 PM To: Flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] FDT weirdness FDT has suddenly stopped doing its code parsing for new classes... anyone else had this? It's still parsing and checking on the pre-existing classes. Weird! Seb ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] FDT weirdness
Ah that'll be the one! doh! Thanks Michael. On 05/05/06, Michael Klishin [EMAIL PROTECTED] wrote: Seb L wrote: FDT has suddenly stopped doing its code parsing for new classes... anyone else had this? It's still parsing and checking on the pre-existing classes. Weird! Check if your classes name starts with uppercase letter. FDT parser ignores it otherwise. -- Michael Antares Klishin, Blog: http://www.novemberain.com/blog/ Email: [EMAIL PROTECTED] Non progredi est regredi ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Good Math script for sheet movement when dragedontable
yeah that's close...! What you need is a pendulum simulation, where the clicked point is the pivot, and the centre point is the weight (centre of gravity). I built something like this for www.jak2renegade.com, except there was gravity involved too. (check scene 2). Take out the effects of gravity and you get what you're looking for. If I wasn't snowed under building a 3D shootout game in Flash, I'd dig out the code... cheers Seb On 03/04/06, eugen pflüger [EMAIL PROTECTED] wrote: i guess you are looking for something like this: http://www.intentionallies.co.jp this site is from yugo nakamura. very well scripted. someday i tried it by myself but unfortunaly didnt get it to work. my thoughts were this: on click on a sheet find the distance from the middle and set it to be the new origin (thats the new rotation point). then you have to find out in which direction the sheet should turn - calculate some forces...depending on the drag movement something like this :) Am 03.04.2006 um 14:22 schrieb Alias: You could probably adapt the page drag mathematics from this article... http://www.oreillynet.com/pub/a/javascript/2004/09/03/flashhacks.html A good book to learn about trigonometry is the Complete Idiot's Guide to Algebra by W. Michael Kelly - it's very well written and mathematical beginner-friendly. http://www.amazon.com/exec/obidos/tg/detail/-/1592571611?v=glance You won't get far in flash development without a basic knowledge of trig, and besides, it starts to be fun after the first couple of years :) Hope this helps, Alias ___ 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 Training http://www.figleaf.com http://training.figleaf.com plugisto ... eugen pflüger alexanderstr. 109 70180 stuttgart fon +49.711.6739797 mobil +49.177.6428272 e-mail [EMAIL PROTECTED] ... http://www.plugisto.net http://itself.pmalc.de http://www.lifeperformance.net ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Simulating a rope
Thanks Josh, it was pretty much the same sort of techniques that have been presented here, only difference is the specularity which changes brightness depending on the angle of that segment of rope... I'll have to dig it out and update it - it'd be great to convert all the lines to curves huh? Seb Plug-in Media UK www.pluginmedia.net On 20/02/06, Josh McDonald [EMAIL PROTECTED] wrote: That's nice dude :) I dunno about the rest of this mob, but I'd definitely like to see the source for that effect. Nicer than most of the other ones that have been posted. -Josh -- His comrades fought beside him, Van Owen and the rest... But of all the thompson gunners- Roland was the best. Josh McDonald Analyst Programmer Information Technology Ph: 61 7 3006 6460 Email: [EMAIL PROTECTED] [EMAIL PROTECTED] 20/02/2006 9:24:14 pm We built one for Jak2 a couple of years ago - http://www.jak2renegade.com(click on the crate on the first scene). If there's enough demand, I'll dig out the source code and blog it somewhere. cheers Seb On 20/02/06, Luca Candela [EMAIL PROTECTED] wrote: Hi to all, how do I simulate a rope in ActionScript? I've seen something like that somewhere, but I'm not able to figure out what it was. Anyone knows about it? -- MATTEO 25:11 Più tardi arrivarono anche le altre vergini e incominciarono a dire: Signore, signore, aprici! ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com *** Messages included in this e-mail and any of its attachments are those of the author unless specifically stated to represent WorkCover Queensland. The contents of this message are to be used for the intended purpose only and are to be kept confidential at all times. This message may contain privileged information directed only to the intended addressee/s. Accidental receipt of this information should be deleted promptly and the sender notified. This e-mail has been scanned by Sophos for known viruses. However, no warranty nor liability is implied in this respect. ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Simulating a rope
Some very clever code there, although surely In our example all we need to do is use the mid points of every line for the anchors, and use the current corner points as the curveTo points... IYSWIM! I'll take a look... Seb pluginmedia.net On 21/02/06, Andreas Weber [EMAIL PROTECTED] wrote: and update it - it'd be great to convert all the lines to curves huh? Maybe use a spline class, e.g. Catmull-Rom? http://motiondraw.com/md/as_samples/t/CatmullRomSpline/tween.html Jim Armstrong has a number of great, in-depth technotes on Spline-Math: http://www.2112fx.com/technotes.html hth -- Andreas Weber motiondraw.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Seb L Sent: Tuesday, February 21, 2006 4:50 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Simulating a rope Thanks Josh, it was pretty much the same sort of techniques that have been presented here, only difference is the specularity which changes brightness depending on the angle of that segment of rope... I'll have to dig it out and update it - it'd be great to convert all the lines to curves huh? Seb Plug-in Media UK www.pluginmedia.net On 20/02/06, Josh McDonald [EMAIL PROTECTED] wrote: That's nice dude :) I dunno about the rest of this mob, but I'd definitely like to see the source for that effect. Nicer than most of the other ones that have been posted. -Josh -- His comrades fought beside him, Van Owen and the rest... But of all the thompson gunners- Roland was the best. Josh McDonald Analyst Programmer Information Technology Ph: 61 7 3006 6460 Email: [EMAIL PROTECTED] [EMAIL PROTECTED] 20/02/2006 9:24:14 pm We built one for Jak2 a couple of years ago - http://www.jak2renegade.com(click on the crate on the first scene). If there's enough demand, I'll dig out the source code and blog it somewhere. cheers Seb On 20/02/06, Luca Candela [EMAIL PROTECTED] wrote: Hi to all, how do I simulate a rope in ActionScript? I've seen something like that somewhere, but I'm not able to figure out what it was. Anyone knows about it? -- MATTEO 25:11 Più tardi arrivarono anche le altre vergini e incominciarono a dire: Signore, signore, aprici! ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com *** Messages included in this e-mail and any of its attachments are those of the author unless specifically stated to represent WorkCover Queensland. The contents of this message are to be used for the intended purpose only and are to be kept confidential at all times. This message may contain privileged information directed only to the intended addressee/s. Accidental receipt of this information should be deleted promptly and the sender notified. This e-mail has been scanned by Sophos for known viruses. However, no warranty nor liability is implied in this respect. ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive
Re: [Flashcoders] Is there a solution for in-IDE testing of local and remote swf files
Have you tried luminicBox? http://osflash.org/luminicbox.log Aral at OSFlash introduced it to me last week, and I'm just getting to grips with it now. It uses a local connection to pick up data from any swf running on your machine. Looking really good for me so far, I'll let you know how I get along with it! Seb On 21/02/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: I have some files that are pulling content from different locations like the host site and a site with flv streaming. I'm coming across the security issues that people were having a while back with Flash 8. I've searched this list a bit but seem to remember a patch being provided so that while testing files from within the Flash IDE I could get around a lot of the security/error messages. Does anyone happen to recall that thread or know a place where I can find some solutions? As I post this I am reading the 26 page article from the development center so I'm not avoiding reading the manual. Just a preemptive attempt to seek another solution in case in 26 pages I'm none the wiser. Mani ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Simulating a rope
We built one for Jak2 a couple of years ago - http://www.jak2renegade.com(click on the crate on the first scene). If there's enough demand, I'll dig out the source code and blog it somewhere. cheers Seb On 20/02/06, Luca Candela [EMAIL PROTECTED] wrote: Hi to all, how do I simulate a rope in ActionScript? I've seen something like that somewhere, but I'm not able to figure out what it was. Anyone knows about it? -- MATTEO 25:11 Più tardi arrivarono anche le altre vergini e incominciarono a dire: Signore, signore, aprici! ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Sandy 0.2, a 3D API for Flash
Looks really interesting, and definitely something I'd like to get involved in. I've already built a 3D library in Flash, couple of examples on www.pluginmedia.net but I'm building more as we speak... Seb On 26/01/06, Paul Neave [EMAIL PROTECTED] wrote: I'd like to announce Sandy 0.2 on behalf of Thomas (aka Kiroukou) over at Media Box: http://sandy.media-box.net/ This is an amazing set of open source APIs for developers to create 3D models in Flash. More info here: http://sandy.media-box.net/blog/2006/01/20/sandy-02-a-brand-new-world/ Contribute and discuss on the forum here: http://sandy.media-box.net/forum/ I've had my nose in plenty of attempts to create a standardised 3D API for Flash for years, and this is by far the most appealing and exciting API yet. It's still in its early stages but already showing great promise. I've heard from Thomas that if there is enough interest, an AS3 version may be written for around the 0.4 release... but only if there's enough interest! Enjoy, Paul. ___ 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