[Flashcoders] Taking a screenshot from a FLVPlayback component using AS
Hello all, I'd like to know whether it's possible to take a screenshot from a video file playing in a FLVPlayback component. Or actually, I'd like to grab the current frame when a button is clicked, to display it somewhere else. Is this possible? I searched the manual for something like FLVPlayback.getCurrentFrame() or Screen.getContents() (such a thing is possible in Director), but to no avail. Any ideas? thanks in advance! bartz ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Date Object Problem
I think Bart's suggestion is a good one. I suspect the problem may be a local time zone offset issue. The Date object stores a date value as an integer representing the number of milliseconds since the Epoch (midnight Jan 1, 1970 UTC). If you don't use UTC dates rigorously, you leave yourself open to the vagaries of time zone offset problems. In other words, the time zone setting on your computer matters when you create a date object the way you described below. You can test this by running the following code, then running it again after adjusting the time zone setting on your computer: // results from San Francisco var checkin = new Date(2006,5,20); trace(checkin);// Tue Jun 20 00:00:00 GMT-0700 2006 trace(checkin.getTime()); // 115078680 // results when Time zone is set to London trace(checkin);// Tue Jun 20 00:00:00 GMT+0100 2006 trace(checkin.getTime()); // 115075800 Notice that you actually get different millisecond values. Also notice that the London local time version of new Date(2006,5,20) will always be interpreted as June 19 in the US because if it's midnight in London, it's always the day before here in the US. The best way to avoid this problem is to always work with UTC dates. Try the same test above, using the Date.UTC() method, and you'll find that the millisecond value is the same no matter which time zone setting you use: var checkinUTC = new Date(Date.UTC(2006,5,20)); trace(checkinUTC); // [June 20, 2006 in your local time] trace(checkinUTC.getTime()); // 115076160 Just be sure to always use the UTC versions of the Date class methods and properties, or you'll experience the same problem: trace(checkinUTC.getUTCFullYear()); // 2006 trace(checkinUTC.getUTCMonth());// 5 trace(checkinUTC.getUTCDate()); // 20 HTH, Francis -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Bart Wttewaall Sent: Tuesday, May 02, 2006 5:15 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Date Object Problem I'm not sure if it'll solve your problem, but you might want to check out Date.UTC var maryBirthday_date:Date = new Date(Date.UTC(1974, 7, 12)); trace(maryBirthday_date); I'm not sure what it does (something with universal time), since the documentation is quite cryptic, but perhaps it's related..? Good luck. 2006/5/2, Nick McNeill [EMAIL PROTECTED]: First off, long-time member of this list and have gained a wealth of knowledge from the wisdom here. Thank You All. I'm having a very confusing problem using the Date Object. I have a hotel reservation system built in flash, when an international reservation (outside of the US, mainly Europe ) comes through, the dates are off by 1 day. I cannot recreate the problem using any system setup in the US, only via a friend in London doing some testing for me. Problem: create new Date using May 20th 2006 var checkin = new Date(2006,5,20); is getting converted to May 19th if you are in Europe, fine in the US. In plain terms, someone is trying to book 5/20/06 thru 5/22/2006, but gets booked 5/19/06 thru 5/21/06 instead. This system has booked literally thousands of domestic US reservations and we've never seen this until we opened it up to international customers. Any insight to why this could be happening, or any known workarounds for a problem like this would be wonderful. I haven't tried using the timezone offset yet, any ideas if that might be a cure? Nick McNeill Intellistrand 843-839-1480 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Taking a screenshot from a FLVPlayback componentusing AS
It's possible in Flash 8 using copyPixels (BitmapData.copyPixels method) http://livedocs.macromedia.com/flash/8/main/1948.html Hth M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bart Zonneveld Sent: 03 May 2006 10:45 To: 'flashcoders@chattyfig.figleaf.com' Subject: [Flashcoders] Taking a screenshot from a FLVPlayback componentusing AS Hello all, I'd like to know whether it's possible to take a screenshot from a video file playing in a FLVPlayback component. Or actually, I'd like to grab the current frame when a button is clicked, to display it somewhere else. Is this possible? I searched the manual for something like FLVPlayback.getCurrentFrame() or Screen.getContents() (such a thing is possible in Director), but to no avail. Any ideas? thanks in advance! bartz ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Taking a screenshot from a FLVPlayback compon entusing AS
Exactly what I was looking for. However, how can I get to the bitmap data of my FLVPlayback component? thanks! -Original Message- From: Mike Mountain [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 03, 2006 11:57 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Taking a screenshot from a FLVPlayback componentusing AS It's possible in Flash 8 using copyPixels (BitmapData.copyPixels method) http://livedocs.macromedia.com/flash/8/main/1948.html Hth M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bart Zonneveld Sent: 03 May 2006 10:45 To: 'flashcoders@chattyfig.figleaf.com' Subject: [Flashcoders] Taking a screenshot from a FLVPlayback componentusing AS Hello all, I'd like to know whether it's possible to take a screenshot from a video file playing in a FLVPlayback component. Or actually, I'd like to grab the current frame when a button is clicked, to display it somewhere else. Is this possible? I searched the manual for something like FLVPlayback.getCurrentFrame() or Screen.getContents() (such a thing is possible in Director), but to no avail. Any ideas? thanks in advance! bartz ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Taking a screenshot from a FLVPlayback componentusing AS
Sorry, my mistake you don't actually need copyPixels if you're copying from an MC, you can just use draw - something like this may help: [as] import flash.display.BitmapData; import flash.geom.Rectangle; import flash.geom.Matrix; import flash.geom.ColorTransform; // cloneMC = function (mc, hld, xpos, ypos, lvl) { var bitmapData_1:BitmapData = new BitmapData(mc._width, mc._height, false, 0x); // var myMatrix:Matrix = new Matrix(); //myMatrix.scale(4,1); var myColorTransform:ColorTransform = new ColorTransform(.8, 1.2, 0.2, 0.4, 0, 0, 0, 0) var blendMode:String = normal; var myRectangle:Rectangle = new Rectangle(0, 0, 100, 80); var smooth:Boolean = true; // bitmapData_1.draw(mc, myMatrix, myColorTransform, blendMode, null, smooth); var holder:MovieClip = this.createEmptyMovieClip(hld, this.getNextHighestDepth()); holder.attachBitmap(bitmapData_1, lvl); holder._x = xpos; holder._y = ypos; }; // cloneMC(test_mc, holder, 300, 200, 1); [/as] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bart Zonneveld Sent: 03 May 2006 11:04 To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Taking a screenshot from a FLVPlayback componentusing AS Exactly what I was looking for. However, how can I get to the bitmap data of my FLVPlayback component? thanks! -Original Message- From: Mike Mountain [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 03, 2006 11:57 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Taking a screenshot from a FLVPlayback componentusing AS It's possible in Flash 8 using copyPixels (BitmapData.copyPixels method) http://livedocs.macromedia.com/flash/8/main/1948.html Hth ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Accessibility
Hello !!! Just wondering if anyone has experience on making movies accessible to screen readers? Kind thanks Karim ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Taking a screenshot from a FLVPlayback compon entusing AS
Thanks a lot! Will try... -Original Message- From: Mike Mountain [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 03, 2006 12:16 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Taking a screenshot from a FLVPlayback componentusing AS Sorry, my mistake you don't actually need copyPixels if you're copying from an MC, you can just use draw - something like this may help: [as] import flash.display.BitmapData; import flash.geom.Rectangle; import flash.geom.Matrix; import flash.geom.ColorTransform; // cloneMC = function (mc, hld, xpos, ypos, lvl) { var bitmapData_1:BitmapData = new BitmapData(mc._width, mc._height, false, 0x); // var myMatrix:Matrix = new Matrix(); //myMatrix.scale(4,1); var myColorTransform:ColorTransform = new ColorTransform(.8, 1.2, 0.2, 0.4, 0, 0, 0, 0) var blendMode:String = normal; var myRectangle:Rectangle = new Rectangle(0, 0, 100, 80); var smooth:Boolean = true; // bitmapData_1.draw(mc, myMatrix, myColorTransform, blendMode, null, smooth); var holder:MovieClip = this.createEmptyMovieClip(hld, this.getNextHighestDepth()); holder.attachBitmap(bitmapData_1, lvl); holder._x = xpos; holder._y = ypos; }; //cloneMC(test_mc, holder, 300, 200, 1); [/as] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bart Zonneveld Sent: 03 May 2006 11:04 To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Taking a screenshot from a FLVPlayback componentusing AS Exactly what I was looking for. However, how can I get to the bitmap data of my FLVPlayback component? thanks! -Original Message- From: Mike Mountain [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 03, 2006 11:57 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Taking a screenshot from a FLVPlayback componentusing AS It's possible in Flash 8 using copyPixels (BitmapData.copyPixels method) http://livedocs.macromedia.com/flash/8/main/1948.html Hth ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Taking a screenshot from a FLVPlayback componentusing AS
HI, I have the familar task so I've been using BitmapCopy class for that purpose: [as] import flash.display.BitmapData; import flash.geom.Rectangle; import flash.geom.Matrix; import flash.geom.ColorTransform; class com.justversus.utils.BitmapCopy extends MovieClip { private static var instance:BitmapCopy; private static var bmp:BitmapData; private function BitmapCopy () {}; public static function getInstance():BitmapCopy { if ( instance == null ) { instance = new BitmapCopy (); } return instance; } public static function copy( source:MovieClip, target:MovieClip, matrix:Matrix, colorTransform:ColorTransform, blendMode:Object, clipRect:Rectangle, smooth:Boolean):Void { if (clipRect ! = undefined ){ var w:Number = clipRect.width; var h:Number = clipRect.height; } else { var w:Number = source._width; var h:Number = source._height; } bmp.dispose(); bmp = new BitmapData( w, h ); bmp.draw (source, matrix, colorTransform, blendMode, clipRect, smooth); target.attachBitmap (bmp, target.getNextHighestDepth() ); } } [/as] Cheers, Oleg ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Date Object Problem
Hi Nick, Not sure about the day, but you have the wrong month here: Months in the Date object are zero based, so 5 is really June, not May... For the day, I'd go with the suggestions you got from other people about the time-zones. Karina -Original Message- From: Nick McNeill [mailto:[EMAIL PROTECTED] Sent: 02 May 2006 21:15 To: Flashcoders mailing list Subject: [Flashcoders] Date Object Problem First off, long-time member of this list and have gained a wealth of knowledge from the wisdom here. Thank You All. I'm having a very confusing problem using the Date Object. I have a hotel reservation system built in flash, when an international reservation (outside of the US, mainly Europe ) comes through, the dates are off by 1 day. I cannot recreate the problem using any system setup in the US, only via a friend in London doing some testing for me. Problem: create new Date using May 20th 2006 var checkin = new Date(2006,5,20); is getting converted to May 19th if you are in Europe, fine in the US. In plain terms, someone is trying to book 5/20/06 thru 5/22/2006, but gets booked 5/19/06 thru 5/21/06 instead. This system has booked literally thousands of domestic US reservations and we've never seen this until we opened it up to international customers. Any insight to why this could be happening, or any known workarounds for a problem like this would be wonderful. I haven't tried using the timezone offset yet, any ideas if that might be a cure? Nick McNeill Intellistrand 843-839-1480 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] MM / Adobe Central unavailable?
Hello everyone, I can no longer install Central from Adobe's website, and Central is no longer listed on the products page. Does anyone know if this will be fixed? Or has the public beta ended? ;-) My customers and I just get a can't download, try again later message. http://www.adobe.com/products/central/ I know Central was hardwired to www.macromedia.com , which is now routed to www.adobe.com so that might be the problem. But for now it seems that Central can't be installed, which leaves me in a bind. Anyone have any news or ideas? Thanks, Derek Stottlemyer http://www.guitar-learning.com SMART software for smart musicians ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Iterate through instance methods
Hi, How do i iterate through the public methods of an instanceusing a for in seems to result in nothing ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] retrieving names of external files in a folder (or is there something similar to Directors getNthFileNameInFolder())
Hi gang, I´m slowly finding the pros (can admit there are some =) and cons of Flash I´m lookning for a method similar to Directors getNthFileInFolder(). Atm, i´m using a dirty solution, SendAndLoad(myFiles.php, myObj, POST) with a PHP file returning a variable containing the files in that folder. Works well enough for the web but it feels like overkill for a standalone player, or? Is there a simpler way to do this? /Micke ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Focus Highlight with Components
change these properties datagrid.rollOverColor = yourBackgroundColor; datagrid.textRollOverColor = yourTextColor; datagrid inherits from the List -- check out setting styles in the help. From: [EMAIL PROTECTED] on behalf of John Giotta Sent: Tue 5/2/2006 4:55 PM To: Flashcoders mailing list Subject: [Flashcoders] Focus Highlight with Components Is there a way to remove the Focus highlight color on the Datagrid? No matter what I've tried I still get a green focus color. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] destructors...
has anyone got a good way for an as2 class to destroy itself? I know it's not possible, but my heart tells me someone has devised some kind of good methodology. - A ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] destructors...
Hi Andreas, To turn it on its head... What are you trying to achieve? In what circumstances do you need to destroy a class? Ian On 5/3/06, Andreas Rønning [EMAIL PROTECTED] wrote: has anyone got a good way for an as2 class to destroy itself? I know it's not possible, but my heart tells me someone has devised some kind of good methodology. - A ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] MM / Adobe Central unavailable?
Yeah, I had, have the same problem, but I have this problem since three days =( I hope that it is only a server problem, maybe they are changing the servers or something like that! But if it doesn't work in some weeks, I'll delet my Central applications =( Johannes Derek Stottlemyer schrieb: Hello everyone, I can no longer install Central from Adobe's website, and Central is no longer listed on the products page. Does anyone know if this will be fixed? Or has the public beta ended? ;-) My customers and I just get a can't download, try again later message. http://www.adobe.com/products/central/ I know Central was hardwired to www.macromedia.com , which is now routed to www.adobe.com so that might be the problem. But for now it seems that Central can't be installed, which leaves me in a bind. Anyone have any news or ideas? Thanks, Derek Stottlemyer http://www.guitar-learning.com SMART software for smart musicians ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] destructors...
Kind of besides the point really. The real point is, in my humble opinion, that it should be possible to do it without myClass.cleanup(); delete(myClass); It becomes double naughty if your class instance is in an array. It's just a question of keeping the amount of fluff down to a minimum. This is not a critical problem. I am merely asking for people's methodologies in self destroying classes. - A Ian Thomas wrote: Hi Andreas, To turn it on its head... What are you trying to achieve? In what circumstances do you need to destroy a class? Ian On 5/3/06, Andreas Rønning [EMAIL PROTECTED] wrote: has anyone got a good way for an as2 class to destroy itself? I know it's not possible, but my heart tells me someone has devised some kind of good methodology. - A ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- - Andreas Rønning --- Flash guy Rayon Visual Concepts, Oslo, Norway --- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Taking a screenshot from a FLVPlayback compon entusing AS
It works like a charm. Is there any way to save this bitmapdata to disk, as a JPEG or something? thanks! -Original Message- From: Mike Mountain [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 03, 2006 12:16 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Taking a screenshot from a FLVPlayback componentusing AS Sorry, my mistake you don't actually need copyPixels if you're copying from an MC, you can just use draw - something like this may help: [as] import flash.display.BitmapData; import flash.geom.Rectangle; import flash.geom.Matrix; import flash.geom.ColorTransform; // cloneMC = function (mc, hld, xpos, ypos, lvl) { var bitmapData_1:BitmapData = new BitmapData(mc._width, mc._height, false, 0x); // var myMatrix:Matrix = new Matrix(); //myMatrix.scale(4,1); var myColorTransform:ColorTransform = new ColorTransform(.8, 1.2, 0.2, 0.4, 0, 0, 0, 0) var blendMode:String = normal; var myRectangle:Rectangle = new Rectangle(0, 0, 100, 80); var smooth:Boolean = true; // bitmapData_1.draw(mc, myMatrix, myColorTransform, blendMode, null, smooth); var holder:MovieClip = this.createEmptyMovieClip(hld, this.getNextHighestDepth()); holder.attachBitmap(bitmapData_1, lvl); holder._x = xpos; holder._y = ypos; }; //cloneMC(test_mc, holder, 300, 200, 1); [/as] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bart Zonneveld Sent: 03 May 2006 11:04 To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Taking a screenshot from a FLVPlayback componentusing AS Exactly what I was looking for. However, how can I get to the bitmap data of my FLVPlayback component? thanks! -Original Message- From: Mike Mountain [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 03, 2006 11:57 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Taking a screenshot from a FLVPlayback componentusing AS It's possible in Flash 8 using copyPixels (BitmapData.copyPixels method) http://livedocs.macromedia.com/flash/8/main/1948.html Hth ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] destructors...
When using classes that extend from MovieClip, you can use onUnload(). I use it primairaly for removing EventListeners so I won't get stuck with duplicate eventcalls. When you want to delete a class all you really have to do is remove all instances and references from that class. I don't think there's an automated process for that since these may be scattered around in other classes all over your application, but building a destroy method (onUnload) in your classes by default seems to be a good way.. 2006/5/3, Andreas Rønning [EMAIL PROTECTED]: Kind of besides the point really. The real point is, in my humble opinion, that it should be possible to do it without myClass.cleanup(); delete(myClass); It becomes double naughty if your class instance is in an array. It's just a question of keeping the amount of fluff down to a minimum. This is not a critical problem. I am merely asking for people's methodologies in self destroying classes. - A Ian Thomas wrote: Hi Andreas, To turn it on its head... What are you trying to achieve? In what circumstances do you need to destroy a class? Ian On 5/3/06, Andreas Rønning [EMAIL PROTECTED] wrote: has anyone got a good way for an as2 class to destroy itself? I know it's not possible, but my heart tells me someone has devised some kind of good methodology. - A ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- - Andreas Rønning --- Flash guy Rayon Visual Concepts, Oslo, Norway --- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] destructors...
Um - I'm not sure it is beside the point. :-) Given that you are at the mercy of the garbage collector, implementing a function like: class MyClass { function cleanup() { delete _someProp; delete _someOtherProp; } } is pointless anyway, because if you delete an object of MyClass (or rather _mark_ it for deletion by calling delete() - that's all delete() does, and only then if there are no other references to the class) then its properties are automatically marked for deletion. Again, unless there are any other references. The only time I've had to worry about destructors in a garbage-collected language (such as Flash) is when dealing with connections to resources - for example, connections to databases, or closing open socket streams, or releasing handles to video memory buffers, that sort of thing. Those sort of things should be pretty rare in Flash... which is why I asked what you're trying to achieve, because in most cases you can find a way around it. If you are dealing with some sort of resource that you want to make sure shuts down properly when no-one is referring to it, one method is to explicitly request/release access to the resource and implement reference counting. For example, here's a singleton resource class: class MyResource { private static var _refCount:Number=0; private static var _instance:MyResource; public function MyResource() { } public static function getResource():MyResource { if (_refCount==0) { _instance=new MyResource(); } _refCount++; return _instance; } public static function freeResource() { _refCount--; if (refCount==0) { _instance.doCleanup(); _instance=null; // You could do delete here if you really wanted to. } } } and then access it like so: var res:MyResource=MyResource.getResource(); and when you're done MyResource.freeResource(); But that's really long-winded, and breaks as soon as someone does this: var res:MyResource=MyResource.getResource(); var res2:MyResource=res; // Took a copy MyResource.freeResource(); res2.doSomething() // Breaks, because doCleanup() will have been called. This sort of thing used to crop up quite a lot in C++; which is why smart pointers and the like were invented. I can't think of too many situations where you might need that sort of thing in Flash; which is why I asked what you were trying to achieve... Ian On 5/3/06, Andreas Rønning [EMAIL PROTECTED] wrote: Kind of besides the point really. The real point is, in my humble opinion, that it should be possible to do it without myClass.cleanup(); delete(myClass); It becomes double naughty if your class instance is in an array. It's just a question of keeping the amount of fluff down to a minimum. This is not a critical problem. I am merely asking for people's methodologies in self destroying classes. - A ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 3.0 Cheatsheets!!
Hey this is great! If you want it converted to a PDF file I can do that over here and get it back to you. Mani On 5/2/06, thotskee [EMAIL PROTECTED] wrote: I will try to get these converted to vector files soon. Thanks for the feedback!!! - Original Message - From: Merrill, Jason [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Tuesday, May 02, 2006 8:38 AM Subject: RE: [Flashcoders] ActionScript 3.0 Cheatsheets!! jet printer. Could you post a pdf or a higher res image? Thanks, Vector flavor flav if you have that - that would be great. Thanks, Jason Merrill | E-Learning Solutions | ICF International -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of judah Sent: Tuesday, May 02, 2006 5:54 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] ActionScript 3.0 Cheatsheets!! Hi thotskee, Thanks for making this. It is not printing out very well on my ribbon jet printer. Could you post a pdf or a higher res image? Thanks, Judah thotskee wrote: Flashcoders, The ActionScript 3.0 cheatsheet family has been born. There will be additional sheets created in the (hopefully) near future so be sure to come back to the blog in the next few weeks. For now you can download the first three AS3.0 cheatsheets here: AS3.0 Top Level Classes AS3.0 Packages AS3.0 flash.display Classes http://actionscriptcheatsheet.com/blog/ As always suggestions and creative criticism are very welcome... I got flamed for posting the AS2 Cheatsheet and I think once is enough. If you hate these sheets please just keep it to yourself :) - thotskee ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Always bear in mind that your own resolution to succeed is more important than any one thing. You can have anything you want - if you want it badly enough. You can be anything you want to be, do anything you set out to accomplish if you hold to that desire with singleness of purpose. - Abraham Lincoln ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] FLVPlayback Component - button bar
I am now centering smaller FLVs in the main component when needed, however in doing so sometimes the nav button bar moves up off the bottom area, is too narrow, etc. I am looking to move that bar of buttons around... making sure it stays positioned @ the bottom of the component (I am using the auto-hide), and is wide enough to span the width of the component. I can't seem to find a way to reference that mc/mcs to be able to resize them/position as needed. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] retrieving names of external files in a folder (or is there something similar to Directors getNthFileNameInFolder())
I made a very basic directory scraper class way back. I use this with AMFPHP. http://www.randomusa.com/flash/downloads/directoryScraper.zip hth, Mike On 5/3/06, Mikael Wirén [EMAIL PROTECTED] wrote: Hi gang, I´m slowly finding the pros (can admit there are some =) and cons of Flash I´m lookning for a method similar to Directors getNthFileInFolder(). Atm, i´m using a dirty solution, SendAndLoad(myFiles.php, myObj, POST) with a PHP file returning a variable containing the files in that folder. Works well enough for the web but it feels like overkill for a standalone player, or? Is there a simpler way to do this? /Micke ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Mike -- http://www.mikebritton.com http://www.mikenkim.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] retrieving names of external files in a folder (oris there something similar to Directors getNthFileNameInFolder())
Well there's no way to access local files, that's been a security issue for a long time now. You can however use any of the flash wrappers around and they will provide you with the functionality. Some of them are free some aren't. But they all support what you're looking for. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Britton Sent: quarta-feira, 3 de Maio de 2006 14:32 To: Flashcoders mailing list Subject: Re: [Flashcoders] retrieving names of external files in a folder (oris there something similar to Directors getNthFileNameInFolder()) I made a very basic directory scraper class way back. I use this with AMFPHP. http://www.randomusa.com/flash/downloads/directoryScraper.zip hth, Mike On 5/3/06, Mikael Wirén [EMAIL PROTECTED] wrote: Hi gang, I´m slowly finding the pros (can admit there are some =) and cons of Flash I´m lookning for a method similar to Directors getNthFileInFolder(). Atm, i´m using a dirty solution, SendAndLoad(myFiles.php, myObj, POST) with a PHP file returning a variable containing the files in that folder. Works well enough for the web but it feels like overkill for a standalone player, or? Is there a simpler way to do this? /Micke ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Mike -- http://www.mikebritton.com http://www.mikenkim.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] Can this be true?
If you think about how it works having a sound set to stream on the timeline so that animations can be synched tightly, you'll understand how this 'trick' works - the player needs to maintain framerate so that the audio track and graphical tracks don't lose synch and the audio streams smoothly. This is really nice hack. BTW, I assume that sound should run all time in order to skip some frames if needed. Best. --- erixtekila http://blog.v-i-a.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
Re: [Flashcoders] retrieving names of external files in a folder (oris there something similar to Directors getNthFileNameInFolder())
Die machen... mit Die machen... meinte ich Alprausch. Alprausch macht Pullis, Carharrtt macht Plastiksäcke aber ganz angenehm zum Rumlaufen. /v Pedro Furtado schrieb: Well there's no way to access local files, that's been a security issue for a long time now. You can however use any of the flash wrappers around and they will provide you with the functionality. Some of them are free some aren't. But they all support what you're looking for. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Britton Sent: quarta-feira, 3 de Maio de 2006 14:32 To: Flashcoders mailing list Subject: Re: [Flashcoders] retrieving names of external files in a folder (oris there something similar to Directors getNthFileNameInFolder()) I made a very basic directory scraper class way back. I use this with AMFPHP. http://www.randomusa.com/flash/downloads/directoryScraper.zip hth, Mike On 5/3/06, Mikael Wirén [EMAIL PROTECTED] wrote: Hi gang, I´m slowly finding the pros (can admit there are some =) and cons of Flash I´m lookning for a method similar to Directors getNthFileInFolder(). Atm, i´m using a dirty solution, SendAndLoad(myFiles.php, myObj, POST) with a PHP file returning a variable containing the files in that folder. Works well enough for the web but it feels like overkill for a standalone player, or? Is there a simpler way to do this? /Micke ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Mike -- http://www.mikebritton.com http://www.mikenkim.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] oops
Just ignore the last one... [complete fsck**] .. ;D) /v ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Q:Convolution filter and Zoom blur effect
Hi Anyone been able to use the convolution filter to create realistic motion blur effects? Jim bachalo [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Q:Flash 8 and memory leaks
Hi I built a quick demo recently thats crashing my Firefox browser...:) www.bitstream.ca/flash8/ Is anyone aware of any memory leak issues as they pertain to flash 8? Is this a coding issue or simply a player/plugin issue? Any help appreciated! Jim Bachalo [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Q:del.icio.us API
Hi Has anyone incorporated the del.icio.us API or similar social bookmarking feature into any of their projects? Just looking for examples and ideas at the moment and what is/isn't possible. Thanks in advance Jim Bachalo [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Flash online vector paint editor app?
Anyone know of a pre rolled flash (as in runs online as a swf - not exports to swf) vector editor/text editor paint app that exports to XML or the like. We'll happily build our own if not but it sounds like one of those things that someone must've already done a million times over. Our only real requirement is it must support text. Ta 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] Q:Flash 8 and memory leaks
My first guess is that it's a coding issue. I ran the movie a few times, and I didn't have any trouble till I clicked the shapshot button. Every time I clicked that button, Firefox crashed immediately. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, May 03, 2006 10:28 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Q:Flash 8 and memory leaks Hi I built a quick demo recently thats crashing my Firefox browser...:) www.bitstream.ca/flash8/ Is anyone aware of any memory leak issues as they pertain to flash 8? Is this a coding issue or simply a player/plugin issue? Any help appreciated! Jim Bachalo [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] ' and from xml weirdness
Hello, I have saved my xml file as Unicode and UTF. I get the same results. All the characters I tried so far work just fine (TM, Latin characters, #10; for new line) no problems. But when trying to use ' or , flash displays either a square box, apos; or quot; I have tried the character itself, #34; or #39; same thing. Does anyone have any idea what I am doing wrong? Thanks a lot! Moca MocaLoca Digital Media Artist --- VoIP: (305) 9267775 Sydney Mobile: (61) 0415.716.396 Home Office: (61) 02 9810.9351 U.S. Fax: (786) 513.3714 http://www.mocaloca.com/ www.mocaloca.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] Accessibility
Sure. Best place to start: http://adobe.com/resources/accessibility/best_practices/best_practices_acc_flash.pdf AWK From: [EMAIL PROTECTED] on behalf of kariminal Sent: Wed 5/3/2006 6:33 AM To: 'Flashcoders mailing list' Subject: [Flashcoders] Accessibility Hello !!! Just wondering if anyone has experience on making movies accessible to screen readers? Kind thanks Karim ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 online vector paint editor app?
http://www.figleaf.com/products/wysidraw.cfm Jason Merrill | E-Learning Solutions | ICF International -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Mike Mountain Sent: Wednesday, May 03, 2006 10:39 AM To: Flashcoders mailing list Subject: [Flashcoders] Flash online vector paint editor app? Anyone know of a pre rolled flash (as in runs online as a swf - not exports to swf) vector editor/text editor paint app that exports to XML or the like. We'll happily build our own if not but it sounds like one of those things that someone must've already done a million times over. Our only real requirement is it must support text. Ta 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] Q:Flash 8 and memory leaks
It crashes IE too - there is an issue concerning bitmap data that you need to dispose of an instance if you are creatin it as a var within a function it will live beyond the scope of the function so to speak. M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 03 May 2006 15:28 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Q:Flash 8 and memory leaks Hi I built a quick demo recently thats crashing my Firefox browser...:) www.bitstream.ca/flash8/ Is anyone aware of any memory leak issues as they pertain to flash 8? Is this a coding issue or simply a player/plugin issue? Any help appreciated! Jim Bachalo [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Q:Flash 8 and memory leaks
There is a memory leak concerning BitMapData in Flash 8. Didn't try your app, but the word snapshot makes me think you might be using this. Although I don't think it was a big enough leak to crash the browswer immediately. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Robson Sent: Wednesday, May 03, 2006 10:40 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Q:Flash 8 and memory leaks My first guess is that it's a coding issue. I ran the movie a few times, and I didn't have any trouble till I clicked the shapshot button. Every time I clicked that button, Firefox crashed immediately. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, May 03, 2006 10:28 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Q:Flash 8 and memory leaks Hi I built a quick demo recently thats crashing my Firefox browser...:) www.bitstream.ca/flash8/ Is anyone aware of any memory leak issues as they pertain to flash 8? Is this a coding issue or simply a player/plugin issue? Any help appreciated! Jim Bachalo [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 online vector paint editor app?
Right under my nose so to speak - will check it out. Ta M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: 03 May 2006 15:47 To: Flashcoders mailing list Subject: RE: [Flashcoders] Flash online vector paint editor app? http://www.figleaf.com/products/wysidraw.cfm Jason Merrill | E-Learning Solutions | ICF International -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Mike Mountain Sent: Wednesday, May 03, 2006 10:39 AM To: Flashcoders mailing list Subject: [Flashcoders] Flash online vector paint editor app? Anyone know of a pre rolled flash (as in runs online as a swf - not exports to swf) vector editor/text editor paint app that exports to XML or the like. We'll happily build our own if not but it sounds like one of those things that someone must've already done a million times over. Our only real requirement is it must support text. Ta 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 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Focus Highlight with Components
datagrid.rollOverColor = yourBackgroundColor; datagrid.textRollOverColor = yourTextColor; I want to get rid of the light green glow around the Datagrid when ever the ScrollBar is focused. Not the row roll over. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] red5 recording viedo streams
you should be good to go! On 5/1/06, Yehia Shouman [EMAIL PROTECTED] wrote: Applied and awaiting authorization Thanks Jim and John. Yehia Shouman On 5/2/06, jim [EMAIL PROTECTED] wrote: Sorry, should have put that on, http://osflash.org/mailman/listinfo/red5_osflash.org HTH Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yehia Shouman Sent: 01 May 2006 18:55 To: Flashcoders mailing list Subject: Re: [Flashcoders] red5 recording viedo streams Sorry, but what's the address of the red5 mailing list ? Also can anyone point me to a tutorial that can help me with the following: I need to be able to send a command from a broadcasting client to all the subscriber clients so that there would be a nice switch case at the subscribers clients that would handle these commands ? commands like sendFocus, close ... etc Yehia On 5/1/06, jim [EMAIL PROTECTED] wrote: Try the red5 mailing list www.osflash.org/red5 Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 01 May 2006 17:35 To: 'Flashcoders mailing list' Subject: [Flashcoders] red5 recording viedo streams can anyone point me in the direction of being able to record video streams with red5. It says on osflash that you can. just looking for a direction to go. or maybe an example or tutorial or something. without having to read all of the docs on it. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 -- John Grden - Blitz ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 online vector paint editor app?
Having seen the price and checked out the capabilities I think I'll build my own! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Mountain Sent: 03 May 2006 16:00 To: Flashcoders mailing list Subject: RE: [Flashcoders] Flash online vector paint editor app? Right under my nose so to speak - will check it out. Ta 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 online vector paint editor app?
There are others out there too for cheaper - just don't know any of those links offhand. Jason Merrill | E-Learning Solutions | ICF International -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Mike Mountain Sent: Wednesday, May 03, 2006 11:09 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Flash online vector paint editor app? Having seen the price and checked out the capabilities I think I'll build my own! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Mountain Sent: 03 May 2006 16:00 To: Flashcoders mailing list Subject: RE: [Flashcoders] Flash online vector paint editor app? Right under my nose so to speak - will check it out. Ta 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 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] FLVPlayback Component - button bar
Hi Eric, It is unfortunate that the API does not expose these elements. But here is an example Movieclip reference to the play/pause button .. MovieClip(player).skin_mc.layout_mc.playpause_mc I think you can figure out the rest based on that, but if not, just let me know. -Steve ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] FLVPlayback Component - button bar
So which is the alpha'd slice-9 mc that lies beneath all the buttons, etc. I'm guessing player.skin_mc.layout_mc - I'll have to check. Thanks :) On 5/3/06, Steve Krichten [EMAIL PROTECTED] wrote: Hi Eric, It is unfortunate that the API does not expose these elements. But here is an example Movieclip reference to the play/pause button .. MovieClip(player).skin_mc.layout_mc.playpause_mc I think you can figure out the rest based on that, but if not, just let me know. -Steve ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] FLVPlayback Component - button bar
I see some public getter/setters for bufferingBar, backButton, forwardButton, muteButton, pauseButton, seekBar, etc. All these extend MovieClip, so they have _x and _y. Is that what you're after? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eric dolecki Sent: Wednesday, May 03, 2006 9:15 AM To: Flashcoders mailing list Subject: [Flashcoders] FLVPlayback Component - button bar I am now centering smaller FLVs in the main component when needed, however in doing so sometimes the nav button bar moves up off the bottom area, is too narrow, etc. I am looking to move that bar of buttons around... making sure it stays positioned @ the bottom of the component (I am using the auto-hide), and is wide enough to span the width of the component. I can't seem to find a way to reference that mc/mcs to be able to resize them/position as needed. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Q:del.icio.us API
The API is under development and it requires authentication. I looked into it and it's pretty simple: http://del.icio.us/api/posts/get?tag=humor ...returns an XML object like this: posts dt=2006-05-03 tag=humor user= post href= description= hash= others=2 tag=humor time=2006-05-03T15:14:14Z/ /posts Pretty easy to consume with Flash, but I'm not sure how to 1) authenticate and 2) prevent being banned because of having a weird user-agent. hth Mike On 5/3/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Has anyone incorporated the del.icio.us API or similar social bookmarking feature into any of their projects? Just looking for examples and ideas at the moment and what is/isn't possible. Thanks in advance Jim Bachalo [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Mike -- http://www.mikebritton.com http://www.mikenkim.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] FLVPlayback Component - button bar
Im actually after the clip that holds all the buttons displayed. So I can move that around, instead of each button on its own, etc. Also I need to stretch the semi-transparent clip below all the buttons at times - or at least set its width and have the buttons lay themselves out again. On 5/3/06, Tom Lee [EMAIL PROTECTED] wrote: I see some public getter/setters for bufferingBar, backButton, forwardButton, muteButton, pauseButton, seekBar, etc. All these extend MovieClip, so they have _x and _y. Is that what you're after? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eric dolecki Sent: Wednesday, May 03, 2006 9:15 AM To: Flashcoders mailing list Subject: [Flashcoders] FLVPlayback Component - button bar I am now centering smaller FLVs in the main component when needed, however in doing so sometimes the nav button bar moves up off the bottom area, is too narrow, etc. I am looking to move that bar of buttons around... making sure it stays positioned @ the bottom of the component (I am using the auto-hide), and is wide enough to span the width of the component. I can't seem to find a way to reference that mc/mcs to be able to resize them/position as needed. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] FLVPlayback Component - button bar
That would be... MovieClip(player).skin_mc.layout_mc.bg1_mc Eric wrote So which is the alpha'd slice-9 mc that lies beneath all the buttons, etc. I'm guessing player.skin_mc.layout_mc - I'll have to check. 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] SWF, IFrame and z-order
I all!!! Here is my little problem : I have an html page that contains, on the left side a list of SWF files and on the right side an iframe to play those SWF. When I click a file on the left, it plays inside the iframe just fine... My client wants to see some informations inside a box on top of the page (centered so that a portion of the list and iframe gets blocked). I can give any z-index number to that info box and the iframe, the flash inside the iframe is always on top If I change the flash for a jpg or text, my info box is on top of everything! Is there a known issue when using SWF inside iframe and z-indez.. :'( I cannot change the source code of that page (I have to keep the iframe and it is used by other projects) but I can manage to include modifications Thanks a million! -- === Éric Thibault Programmeur analyste Réseau de valorisation de l'enseignement Université Laval, pavillon Félix-Antoine Savard Québec, Canada Tel.: 656-2131 poste 18015 Courriel : [EMAIL PROTECTED] === Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de confidencialidad http://www.rec.ulaval.ca/lce/securite/confidentialite.htm ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] FLVPlayback Component - button bar
I believe that's all handled by the UIManager (private var _uiMgr), so you're probably going to have to roll your own solution for that. The UIManager listens for the resize event of the FLVPlayback and calls the layoutSkin method when it gets one. You could override the layoutSkin method with your own logic. If you hack the FLVPlayback class and make _uiMgr public, you could then override _uiMgr.layoutSkin with your own logic. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eric dolecki Sent: Wednesday, May 03, 2006 11:30 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] FLVPlayback Component - button bar Im actually after the clip that holds all the buttons displayed. So I can move that around, instead of each button on its own, etc. Also I need to stretch the semi-transparent clip below all the buttons at times - or at least set its width and have the buttons lay themselves out again. On 5/3/06, Tom Lee [EMAIL PROTECTED] wrote: I see some public getter/setters for bufferingBar, backButton, forwardButton, muteButton, pauseButton, seekBar, etc. All these extend MovieClip, so they have _x and _y. Is that what you're after? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eric dolecki Sent: Wednesday, May 03, 2006 9:15 AM To: Flashcoders mailing list Subject: [Flashcoders] FLVPlayback Component - button bar I am now centering smaller FLVs in the main component when needed, however in doing so sometimes the nav button bar moves up off the bottom area, is too narrow, etc. I am looking to move that bar of buttons around... making sure it stays positioned @ the bottom of the component (I am using the auto-hide), and is wide enough to span the width of the component. I can't seem to find a way to reference that mc/mcs to be able to resize them/position as needed. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Q:Convolution filter and Zoom blur effect
On May 3, 2006, at 10:14 AM, [EMAIL PROTECTED] wrote: Hi Anyone been able to use the convolution filter to create realistic motion blur effects? I do not believe a convolution operation cannot perform a zoom and spin blur alone. Those need to be performed separately on every single pixel in an image. You can get a similar result from transforming the bitmap using a transformation matrix that's offset from the center of the zoom or spin, rotating or scaling the copied bitmap and overlaying the pixels onto the original. Motion blur can be done to an extent. The problem that you will find is that it doesn't work for fast curved motion. Slower curved motion it works fine. The code below is what I posted on my now-defunct site shiftedPixels. It's a simplified method to do motion blur by using sampled locations and linearly interpolating filter-applied copies of the source. A better choice would be to use a spline-based sampling system on your object and motion blur along points of the spline using a surve or slerp method. Of course, doing so will be much slower due to point- on-curve routines. cheers, Jon // // Temporal Anti-aliasing (motion blur) // jon bradley, 2005 // // Create a movie clip on your stage named src. // Copy the following code in the first frame. // Set the frame rate of your file high, like 120. // import flash.display.BitmapData; import flash.filters.*; import flash.geom.*; _quality = medium; src.startDrag(true); Mouse.hide(); src._visible = false; // set up the filters: colorM = new ColorMatrixFilter ([1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0.4,0]); blurFilter = new BlurFilter(5, 5, 1); src.cacheAsBitmap = true; var blurImg:BitmapData = new BitmapData(550, 400, true, 0xFF); blurImg.transparent = false; var blurClip:MovieClip = createEmptyMovieClip(blurClip, 99947); blurClip.attachBitmap(blurImg, 0); blurClip.cacheAsBitmap = true; var rect = new flash.geom.Rectangle(0,0,Stage.width, Stage.height); var pt = new flash.geom.Point(0,0); // Linear interpolation to get points between object position points // A more accurate choice would be to use spline interpolation based on // a motion path of the object - of course this will run much slower. function lerp(t,a,b) { return a+t*(b-a); } var x = _xmouse; var y = _ymouse; function updateBlur() { var m = src.transform.matrix; var xa = _xmouse; var dx = Math.sqrt(Math.abs(xa*xa - x*x)); var ya = _ymouse; var dy = Math.sqrt(Math.abs(ya*ya - y*y)); blurFilter.blurX = dx/20; blurFilter.blurY = dy/20; var i = 15; var t = 1/i; while (i--) { m.tx = lerp( (i+1)*t, xa, x); m.ty = lerp( (i+1)*t, ya, y); blurImg.draw(src,m); } blurImg.applyFilter(blurImg, rect, pt, colorM); blurImg.draw(src,m); blurImg.applyFilter(blurImg, rect, pt, blurFilter); x = _xmouse; y = _ymouse; } // Pprocessor intensive - stick with onEnterFrame // blurInterval = setInterval(updateBlur,0); onEnterFrame = function() { src._x = _xmouse; src._y = _ymouse; updateBlur(); } // END CODE ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] SWF, IFrame and z-order
try setting the wmode pararmeter on the swf file to 'opaque' that might work. On May 3, 2006, at 12:01 PM, Éric Thibault wrote: I all!!! Here is my little problem : I have an html page that contains, on the left side a list of SWF files and on the right side an iframe to play those SWF. When I click a file on the left, it plays inside the iframe just fine... My client wants to see some informations inside a box on top of the page (centered so that a portion of the list and iframe gets blocked). I can give any z- index number to that info box and the iframe, the flash inside the iframe is always on top If I change the flash for a jpg or text, my info box is on top of everything! Is there a known issue when using SWF inside iframe and z- indez.. :'( I cannot change the source code of that page (I have to keep the iframe and it is used by other projects) but I can manage to include modifications Thanks a million! -- === Éric Thibault Programmeur analyste Réseau de valorisation de l'enseignement Université Laval, pavillon Félix-Antoine Savard Québec, Canada Tel.: 656-2131 poste 18015 Courriel : [EMAIL PROTECTED] === Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de confidencialidad http://www.rec.ulaval.ca/lce/ securite/confidentialite.htm ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Taking a screenshot from a FLVPlayback compon entusing AS
You may send data to some server side script, but currently in FP8 it is not really efficient due to the size of data sent over wire. There is an interesting example from Alessandro Crugnola - http://sephiroth.it/tutorials/flashPHP/print_screen/ Cheers, Oleg ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Re: Iterate through instance methods
I'm assuming the reason is due to the method existing further up the prototype chain, but even so, is there really no way to discover what (public) methods an instance supports?? On 5/3/06, Keith Salisbury [EMAIL PROTECTED] wrote: Hi, How do i iterate through the public methods of an instanceusing a for in seems to result in nothing -- [EMAIL PROTECTED] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] SWF, IFrame and z-order
I have only one thing to say fabulous Thanks a million times :-) Geoff Stearns a écrit : try setting the wmode pararmeter on the swf file to 'opaque' that might work. On May 3, 2006, at 12:01 PM, Éric Thibault wrote: I all!!! Here is my little problem : I have an html page that contains, on the left side a list of SWF files and on the right side an iframe to play those SWF. When I click a file on the left, it plays inside the iframe just fine... My client wants to see some informations inside a box on top of the page (centered so that a portion of the list and iframe gets blocked). I can give any z-index number to that info box and the iframe, the flash inside the iframe is always on top If I change the flash for a jpg or text, my info box is on top of everything! Is there a known issue when using SWF inside iframe and z-indez.. :'( I cannot change the source code of that page (I have to keep the iframe and it is used by other projects) but I can manage to include modifications Thanks a million! --=== Éric Thibault Programmeur analyste Réseau de valorisation de l'enseignement Université Laval, pavillon Félix-Antoine Savard Québec, Canada Tel.: 656-2131 poste 18015 Courriel : [EMAIL PROTECTED] === Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de confidencialidad http://www.rec.ulaval.ca/lce/securite/confidentialite.htm ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 -- === Éric Thibault Programmeur analyste Réseau de valorisation de l'enseignement Université Laval, pavillon Félix-Antoine Savard Québec, Canada Tel.: 656-2131 poste 18015 Courriel : [EMAIL PROTECTED] === Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de confidencialidad http://www.rec.ulaval.ca/lce/securite/confidentialite.htm ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Q:del.icio.us API
I am in the process of building an ActionScript 3 library to wrap this. Every API should work, although: 1. You have to handle HTTP Basic authentication, either via the browser (automatic) or ActionScript. 2. they currently don't have a crossdomain.xml file, so you have to go through a proxy. mike chambers [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Has anyone incorporated the del.icio.us API or similar social bookmarking feature into any of their projects? Just looking for examples and ideas at the moment and what is/isn't possible. Thanks in advance Jim Bachalo [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] LoadVars problems
Hi, i have a perl cgi that pass variables to a flash movie. Usually i use c++ but this time i need to use perl, so... Tha problem is that when i run onLoad method it loads but i'm unable to take variables values. So i tried the LoadVars.toString method and it return [type Function] ... what means? Thanks,Riccardo ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Q:del.icio.us API
This may be a dumb question, but how would HTTP basic authentication be handled through AS2? Wouldn't it have to go through some kind of server-side proxy? Mike Britton On 5/3/06, Mike Chambers [EMAIL PROTECTED] wrote: I am in the process of building an ActionScript 3 library to wrap this. Every API should work, although: 1. You have to handle HTTP Basic authentication, either via the browser (automatic) or ActionScript. 2. they currently don't have a crossdomain.xml file, so you have to go through a proxy. mike chambers [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Has anyone incorporated the del.icio.us API or similar social bookmarking feature into any of their projects? Just looking for examples and ideas at the moment and what is/isn't possible. Thanks in advance Jim Bachalo [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Mike -- http://www.mikebritton.com http://www.mikenkim.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] Easing Dynamic Text
Anyone have any links to easing dynamic text? Ive searched google high and low with no luck. Thanks! Boots ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Easing Dynamic Text
mc_tween2 does that On 5/3/06, Mike Boutin [EMAIL PROTECTED] wrote: Anyone have any links to easing dynamic text? Ive searched google high and low with no luck. Thanks! Boots ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Re: Iterate through instance methods
What kind of object are you trying to introspect? A movieclip? Which language are you working with? In ActionScript 3, for...in will only enumerate dynamic properties of an object. You will need to use describeType for static properties and methods. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Keith Salisbury Sent: Wednesday, May 03, 2006 12:25 PM To: Flashcoders mailing list Subject: [Flashcoders] Re: Iterate through instance methods I'm assuming the reason is due to the method existing further up the prototype chain, but even so, is there really no way to discover what (public) methods an instance supports?? On 5/3/06, Keith Salisbury [EMAIL PROTECTED] wrote: Hi, How do i iterate through the public methods of an instanceusing a for in seems to result in nothing -- [EMAIL PROTECTED] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Q:Convolution filter and Zoom blur effect
Since I didn't post a solution for zoom or spin blur, here's a method you can try out. A way to account for zoom or spin blur is to do the following: Perform a polar transform on the bitmap. Horizontal blur (or vertical blur) the transformed image Reverse polar transform Result is a spin blur (or zoom blur if vertical blur is used) The problem there is that a polar transformation on a bitmap requires a loop over every pixel. No bueno for real-time effects. cheers, Jon ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] LoadVars problems
Can you post some actual code? It sounds like either you are executing toString on the LoadVars function itself rather than an instantiated LoadVars object, or you have forgotten the parentheses: 'LoadVars.toString()' instead of 'LoadVars.toString'. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, May 03, 2006 12:54 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] LoadVars problems Hi, i have a perl cgi that pass variables to a flash movie. Usually i use c++ but this time i need to use perl, so... Tha problem is that when i run onLoad method it loads but i'm unable to take variables values. So i tried the LoadVars.toString method and it return [type Function] ... what means? Thanks,Riccardo ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] LoadVars problems
Hi Riccardo ! your cgi must return you variables in the form of: var1=data of var1var2=data of var 2 and in flash in the onLoad method you use my_lv.onLoad = function(success){ if(success){ trace(this.var1); // this is the var name you defined in your cgi trace(this.var2); } } Rodrigo On 5/3/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, i have a perl cgi that pass variables to a flash movie. Usually i use c++ but this time i need to use perl, so... Tha problem is that when i run onLoad method it loads but i'm unable to take variables values. So i tried the LoadVars.toString method and it return [type Function] ... what means? Thanks,Riccardo ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Easing Dynamic Text
Do you know of any tutorials that explain the logic behind easing dynamic text? I understand that a tween class would/could be used but looking for more of how its done. Boots eric dolecki wrote: mc_tween2 does that On 5/3/06, Mike Boutin [EMAIL PROTECTED] wrote: Anyone have any links to easing dynamic text? Ive searched google high and low with no luck. Thanks! Boots ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] LoadVars problems
Here is the code : list_lv.onLoad=function(success:Boolean) { if(success) { //test is the var associated to a text area test = list_lv.contentType+ +list_lv.toString; } } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] LoadVars problems
I did it, ialways do it with c++ and it works but in perl it doesn't... but if in the perl script i simply do print var1=1var2=2var3=3 flash reads them. So i thinks is something passed to flash from perl when it dinamicalli create the string and i'm trying to get more informations using LoadVars.toString method... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] LoadVars problems
toString is a method, not a property. Try list_lv.toString(); instead. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, May 03, 2006 1:13 PM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] LoadVars problems Here is the code : list_lv.onLoad=function(success:Boolean) { if(success) { //test is the var associated to a text area test = list_lv.contentType+ +list_lv.toString; } } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] LoadVars problems
Thanks , now it works... Now i only need to understand what's appening here ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Q:del.icio.us API
It probably is a dumb question, but what do you exactly mean by 'HTTP basic authentication'??? :) Jason -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Mike Britton Sent: Wednesday, May 03, 2006 12:55 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Q:del.icio.us API This may be a dumb question, but how would HTTP basic authentication be handled through AS2? Wouldn't it have to go through some kind of server-side proxy? Mike Britton On 5/3/06, Mike Chambers [EMAIL PROTECTED] wrote: I am in the process of building an ActionScript 3 library to wrap this. Every API should work, although: 1. You have to handle HTTP Basic authentication, either via the browser (automatic) or ActionScript. 2. they currently don't have a crossdomain.xml file, so you have to go through a proxy. mike chambers [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Has anyone incorporated the del.icio.us API or similar social bookmarking feature into any of their projects? Just looking for examples and ideas at the moment and what is/isn't possible. Thanks in advance Jim Bachalo [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Mike -- http://www.mikebritton.com http://www.mikenkim.com This message (including any attachments) is a confidential and privileged communication of AWS Convergence Technologies, Inc. and intended only for the addressee. Any unauthorized use, distribution or copying of this message (or any attachment) is prohibited. If you are not the addressee or a person authorized to receive messages for the addressee, you have received this message in error. In that case, please delete this message and call us at 301-250-4000 so that we can correct our records in order to avoid this mistake in the future. 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
[Flashcoders] Newbie security issues?
Hey everyone! I'm new here so just steer me in the right direction if I get off-topic without realizing it. I'm in the middle of convincing my company that we should include some fun Flash games on our company website using art elements from some original IPs. They're concerned that Flash can be cracked too easily, putting our art elements at risk of being stolen. Anybody got some arguments I can use to back up my faith in Flash? The other concern my bosses have is that since we want to add registration to our website so that members can have access to these free games, it's important to protect our member's personal info, even if it's just a nickname and password. If the member has to sign in inside a flash game, for example, is there a risk that their information could be stolen? Speaking of which, I've heard Amayeta SWF Encrypt is good. Can anyone vouch for it or do you know if it's been cracked by anyone? You guys are the hardcore coders so I figured you could help me come up with the most compelling answers to give my bosses. I have read about security issues on the Macromedia website and relayed that information to them already but they are still indecisive about this matter. In spite of some of its limitation, Flash is a really cool program. IMO. ^_^ Audry Taylor Creative Director Go! Comi http://www.gocomi.com _ Dont just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] FLV re-sizing
Hi. I want to be able to load an FLV into my embedded video object and if it is smaller than the video object, I want to center it within the frame. If it is bigger than the video object I want to re-size it to the object size. My code follows. When I try to load a small FLV in, it expands to fit the embedded video size. videoClip is the MC, theVideo is the embedded video. Thanks in advance, JP myStream.onStatus = function(info) { flvWidth = videoClip.theVideo.width; flvHeight = videoClip.theVideo.height; if ((flvWidth != 0) (flvWidth = 320) (flvHeight != 0) (flvHeight = 240)) { videoClip.width = flvWidth; videoClip.height = flvHeight; videoClip._x = ((320-flvWidth)/2); videoClip._y = ((240-flvHeight)/2); } else if ((flvWidth != 0) (flvWidth 320) (flvHeight != 0) (flvHeight 240)) { flvWidth = 320; flvHeight = 240; videoClip._x = 0; videoClip._y = 0; } } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Q:del.icio.us API
It probably is a dumb question, but what do you exactly mean by 'HTTP basic authentication'??? :) I think he means the simplest form of http authentication, meaning the credentials are able to give up within the string itself. For example, http://username:[EMAIL PROTECTED]/some/services/link/here -- Yours, Weyert de Boer ([EMAIL PROTECTED]) innerfuse* http://www.innerfuse.biz/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Newbie security issues?
I would also be very interested in reading about ways to protect content that is embedded in a flash movie (especially fonts). Is it possible to include art and fonts in a swf file, in a way that makes it impossible to get those objects out of the swf movie? Thanks, Kevin N. Audry Taylor wrote: Hey everyone! I'm new here so just steer me in the right direction if I get off-topic without realizing it. I'm in the middle of convincing my company that we should include some fun Flash games on our company website using art elements from some original IPs. They're concerned that Flash can be cracked too easily, putting our art elements at risk of being stolen. Anybody got some arguments I can use to back up my faith in Flash? The other concern my bosses have is that since we want to add registration to our website so that members can have access to these free games, it's important to protect our member's personal info, even if it's just a nickname and password. If the member has to sign in inside a flash game, for example, is there a risk that their information could be stolen? Speaking of which, I've heard Amayeta SWF Encrypt is good. Can anyone vouch for it or do you know if it's been cracked by anyone? You guys are the hardcore coders so I figured you could help me come up with the most compelling answers to give my bosses. I have read about security issues on the Macromedia website and relayed that information to them already but they are still indecisive about this matter. In spite of some of its limitation, Flash is a really cool program. IMO. ^_^ Audry Taylor Creative Director Go! Comi http://www.gocomi.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 and perl script
Hi, anyone uses flash with perl cgi as server side application? I have problems with it ,seems that the script doesn't pass values to flash. here is the perl cgi (is very simple) : #!/bin/perl print Content-type: text/html\n\n; $out=_service_=; for($i=0;$i20;$i++) { $out .=$i.#; } print $out; exit(0); and here is what LoadVars.contentType , .toString contain : TYPE :application/x-www-form-urlencoded CONTENT :%5Fservice%5F=%22%3B%0Afor%28%24i%3D0%3B%24i%3C20%3B%24i%20%20% 29%0A%7B%0A%09%24out%20%2E%3D%24i%2E%22%23%22%3B%0A%7D%0A%0Aprint%20%24out% 3B%0Aexit%280%29%3B%0A%23%21%2Fbin%2Fperl%0A%0Aprint%20%22Content%2Dtype% 3A%20text%2Fhtml%5Cn%5Cn%22%3B%0A%24out=%22onLoad=%5Btype%20Function%5D and here il what i receive as value of the variable ; for($i=0;$i I don't understand... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Build Flash8 installer
Hello all, Hope this is not very off-topic. How can I create an installer of Flash 8 Player for Internet Explorer? I need to distribute the Player along with an application I have built and I could use some guidelines/tutorial etc. Thank you, Dimitrios Bendilas ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 trim down actionscript file size
Can someone please point me to some references on keeping down the size of actionscript class files? I'm looking to drop some weight on some of the class files I've written for a component set. Thanks, Mani ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Newbie security issues?
I won't take too much effort in protecting your magic. You might wanna trust on the copyright laws more, though. I have been researching some dongles protections schemes for my dad lately, even those are sad. I haven't found the right dongle scheme yet... -- Yours, Weyert de Boer ([EMAIL PROTECTED]) innerfuse* http://www.innerfuse.biz/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 perl script
I believe that Colin Moock had a sample that uses CGI... I remember it being named echo.pl. http://flash.terra.ee/flash-books/o'reilly%20-%20actionscript%20for% 20flash%20mx%20the%20definitive%20guide,%202nd%20edition/190.htm Gerry ... http://www.thespikeranch.com Certified Macromedia Flash MX Designer ... On May 3, 2006, at 2:28 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, anyone uses flash with perl cgi as server side application? I have problems with it ,seems that the script doesn't pass values to flash. here is the perl cgi (is very simple) : #!/bin/perl print Content-type: text/html\n\n; $out=_service_=; for($i=0;$i20;$i++) { $out .=$i.#; } print $out; exit(0); and here is what LoadVars.contentType , .toString contain : TYPE :application/x-www-form-urlencoded CONTENT :%5Fservice%5F=%22%3B%0Afor%28%24i%3D0%3B%24i%3C20%3B%24i% 20%20% 29%0A%7B%0A%09%24out%20%2E%3D%24i%2E%22%23%22%3B%0A%7D%0A%0Aprint% 20%24out% 3B%0Aexit%280%29%3B%0A%23%21%2Fbin%2Fperl%0A%0Aprint%20%22Content% 2Dtype% 3A%20text%2Fhtml%5Cn%5Cn%22%3B%0A%24out=%22onLoad=%5Btype% 20Function%5D and here il what i receive as value of the variable ; for($i=0;$i I don't understand... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] MM / Adobe Central unavailable?
Derek Stottlemyer wrote: I can no longer install Central from Adobe's website, and Central is no longer listed on the products page. Does anyone know if this will be fixed? Or has the public beta ended? ;-) Hmm, let me see if I can get some more hard info through the day here I *have* heard internal talk about needing to pull down that project because some of the services behind it have decayed, but I don't know the implementation schedule or details... let me run around, try to get some more info, then report back here jd -- John Dowdell . Adobe Developer Support . San Francisco CA USA Weblog: http://weblogs.macromedia.com/jd Aggregator: http://weblogs.macromedia.com/mxna Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, 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] Newbie security issues?
I would also be very interested in reading about ways to protect content that is embedded in a flash movie (especially fonts). Is it possible to include art and fonts in a swf file, in a way that makes it impossible to get those objects out of the swf movie? The bottom line is, if you put it on the internet, it is possible to steal it. There is no such thing as a sure way to protect anything that is publicly available on the web. What you can do, however, is make it difficult to dissuade all but the most determined hackers. If someone is sufficiently determined and skilled, there is no security that will keep them out. But your average browser isn't going to spend the time and effort in most cases. But all it really takes to steal artwork is alt + print screen (capture window to clipboard). So the question is, how secure does it really need to be? The usual way this is done is only low-res, low-quality assets are used online, that way someone who steals it will have to work with a crappy, compressed file. Beyond that, it takes more effort to pull an image from an swf than it does to right-clck and save as, which is often enough to keep most people from stealing it. ryanm ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] When a class is composed in multiple objects is it only still compiled once
I'm thinking that if I have a class in a project other instances of that class would use the same code. I'm trying to deduce the source of the weight in my ActionScript files. I don't mean to double post so I apologize in advance if this is considered that. I'm formulating clear questions in hopes of getting some specific advice on class code optimization steps. I read at one point in time the sizes of different classes in ActionSCript- I unfortunately don't have that refernce with me today. Is anyone aware of an online ref to file size added by instantiating different classes? Mani ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Newbie security issues?
I think you are right that there is just no way to protect content in a swf file. Maybe the question to ask is, how can we go about convincing fearful IP holders to allow their IP to be embedded in the swf format. More importantly, there is no way to protect IP in any form if you put it on the web. It can all be stolen by someone who is sufficiently determined. The whole idea behind the internet is making IP available, it is fundamentally contrary to the way the internet works to try to keep people from being able to aquire copies, since copies are required to view it in the first place. So forget about keeping people from getting the images, you siply can't. If they can see it, they can steal it. However... You mentioned relying on the law, and I think that's the right angle. In general, do you really have to worry about what some script kiddies might do with your content once they've stolen it? It seems most of these kinds of concerns are just a waste of worry - it's professionals that license IP, not script kiddies that just want to make a l337 logo for their personal website. Just have a stack of cease and desist papers ready to go out when you spot an IP violation. Like you said, are you (and by you I mean your client) worried about me downloading a picture and making it my desktop or using it on a flyer for my band, or are you worried about other companies who will actually profit through the use of your IP? If you're worried about the former, you're excessively paranoid and should keep your stuff off the internet entirely. In fact, you're probably better off cancelling your ISP account alltogether, because they use it to listen to your thoughts. ;-) If you're worried about the latter, your recourse is after the fact, when you can show that their use is infringing, and your venue is through the courts. You can't stop people from stealing it, and money spent trying to stop IP theft is very often money wasted. What you *can* do is enforce your copyrights through the courts. Of course wrapping it in flash eliminates the causual save as theft, but that's about all it does as far as security is concerned. ryanm ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Build Flash8 installer
Or you could use one of the swf2exe applications that are already licensed to distribute the flash player (swf studio, mprojector, zinc, etc... but make sure to look into their license as well) -David R On 5/3/06, Muzak [EMAIL PROTECTED] wrote: You'll need to obtain a license first http://www.adobe.com/licensing/ http://www.adobe.com/licensing/distribution/ regards, Muzak - Original Message - From: Dimitrios Bendilas [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Wednesday, May 03, 2006 8:28 PM Subject: [FlashCoders] Build Flash8 installer Hello all, Hope this is not very off-topic. How can I create an installer of Flash 8 Player for Internet Explorer? I need to distribute the Player along with an application I have built and I could use some guidelines/tutorial etc. Thank you, Dimitrios Bendilas ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] ' and from xml weirdness
Moca, What font are you using? Is it a common font or one you might need to embed? Is your TextField set to html = true? Are you using the TextField.htmlText property? In the XML file are you using the CDATA tag in the text node? item![CDATA[This is Keith#039;s #034;favorite#034; topic.]]/item I prefer numbered entities over named entities. Numbered entities seem to enjoy more robust support in browsers. I did a quick test using #39; and #34; vs #039; and #034; -- both worked. If none of this helps then I think we will need to see a sample of your XML code (if not Flash code) to try to figure it out. -Keith http://home.mn.rr.com/keithreinfeld -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of MocaLoca Sent: Wednesday, May 03, 2006 9:41 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] ' and from xml weirdness Hello, I have saved my xml file as Unicode and UTF. I get the same results. All the characters I tried so far work just fine (TM, Latin characters, #10; for new line) no problems. But when trying to use ' or , flash displays either a square box, apos; or quot; I have tried the character itself, #34; or #39; same thing. Does anyone have any idea what I am doing wrong? Thanks a lot! Moca MocaLoca Digital Media Artist --- VoIP: (305) 9267775 Sydney Mobile: (61) 0415.716.396 Home Office: (61) 02 9810.9351 U.S. Fax: (786) 513.3714 http://www.mocaloca.com/ www.mocaloca.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] x, y coordinates when using Mouse Listener object arenot giving correct output
Hi Jim, Thanks for looking into the problem. It certainly seems a bug to me. For all other who might have not been able to replicate this bug on their machine here are the steps you can try and then check. == 1. Left click on stage it will show x,y in trace window. 2. Without moving mouse do right click at same place. 3. Now move mouse to some other place (make sure your right click menu is showing up on stage) in the file and do left click there and and the result i got was the last x,y coordinates.which i got after doing action 1. == The environment i used is authoring environment Flash8. I am not getting this problem when i test in Firefox with player 8 or 8.5but it's there if i check in IE with flash player 8.0 8.5. Thanks, vivek ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com