Re: [Flashcoders] Flash modify
Hi, you mean gotoAndPlay(161) on frame 1? greetz JC On 3/27/07, Phil Smith [EMAIL PROTECTED] wrote: Hi. I am using a Flash template and I want to modify it so that it starts at frame 161 each time, as a return page without intro. Anyone got an easy solution? Cheers, Phil Smith. ___ 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] another setInterval question
Hi, note that the proposed solutions restart the interval, they do not pause it. Otherwise calculate how much time there is still left of the interval. greetz JC On 3/27/07, Muzak [EMAIL PROTECTED] wrote: Might as well throw in Delegate while you're at it: import mx.utils.Delegate; var intervalID:Number; function rolloverHandler() { // always clear interval before setting a new one clearInterval(intervalID); intervalID = setInterval(this , nextScene , 5000 ); } function rolloutHandler() { clearInterval(intervalID); } my_mc.onRollOver = Delegate.create(this, rolloverHandler); my_mc.onRollOut = Delegate.create(this, rolloutHandler); rolloverHandler(); regards, Muzak - Original Message - From: Mauricio Furtado Massaia [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, March 27, 2007 12:46 AM Subject: Re: [Flashcoders] another setInterval question i think so , like this : var intervalID; function initInterva() { intervalID = setInterval( this , nextScene , 5000 ); } function stopInterval() { clearInterval( intervalID ); } // onRollOver will stop the interval my_mc.onRollOver = function (){ stopInterval(); } // onRollOut restart the interval my_mc.onRollOut = function(){ initInterval(); } // start your interval initInterval(); I wish it helps hugs MauricioMassaia On 3/26/07, Raphael Villas [EMAIL PROTECTED] wrote: I have got a setInterval like this: - var autoID = setInterval(autoPilot,5000); function autoPilot():Void { nextScene(); }; - If a rollover occurs, I'd like to pause the setInterval until the rollout occurs. Is there a way to suspend the setInterval during a rollover and then restart it onRollOut? Thanks in advance... ___ 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] Image resizer that maintains ratio
The more I read these post, the more I wonder whether people actually read what others have already replied. On 3/26/07, Joe Wheeler [EMAIL PROTECTED] wrote: Here's how I do it: function maintainAspect ( mc:MovieClip, maxW:Number, maxH:Number ) :Void { mc._width = maxW; mc._height = maxH; mc._xscale = mc._yscale = Math.min( mc._xscale, mc._yscale ); } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Guilherme Cruz Sent: 26 March 2007 18:15 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Image resizer that maintains ratio The _scale property is a percentage value if you have a 800x600 image and set _xscale=50 and _yscale=50, you get a 400x300 image On 3/26/07, Hans Wichman [EMAIL PROTECTED] wrote: Hi, that IS weird, because if your image is 800x600, you are saying: target_mc._xscale = target_mc._yscale = 800; which is probably not what you want^^ greetz JC On 3/26/07, eric e. dolecki [EMAIL PROTECTED] wrote: Ok that is SO weird. I was just thinking about this... myListener.onLoadInit = function( target_mc:MovieClip ):Void { target_mc._xscale = target_mc._yscale = Math.max( target_mc._width, target_mc._height ); }; - Eric On 3/26/07, Adrian Lynch [EMAIL PROTECTED] wrote: Any examples out there? I've got as far as resizing a user supplied image and am about to work on the ratio remaining fixed. Just thought I'd throw this out there as I think it may be tricky. Ta. Adrian ___ 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 -- eric e. dolecki senior interactive engineer http://www.ericd.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 ___ 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] another setInterval question
Since the interval is only 5 seconds, I wouldn't bother with a timer and what not to achieve a real pause and just go with resetting the interval. regards, Muzak - Original Message - From: Hans Wichman [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, March 27, 2007 9:18 AM Subject: Re: [Flashcoders] another setInterval question Hi, note that the proposed solutions restart the interval, they do not pause it. Otherwise calculate how much time there is still left of the interval. greetz JC ___ 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] erratic behaviour on coversion of flash mx 2004 pro file to flash 8 pro
Hi, I had developed e-learning content for cd in mx2004 pro but due to better video possiblities i converted it flash8 pro format. but when i chnage and fublish in flash 8 animations behave erratically. converting back to mx 2004 rectifies the problem . my whole project is stuck up for this problem. if anybody can help. thanks -- Abhishek Kumar ___ 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] Free AS2 Filter Tweening Engine - TweenFilterLite
very cool Jack. Thanks for sharing On 3/27/07, Jack Doyle [EMAIL PROTECTED] wrote: For those of you using the TweenLite tweening engine, I just released the TweenFilterLite class which extends TweenLite, adding the following capabilities: - Tween filters like Blurs, Glows, DropShadows, and Bevels - Tween ColorMatrixFilter effects like colorization, hue, saturation, brightness, contrast, and threshold I tried to make it extremely easy to use, and I created an interactive sample that demonstrates a lot of the features and even generates the code for you. http://www.greensock.com/ActionScript/TweenFilterLite It's free. This isn't a sales pitch; I just thought some of you FlashCoders out there could benefit from the time I poured into this. I'm grateful for the community of experts out there who take time from their valuable day to answer questions from me and many others. If you haven't checked out the lightweight (2kb) TweenLite tweening engine, have a look: http://www.greensock.com/ActionScript/TweenLite Cheers. Jack Doyle ___ 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] How to find yesterday?
Hi How to find yesterday as date object? cur_day= new Date(); yest_day=? What is the simple way for that? ___ 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] How to find yesterday?
Is this simple? cur_day = new Date(); //trace(cur_day.getDate()); Var1=cur_day.getDate()-1;//27 trace(var1);//26 -Original Message- From: natalia Vikhtinskaya [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 27, 2007 2:26 PM To: Flashcoders mailing list Subject: [Flashcoders] How to find yesterday? Hi How to find yesterday as date object? cur_day= new Date(); yest_day=? What is the simple way for that? ___ 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] How to find yesterday?
I am looking for date object, but not sure it is possible cur_day = new Date(); trace(cur_day)//Tue Mar 27 13:16:34 GMT+0400 2007 //trace(cur_day.getDate()); var1=cur_day.getDate()-1;//27 trace(var1);//26 so it is not date object 2007/3/27, [EMAIL PROTECTED] [EMAIL PROTECTED]: Is this simple? cur_day = new Date(); //trace(cur_day.getDate()); Var1=cur_day.getDate()-1;//27 trace(var1);//26 -Original Message- From: natalia Vikhtinskaya [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 27, 2007 2:26 PM To: Flashcoders mailing list Subject: [Flashcoders] How to find yesterday? Hi How to find yesterday as date object? cur_day= new Date(); yest_day=? What is the simple way for that? ___ 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] How to find yesterday?
[EMAIL PROTECTED] schrieb: Is this simple? cur_day = new Date(); //trace(cur_day.getDate()); Var1=cur_day.getDate()-1;//27 trace(var1);//26 the above doesn't take into account Day 1 of the current Month: function getYesterday () { var t:Date = new Date (); var daysBack:Number = 1; var today:Date = new Date (t.getFullYear (), t.getMonth (), t.getDate () - daysBack); return (today.getDate ()); } cheers micha ___ 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] another setInterval question
Pausing a timeout is not straightforward. But here's a quick solution: var intervalID:Number; var startTime:Number; var timeLapsed:Number; var func:Function; var ms:Number; function startTimer(func:Function, ms:Number):Void { this.func = func; this.ms = ms; startTime = new Date().valueOf(); intervalID = setInterval(this, checkTime, 1); } function checkTime():Void { timeLapsed = new Date().valueOf()-startTime; if (timeLapsed=ms) { clearInterval(intervalID); func(); } } buttonInstance.onRollOver = function():Void { clearInterval(intervalID); }; buttonInstance.onRollOut = function():Void { startTimer(func, ms-timeLapsed); }; // startTimer(autoPilot, 5000); function autoPilot():Void { trace(autoPilot); } Kenneth Kawamoto http://www.materiaprima.co.uk quote I have got a setInterval like this: - var autoID = setInterval(autoPilot,5000); function autoPilot():Void { nextScene(); }; - If a rollover occurs, I'd like to pause the setInterval until the rollout occurs. Is there a way to suspend the setInterval during a rollover and then restart it onRollOut? /quote ___ 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] How to find yesterday?
Ooops... my method is the tomorrow method and not the yesterday .. but it's the same :) PS : If you want you can use my Calendar class based on my OpenSource AS2 framework (VEGAS : http://vegas.riaforge.org/) 1 - install the Vegas project in your computer with the direct download button in the riaforge project page or with a SVN client likre tortoire SVN ... use the svn url : http://svn1.cvsdude.com/osflash/vegas/ 2 - install in flash the AS2/trunk/src/ directory in the AS2 preferences 3 - test my Calendar class with the examples in the directory AS2/trunk/bin/test/asgard/date : http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/bin/test/asgard/date/ ( Calendar.fla) 4 - You can read the class in this link : http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/src/asgard/date/Calendar.as I must refresh my documentation to night with the last change over the libraries ... http://vegas.ekameleon.net/docs Example : import asgard.date.Calendar ; trace ( yesterday : + (Calendar.yesterday()).format( -mm-dd) ) ; trace ( toDay : + (new Calendar()).format( -mm-dd) ) ; trace ( tomorrow : + (Calendar.tomorrow()).format( -mm-dd) ) ; PS : The calendar class extends the Date class... EKA+ :) 2007/3/27, eka [EMAIL PROTECTED]: hello :) try this : var d:Date = new Date() ; var oneDayInMS:Number = 1000*60*60*24 ; var timestamp:Number = d.valueOf() ; var yesteday:Date = new Date( timestamp - oneDayInMS ) ; trace( d + : + yesteday ) ; EKA+ :) 2007/3/27, natalia Vikhtinskaya [EMAIL PROTECTED]: I am looking for date object, but not sure it is possible cur_day = new Date(); trace(cur_day)//Tue Mar 27 13:16:34 GMT+0400 2007 //trace(cur_day.getDate()); var1=cur_day.getDate()-1;//27 trace(var1);//26 so it is not date object 2007/3/27, [EMAIL PROTECTED] [EMAIL PROTECTED]: Is this simple? cur_day = new Date(); //trace(cur_day.getDate()); Var1=cur_day.getDate()-1;//27 trace(var1);//26 -Original Message- From: natalia Vikhtinskaya [mailto: [EMAIL PROTECTED] Sent: Tuesday, March 27, 2007 2:26 PM To: Flashcoders mailing list Subject: [Flashcoders] How to find yesterday? Hi How to find yesterday as date object? cur_day= new Date(); yest_day=? What is the simple way for that? ___ 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] How to find yesterday?
Try this: var CurrentDate:Date = new Date(); trace(CurrentDate); var SubtractedDate:Date = new Date(CurrentDate.getTime() - 1*24*60*60*1000); trace(SubtractedDate); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of natalia Vikhtinskaya Sent: 27 March 2007 10:17 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] How to find yesterday? I am looking for date object, but not sure it is possible cur_day = new Date(); trace(cur_day)//Tue Mar 27 13:16:34 GMT+0400 2007 //trace(cur_day.getDate()); var1=cur_day.getDate()-1;//27 trace(var1);//26 so it is not date object 2007/3/27, [EMAIL PROTECTED] [EMAIL PROTECTED]: Is this simple? cur_day = new Date(); //trace(cur_day.getDate()); Var1=cur_day.getDate()-1;//27 trace(var1);//26 -Original Message- From: natalia Vikhtinskaya [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 27, 2007 2:26 PM To: Flashcoders mailing list Subject: [Flashcoders] How to find yesterday? Hi How to find yesterday as date object? cur_day= new Date(); yest_day=? What is the simple way for that? ___ 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] How to find yesterday?
var yesterday:Date; yesterday = new Date(); yesterday.setDate( yesterday.getDate() - 1 ); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Stuhr Sent: 27 March 2007 10:19 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] How to find yesterday? [EMAIL PROTECTED] schrieb: Is this simple? cur_day = new Date(); //trace(cur_day.getDate()); Var1=cur_day.getDate()-1;//27 trace(var1);//26 the above doesn't take into account Day 1 of the current Month: function getYesterday () { var t:Date = new Date (); var daysBack:Number = 1; var today:Date = new Date (t.getFullYear (), t.getMonth (), t.getDate () - daysBack); return (today.getDate ()); } cheers micha ___ 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] Image resizer that maintains ratio
I think the problem is the length of time it's taking for post to appear. Some of my posts have been going missing for a long time before showing up. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hans Wichman Sent: 27 March 2007 08:23 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Image resizer that maintains ratio The more I read these post, the more I wonder whether people actually read what others have already replied. On 3/26/07, Joe Wheeler [EMAIL PROTECTED] wrote: Here's how I do it: function maintainAspect ( mc:MovieClip, maxW:Number, maxH:Number ) :Void { mc._width = maxW; mc._height = maxH; mc._xscale = mc._yscale = Math.min( mc._xscale, mc._yscale ); } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Guilherme Cruz Sent: 26 March 2007 18:15 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Image resizer that maintains ratio The _scale property is a percentage value if you have a 800x600 image and set _xscale=50 and _yscale=50, you get a 400x300 image On 3/26/07, Hans Wichman [EMAIL PROTECTED] wrote: Hi, that IS weird, because if your image is 800x600, you are saying: target_mc._xscale = target_mc._yscale = 800; which is probably not what you want^^ greetz JC On 3/26/07, eric e. dolecki [EMAIL PROTECTED] wrote: Ok that is SO weird. I was just thinking about this... myListener.onLoadInit = function( target_mc:MovieClip ):Void { target_mc._xscale = target_mc._yscale = Math.max( target_mc._width, target_mc._height ); }; - Eric On 3/26/07, Adrian Lynch [EMAIL PROTECTED] wrote: Any examples out there? I've got as far as resizing a user supplied image and am about to work on the ratio remaining fixed. Just thought I'd throw this out there as I think it may be tricky. Ta. Adrian ___ 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 -- eric e. dolecki senior interactive engineer http://www.ericd.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 ___ 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] OT - Installing PHP, MySQL?
Hello Dave, my advice (and I have to deal with RH Linux 80% of my work time) to you and other designer guys here is: don't fall for Linux hype, go with OpenBSD. You install the core system, which already has Apache 1 with many security improvements (compared to the original Apache code) and which runs in chroot (i.e. if one of your scripts gets hacked, the abuser will stay locked in /var/www directory and as a non-root user). Then you just install PHP (hardened) and MySQL or PostgreSQL packages using the pkg_add command and you're ready to go. And if you add this line into your pf.conf (firewall config): block out quick on $ext_if proto { tcp, udp } all user www then any PHP worms won't have a chance to propagate... Etc. etc... Search for OpenBSD hosting and you'll love it. Regards Alex -- http://preferans.de ___ 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] How to find yesterday?
THANK YOU!! 2007/3/27, Michael Stuhr [EMAIL PROTECTED]: [EMAIL PROTECTED] schrieb: Is this simple? cur_day = new Date(); //trace(cur_day.getDate()); Var1=cur_day.getDate()-1;//27 trace(var1);//26 the above doesn't take into account Day 1 of the current Month: function getYesterday () { var t:Date = new Date (); var daysBack:Number = 1; var today:Date = new Date (t.getFullYear (), t.getMonth (), t.getDate () - daysBack); return (today.getDate ()); } cheers micha ___ 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] Flash CS3 Announced
For those who haven't seen it yet, Adobe's site has been updated with details about Flash CS3 (and the rest of the new Creative Suite). http://www.adobe.com/products/flash/ Ian ___ 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] audio library
Does anyone know a good royalty free audio library for corporate projects? Or any services like photos.com where you pay a subscription. Thanks! ___ 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] How to find yesterday?
hello :) try this : var d:Date = new Date() ; var oneDayInMS:Number = 1000*60*60*24 ; var timestamp:Number = d.valueOf() ; var yesteday:Date = new Date( timestamp - oneDayInMS ) ; trace( d + : + yesteday ) ; EKA+ :) 2007/3/27, natalia Vikhtinskaya [EMAIL PROTECTED]: I am looking for date object, but not sure it is possible cur_day = new Date(); trace(cur_day)//Tue Mar 27 13:16:34 GMT+0400 2007 //trace(cur_day.getDate()); var1=cur_day.getDate()-1;//27 trace(var1);//26 so it is not date object 2007/3/27, [EMAIL PROTECTED] [EMAIL PROTECTED]: Is this simple? cur_day = new Date(); //trace(cur_day.getDate()); Var1=cur_day.getDate()-1;//27 trace(var1);//26 -Original Message- From: natalia Vikhtinskaya [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 27, 2007 2:26 PM To: Flashcoders mailing list Subject: [Flashcoders] How to find yesterday? Hi How to find yesterday as date object? cur_day= new Date(); yest_day=? What is the simple way for that? ___ 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] How to find yesterday?
On 3/27/07, natalia Vikhtinskaya [EMAIL PROTECTED] wrote: I am looking for date object, but not sure it is possible cur_day = new Date(); trace(cur_day)//Tue Mar 27 13:16:34 GMT+0400 2007 //trace(cur_day.getDate()); var1=cur_day.getDate()-1;//27 trace(var1);//26 so it is not date object oops, didn't read properly: function getYesterday () { var t:Date = new Date (); var daysBack:Number = 1; var today:Date = new Date (t.getFullYear (), t.getMonth (), t.getDate () - daysBack); return (today); } should doit micha ___ 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] Free AS2 Filter Tweening Engine - TweenFilterLite
Hey cool - where did you get the color picker - did you make it or is there a free class out there available? I've been looking for a good AS 2 color picker. I made my own, and it works OK, but it's slightly buggy. Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jack Doyle Sent: Tuesday, March 27, 2007 2:38 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Free AS2 Filter Tweening Engine - TweenFilterLite For those of you using the TweenLite tweening engine, I just released the TweenFilterLite class which extends TweenLite, adding the following capabilities: - Tween filters like Blurs, Glows, DropShadows, and Bevels - Tween ColorMatrixFilter effects like colorization, hue, saturation, brightness, contrast, and threshold I tried to make it extremely easy to use, and I created an interactive sample that demonstrates a lot of the features and even generates the code for you. http://www.greensock.com/ActionScript/TweenFilterLite It's free. This isn't a sales pitch; I just thought some of you FlashCoders out there could benefit from the time I poured into this. I'm grateful for the community of experts out there who take time from their valuable day to answer questions from me and many others. If you haven't checked out the lightweight (2kb) TweenLite tweening engine, have a look: http://www.greensock.com/ActionScript/TweenLite Cheers. Jack Doyle ___ 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 CS3 Announced
So is this the next version of Flash, or is it just Flash 8 with AS3 support? It would seem odd to me if they released Flash 9 with out ever having a beta. Russ Ian Thomas wrote: For those who haven't seen it yet, Adobe's site has been updated with details about Flash CS3 (and the rest of the new Creative Suite). http://www.adobe.com/products/flash/ Ian ___ 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 CS3 Announced
well, I saw the suite for web, the premium and is great!!I hope I can get a quote for the full and two licenses as soon as they can. Regards gustavo Duenas On Mar 27, 2007, at 8:09 AM, Ian Thomas wrote: For those who haven't seen it yet, Adobe's site has been updated with details about Flash CS3 (and the rest of the new Creative Suite). http://www.adobe.com/products/flash/ Ian ___ 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 Over HTML
try wmode = opaque -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Karim Beyrouti Sent: Tuesday, March 27, 2007 7:37 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Flash Over HTML Hi All, I am a bit stuck with this one - I am trying to get a flash menu to show over HTML. I am using swfObject, and have set so.addParam(wmode, transparent); I tried playing with the z-index: property in the CSS, to sort the layers accordingly - but have had no luck so far. Here is a link to my test page: http://kurst.co.uk/flashOverHTML/accessories.html - link to the HTML http://kurst.co.uk/flashOverHTML/css/isizu_nav.css - link to the css Ultimately, I am going to try and resize the flash content over the html when the menu drops down, but it would be nice to get it to go over the html fist. Can anyone spot where I am going wrong on this one?.. Many thanks in advance... Karim -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.16/729 - Release Date: 21/03/2007 07:52 ___ 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] audio library
This isn't a paid service, but worth checking out: http://freesound.iua.upf.edu/ On 3/27/07, Steven Clark [EMAIL PROTECTED] wrote: Does anyone know a good royalty free audio library for corporate projects? Or any services like photos.com where you pay a subscription. Thanks! -- Ramon Miguel M. Tayag ___ 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 CS3 Announced
It's the next version of Flash - Flash 9 is Flash CS3. I'm sure there was a beta, but I guess it wasn't public like it is for Photoshop Cs3. Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Russell Sprague Sent: Wednesday, March 28, 2007 12:13 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Flash CS3 Announced So is this the next version of Flash, or is it just Flash 8 with AS3 support? It would seem odd to me if they released Flash 9 with out ever having a beta. Russ Ian Thomas wrote: For those who haven't seen it yet, Adobe's site has been updated with details about Flash CS3 (and the rest of the new Creative Suite). http://www.adobe.com/products/flash/ Ian ___ 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] Flash Over HTML
Am not very sure about CSS, but, z-index = 1 is below z-index =2, isnt it? So, from your CSS, I understand that flashcontentis definitely gonna be below the html in 'izizu_div_content'. Shouldn't 'flashcontent' have a higher depth than the other layers? On 3/27/07, Karim Beyrouti [EMAIL PROTECTED] wrote: Hi All, I am a bit stuck with this one - I am trying to get a flash menu to show over HTML. I am using swfObject, and have set so.addParam(wmode, transparent); I tried playing with the z-index: property in the CSS, to sort the layers accordingly - but have had no luck so far. Here is a link to my test page: http://kurst.co.uk/flashOverHTML/accessories.html - link to the HTML http://kurst.co.uk/flashOverHTML/css/isizu_nav.css - link to the css Ultimately, I am going to try and resize the flash content over the html when the menu drops down, but it would be nice to get it to go over the html fist. Can anyone spot where I am going wrong on this one?.. Many thanks in advance... Karim -- Arul Prasad http://arulprasad.blogspot.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 CS3 Announced
The flash 9 beta has been available on adobe labs for quite some time now. http://labs.adobe.com/technologies/flash9as3preview/ HTH Alias On 28/03/07, Russell Sprague [EMAIL PROTECTED] wrote: So is this the next version of Flash, or is it just Flash 8 with AS3 support? It would seem odd to me if they released Flash 9 with out ever having a beta. Russ Ian Thomas wrote: For those who haven't seen it yet, Adobe's site has been updated with details about Flash CS3 (and the rest of the new Creative Suite). http://www.adobe.com/products/flash/ Ian ___ 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] Flash CS3 Announced
Adobe Flash CS3 is Flash 9 Professional. ( there is no Flash 'basic' anymore) Its a complete version. Not just Flash 8 with AS3. Flash CS3 comes with quiet a lot of new features. AS3 being one of the most important( developer ) feature. I saw a comprehensive list of features here: http://forums.ultrashock.com/forums/showthread.php?s=8409f5626facf384bfbcffc778d176f7threadid=87843 So is this the next version of Flash, or is it just Flash 8 with AS3 support? It would seem odd to me if they released Flash 9 with out ever having a beta. Arul Prasad http://arulprasad.blogspot.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] size an image inside a component
I try to resize image when it is loaded, and it doesnt work Do you ssee why ? Thaank you //var height and width and scale of image var wid1; var hei1; var wid1hei1; var siw = 300; //combobox load an image and resize imagesCb.addEventListener(change, montreImage); // function montreImage(event:Object):Void { imagePane.contentPath = images_vis/+imagesCb.value; _root.text_mc._visible = 0; wid1 = imagePane._width; wid1_txt.text = wid1; hei1 = imagePane._height; hei1_txt.text = hei1; wid1hei1 = wid1/hei1; wid1hei1_txt.text = wid1hei1; } ___ 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] audio library
sorry, but ain't this OT and has nothing to do with coding? Am 27.03.2007 um 13:08 schrieb Steven Clark: Does anyone know a good royalty free audio library for corporate projects? Or any services like photos.com where you pay a subscription. Thanks! ___ 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 Over HTML
Sorted it... for the archives - flash DIV needs position: absolute; to go over the HTML -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shawn Steward Sent: 27 March 2007 14:57 To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Flash Over HTML try wmode = opaque -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Karim Beyrouti Sent: Tuesday, March 27, 2007 7:37 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Flash Over HTML Hi All, I am a bit stuck with this one - I am trying to get a flash menu to show over HTML. I am using swfObject, and have set so.addParam(wmode, transparent); I tried playing with the z-index: property in the CSS, to sort the layers accordingly - but have had no luck so far. Here is a link to my test page: http://kurst.co.uk/flashOverHTML/accessories.html - link to the HTML http://kurst.co.uk/flashOverHTML/css/isizu_nav.css - link to the css Ultimately, I am going to try and resize the flash content over the html when the menu drops down, but it would be nice to get it to go over the html fist. Can anyone spot where I am going wrong on this one?.. Many thanks in advance... Karim -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.16/729 - Release Date: 21/03/2007 07:52 ___ 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.16/729 - Release Date: 21/03/2007 07:52 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.16/729 - Release Date: 21/03/2007 07:52 ___ 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 CS3 Announced
Saw that. Now the hard decision is which of the CS3 Premium bundles to go for... Design w/ InDesign CS3 vs. Web w/ Fireworks and Contribute I haven't used Contribute and wonder how long Adobe will continue Fireworks. I still use Fireworks MX04 and Fireworks 8 often, but having InDesign is very appealing. Choices, choices, choices. ___ 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] Flash Over HTML
Hi All, I am a bit stuck with this one - I am trying to get a flash menu to show over HTML. I am using swfObject, and have set so.addParam(wmode, transparent); I tried playing with the z-index: property in the CSS, to sort the layers accordingly - but have had no luck so far. Here is a link to my test page: http://kurst.co.uk/flashOverHTML/accessories.html - link to the HTML http://kurst.co.uk/flashOverHTML/css/isizu_nav.css - link to the css Ultimately, I am going to try and resize the flash content over the html when the menu drops down, but it would be nice to get it to go over the html fist. Can anyone spot where I am going wrong on this one?.. Many thanks in advance... Karim -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.16/729 - Release Date: 21/03/2007 07:52 ___ 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] Image resizer that maintains ratio
ok, thanks joe for the explanation. Seems a lot of static / redundancy is being generated by what you describe. On 3/27/07, Joe Wheeler [EMAIL PROTECTED] wrote: I think the problem is the length of time it's taking for post to appear. Some of my posts have been going missing for a long time before showing up. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hans Wichman Sent: 27 March 2007 08:23 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Image resizer that maintains ratio The more I read these post, the more I wonder whether people actually read what others have already replied. On 3/26/07, Joe Wheeler [EMAIL PROTECTED] wrote: Here's how I do it: function maintainAspect ( mc:MovieClip, maxW:Number, maxH:Number ) :Void { mc._width = maxW; mc._height = maxH; mc._xscale = mc._yscale = Math.min( mc._xscale, mc._yscale ); } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Guilherme Cruz Sent: 26 March 2007 18:15 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Image resizer that maintains ratio The _scale property is a percentage value if you have a 800x600 image and set _xscale=50 and _yscale=50, you get a 400x300 image On 3/26/07, Hans Wichman [EMAIL PROTECTED] wrote: Hi, that IS weird, because if your image is 800x600, you are saying: target_mc._xscale = target_mc._yscale = 800; which is probably not what you want^^ greetz JC On 3/26/07, eric e. dolecki [EMAIL PROTECTED] wrote: Ok that is SO weird. I was just thinking about this... myListener.onLoadInit = function( target_mc:MovieClip ):Void { target_mc._xscale = target_mc._yscale = Math.max( target_mc._width, target_mc._height ); }; - Eric On 3/26/07, Adrian Lynch [EMAIL PROTECTED] wrote: Any examples out there? I've got as far as resizing a user supplied image and am about to work on the ratio remaining fixed. Just thought I'd throw this out there as I think it may be tricky. Ta. Adrian ___ 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 -- eric e. dolecki senior interactive engineer http://www.ericd.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 ___ 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
RE: [Flashcoders] Flash CS3 Announced
My guess is that Flash CS3 is Flash 9... but that's literally an armchair guess. Anyone out know if that is true? -Original Message- From: Russell Sprague [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 28, 2007 12:13 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Flash CS3 Announced So is this the next version of Flash, or is it just Flash 8 with AS3 support? It would seem odd to me if they released Flash 9 with out ever having a beta. Russ ___ 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 CS3 Announced
That's not really the Flash 9 beta - that's the Flash 9 Actionscript 3.0 Preview - something very different. The only similarity is the AS3 compiler. There was no public beta of the Flash 9 IDE. Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alias(tm) Sent: Tuesday, March 27, 2007 10:26 AM To: [EMAIL PROTECTED]; flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Flash CS3 Announced The flash 9 beta has been available on adobe labs for quite some time now. http://labs.adobe.com/technologies/flash9as3preview/ HTH Alias On 28/03/07, Russell Sprague [EMAIL PROTECTED] wrote: So is this the next version of Flash, or is it just Flash 8 with AS3 support? It would seem odd to me if they released Flash 9 with out ever having a beta. Russ Ian Thomas wrote: For those who haven't seen it yet, Adobe's site has been updated with details about Flash CS3 (and the rest of the new Creative Suite). http://www.adobe.com/products/flash/ Ian ___ 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] Flash CS3 Announced
that was the Flash 9 Alpha; just Flash 8 IDE with AS3 support. The actual beta for the Flash 9 IDE has been privately running for a few months, and I guess it ended a few days ago :) James Alias™ wrote: The flash 9 beta has been available on adobe labs for quite some time now. http://labs.adobe.com/technologies/flash9as3preview/ HTH Alias On 28/03/07, Russell Sprague [EMAIL PROTECTED] wrote: So is this the next version of Flash, or is it just Flash 8 with AS3 support? It would seem odd to me if they released Flash 9 with out ever having a beta. Russ Ian Thomas wrote: For those who haven't seen it yet, Adobe's site has been updated with details about Flash CS3 (and the rest of the new Creative Suite). http://www.adobe.com/products/flash/ Ian ___ 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 CS3 Announced
Jup, next version. All player functionality is already available since Flex 2.0, so nothing new in that regard I Think. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: dinsdag 27 maart 2007 16:21 To: [EMAIL PROTECTED]; flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Flash CS3 Announced It's the next version of Flash - Flash 9 is Flash CS3. I'm sure there was a beta, but I guess it wasn't public like it is for Photoshop Cs3. Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Russell Sprague Sent: Wednesday, March 28, 2007 12:13 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Flash CS3 Announced So is this the next version of Flash, or is it just Flash 8 with AS3 support? It would seem odd to me if they released Flash 9 with out ever having a beta. Russ Ian Thomas wrote: For those who haven't seen it yet, Adobe's site has been updated with details about Flash CS3 (and the rest of the new Creative Suite). http://www.adobe.com/products/flash/ Ian ___ 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 This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. ___ 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 CS3 Announced
Hi Rob, AFAICS, that's not the case. The preview that was on Labs just gave you AS3 support and a couple of other bits. The new CS3 version has a reworked interface, some extra drawing tools, extra Photoshop/Illustrator support etc. I believe the Labs version was just a quick hack in of AS3 to let people do some testing, not a proper Beta. Cheers, Ian On 3/27/07, Alias™ [EMAIL PROTECTED] wrote: The flash 9 beta has been available on adobe labs for quite some time now. http://labs.adobe.com/technologies/flash9as3preview/ HTH 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
Re: [Flashcoders] size an image inside a component
because you nowhere setting a new width/high? you are just assigning it to wid1 and hei1 but not the the imagePane object. Am 27.03.2007 um 16:33 schrieb Laurent CUCHET: I try to resize image when it is loaded, and it doesnt work Do you ssee why ? Thaank you //var height and width and scale of image var wid1; var hei1; var wid1hei1; var siw = 300; //combobox load an image and resize imagesCb.addEventListener(change, montreImage); // function montreImage(event:Object):Void { imagePane.contentPath = images_vis/+imagesCb.value; _root.text_mc._visible = 0; wid1 = imagePane._width; wid1_txt.text = wid1; hei1 = imagePane._height; hei1_txt.text = hei1; wid1hei1 = wid1/hei1; wid1hei1_txt.text = wid1hei1; } ___ 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 bitrocker typographique Lars Schwarz Gottorpstrasse 20 26122 Oldenburg T +49(0)441 2171 354 0 F +49(0)441 2171 354 2 M [EMAIL PROTECTED] W www.bitrocker.com W www.typographique.de ___ 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 CS3 Announced
That wasn't actually a beta. It was more like an 'alpha', basically just Flash 8 + AS3. I have a feeling (hope?) that CS3 is going to be quite different. On 3/27/07, Alias™ [EMAIL PROTECTED] wrote: The flash 9 beta has been available on adobe labs for quite some time now. http://labs.adobe.com/technologies/flash9as3preview/ HTH Alias On 28/03/07, Russell Sprague [EMAIL PROTECTED] wrote: So is this the next version of Flash, or is it just Flash 8 with AS3 support? It would seem odd to me if they released Flash 9 with out ever having a beta. Russ Ian Thomas wrote: For those who haven't seen it yet, Adobe's site has been updated with details about Flash CS3 (and the rest of the new Creative Suite). http://www.adobe.com/products/flash/ Ian ___ 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] Flash CS3 Announced
And What about Freehand?? I think that loss Freehand, it's a big Mistake... Fireworks it's much better than Photoshop Ready for web design (I think) But... Illustrator is it much better than Freehand? What about multi document in Freehand? The new Ai CS 3 implements this feature? ... Regards. -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Hairy Dog Digital Enviado el: martes, 27 de marzo de 2007 17:03 Para: flashcoders@chattyfig.figleaf.com Asunto: RE: [Flashcoders] Flash CS3 Announced Saw that. Now the hard decision is which of the CS3 Premium bundles to go for... Design w/ InDesign CS3 vs. Web w/ Fireworks and Contribute I haven't used Contribute and wonder how long Adobe will continue Fireworks. I still use Fireworks MX04 and Fireworks 8 often, but having InDesign is very appealing. Choices, choices, choices. ___ 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 CS3 Announced
It appear that flash CS3 is much more than flash 9 alpha. it has new drawing tools, as3 components and lots of other stuff. Hank On 3/27/07, Hairy Dog Digital [EMAIL PROTECTED] wrote: My guess is that Flash CS3 is Flash 9... but that's literally an armchair guess. Anyone out know if that is true? -Original Message- From: Russell Sprague [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 28, 2007 12:13 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Flash CS3 Announced So is this the next version of Flash, or is it just Flash 8 with AS3 support? It would seem odd to me if they released Flash 9 with out ever having a beta. Russ ___ 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 CS3 Announced
I'll go for the web, I already have indesign cs2, is not something that many of my clients are asking for a lot, but it helps.. Other way, the others are useful for me, anyone knows if there is a way to replace contribute 3 for indesign in the bundle? I don't get it what this for, since we have the dreamweaver, I use it in order to maintain and update a website remotely Regards Gustavo Duenas Saw that. Now the hard decision is which of the CS3 Premium bundles to go for... Design w/ InDesign CS3 vs. Web w/ Fireworks and Contribute I haven't used Contribute and wonder how long Adobe will continue Fireworks. I still use Fireworks MX04 and Fireworks 8 often, but having InDesign is very appealing. Choices, choices, choices. ___ 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] audio library
You can only write so much code before you want it to make a little noise. OK so it is a little OT, but less OT than many things that show up. If we do not discuss how OT it is we will not waste too many e-mails. Ron Lars Schwarz wrote: sorry, but ain't this OT and has nothing to do with coding? Am 27.03.2007 um 13:08 schrieb Steven Clark: Does anyone know a good royalty free audio library for corporate projects? Or any services like photos.com where you pay a subscription. Thanks! ___ 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] Flash Player 7 and Flash Player 8,9 issues.
We're working on a project that uses Arabic. When we create Dynamic Text Fields and paste in Arabic text, it looks backwards in the authoring env, but when we publish for Player 7, the text reverses itself(correctly) and the glyphs look correct and neighboring glyphs connect to each other correctly. However, when we publish for Player 8 or 9, the text also reverses itselft(correctly), BUT the glyphs look wrong. The characters are totally separate from each other and not connected smoothly. What happened between Flash Player 7 and Flash Player 8? -James ___ 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] As3 Reccomended Book
Wow thanks... On 3/26/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: There's a new book from Friends of Ed called Foundation AS3 for Flex and Flash which will be an excellent intro to AS3. Hi List, I just wanted to ask about the best AS3 Book to begin my path to AS3I allready code in As2 but know nothing about AS3 yet... What would recommend??? -- Omar Fouad - Digital Emotions... Love is always patient and kind. It is never jealous. Love is never boastful nor conceited It is never rude or selfish. It does not take offense and is not resentful. Love takes no pleasure in other people's sins...but delights in the truth. It is always ready to excuse, to trust, to hope... and to endure... whatever comes. ___ 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 -- Omar Fouad - Digital Emotions... Love is always patient and kind. It is never jealous. Love is never boastful nor conceited It is never rude or selfish. It does not take offense and is not resentful. Love takes no pleasure in other people's sins...but delights in the truth. It is always ready to excuse, to trust, to hope... and to endure... whatever comes. ___ 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] actionscript/flash performance
Hey all, I finally have a question to ask! I'm working on a project that, in simplest terms, is an event visualizer. It takes event data coming in from an XMLSocket (or a standard PHP script pulling from a database for replays), creates an empty movie clip, stores it in a simple object/array combination to aide in timestamping, then it uses removeMovieClip() to discard the clip when it's a minute or so old. Warning, I'm a complete noob when it comes to ActionScript, I have a little bit of Javascript experience, and a good amount of PERL and Python, so I can handle criticisms, and hopefully they can be explained in a language I understand. :) I have three keyframes, 1, 2 and 20, with 20 being the loop back to give me a nearly one second tick mark, when things are not overloaded. At 1, I instantiate an Array (_root.lines), import WDDX, and create a custom function on the MovieClip prototype for some initial markers, along with a few longitude/latitude-to-map-coordinates functions, and a function for drawing curved vectors. I initialize some starting points for some global counters on _root here, as well. Lastly, there's a map of the globe for the scene background, and the custom function marks three locations on the map. At 2, I populate the initial location marks at level 1, calculate the current date/time by instantiating Date(), and store the results on _root for later retrieval (we'll call it _root.ratio_start). I then pull in the data stream, currently I limit it to 2500 lines (events, really, it can be a little more than 500 characters in XML per event). I calculate the start point (one of the three marks) based on the data provided, then use the latitude and longitude calculate an end point. Here's the part I'm not sure is the most efficient: // Increment the counter to give us a pseudo-unique number. _root.counter++; // make a timestamp date_now = new Date(); // make an empty movie clip with a unique, but dynamic, name pen = createEmptyMovieClip(vector_ + root.counter + _mc, root.counter+2); // Set the line style pen.lineStyle(2,0x00CC00); // Store it in a simple object for later retrieval and timestamp comparison container = {pen: pen, timestamp: date_now); // Pus it into the lines array. _root.lines.push(container); // Draw the vector curvePoint(pen, x, y, x, y); From there, it just moves along with no more code until I get to frame 20: // make a timestamp date_now = new Date(); // Get the benchmark up until this point _root.ratio_end = date_now; // Calculate the ratio between the time it actually took, and one second, for throttling purposes _root.ratio = 1000 / (_root.ratio_end.getTime() - _root.ratio_start.getTime()); // _root.millisecondsToMinute = 1000 * 60, get the fraction (multiple) of 1 minute. _root.timeLimit = _root.millisecondsToMinute * _root.ratio; temp_count = 0; for (i = 0; i _root.lines.length; i++) { // Calculate the difference between the current time, and the time this line was turned into a clip. timeDiff = date_now.getTime() - _root.lines[i].timestamp.getTime(); if (timeDiff _root.timeLimit) { // Keep track of how many we remove for debugging purposes. temp_count++; // Remove the movie clip the only way I know how. _root.lines[i].pen.removeMovieClip(); // remove this entry from the array. _root.lines.splice(i,1); } } // Occasionally reset the unique counter if (_root.counter = 32000) { _root.counter = 0; } // Loop back to frame 2, pull more data, etc. _root.gotoAndPlay(2); Now, on to my actual question/comment. I've noticed that if the rate of incoming data goes above about 2200, it fails to keep up with the throttling, and will start to bog down. It will remove more than it's bringing in, and eventually stablize to about a 3400 total clips in the array at the end of each loop. However, this takes updates down to once every 11 seconds or so, defeating the point of a once-per-second refresh rate. If I can't get this to work more efficiently in flash, I'll likely have to switch to another platform and language. :/ Is there something I could do that would be more efficient? I need to be able to remove the vectors when they're about a minute old, but I couldn't seem to find any other way than to store the clip and date object on another, simple object, and store that in an array. A stack of sorts. I'd rather have a way of just using a single clip for all of the vectors, but again, I couldn't seem to find a way to remove a line I just drew. My curvePoint() function actually uses curveTo() if that helps. The throttling works well, but only, again, up until about a 2200 new-clips-per-second rate. Thanks! Michael King CSIRT - Developer Security Incident Response Group Humana Inc. E-mail: [EMAIL PROTECTED] STANDS: Some Theoretical Acronym Not Described Sufficiently The
RE: [Flashcoders] Flash CS3 Announced
That's right Ian. From Adobe Labs: The Flash Professional 9 ActionScript 3.0 Preview is the only planned preview release of the next version of the Flash authoring tool before the final version ships in 2007 The private beta would have included things such as the Export Timeline to Actionscript feature (can't wait to try that little puppy out). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: 27 March 2007 16:34 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Flash CS3 Announced Hi Rob, AFAICS, that's not the case. The preview that was on Labs just gave you AS3 support and a couple of other bits. The new CS3 version has a reworked interface, some extra drawing tools, extra Photoshop/Illustrator support etc. I believe the Labs version was just a quick hack in of AS3 to let people do some testing, not a proper Beta. Cheers, Ian On 3/27/07, AliasT [EMAIL PROTECTED] wrote: The flash 9 beta has been available on adobe labs for quite some time now. http://labs.adobe.com/technologies/flash9as3preview/ HTH 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
RE: [Flashcoders] Flash CS3 Announced
I believe the Labs version was just a quick hack in of AS3 to let people do some testing, not a proper Beta. It was/is also actually so owners of Flash 8 could produce AS3 / Flash player 9 content with their legal copy of Flash 8. I think they mis-named it - it confused a lot of people calling it Flash 9 AS3 Preview - a lot of people blew right past the AS3 part and thought it was Flash 9 beta. Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: Tuesday, March 27, 2007 11:34 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Flash CS3 Announced Hi Rob, AFAICS, that's not the case. The preview that was on Labs just gave you AS3 support and a couple of other bits. The new CS3 version has a reworked interface, some extra drawing tools, extra Photoshop/Illustrator support etc. I believe the Labs version was just a quick hack in of AS3 to let people do some testing, not a proper Beta. Cheers, Ian On 3/27/07, Alias(tm) [EMAIL PROTECTED] wrote: The flash 9 beta has been available on adobe labs for quite some time now. http://labs.adobe.com/technologies/flash9as3preview/ HTH 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
RE: [Flashcoders] Flash CS3 Announced
Freehand was terrible IMO. I'm happy they dropped it in favor of Illustrator. With the tight integration of Photoshop now, I bet Fireworks won't be around in CS4. I'm not sure why they kept it for CS3. Fireworks has some nice features, but many annoyances and Photoshop should just swallow the good features up. No sense in maintaining both IMO. Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hari Seldon Sent: Tuesday, March 27, 2007 12:04 PM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Flash CS3 Announced And What about Freehand?? I think that loss Freehand, it's a big Mistake... Fireworks it's much better than Photoshop Ready for web design (I think) But... Illustrator is it much better than Freehand? What about multi document in Freehand? The new Ai CS 3 implements this feature? ... Regards. -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Hairy Dog Digital Enviado el: martes, 27 de marzo de 2007 17:03 Para: flashcoders@chattyfig.figleaf.com Asunto: RE: [Flashcoders] Flash CS3 Announced Saw that. Now the hard decision is which of the CS3 Premium bundles to go for... Design w/ InDesign CS3 vs. Web w/ Fireworks and Contribute I haven't used Contribute and wonder how long Adobe will continue Fireworks. I still use Fireworks MX04 and Fireworks 8 often, but having InDesign is very appealing. Choices, choices, choices. ___ 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] Flash CS3 Announced
Apart from what the new Flash CS3 features are - it's interesting how much confusion there is over this very low key release. Is the new tactic of software releases now days about surprise attack? :) On 3/27/07, hank williams [EMAIL PROTECTED] wrote: It appear that flash CS3 is much more than flash 9 alpha. it has new drawing tools, as3 components and lots of other stuff. Hank On 3/27/07, Hairy Dog Digital [EMAIL PROTECTED] wrote: My guess is that Flash CS3 is Flash 9... but that's literally an armchair guess. Anyone out know if that is true? -Original Message- From: Russell Sprague [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 28, 2007 12:13 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Flash CS3 Announced So is this the next version of Flash, or is it just Flash 8 with AS3 support? It would seem odd to me if they released Flash 9 with out ever having a beta. Russ ___ 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] audio library
Cool. thanks for the link. On 3/27/07, Ron Wheeler [EMAIL PROTECTED] wrote: You can only write so much code before you want it to make a little noise. OK so it is a little OT, but less OT than many things that show up. If we do not discuss how OT it is we will not waste too many e-mails. Ron Lars Schwarz wrote: sorry, but ain't this OT and has nothing to do with coding? Am 27.03.2007 um 13:08 schrieb Steven Clark: Does anyone know a good royalty free audio library for corporate projects? Or any services like photos.com where you pay a subscription. Thanks! ___ 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 -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ 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] Sending binary data to server - NO HEADERS
carlos, what language is the other script (not php) written...i had a similar problem using java...the issue is that there are two headers being sent...one without content to make sure the addres is valid and a second one after with the data..so you need to set up a condition that doesn't do anything when there is no content and handle the one with the content data in it hope this helps On 3/5/07, Carlos Saenz [EMAIL PROTECTED] wrote: I am trying to send binary data to a server side script which takes a variable called file, and saves it as a binary file. so if I have a variable in my flash movie myfile, with a value of asdf, and I send that to the server, it will make a file on the filesystem called myfile, and the contents of it will be asdf Now, the trick is to send the script an image or video file. I have tried the following ways: 1) Using FileReference class (Flash 8) --- This works with php and move_uploaded_file. --- This does NOT work the server side script mentioned above. It adds headers to the file. Same headers found here: http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/ wwhelp.htm?context=LiveDocs_Partsfile=2225.html Namely: Content-Type: multipart/form-data; boundary=AaB03x --AaB03x Content-Disposition: form-data; name=Filedata; filename=example.jpg Content-Type: application/octet-stream ... contents of example.jpg ... --AaB03x-- PHP can handle this, the other script cannot. Unfortunately we are stuck with the other script. So I looked at different ways to send binary data to the server, without using FileReference. 2) Flex Builder 2. Here we have some new classes. Such as URLRequest and URLLoader, where you can use URLLoaderDataFormat.BINARY. This transferred the file to the server side script we are stuck with perfectly. No errors or problems. Unfortunately they want a Flash Player 8 solution. 3) Some examples on the web where people have taken a BitmapData object in Flash 8 and programmatically convert a bitmap into an array of string data which represents pixel data, which is converted on the server to an image. -- Is this method possible with LoadVars to send a binary stream of data to a script via POST, which will make it think it's the same as a file upload??? Well these are my three options 1) FileReference -- Flash 8 -- Is there a way to eliminate the headers its sending by default? 2) Flex Builder 2 - URLLoader class -- Any way to use this in Flash Player 8? (Doesn't seem possible) 3) Manually encode binary data into a variable and pass it through loadVars making the server think it's a file upload. Possible??? OR 4) Any other possibility I may have overlooked? Thanks for any help, -Carlos- ___ 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] actionscript/flash performance
Hi Michael, one thing that stands out right away is the use of prototype...if i'm not mistaken, this will make these variables available to all movie clips...even ones that don't use the markers you're speaking of...the other thing is that loading of xml data is asynchronous, so you just burning cycles by looping this way...i would use set interval to manage the removal of the clips ...it's far more efficient... just my .02 On 3/27/07, Michael King [EMAIL PROTECTED] wrote: Hey all, I finally have a question to ask! I'm working on a project that, in simplest terms, is an event visualizer. It takes event data coming in from an XMLSocket (or a standard PHP script pulling from a database for replays), creates an empty movie clip, stores it in a simple object/array combination to aide in timestamping, then it uses removeMovieClip() to discard the clip when it's a minute or so old. Warning, I'm a complete noob when it comes to ActionScript, I have a little bit of Javascript experience, and a good amount of PERL and Python, so I can handle criticisms, and hopefully they can be explained in a language I understand. :) I have three keyframes, 1, 2 and 20, with 20 being the loop back to give me a nearly one second tick mark, when things are not overloaded. At 1, I instantiate an Array (_root.lines), import WDDX, and create a custom function on the MovieClip prototype for some initial markers, along with a few longitude/latitude-to-map-coordinates functions, and a function for drawing curved vectors. I initialize some starting points for some global counters on _root here, as well. Lastly, there's a map of the globe for the scene background, and the custom function marks three locations on the map. At 2, I populate the initial location marks at level 1, calculate the current date/time by instantiating Date(), and store the results on _root for later retrieval (we'll call it _root.ratio_start). I then pull in the data stream, currently I limit it to 2500 lines (events, really, it can be a little more than 500 characters in XML per event). I calculate the start point (one of the three marks) based on the data provided, then use the latitude and longitude calculate an end point. Here's the part I'm not sure is the most efficient: // Increment the counter to give us a pseudo-unique number. _root.counter++; // make a timestamp date_now = new Date(); // make an empty movie clip with a unique, but dynamic, name pen = createEmptyMovieClip(vector_ + root.counter + _mc, root.counter+2); // Set the line style pen.lineStyle(2,0x00CC00); // Store it in a simple object for later retrieval and timestamp comparison container = {pen: pen, timestamp: date_now); // Pus it into the lines array. _root.lines.push(container); // Draw the vector curvePoint(pen, x, y, x, y); From there, it just moves along with no more code until I get to frame 20: // make a timestamp date_now = new Date(); // Get the benchmark up until this point _root.ratio_end = date_now; // Calculate the ratio between the time it actually took, and one second, for throttling purposes _root.ratio = 1000 / (_root.ratio_end.getTime() - _root.ratio_start.getTime()); // _root.millisecondsToMinute = 1000 * 60, get the fraction (multiple) of 1 minute. _root.timeLimit = _root.millisecondsToMinute * _root.ratio; temp_count = 0; for (i = 0; i _root.lines.length; i++) { // Calculate the difference between the current time, and the time this line was turned into a clip. timeDiff = date_now.getTime() - _root.lines[i].timestamp.getTime(); if (timeDiff _root.timeLimit) { // Keep track of how many we remove for debugging purposes. temp_count++; // Remove the movie clip the only way I know how. _root.lines[i].pen.removeMovieClip(); // remove this entry from the array. _root.lines.splice(i,1); } } // Occasionally reset the unique counter if (_root.counter = 32000) { _root.counter = 0; } // Loop back to frame 2, pull more data, etc. _root.gotoAndPlay(2); Now, on to my actual question/comment. I've noticed that if the rate of incoming data goes above about 2200, it fails to keep up with the throttling, and will start to bog down. It will remove more than it's bringing in, and eventually stablize to about a 3400 total clips in the array at the end of each loop. However, this takes updates down to once every 11 seconds or so, defeating the point of a once-per-second refresh rate. If I can't get this to work more efficiently in flash, I'll likely have to switch to another platform and language. :/ Is there something I could do that would be more efficient? I need to be able to remove the vectors when they're about a minute old, but I couldn't seem to find any other way than to store the clip and date object on another, simple object, and store that in an array. A stack of sorts. I'd rather have a way of just using a single
[Flashcoders] Tweening text boxes reflows text
Hi list... I'm tweening a mc that contains a dynamic text box (font embedded) by using the Tween class to resize and reposition it. Unfortunately, each step in the tween reflows the text slightly, as if it's being kerned randomly each step of the way. I've tried using cacheAsBitmap=true on the mc and on the text box within it, but that hasn't helped. Does anyone have any tips on how to prevent this slight text reflow from happening? Thanks, - Michael M. ___ 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 CS3 Announced
Funny you mention that. I was an avid fan of Freehand way back from version 1. (Does anybody else remember Aldus?) When Adobe bought out Aldus, I thought it was the demiss of Freehand. Ironically, over the years I've levitated towards Illustrator for vector-based work and rarely use Freehand anymore -- except to handle the occassional Freehand file. With regards to Photoshop and Fireworks, I use both of them heavily on a daily basis. They both have their strengths and place in our workflows. ...Rob -Original Message- From: Hari Seldon [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 27, 2007 12:04 PM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Flash CS3 Announced And What about Freehand?? I think that loss Freehand, it's a big Mistake... Fireworks it's much better than Photoshop Ready for web design (I think) But... Illustrator is it much better than Freehand? What about multi document in Freehand? The new Ai CS 3 implements this feature? ... Regards. ___ 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 CS3 Announced
Freehand was terrible IMO. I know quite a few people who feel exactly opposite of you. They absolutely hate Illustrator and mourn the loss of what they believe to be a clearly better product. My experience is that most people who don't like Freehand never actually gave it a proper chance or were content because they already knew Illustrator and couldn't motivate to learn something new that does the same thing. Freehand was ahead of Illustrator in features and ease of use for quite some time and Freehand forced Illustrator to compete in what was once a monopoly (Corel Draw? Yeah, right!). I don't use either program so I have no opinion. :) Fireworks is different than Photoshop in some key ways. It's not going away anytime soon. At Adobe MAX in Las Vegas last year, Adobe was pretty clear that Fireworks was not only not going away, it was being given new features and tighter integration with other Adobe products. ___ 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] online webcast = 3:30pm today, March 27
ADOBE Flash9 release info: online webcast = 3:30pm today, March 27, 2007, at 3:30 p.m. Eastern time, Adobe Systems will host a webcast of the official launch of Adobe® Creative Suite® 3, live from New York City. To participate, bookmark this page and join us back here on March 27. http://www.adobe.com/products/creativesuite/launchevent/ Feature outline Flash9 http://blog.wired.com/monkeybites/2007/03/gallery_cs3.html feature video Flash9: http://www.adobe.com/products/flash/features/ _ Interest Rates near 39yr lows! $430,000 Mortgage for $1,399/mo - Calculate new payment http://www.lowermybills.com/lre/index.jsp?sourceid=lmb-9632-18466moid=7581 ___ 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] ColorMatrix
The TweenFilterLite class I just released does exactly what you're looking for. http://www.greensock.com/ActionScript/TweenFilterLite Jack -Original Message- Date: Tue, 27 Feb 2007 16:53:50 +0200 From: misa [EMAIL PROTECTED] Subject: [Flashcoders] ColorMatrix To: flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hello flash coders, I need some help with color transformations. I want to change dynamicly the hue of a MC with a transition/tween, something like fading from one image to another with different colors. I tried both G. Skinner's and M. Klingman's colorMatrix class, but the tweening they use is bound to some object. In G.S's demo there's a scroll bar, and in M.K's he uses two images. I want to use one of their classes but be able to transform the color of one MC just with a function: onSomeEvent ... { tweenHue for myMC from thisHUE to newHUE }. Thanks in advance ** ___ 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] Free AS2 Filter Tweening Engine - TweenFilterLite
The Color Picker was the handy work of Alessandro Crugnola, http://www.sephiroth.it/file_detail.php?id=147 Very nice job. -Original Message- Date: Tue, 27 Mar 2007 08:40:22 -0400 From: Merrill, Jason [EMAIL PROTECTED] Subject: RE: [Flashcoders] Free AS2 Filter Tweening Engine - TweenFilterLite To: flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii Hey cool - where did you get the color picker - did you make it or is there a free class out there available? I've been looking for a good AS 2 color picker. I made my own, and it works OK, but it's slightly buggy. Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team ___ 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 CS3 Announced
I used FreeHand and illustrator... Freehand is Less Powerfull In drawing, but more Handy I expected from Illustrator similar features like multi Paper, and other small Things Regarding Flash I hope The Flash CS3 has A better Actionscript Editor than the one in prev versionsAny News About it??? On 3/27/07, Hairy Dog Digital [EMAIL PROTECTED] wrote: Funny you mention that. I was an avid fan of Freehand way back from version 1. (Does anybody else remember Aldus?) When Adobe bought out Aldus, I thought it was the demiss of Freehand. Ironically, over the years I've levitated towards Illustrator for vector-based work and rarely use Freehand anymore -- except to handle the occassional Freehand file. With regards to Photoshop and Fireworks, I use both of them heavily on a daily basis. They both have their strengths and place in our workflows. ...Rob -Original Message- From: Hari Seldon [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 27, 2007 12:04 PM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Flash CS3 Announced And What about Freehand?? I think that loss Freehand, it's a big Mistake... Fireworks it's much better than Photoshop Ready for web design (I think) But... Illustrator is it much better than Freehand? What about multi document in Freehand? The new Ai CS 3 implements this feature? ... Regards. ___ 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 -- Omar Fouad - Digital Emotions... Love is always patient and kind. It is never jealous. Love is never boastful nor conceited It is never rude or selfish. It does not take offense and is not resentful. Love takes no pleasure in other people's sins...but delights in the truth. It is always ready to excuse, to trust, to hope... and to endure... whatever comes. ___ 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 CS3 Announced
My experience is that most people who don't like Freehand never actually gave it a proper chance or were content because they already knew Illustrator and couldn't motivate to learn something new that does the same thing. Well, if you're generalizing me as one of those people, you're wrong. I've used both Illustrator and Freehand, and found Freehand to be vastly more buggy hard to use. Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team ___ 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] Tweening text boxes reflows text
I'm tweening a mc that contains a dynamic text box (font embedded) by using the Tween class to resize and reposition it. Unfortunately, each step in the tween reflows the text slightly, as if it's being kerned randomly each step of the way. I've tried using cacheAsBitmap=true on the mc and on the text box within it, but that hasn't helped. Does anyone have any tips on how to prevent this slight text reflow from happening? You probably have Anti-alias for readability turned on on the textfield. Which is great but make glyph hinting and kerning work in a less than optimal way when moving. If that's the case, set it to Anti-alias for animation which is less sharp (?) but a much smoother way of calculating glyph position. If that doesn't work, you have to tween the position of the textfield by rounded values only, either by doing that when updating its properties, or by capturing a copy of it as bitmapdata prior to moving (adding a dummy filter to it might work just fine for this). Zeh ___ 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 and Arabic
I work A lot using arabic in flash... I used to write arabic text dynamically into dynamic textfields, from xml, or action script in run time... Or by writing the arabic text in Free Hand, Than breaking it into vector and pasting it into flash as Vector... On 3/26/07, James Tu [EMAIL PROTECTED] wrote: We have an approach to deal with a list of 100 phrases in Arabic. When you copy and paste a phrase of Arabic into a Flash textbox, Flash reverses it! So, we first reversed the characters outside of Flash and then copied and pasted the phrases into Flash. Problem solved right? We'll, when someone that can read Arabic read it, they told us that the characters look funny. In essence, the characters weren't connecting to each other correctly! It's as if you took a cursive font and laid out the characters and the cursive writing was not continuous. Does anyone have any suggestions on handling Flash and Arabic? I did some extensive searching and there aren't any definitive solutions...Some suggested using a special Flash Arabic font, which I couldn't find. Help! -James ___ 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 -- Omar Fouad - Digital Emotions... Love is always patient and kind. It is never jealous. Love is never boastful nor conceited It is never rude or selfish. It does not take offense and is not resentful. Love takes no pleasure in other people's sins...but delights in the truth. It is always ready to excuse, to trust, to hope... and to endure... whatever comes. ___ 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] setting a timer in flash 8
I created a Class called SetTimer it lets you call a function after a specified time in second... And setting how many times the function is executed with the given interval If you are interested tell me... On 3/27/07, Gustavo Duenas [EMAIL PROTECTED] wrote: thanks to all of you guys..now I did it and I've just trigger an event using the time. thanks to all. Gustavo Duenas On Mar 26, 2007, at 4:24 PM, Joe Wheeler wrote: Don't forget to clear the interval inside the function you call - otherwise it will repeat on and on. It's also best practice to clear an interval before you set it (in case it gets set twice). If you only want the function called once you can also use _global.setTimeout( func, time ). J -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Parvaiz Patel Sent: 26 March 2007 13:51 To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] setting a timer in flash 8 Hi Gustave, Here is the answer to your query. The best way for any timing related task is to use Interval. Here is the syntax: var variable name:Number = setInterval(function name to call, time interval in millisecond); function function name to call(){ //do your task here.. } The following is the example for your inderstanding testing. this.createTextField(date_txt, this.getNextHighestDepth(), 10, 10, 100, 22); date_txt.autoSize = true; date_txt.selectable = true; var date_interval:Number = setInterval(updateTime, 500, date_txt); function updateTime(my_txt:TextField) { my_txt.text = new Date().toString(); trace(my_txt.text); } I hope, this is well enough to solve your problem. Thanks regards, Parvaiz Patel. Gustavo Duenas wrote: Hi, I'm trying to set a timer to trigger a event after 20 seconds or less, but so far i have this code, but with no results someone help me? . I don't know how could I got into but some help might be needed this is the code: is inside the first frame of a movie clip and the 4 frame has: gotoAndPlay(1); var now = getTimer(); var seconds:Number = now/1000; var later:Number = seconds+20; this.onEnterFrame= function (){ if(seconds == later){ trace(llegamos); } } trace(seconds); Regards Gustavo Duenas ___ 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@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 -- Omar Fouad - Digital Emotions... Love is always patient and kind. It is never jealous. Love is never boastful nor conceited It is never rude or selfish. It does not take offense and is not resentful. Love takes no pleasure in other people's sins...but delights in the truth. It is always ready to excuse, to trust, to hope... and to endure... whatever comes. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought
Re: [Flashcoders] Text to MP3
I don't get you Mp3's can only be converted to other audio Formats be more specific please On 3/26/07, iestyn lloyd [EMAIL PROTECTED] wrote: Hey list, Does anyone know of an easy way to convert text to mp3 on the fly? Ideally some company would run a service with a REST interface, so I could just send my text via a querystring, and it would send back some XML detailing the URL of the mp3, and maybe an indication of when the mp3 might be converted... well that's what i'd like ideally... I guess the other possibility is finding some component to install on my own server, but this might not be possible... any ideas anyone? Cheers iestyn ___ 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 -- Omar Fouad - Digital Emotions... Love is always patient and kind. It is never jealous. Love is never boastful nor conceited It is never rude or selfish. It does not take offense and is not resentful. Love takes no pleasure in other people's sins...but delights in the truth. It is always ready to excuse, to trust, to hope... and to endure... whatever comes. ___ 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] OnMouseWheel Issue....
Thanks... You know i've solved the issue 4 days ago...it seems that the lists doesn't deliver Posts, or delivers post after agess.. On 3/23/07, Latcho [EMAIL PROTECTED] wrote: --- var Mickey=new Object() function activeWheel(){ Mouse.addListener(Mickey) Mickey.onMouseWheel = function (delta) { trace(Mickey Mouse:+delta) } } activeWheel() Omar Fouad wrote: Hi List.. I am writing a class and inside this class, i got a this method private function wheel() { mList.onMouseWheel = function (delta) { trace(Using wheel); } Mouse.addListener(mList); //mList is declared as an object outside the Method } I dont know why but it iseems that it is not listening to the wheel as in it doesnt trace me back using wheel what is the problem?? Am i doing something wrong? Thanks so much ___ 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 -- Omar Fouad - Digital Emotions... Love is always patient and kind. It is never jealous. Love is never boastful nor conceited It is never rude or selfish. It does not take offense and is not resentful. Love takes no pleasure in other people's sins...but delights in the truth. It is always ready to excuse, to trust, to hope... and to endure... whatever comes. ___ 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] actionscript/flash performance
Hello, Thanks for the response. So by using prototype, I could set the date on it, and at the very least get rid of the simple object I'm creating for the array, and just go directly to the array? Something like: MovieClip.prototype.age = new Date(); Or is there something else I need to do to make sure it has an increasing date with each loop? As to the XML data being asynchronous, so you mean I don't actually have to use gotoAndPlay()? I can just start off with a stop(); and set up the event code? I did it the way it is now because I need to use the code with two possible ways - an XML packet from a socket, or an XML request from a PHP script hitting a MySQL backend (this would facilitate replaying events, whereas the socket would be the live-events-as-they-happen version). Again, thanks for the response, I'm hoping I can keep this in Flash, as it presents a wonderful way to have multiple clients viewing the same data, with a much smaller effect on the server than other methods -- I also don't know C/C++ very well. :) Thanks, Michael King CSIRT - Developer Security Incident Response Group Humana Inc. E-mail: [EMAIL PROTECTED] STANDS: Some Theoretical Acronym Not Described Sufficiently [p e r c e p t i c o n] [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 03/27/2007 01:43 PM Please respond to flashcoders@chattyfig.figleaf.com To flashcoders@chattyfig.figleaf.com cc Subject Re: [Flashcoders] actionscript/flash performance Hi Michael, one thing that stands out right away is the use of prototype...if i'm not mistaken, this will make these variables available to all movie clips...even ones that don't use the markers you're speaking of...the other thing is that loading of xml data is asynchronous, so you just burning cycles by looping this way...i would use set interval to manage the removal of the clips ...it's far more efficient... just my .02 The information transmitted is intended only for the person or entity to which it is addressed and may contain CONFIDENTIAL material. If you receive this material/information in error, please contact the sender and delete or destroy the material/information. ___ 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 CS3 Announced
I agree with you, I have freehand and I have never used since I bought the sudio 8 and the mx2004 but I don't know whether is useless or not compare with AI, I just know that I never used it. But Contribute I don't get it..since the dreamweaver can help me out to update sites remotely...isn't better than contribute? This one is other I never used, Though I have with me the trial and I've tried. I'm still clueless about it. Regards gustavo Duenas On Mar 27, 2007, at 3:00 PM, Hairy Dog Digital wrote: Funny you mention that. I was an avid fan of Freehand way back from version 1. (Does anybody else remember Aldus?) When Adobe bought out Aldus, I thought it was the demiss of Freehand. Ironically, over the years I've levitated towards Illustrator for vector-based work and rarely use Freehand anymore -- except to handle the occassional Freehand file. With regards to Photoshop and Fireworks, I use both of them heavily on a daily basis. They both have their strengths and place in our workflows. ...Rob -Original Message- From: Hari Seldon [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 27, 2007 12:04 PM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Flash CS3 Announced And What about Freehand?? I think that loss Freehand, it's a big Mistake... Fireworks it's much better than Photoshop Ready for web design (I think) But... Illustrator is it much better than Freehand? What about multi document in Freehand? The new Ai CS 3 implements this feature? ... Regards. ___ 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] Tweening text boxes reflows text
Bingo, Zeh. That was exactly the problem. Thanks! - 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] live release event - correct URL
http://www.adobe.com/products/creativesuite/launchevent/webcast/ _ Interest Rates near 39yr lows! $430,000 Mortgage for $1,399/mo - Calculate new payment http://www.lowermybills.com/lre/index.jsp?sourceid=lmb-9632-18466moid=7581 ___ 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] Text to MP3
Not sure about a company that offer those services although i am sure there are ones out there. But you can basically create that yourself by looking into SOX (soundExchange) and LAME. Both are open source / freeware utilities that run on both windows and linux/unix. They will require some work on your end to get there. Hope this helps On 3/26/07, iestyn lloyd [EMAIL PROTECTED] wrote: Hey list, Does anyone know of an easy way to convert text to mp3 on the fly? Ideally some company would run a service with a REST interface, so I could just send my text via a querystring, and it would send back some XML detailing the URL of the mp3, and maybe an indication of when the mp3 might be converted... well that's what i'd like ideally... I guess the other possibility is finding some component to install on my own server, but this might not be possible... any ideas anyone? Cheers iestyn ___ 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] actionscript/flash performance
2200 clips is a lot - I'm not surprised you're running into problems. There is quite a large overhead with each movieclip you instantiate (anyone know how many kb an individual mc weighs?). I think your idea of using a single clip is a much better idea. You'd have to clear() and redraw from scratch each time there's an update but with a clever bit of animation you could probably make that manageable (if you only plotted 100 points per frame at 31fps, you should be able to achieve roughly 3100 points/second ). I'd create a flyweight class to abstract the shapes you have been drawing into the pen movieclips - essentially it would just hold the point data (call it PenData?). I'd then create and update loop which runs through the PenData instances and draws them at a rate of 100 per frame into your single movieclip. Next time there's an update, clear the movieclip and start again... You are pushing the limits but I think it's worth trying. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael King Sent: 27 March 2007 17:57 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] actionscript/flash performance Hey all, I finally have a question to ask! I'm working on a project that, in simplest terms, is an event visualizer. It takes event data coming in from an XMLSocket (or a standard PHP script pulling from a database for replays), creates an empty movie clip, stores it in a simple object/array combination to aide in timestamping, then it uses removeMovieClip() to discard the clip when it's a minute or so old. Warning, I'm a complete noob when it comes to ActionScript, I have a little bit of Javascript experience, and a good amount of PERL and Python, so I can handle criticisms, and hopefully they can be explained in a language I understand. :) I have three keyframes, 1, 2 and 20, with 20 being the loop back to give me a nearly one second tick mark, when things are not overloaded. At 1, I instantiate an Array (_root.lines), import WDDX, and create a custom function on the MovieClip prototype for some initial markers, along with a few longitude/latitude-to-map-coordinates functions, and a function for drawing curved vectors. I initialize some starting points for some global counters on _root here, as well. Lastly, there's a map of the globe for the scene background, and the custom function marks three locations on the map. At 2, I populate the initial location marks at level 1, calculate the current date/time by instantiating Date(), and store the results on _root for later retrieval (we'll call it _root.ratio_start). I then pull in the data stream, currently I limit it to 2500 lines (events, really, it can be a little more than 500 characters in XML per event). I calculate the start point (one of the three marks) based on the data provided, then use the latitude and longitude calculate an end point. Here's the part I'm not sure is the most efficient: // Increment the counter to give us a pseudo-unique number. _root.counter++; // make a timestamp date_now = new Date(); // make an empty movie clip with a unique, but dynamic, name pen = createEmptyMovieClip(vector_ + root.counter + _mc, root.counter+2); // Set the line style pen.lineStyle(2,0x00CC00); // Store it in a simple object for later retrieval and timestamp comparison container = {pen: pen, timestamp: date_now); // Pus it into the lines array. _root.lines.push(container); // Draw the vector curvePoint(pen, x, y, x, y); From there, it just moves along with no more code until I get to frame 20: // make a timestamp date_now = new Date(); // Get the benchmark up until this point _root.ratio_end = date_now; // Calculate the ratio between the time it actually took, and one second, for throttling purposes _root.ratio = 1000 / (_root.ratio_end.getTime() - _root.ratio_start.getTime()); // _root.millisecondsToMinute = 1000 * 60, get the fraction (multiple) of 1 minute. _root.timeLimit = _root.millisecondsToMinute * _root.ratio; temp_count = 0; for (i = 0; i _root.lines.length; i++) { // Calculate the difference between the current time, and the time this line was turned into a clip. timeDiff = date_now.getTime() - _root.lines[i].timestamp.getTime(); if (timeDiff _root.timeLimit) { // Keep track of how many we remove for debugging purposes. temp_count++; // Remove the movie clip the only way I know how. _root.lines[i].pen.removeMovieClip(); // remove this entry from the array. _root.lines.splice(i,1); } } // Occasionally reset the unique counter if (_root.counter = 32000) { _root.counter = 0; } // Loop back to frame 2, pull more data, etc. _root.gotoAndPlay(2); Now, on to my actual question/comment. I've noticed that if the rate of incoming data goes above about 2200, it fails to keep up with the throttling, and will start to bog down. It will remove
[Flashcoders] class import weirdness
hi folks, i'm experiencing this really strange bug that i think has to do with how one of my custom classes is importing the flash.* packages. so here's deal... i have a method in the following class: import com.barbarian.color.*; import com.barbarian.logger.*; import com.barbarian.notice.*; import com.barbarian.timing.*; import com.barbarian.util.*; import mx.transitions.Tween; import mx.transitions.easing.*; import com.webby.gallery.*; import flash.geom.*; import flash.display.*; import flash.filters.*; class com.webby.gallery.Thumbnail extends MovieClip { public function blah():Void { var ct:ColorTransform = new ColorTransform(); var t:Transform = new Transform(this); var p:Point = new Point(this._x, this._y); var cmf:ColorMatrixFilter = new ColorMatrixFilter(); var bd:BitmapData = new BitmapData(); var tween:Tween = new Tween(); var obj:Object = new Object(); var thumb:Thumbnail = this; trace(ct:ColorTransform = + ct); trace(t:Transform = + t); trace(p:Point = + p); trace(cmf:ColorMatrixFilter = + cmf); trace(bd:BitmapData = + bd); trace(tween:Tween = + tween); trace(obj:Object = + obj); trace(thumb:Thumbnail = + thumb); } } here's what it traces: ct:ColorTransform = undefined t:Transform = undefined p:Point = undefined cmf:ColorMatrixFilter = undefined bd:BitmapData = undefined tween:Tween = [Tween] obj:Object = [object Object] thumb:Thumbnail = _level0.thumbnails_mc.thumbnail3_mc and here's my question: why the hell does it seem like all the classes in the flash.* packages aren't importing properly? i get no compile-time errors, but it seems at run-time, the classes don't seem to exist?! the mx.* package seems to import fine, as i get an instance of the Tween class. i checked for namespace conflicts within the barbarian classes and my custom classes, and it seems ok on that front. i should also mention that my other custom classes (in the same package/ directory) seem to be importing the flash.* classes fine. your thoughts are much appreciated! thanks! kevin ___ 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 CS3 Announced
Illustrator had anti-aliased previews ages before Freehand which is why I switched. Freehand made artwork look clunky on screen which doesn't help the designer design IMHO. I do still miss the way some of the FH tools worked though. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ Sent: 27 March 2007 20:05 To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Flash CS3 Announced Freehand was terrible IMO. I know quite a few people who feel exactly opposite of you. They absolutely hate Illustrator and mourn the loss of what they believe to be a clearly better product. My experience is that most people who don't like Freehand never actually gave it a proper chance or were content because they already knew Illustrator and couldn't motivate to learn something new that does the same thing. Freehand was ahead of Illustrator in features and ease of use for quite some time and Freehand forced Illustrator to compete in what was once a monopoly (Corel Draw? Yeah, right!). I don't use either program so I have no opinion. :) Fireworks is different than Photoshop in some key ways. It's not going away anytime soon. At Adobe MAX in Las Vegas last year, Adobe was pretty clear that Fireworks was not only not going away, it was being given new features and tighter integration with other Adobe products. ___ 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 CS3 Announced
But Contribute I don't get it..since the dreamweaver can help me out to update sites remotely...isn't better than contribute? Yes, but it's a very good tool for managing client-based updates to web sites. I often use/recommend it for sites I create where clients prefer to make content updates themselves, rather than pay for maintenance updates. ___ 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] Text to MP3
I think he means getting some program to read out the text, and save that as an mp3 file. I personally have no idea. The hard part of that is definitely the server-side conversion from text to mp3. I don't think you'll find many people on this list who know how to do that though, because it's not really something that flash does. On 3/27/07, Omar Fouad [EMAIL PROTECTED] wrote: I don't get you Mp3's can only be converted to other audio Formats be more specific please On 3/26/07, iestyn lloyd [EMAIL PROTECTED] wrote: Hey list, Does anyone know of an easy way to convert text to mp3 on the fly? Ideally some company would run a service with a REST interface, so I could just send my text via a querystring, and it would send back some XML detailing the URL of the mp3, and maybe an indication of when the mp3 might be converted... well that's what i'd like ideally... I guess the other possibility is finding some component to install on my own server, but this might not be possible... any ideas anyone? Cheers iestyn ___ 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 -- Omar Fouad - Digital Emotions... Love is always patient and kind. It is never jealous. Love is never boastful nor conceited It is never rude or selfish. It does not take offense and is not resentful. Love takes no pleasure in other people's sins...but delights in the truth. It is always ready to excuse, to trust, to hope... and to endure... whatever comes. ___ 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 CS3 Announced
I was only speaking of people who I have discussed the issue with (hence, My experience is). It was not my intent to lump you in with them. ___ 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 CS3 Announced
But Contribute I don't get it..since the dreamweaver can help me out to update sites remotely...isn't better than contribute? Dreamweaver and Contribute are complementary products. Dreamweaver is an HTML editor for people who know HTML, Contribute is an HTML editor for people who don't know HTML. Typically, in a Contribute environment, the people using Contribute are content authors, and the people using Dreamweaver design templates and control what content authors can do. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.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] Flash and levels
Is there a way to createEmptyMovieClip on a level other than _level0? I tried doing this: var tmc = _level5.createEmptyMovieClip(foo, 10); trace(tmc); //gives me undefined I also tried to load a blank .swf into _level5 and then creating a movieclip on _level5 and that didn't work either. -James ___ 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] Multiple streaming sounds cut off during playback
It workssort of. The cutoff problem I was having is gone, but there seems to be an issue when you rollOver the same square section repeatedly Eventually, it degrades down to playing only a single sound. If you are willing, can you please elaborate on what your code additions are doing? On 3/26/07, Jason Cordial [EMAIL PROTECTED] wrote: It's a very cool little app, so I hope it starts working. On 3/26/07, Jason Cordial [EMAIL PROTECTED] wrote: Alright, where you have //Hold playhead here stop(); //Declare global variable for tracking the number of sounds currently playing _global.soundsPlaying = 0; //Create function to load in random sound file onRollOver this.onRollOver = function() { //Check to see if soundsPlaying is less than specified limit if (_global.soundsPlaying 6) { //Define variable for random sound file number soundNumber = Math.round(Math.random()*7)+1; var soundFile:Sound = new Sound(); soundFile.loadSound (sounds_library/conflict_+soundNumber+.mp3, true); soundFile.onLoad = function(success:Boolean):Void { if (success) { soundFile.start(); } }; //Increment soundsPlaying variable _global.soundsPlaying++; trace(soundsPlaying); //Decrement soundsPlaying variable when sound finishes soundFile.onSoundComplete = function(){ _global.soundsPlaying--; trace(soundsPlaying); }; } //Define function to load a new random image onRelease frameNumber = Math.round(Math.random()*3)+1; maskBox.gotoAndPlay (tran+frameNumber); }; replace it with this: //Hold playhead here stop(); var soundsNowPlaying:Array = new Array(); _global.counterJ = 0; //Declare global variable for tracking the number of sounds currently playing _global.soundsPlaying = 0; //Create function to load in random sound file onRollOver this.onRollOver = function() { //Check to see if soundsPlaying is less than specified limit if (_global.soundsPlaying 10) { //Define variable for random sound file number soundNumber = Math.round(Math.random()*7)+1; soundsNowPlaying[counter] = new Sound(); soundsNowPlaying[counter].loadSound(sounds_library/conflict_+soundNumber+.mp3, true); soundsNowPlaying[counter].onLoad = function(success:Boolean):Void { if (success) { this.start(); } } //Increment soundsPlaying variable _global.soundsPlaying++; //trace(soundsPlaying); //Decrement soundsPlaying variable when sound finishes soundsNowPlaying[counter].onSoundComplete = function(){ _global.soundsPlaying--; delete this; }; _global.counterJ++; trace(_global.counterJ); } //Define function to load a new random image onRelease frameNumber = Math.round(Math.random()*3)+1; maskBox.gotoAndPlay(tran+frameNumber); } and tell me if that helps out. If yes I'll explain whats happening and if no, then I'll try and find something else. On 3/26/07, Ryan Burrell [EMAIL PROTECTED] wrote: Can you give me a more specific example of how to go about setting up the array and pulling sounds from it? I've worked with arrays before, but not extensively. I'm just unsure of the syntax. On 3/26/07, Jason Cordial [EMAIL PROTECTED] wrote: I tried the online version, and I saw your problem. Off the top of my head, declare an array for all the different sounds. Like var soundsNowPlaying:Array = new Array(); keep setting sounds like soundsNowPlaying[soundsNowPlaying.length+1 ] = new Sound blah blah I think the problem might be that you're overwriting the sound every time the next one starts playing, which causes the problem. On 3/26/07, Ryan Burrell [EMAIL PROTECTED] wrote: Thank you for your help. I have several other options that I am going to try out to see if I can get something working, but anything that anyone may happen to notice or suggest on this is appreciated. I work tech support for a living and the worst type of problem to fix is one that is sporadic...just like this one. On 3/26/07, Jason Cordial [EMAIL PROTECTED] wrote: First suggestion, keep all your actionscript on one frame. Searching through everything is making it a real pain to debug. I'm looking at it right now, if I find anything I'll let you know. On 3/26/07, Ryan Burrell [EMAIL PROTECTED] wrote: Hello all, I am experiencing an issue with some streaming sounds that I pull in. I have an example up here: http://www.humanussonus.org/flash/co.../conflict.html . Basically, the problem is that after rolling over these images
Re: [Flashcoders] Flash CS3 Announced
- Original Message - From: Merrill, Jason [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, March 27, 2007 8:52 PM Subject: RE: [Flashcoders] Flash CS3 Announced My experience is that most people who don't like Freehand never actually gave it a proper chance or were content because they already knew Illustrator and couldn't motivate to learn something new that does the same thing. Well, if you're generalizing me as one of those people, you're wrong. I've used both Illustrator and Freehand, and found Freehand to be vastly more buggy hard to use. Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team LOL am I the only person here that uses this: http://www.xara.com/products/xtreme/?v=prot= ? Paul ___ 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] Text to MP3
You might trying doing more research into Natural Voices and other text-to-speech setups. As far as I was aware, Flash doesn't have capability like this. On 3/27/07, Francis Chary [EMAIL PROTECTED] wrote: I think he means getting some program to read out the text, and save that as an mp3 file. I personally have no idea. The hard part of that is definitely the server-side conversion from text to mp3. I don't think you'll find many people on this list who know how to do that though, because it's not really something that flash does. On 3/27/07, Omar Fouad [EMAIL PROTECTED] wrote: I don't get you Mp3's can only be converted to other audio Formats be more specific please On 3/26/07, iestyn lloyd [EMAIL PROTECTED] wrote: Hey list, Does anyone know of an easy way to convert text to mp3 on the fly? Ideally some company would run a service with a REST interface, so I could just send my text via a querystring, and it would send back some XML detailing the URL of the mp3, and maybe an indication of when the mp3 might be converted... well that's what i'd like ideally... I guess the other possibility is finding some component to install on my own server, but this might not be possible... any ideas anyone? Cheers iestyn ___ 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 -- Omar Fouad - Digital Emotions... Love is always patient and kind. It is never jealous. Love is never boastful nor conceited It is never rude or selfish. It does not take offense and is not resentful. Love takes no pleasure in other people's sins...but delights in the truth. It is always ready to excuse, to trust, to hope... and to endure... whatever comes. ___ 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] Flash and levels
I think in general, levels aren't used much any more. It's become more common to use holder movieclips to control groups of content. If you have to, you can even put holder MCs on different levels of your timeline and load content into whichever MC you want. You can then also do things like making each holder MC _visible=false as a way of hiding groups of content if needed. Using holder MCs also at times makes it easier to control preloading by using MC.getBytesLoaded, etc. To answer your question directly, I'm not sure you can create new empty MCs on a level that contains nothing. On 3/27/07, James Tu [EMAIL PROTECTED] wrote: Is there a way to createEmptyMovieClip on a level other than _level0? I tried doing this: var tmc = _level5.createEmptyMovieClip(foo, 10); trace(tmc); //gives me undefined I also tried to load a blank .swf into _level5 and then creating a movieclip on _level5 and that didn't work either. -James ___ 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 and levels
If you need to create a movieClip on level 20 for example : var myClip:MovieClip = createEmtpyMovieClip(myClipInstance, 20) Note that the secont parameter (20), is the level number you wish the movieClip is created, in this case therefore will not get into _level0.. if you Need to get a movieClip nasted into another so: var myClip:MovieClip = containerClip.createEmptyMovieClip(otherMcInstance, containerClip.getNextHighestDepth); The second Parameter specifies the next Free Level inside the containerClip where the myClip will be nasted... Hope it helps On 3/28/07, James Tu [EMAIL PROTECTED] wrote: Is there a way to createEmptyMovieClip on a level other than _level0? I tried doing this: var tmc = _level5.createEmptyMovieClip(foo, 10); trace(tmc); //gives me undefined I also tried to load a blank .swf into _level5 and then creating a movieclip on _level5 and that didn't work either. -James ___ 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 -- Omar Fouad - Digital Emotions... Love is always patient and kind. It is never jealous. Love is never boastful nor conceited It is never rude or selfish. It does not take offense and is not resentful. Love takes no pleasure in other people's sins...but delights in the truth. It is always ready to excuse, to trust, to hope... and to endure... whatever comes. ___ 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 and levels
JT I also tried to load a blank .swf into _level5 and then creating a JT movieclip on _level5 and that didn't work either. It works. Just make sure that you invoke createEmptyMovieClip() after the swf is loaded to the given level. Attila ___ 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] Flash controling Z with div layers
Is it possible to make a flash.swf file appear behind other div layers I create. In firefox, i have no problem however, in IE my flash is popping in front of my DIV LAYER. any stragery on this one? P ___ 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] actionscript/flash performance
if you use date in this context MovieClip.prototype.age = new Date(); and you want incremental values, you should pass in some parameters like hour, minutes, seconds and milliseconds...check documentation on this... As to the XML data being asynchronous, so you mean I don't actually have to use gotoAndPlay()? I can just start off with a stop(); and set up the event code? that's correct...you certainly want to set up event handlers... On 3/27/07, Michael King [EMAIL PROTECTED] wrote: Hello, Thanks for the response. So by using prototype, I could set the date on it, and at the very least get rid of the simple object I'm creating for the array, and just go directly to the array? Something like: MovieClip.prototype.age = new Date(); Or is there something else I need to do to make sure it has an increasing date with each loop? As to the XML data being asynchronous, so you mean I don't actually have to use gotoAndPlay()? I can just start off with a stop(); and set up the event code? I did it the way it is now because I need to use the code with two possible ways - an XML packet from a socket, or an XML request from a PHP script hitting a MySQL backend (this would facilitate replaying events, whereas the socket would be the live-events-as-they-happen version). Again, thanks for the response, I'm hoping I can keep this in Flash, as it presents a wonderful way to have multiple clients viewing the same data, with a much smaller effect on the server than other methods -- I also don't know C/C++ very well. :) Thanks, Michael King CSIRT - Developer Security Incident Response Group Humana Inc. E-mail: [EMAIL PROTECTED] STANDS: Some Theoretical Acronym Not Described Sufficiently [p e r c e p t i c o n] [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 03/27/2007 01:43 PM Please respond to flashcoders@chattyfig.figleaf.com To flashcoders@chattyfig.figleaf.com cc Subject Re: [Flashcoders] actionscript/flash performance Hi Michael, one thing that stands out right away is the use of prototype...if i'm not mistaken, this will make these variables available to all movie clips...even ones that don't use the markers you're speaking of...the other thing is that loading of xml data is asynchronous, so you just burning cycles by looping this way...i would use set interval to manage the removal of the clips ...it's far more efficient... just my .02 The information transmitted is intended only for the person or entity to which it is addressed and may contain CONFIDENTIAL material. If you receive this material/information in error, please contact the sender and delete or destroy the material/information. ___ 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] Text to MP3
Hello there, I believe the easiest way to do text to mp3 conversion is by calling, from the Unix shell the following applications: a) text2wave, which converts text to .wav files b) lame, which can be used to convert .wav files to .mp3 files Hope this helps, .L. - Original Message - From: Ryan Burrell [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, March 27, 2007 6:52 PM Subject: Re: [Flashcoders] Text to MP3 You might trying doing more research into Natural Voices and other text-to-speech setups. As far as I was aware, Flash doesn't have capability like this. On 3/27/07, Francis Chary [EMAIL PROTECTED] wrote: I think he means getting some program to read out the text, and save that as an mp3 file. I personally have no idea. The hard part of that is definitely the server-side conversion from text to mp3. I don't think you'll find many people on this list who know how to do that though, because it's not really something that flash does. On 3/27/07, Omar Fouad [EMAIL PROTECTED] wrote: I don't get you Mp3's can only be converted to other audio Formats be more specific please On 3/26/07, iestyn lloyd [EMAIL PROTECTED] wrote: Hey list, Does anyone know of an easy way to convert text to mp3 on the fly? Ideally some company would run a service with a REST interface, so I could just send my text via a querystring, and it would send back some XML detailing the URL of the mp3, and maybe an indication of when the mp3 might be converted... well that's what i'd like ideally... I guess the other possibility is finding some component to install on my own server, but this might not be possible... any ideas anyone? Cheers iestyn ___ 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 -- Omar Fouad - Digital Emotions... Love is always patient and kind. It is never jealous. Love is never boastful nor conceited It is never rude or selfish. It does not take offense and is not resentful. Love takes no pleasure in other people's sins...but delights in the truth. It is always ready to excuse, to trust, to hope... and to endure... whatever comes. ___ 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] Text to MP3
www.nextup.com has a text to mp3 program but it is not dynamic. www.mediasemantics.com has a speech engine server that can deliver dynamic text to speech. Odie On Mar 27, 2007, at 6:52 PM, Ryan Burrell wrote: You might trying doing more research into Natural Voices and other text-to-speech setups. As far as I was aware, Flash doesn't have capability like this. On 3/27/07, Francis Chary [EMAIL PROTECTED] wrote: I think he means getting some program to read out the text, and save that as an mp3 file. I personally have no idea. The hard part of that is definitely the server-side conversion from text to mp3. I don't think you'll find many people on this list who know how to do that though, because it's not really something that flash does. On 3/27/07, Omar Fouad [EMAIL PROTECTED] wrote: I don't get you Mp3's can only be converted to other audio Formats be more specific please On 3/26/07, iestyn lloyd [EMAIL PROTECTED] wrote: Hey list, Does anyone know of an easy way to convert text to mp3 on the fly? Ideally some company would run a service with a REST interface, so I could just send my text via a querystring, and it would send back some XML detailing the URL of the mp3, and maybe an indication of when the mp3 might be converted... well that's what i'd like ideally... I guess the other possibility is finding some component to install on my own server, but this might not be possible... any ideas anyone? Cheers iestyn ___ 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 -- Omar Fouad - Digital Emotions... Love is always patient and kind. It is never jealous. Love is never boastful nor conceited It is never rude or selfish. It does not take offense and is not resentful. Love takes no pleasure in other people's sins...but delights in the truth. It is always ready to excuse, to trust, to hope... and to endure... whatever comes. ___ 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] Flash and levels
Levels suck, try to avoid them. Anyway, I did this, and it worked: stop(); loadMovieNum(blank.swf, 5); this.onEnterFrame = function() { if (_level5 != undefined) { if (_level5.getBytesTotal() == _level5.getBytesTotal()) { var tmp = _level5.createEmptyMovieClip(foo, 10); trace(tmp); delete this.onEnterFrame; } } } My guess is that you're trying to create a clip on level 5 before it's fully loaded, and so it's failing. --- James Tu [EMAIL PROTECTED] wrote: Is there a way to createEmptyMovieClip on a level other than _level0? I tried doing this: var tmc = _level5.createEmptyMovieClip(foo, 10); trace(tmc); //gives me undefined I also tried to load a blank .swf into _level5 and then creating a movieclip on _level5 and that didn't work either. -James ___ 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 Food fight? Enjoy some healthy debate in the Yahoo! Answers Food Drink QA. http://answers.yahoo.com/dir/?link=listsid=396545367 ___ 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