[Flashcoders] Memory issue with large images
Hi All, Sorry if this is an old issue thats been discussed but couldn't find anything in google or the archives. I'm building a program that loads in images that could be over 2mb and we have noticed that the memory usage spikes after the image is loaded. Not only that but depending on if u use AS2 or AS3, memory usage could be higher in one while the other is lower. We are assuming this is Flash decompressing the image for view, but I'm curious if thats the truth. Any one know?? Here are some test results: File size: 4.26mb - Memory usage: (AS2) 61.2mb - (AS3) 55mb File size: 88k - Memory usage: (AS2) 9.9k - (AS3) 11k Thanks! Lori- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Exclusion XML generator
Hey All, Is there a tool out there that will generate exclusion files? Thanks, Lori- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 on Limelight
Hey Everyone, I've been trying to use the FLVPlayback component and our video server provider is Limelight. Has anyone else had issues? Can you point me in the right direction for fix this? THANKS! Lori- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 on Limelight
Thanks Helen, but i have all that stuff setup correctly. At least i think so... I have an app folder named test and my videos are in test/streams/_definst_ As well as the main.asc file sitting in the test folder. I've been able to use the Flash Component with FMS before with this setup so not sure whats up. I think its something either with there servers or maybe there is some custom configuration i have to do with NCManager?? Thanks, Lori- Helen Triolo wrote: Lori, I don't use Limelight and I'm not sure what issues you're having, but if they're running FCS, then these notes that I got from Muzak back when I was trying to get the flvplayback component working with FCS might be helpful: Another important thing to get the FLVPlayback component to work is to put a copy of main.asc in the app folder you're trying to connect to. You can find the main.asc file here (default Flash 8 install): C:\Program Files\Macromedia\Flash 8\Samples and Tutorials\Samples\Components\FLVPlayback One last important thing is to set isLive to false on the FLVPlayback instance (it is by default). This one really threw me off, but thinking about it now it makes sense, as isLive probable means live streaming from a webcam rather than using streaming server such as FCS. This isn't clear in the docs though, at least it wasn't to me. Helen http://flash-creations.com http://i-technica.com Lori Hutchek wrote: Hey Everyone, I've been trying to use the FLVPlayback component and our video server provider is Limelight. Has anyone else had issues? Can you point me in the right direction for fix this? THANKS! Lori- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Password Protected Webservice call - Help Please!
I'm trying to call a webservice that requires a usename and password. But whenever i call it i get an error message for it locally or it pops a dialog when in a webpage. Is there anyway around this? Lori- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 Books
There is the AS3 Cookbook (http://www.amazon.com/ActionScript-3-0-Cookbook-Joey-Lott/dp/0596526954/sr=8-1/qid=1166456035/ref=pd_bbs_sr_1/102-4314582-6610531?ie=UTF8s=books) AS3 Essentials - Rough Cut on the o'reilly site and Lynda.com has a AS3 lessons available. Lori- From: Morten Reinholdt [EMAIL PROTECTED] Sent: Monday, December 18, 2006 1:38 AM To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Actionscript 3 Books Millie Niss wrote: I was just looking at Joey Lott's Advanced Actionscript 3 With Design Patterns book in the store, and it looked pretty good, but it had knowledge of Actionscript 3 as a pre-requisite. I am not aware of any (print) books introducing Actionscript 3... Are there any? I'd like to start learning it (I saw that regular expressions are supported and that alone would be nice...) but I don't like the idea of learning a programming language from beta versions of Adobe's Help... Millie ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com Hey Millie I used the Actionscript 3 cookbook to get startet :-) Morten Reinholdt http://www.flashorbit.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] Password Protected Webservice call - Help Please!
Sorry, when i call the webservice in flash it get an error opening URL but i know its the right url for the webservice. When i call it in a browser it pops open a dialog box asking for the username and password of the webservice. What i'm doing is very basic: pWebServiceLocation = http://webserviceURL?WSDL;; var pWebService:WebService = new WebService(pWebServiceLocation, new Log()); pWebService.onLoad = function() { trace(tracking suceeded ); }; pWebService.onFault = function(fault) { trace(SERVICE failed); }; I think i have to send the username and password to the webservice in order to call it but i'm not sure how to do that. thanks, Lori- From: T. Michael Keesey [EMAIL PROTECTED] Sent: Monday, December 18, 2006 12:00 PM To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Password Protected Webservice call - Help Please! Details are essential to a bug report. What does the error message say? What does the popup dialog say? On 12/18/06, Lori wrote: I'm trying to call a webservice that requires a usename and password. But whenever i call it i get an error message for it locally or it pops a dialog when in a webpage. Is there anyway around this? Lori- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- T. Michael Keesey Director of Technology Exopolis, Inc. 2894 Rowena Avenue Ste. B Los Angeles, California 90039 -- The Dinosauricon: http://dino.lm.com Parry Carney: http://parryandcarney.com ISPN Forum: http://www.phylonames.org/forum/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Password Protected Webservice call - Help Please!
I've tried that, doesn't seem to work... i kept seeing some references through google where you can use addheader() but i'm not sure how to use it to add the username and password to the header... Lori- From: Merrill, Jason [EMAIL PROTECTED] Sent: Monday, December 18, 2006 2:11 PM To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Password Protected Webservice call - Help Please! Also, I looked on the web, and the closest answer I could find was for a PHP solution, where the username and password are part of the URL since the HTTP directory may be password protected: //PHP script define('username', 'foo'); define('password', 'bar'); // This is location of the remote service $client = new soapclient('http://' . username . : . password . '@www.myserver.com/ws/server.php?wsdl', true); $client-setCredentials(username,password); So perhaps in Actionscript, something like: var username=myusername; var password = mypassword; var pWebService:WebService = new WebService(http://+username+:+password+@www.myserver.com/myWS.asmx? WSDL); I'm just guessing though... not sure if that would work. Jason Merrill Bank of America Learning Organizational Effectiveness ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Password Protected Webservice call - Help Please!
Yes i do, i think the issue is that i don't know how to send the username and password to the Webservice so that it can authenticate me properly. I'm just not sure how this is done. Lori- From: Merrill, Jason [EMAIL PROTECTED] Sent: Monday, December 18, 2006 2:46 PM To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Password Protected Webservice call - Help Please! I've tried that, doesn't seem to work... So you know who owns the webservice and what the username and password is? Jason Merrill Bank of America Learning Organizational Effectiveness ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Password Protected Webservice call - Help Please!
I found out he's doing windows authentication for the username and password. It's a .net webservice. From: Merrill, Jason [EMAIL PROTECTED] Sent: Monday, December 18, 2006 2:49 PM To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Password Protected Webservice call - Help Please! Found this - read this technote: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19226 Jason Merrill Bank of America Learning Organizational Effectiveness ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Password Protected Webservice call - Help Please!
Yep, according to the programmer who is handling the webservice programming he is using Windows Authentication to handle username and password. There should be (hopefully) a way to call the webservice and send the required authentication information, but i just dont see any example for how this can be done with AS. Thanks everyone for your help so far... L- From: Merrill, Jason [EMAIL PROTECTED] Sent: Monday, December 18, 2006 4:26 PM To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Password Protected Webservice call - Help Please! Seems to me like you could do the same thing without PHP at all. Just use the username:[EMAIL PROTECTED] syntax in your AS when making the web service call. The host browser should send along the login with the request. Jpsh if you look at my post a little closer, I wasn't suggesting PHP at all - just showing an example of how it's done with PHP, therefore they way it possibly translates to actionscript, (which is the same thing you now posted), which Lori said was already tried and failed. Jason Merrill Bank of America Learning Organizational Effectiveness ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Password Protected Webservice call
I'm trying to call a webservice that requires a usename and password. But whenever i call it i get an error message for it locally or it pops a dialog when in a webpage. Is there anyway around this? Lori- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Bitmapdata theshold question
I am trying to build a drawing application and i'm having issues getting the eraser to work. My first thought was to use Bitmapdata to delete the pixels in the image that user has drawn, but i'm not overly experienced with bitmap data nor threshold. Can anyone give me some hints or point me towards a blog/lesson which might have more info on how to accomplish this. Thanks, Lori- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] [AS3] VideoPlayer class
In AS2 i was able to use the VideoPlayer class as a lighter version of the FLVComponent to create a nice video player. Yes i was lazy and didnt want to roll my own. So i was hoping to do the same with AS3, but it looks like the changed the VideoPlayer class doesn't allow this possibility. Has anyone else tried this? Any help would be appreciated! Thanks Lori- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
re: [Flashcoders] [AS3] VideoPlayer class
nevermind... figured it out like 2 secs after posting... still have to get used to the whole concept of everything being a class and the displaylist... if anyone is curious heres the code... compiles to ~17kb i have no idea what the limitations/risks are of using this AS3 class but i had fun using it in AS2 enjoy, Lori- package { import mx.controls.videoClasses.VideoPlayer; import flash.display.Sprite; // public class fr_VideoPlayer extends Sprite { protected var _videoPlayer:VideoPlayer; // public function fr_VideoPlayer () { super (); // this.loadVideo(); } // public function loadVideo():void { this._videoPlayer = new VideoPlayer(0, 0, null); this.addChild(this._videoPlayer); this._videoPlayer.play(yourURL); } } } From: Lori Hutchek [EMAIL PROTECTED] Sent: Thursday, November 16, 2006 6:46 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] [AS3] VideoPlayer class In AS2 i was able to use the VideoPlayer class as a lighter version of the FLVComponent to create a nice video player. Yes i was lazy and didnt want to roll my own. So i was hoping to do the same with AS3, but it looks like the changed the VideoPlayer class doesn't allow this possibility. Has anyone else tried this? Any help would be appreciated! Thanks Lori- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Letting go of AS2 for AS3
Okay im in the middle of reading AS3 Cookbook, and Essential AS3. And i'm having some trouble grasping the concept of the main class file {as in the root package for the program you are constructing}, both books talk about this. But are they talking about constructing applications using MTASC/mxmlc compilers or is there a way using the Flash 9 IDE to create a main class file that the IDE needs to look for. I know u can write code on the timeline, of course, but just wondering if there some other way which they are elluding to, and me being slow am just not gettin'... Thanks! Lori- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Letting go of AS2 for AS3
The rough cuts version is definitely worth the purchase, its only like 6 chapters but so much better written then the cookbook. Especially the Display API chapter in essential. From: Paul Steven [EMAIL PROTECTED] Sent: Tuesday, November 14, 2006 3:01 PM To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Letting go of AS2 for AS3 Is Essential AS3 book out yet? I cant see it on Amazon.co.uk -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lori Hutchek Sent: 14 November 2006 19:24 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Letting go of AS2 for AS3 Okay im in the middle of reading AS3 Cookbook, and Essential AS3. And i'm having some trouble grasping the concept of the main class file {as in the root package for the program you are constructing}, both books talk about this. But are they talking about constructing applications using MTASC/mxmlc compilers or is there a way using the Flash 9 IDE to create a main class file that the IDE needs to look for. I know u can write code on the timeline, of course, but just wondering if there some other way which they are elluding to, and me being slow am just not gettin'... Thanks! Lori- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] FileReference LocalConnection/SharedObject issue
Hi All, I am trying to send a FileReference object over a localconnection or through a sharedobject. In the second swf, which is expecting the data, its receiving the object but for some reason all of the properties of the fileReference object are undefined. Has anyone else experience this? Any help would be greatly appreciated. Lori- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 and Garbage Collection/Memory Leak
Hi All, I'm having an issue with the FLVPlayback component not actually clearing from memory after use. My application plays multiple videos over an extended period of time and I've noticed that as the user progress from one section to another with video playing the memory usage for the application continues to jump up higher. Garbage collection seems to be working for all of the other elements of my application except this... Deleting the variable does help remove some of it from memory but its almost as if the video itself is still being stored by the player. Anyone else encounter this problem?? Possible solutions? Lori- Excerpt of the class I wrote to handle video playback: class com.scimedmedia.media.FLVController { private var _videoClip:FLVPlayback; private var _videoFile: String; private var _currentState: String; private var _videoListener: Object; // private var _videoLoaded:Boolean; // //{ region dispatch event intializers public var dispatchEvent:Function; public var addEventListener:Function; public var removeEventListener:Function; //} endregion dispatch event intializers // public function FLVController() { this.init(); } /// public function loadMovie (clip:MovieClip, path:String, depth:Number, position:Object, dimensions:Object, autoPlay:Boolean, alpha:Number):Void { clip.attachMovie(FLVPlayback, my_FLVPlybk, depth, {x:position.x, y:position.y}); this._videoClip = clip.my_FLVPlybk; this._videoClip.setSize(dimensions.width, dimensions.height); this._videoClip.playheadUpdateInterval = 1000; this._videoClip.autoPlay = autoPlay; this._videoClip._alpha = (alpha = 0) ? alpha : 100; // this.addListeners(); // this._videoClip.contentPath = path; } // private function addListeners(): Void { this._videoClip.addEventListener(ready, this); this._videoClip.addEventListener(complete, this); this._videoClip.addEventListener(playheadUpdate, this); this._videoClip.addEventListener(cuePoint, this); this._videoClip.addEventListener(seek, this); this._videoClip.addEventListener(stateChange, this); } // private function removeListeners(): Void { this._videoClip.removeEventListener(ready, this); this._videoClip.removeEventListener(complete, this); this._videoClip.removeEventListener(playheadUpdate, this); this._videoClip.removeEventListener(cuePoint, this); this._videoClip.removeEventListener(seek, this); this._videoClip.removeEventListener(stateChange, this); } // public function unload(): Void { //Stops video playing. this._videoClip.stop(); // this._videoClip.closeVideoPlayer(); //Removes Listeners on video. this.removeListeners(); //Remove Video From Stage this._videoClip.removeMovieClip(); // this._videoClip = null; delete this._videoClip; } } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] hardcoding xml
One idea might be to put the xml into a dynamic text field and when needed read the text of it and parse the xml. Lori- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of aaron smith Sent: Friday, September 08, 2006 10:30 AM To: Flashcoders mailing list Subject: [Flashcoders] hardcoding xml hey, does anyone know of a way to hard code XML into actionscript without the compiler having a fit? it's a pretty big XML file, I need to hard code it for a banner, the vendor has no idea what their doing. the xml file is a couple hundred lines. thanks ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] FLVPlayback and Garbage Collection
Hi All, I'm having an issue with the FLVPlayback component not actually clearing from memory after use. My application plays multiple videos over an extended period of time and I've noticed that as the user progress from one section to another with video playing the memory usage for the application continues to jump up higher. Garbage collection seems to be working for all of the other elements of my application except this... Deleting the variable does help remove some of it from memory but its almost as if the video itself is still being stored by the player. Anyone else encounter this problem?? Possible solutions? Lori- Excerpt of the class I wrote to handle video playback: class com.scimedmedia.media.FLVController { private var _videoClip:FLVPlayback; private var _videoFile: String; private var _currentState: String; private var _videoListener: Object; // private var _videoLoaded:Boolean; // //{ region dispatch event intializers public var dispatchEvent:Function; public var addEventListener:Function; public var removeEventListener:Function; //} endregion dispatch event intializers // public function FLVController() { this.init(); } /// public function loadMovie (clip:MovieClip, path:String, depth:Number, position:Object, dimensions:Object, autoPlay:Boolean, alpha:Number):Void { clip.attachMovie(FLVPlayback, my_FLVPlybk, depth, {x:position.x, y:position.y}); this._videoClip = clip.my_FLVPlybk; this._videoClip.setSize(dimensions.width, dimensions.height); this._videoClip.playheadUpdateInterval = 1000; this._videoClip.autoPlay = autoPlay; this._videoClip._alpha = (alpha = 0) ? alpha : 100; // this.addListeners(); // this._videoClip.contentPath = path; } // private function addListeners(): Void { this._videoClip.addEventListener(ready, this); this._videoClip.addEventListener(complete, this); this._videoClip.addEventListener(playheadUpdate, this); this._videoClip.addEventListener(cuePoint, this); this._videoClip.addEventListener(seek, this); this._videoClip.addEventListener(stateChange, this); } // private function removeListeners(): Void { this._videoClip.removeEventListener(ready, this); this._videoClip.removeEventListener(complete, this); this._videoClip.removeEventListener(playheadUpdate, this); this._videoClip.removeEventListener(cuePoint, this); this._videoClip.removeEventListener(seek, this); this._videoClip.removeEventListener(stateChange, this); } // public function unload(): Void { //Stops video playing. this._videoClip.stop(); // this._videoClip.closeVideoPlayer(); //Removes Listeners on video. this.removeListeners(); //Remove Video From Stage this._videoClip.removeMovieClip(); // this._videoClip = null; delete this._videoClip; } } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] XPathAPI problems with wildcard searches
I've been having problems with the xpathapi. I've been trying to do a wildcard search and according to all the documentation it's supported yet even simple straight forward search isn't working. Can anyone help? Example : code import mx.xpath.XPathAPI; x = new XML(test thing='boo'items name='blah'item foo='bar'/item foo='blah'//items/test); r = XPathAPI.selectNodeList(x,/*/item); for (var i in r) { trace(r[i]); } /code Thanks in advance, Lori- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] XPathAPI problems with wildcard searches
The reason I am trying to do the wildcard search is because I have nodes of the same name at different levels and I need them all. So giving a specific path wouldn't give me all of the nodes I need. Here's an expert... xml node nodid=cue14 /node node nodid=cue15 closecaptioning![CDATA[]]/closecaptioning actions action type=evt_post data type=reply order=1 videofile=debate1.flv length=55666 slides node nodid=cue1 order=13 index=true slidefile= printfile=slide1.jpg thumbfile=slide1.jpg type=slide closecaptioning![CDATA[]]/closecaptioning actions / /node /slides /action /actions /node /xml Yes * and / are mathematical operators but in the context of a xpath search they are used as you expect if you were doing a regex search... which also supports the * and / What I am attempting to do is get all the node nodes by doing r = XPathAPI.selectNodeList(myXML,/*/node); If anyone else has experienced the same trouble and know a way around it or know what I'm doing wrong that would be great! Thanks! Lori- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ryanm Sent: Tuesday, August 01, 2006 2:42 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] XPathAPI problems with wildcard searches r = XPathAPI.selectNodeList(x,/*/item); The problem is that / and * are both node operators and math operators, so your statement is ambiguous. The obvious answer, based on your example XML, is to use ./items/item, but I don't know if your real XML is more complex or not. If it is, you just need to make your select statement more explicit. 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@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Preventing Compilation of components and source code
Hey All, I'm trying to build an application with distributed swf's, which contain components and have linkages to external source code files. One thing I've come across is that some of the same code references and components are being used across my files (ie. I'm using a radio button in 4 different places). I'd like to prevent the code from compiling over and over again into each of these files and make one file that contains all of the code for the application. Does anyone know any tutorials or references I can read up on how to do this? And can u tell me if what I'm suggesting is just crazy and impossible? Thanks, Lori - ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] netstream and seeking. high fps.
There should be a way when compressing video to specify just how many keyframes you want. And yes in order to seek to specific positions you will need to add more keyframes. Flash whether through FCS or on disc only seeks to keyframes. You could use the flash Video Encoder to add in keyframes at specific points as well. Lori- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of aaron smith Sent: Wednesday, May 17, 2006 9:33 PM To: Flashcoders mailing list Subject: [Flashcoders] netstream and seeking. high fps. so looking at netstreams and being able to seek in them. I found that you need really high frame rates, or a lot of keyframes. because flash uses the closest keyframe to whatever seek time you go to. so if I have a 30 second video encoded at 30fps. there is only like 2 keyframes. so when this is the case if you seek it only goes to either the very beginning of the video or the very end, I have tested this with my components and macromedia's standard components. there isn't any in between. I have read about this in various place and what not. I just wanted to hear from somebody else who also had experience with this issue. the solution is just to export flv's at a high frame rate. so you get way more keyframes. right? after sayng and asking that. how does youtube seek? they must be using flash media server that has some more capabilities?? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Junior Flash Programmer Needed (NYC)
Junior Flash Programmer Needed. This job is full-time. Part-time and contract will not be considered. Requirements: - Bachelors degree in Computer Science or related degree - Must have experience with Flash 8 MX 2004 - Must know how to program using Actionscript 2.0 - An understanding of OOP - Excellent communication organization skills - Ability to learn quickly in a fast paced environment. - Familiar with XHTML, CSS (no WYSIWYG) - Knowledge of XML Pluses: - Experience with Video (FLV) - Knowledge of other languages such as ASP.NET, Java, and Javascript Job Description: SciMedMedia is seeking a junior flash programmer to help with the creation of our pharmaceutical applications. Job will include organizing and processing data for our pre-built applications; including debugging, upgrading, and maintaining each disk. Applicant should be a team player, be very well organized and be able to work in a fast paced environment. If you are looking to gain solid work experience with Flash, this is the job for you. Recent college graduates are strongly encouraged to apply. If interested, please send all responses to Lori R Hutchek, Director of Multimedia Development ([EMAIL PROTECTED]) Thank you. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] BitmapData.draw and FLV's
I'm having the same problem as Jordon. But It's with Flash 7 video using netstream. I have version 8.0.22.0 of the plugin and it shows up as a white box when I try and do a draw command on something that has FCS video. Lori- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jordan L. Chilcott Sent: Friday, December 16, 2005 4:13 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] BitmapData.draw and FLV's I just tried it on my players as well as in Safari (Mac) as well as Firefox (PC) and it works fine (8.0.22). I'm wondering if there's an issue with your player, as I encountered the same situation with a wonky player with another person. I don't see anything overly peculiar with your code, although I usually attach the BitmapData object to a different level in the MC. jord On Dec 16, 2005, at 3:17 PM, John Grden wrote: I'm doing a progressive download of an FLV and I can't get it to draw. I was using the FLVPlayer component, and then I tried a generic video container with basic NetStream code. Just a white box is the result. The weird thing is, I did this same idea way back using copyPixels. It's playing FLVs loaded from the server and there's no issue. http://johngrden.blitzds.com/Puzzaz/8ball/Puzzaz.html If anyone cares to try it out with the test I'm running, here you go: http://www.acmewebworks.com/Downloads/BitmapData_FLVPlayer_Issue.zip Can anyone at Adobe alleviate my suffering and just tell me if this is or isn't possible? -- Jordan L. Chilcott, President Interactivity Unlimited Guelph, Ontario - Tel: (519) 837-1879 eFax: (253) 276-8631 mailto:[EMAIL PROTECTED] http://www.interactivityunlimited.com iChat/AIM: j1chilcott Author: Building Web Sites with Macromedia Studio MX Author: Building Dynamic Web Sites with Macromedia Studio MX Author: Flash Professional 8: Training From the Source ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] BitmapData and Streaming Video
[previous message] Hey Lori, does it happen with progressive downloaded FLV's or true FCS streamed video? I've been able to do it with progressive's without a problem. [/previous message] It's FCS video that I'm having a problem with. The app I'm building runs off of both cd and web. And the cd version is playing great, It's only when I'm trying to do the same screen capture with FCS video that I have a problem. Lori- ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] BitmapData and Streaming Video
Hi All, I'm attempting to take a capture of the stage doing BitmapData. It seems to be working throughout my movie, EXCEPT, when I have streaming video on the stage. Has anyone else run into this issue, maybe come up with a work around? Here's the code I'm using, It's really straight forward so I'm not sure whats up... var myBitmap:BitmapData= new BitmapData(1024, 768, false, 0x00FF); _root.pageFlip.myScreen.attachBitmap(myBitmap, 1000); myBitmap.draw(_root); _root.pageFlip._visible=true; Also to note, I'm calling a function that is doing this every time the screen gets updated. Thanks Lori- ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders