RE: [Flashcoders] where and how can I learn actionscript bytecode
Thanks for the tip Ted. Curious, how are you using python with flasm? (that is, what sorts of stuff are you doing with the combo) - boon Theodore E Patrick [EMAIL PROTECTED] wrote: Boon, Use FLASM. It provides text output representing AS Bytecode. http://flasm.sourceforge.net/ Simply do this: // decompress the AS block using zlib flasm -x myfile.swf // read the bytecode into a text file flasm -d myfile.swf myfile.flm Open myfile.flm to see all the bytecode instructions. Flasm is still my favorite Flash tool and scripting Flasm with Python is a hell of allot of fun. Cheers, Ted ;) -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Boon Chew Sent: Saturday, December 03, 2005 10:41 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] where and how can I learn actionscript bytecode Is there any tools or documentation out there that will aid in learning actionscript bytecode? I ran into this the other day, and it seems like only reading the bytecode can help me understand why it doesn't work? class A { function destroy() { delete this; // doesn't delete itself } } var a = new A(); delete a; // delete works here - boon __ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.11/191 - Release Date: 12/2/2005 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.11/191 - Release Date: 12/2/2005 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders - Yahoo! DSL Something to write home about. Just $16.99/mo. or less ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Accessibility
Here's direct link: http://www.w3.org/TR/WCAG10/full-checklist.html -- Best regards, GregoryN http://GOusable.com Flash components development. Usability services. == Hans Wichman wrote: i think u can find more about it here: http://www.w3.org/TR/WCAG10/ http://www.accessibility.nl/internet/ebrochure/brochure/contents.htm The table of contents lists priorities, but they refer to the other guidelines. I think it might involve a lot of work if your site is already finished ;). greetz Hans At 03:25 PM 12/3/2005, Paul Steven wrote: Hi there I have developed a childrens entertainment site in Flash MX 2004 and now the client has just asked whether the site is priority 12 accessible Anyone have any idea what this involves and what I need to do to ensure this. Many thanks Paul ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] IE and EOLAS to no end
David Rorex schrieb: On 12/3/05, Michael Stuhr [EMAIL PROTECTED] wrote: http://msdn.microsoft.com/ieupdate/default.asp (german news: http://www.heise.de/newsticker/meldung/66936) thanks to MS - i don't support IE anymore - micha Don't blame MS, blame EOLAS, the ones suing over their bogus patent. Also, if you read MS's page, you can get around it, using some simple javascript. I don't blame them. I simply don't support them anymore. If it runs, it's ok with me, but if not: I don't have a problem. I'm not having a problem with inserting an object and / or embed into html via js, in fact most of the time i already do, thanks to w3c (being standards compliant in xhtml-strict) (btw: big cudos to UFO [1]) but i think if i MUST use this technique i would have to force the user to have an actual flash-plugin AND have js-enabled. That is a little bit too much if you ask me. micha [1] http://www.bobbyvandersluis.com/ufo/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] RE: targeting classes in a loaded swf
Thanks a lot for your time Tyler Wright. That helped a lot! I have implemented your suggestion. singleton. everything is great. My controller loads in the swfs that make up the diff parts of the app. The only disconnect is that all swfs have to agree to implement their ui using ... for example the name 'obj'. var obj:Someclass obj = Someclass.getInstance(); then my controller can target that class in any swf by using the mc that it loaded the swf into and calling mc.obj.getInstance().doSomething(); or just mc.obj.doSomething(); Does that make sense or am I missing something? If the above does make oop sense I now have a controller that loads in swfs and can then create pointers, if needed, to the main UI object in each swf. The only problem I see is forcing the use of an agreed upon name. Thanks again! Cole ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] where and how can I learn actionscript bytecode
- Modify a variable within a compiled SWF file. - Generate list of classes and methods used in a SWF. - Modify URLS for loadMovie and getURL calls. - Reuse bytecode from a compiled SWF. - General bytecode performance improvements. - See what AS actually translates into. There are lots of small and impossible tasks that Flasm can do that no other toolset provides given Flasm works at the bytecode instruction level. My 2 cents, Ted -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Boon Chew Sent: Sunday, December 04, 2005 11:38 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] where and how can I learn actionscript bytecode Thanks for the tip Ted. Curious, how are you using python with flasm? (that is, what sorts of stuff are you doing with the combo) - boon Theodore E Patrick [EMAIL PROTECTED] wrote: Boon, Use FLASM. It provides text output representing AS Bytecode. http://flasm.sourceforge.net/ Simply do this: // decompress the AS block using zlib flasm -x myfile.swf // read the bytecode into a text file flasm -d myfile.swf myfile.flm Open myfile.flm to see all the bytecode instructions. Flasm is still my favorite Flash tool and scripting Flasm with Python is a hell of allot of fun. Cheers, Ted ;) -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Boon Chew Sent: Saturday, December 03, 2005 10:41 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] where and how can I learn actionscript bytecode Is there any tools or documentation out there that will aid in learning actionscript bytecode? I ran into this the other day, and it seems like only reading the bytecode can help me understand why it doesn't work? class A { function destroy() { delete this; // doesn't delete itself } } var a = new A(); delete a; // delete works here - boon __ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.11/191 - Release Date: 12/2/2005 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.11/191 - Release Date: 12/2/2005 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders - Yahoo! DSL Something to write home about. Just $16.99/mo. or less ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.11/191 - Release Date: 12/2/2005 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.11/191 - Release Date: 12/2/2005 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Re: How to make a class instance self-destructible?
hello, Objects cannot delete themselves, nor can they call another object to delete them because technically you're still in the same operation thread. I dont see why its problem to have object and delete object in same thread? Also I dont understand why function objects like onLoad which are inside some reference are also not freed when parent object is?! I mean if foo is not accessible why foo.onLoad is not freed automatically, you can not access it anyway, even if flash is calling it somewhere for example (onEnterFrame) it still should use parent object to access its children? Also, if they have reference counting in place, they can delete object the moment its ref count is zero, why wait for GC? Isnt GC responsible for deleting objects when they go out of scope, why call delete at all (at least for local objects, or objects that will anyway go out of scope)? Where can I read about all this stuff, I am new to this topic, and all this seems to me not very logical (I have lack of information)? Thanks Steven Sacks [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Here is something more for you to chew on: If you assign say an onLoad method to an object, and don't delete the onLoad before you delete the object, the onLoad method is orphaned and since the reference to the object is gone, it does not get cleaned up by the garbage collector, and remains in memory with no way to get to it. For example (AS1 code used here): foo = new XML(); foo.onLoad = function(valid) { if (valid) { // xml loaded successfully } else { // xml load error } } If you: delete foo; the foo.onLoad method stays in memory. You have to delete foo.onLoad; delete foo; to really get rid of foo. Objects cannot delete themselves, nor can they call another object to delete them because technically you're still in the same operation thread. It has to be done independantly outside the object you're trying to delete. The way I get around this is: xmlHolder = {}; var id = new Date.getTime(); xmlHolder[id] = new XML(); xmlHoLDer[id].onLoad = function(valid) { if (valid) { // xml loaded successfully } else { // xml load error } this.complete = true; } I assign a complete = true property. Then, I have my own little clean up tool running, checking for complete xml loads: for (var o in xmlHolder) { if(this.xmlHolder[o].complete) { delete this.xmlHolder[o].onLoad; delete this.xmlHolder[o]; } } The clean up tool is running in a separate thread therefore it can delete other xmlHolder without issue. HTH, Steven ___ 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] where and how can I learn actionscript bytecode
Hi Boon, Good luck with learning bytecode. However, I suspect that the reason your first delete statement doesn't work is because of the way flash's garbage collection works. When you call delete on an object, it is marked for deletion by the garbage collector. It uses reference counting to decide whether to actually delete something, so I suspect that if you try to delete an object from within itself, it most likely will not actually do so, until that object has finished up. I'd say you should probably always try to delete objects from outside of their own scope. It's likely that if this is indeed the case, the problem will look exactly the same at the bytecode level. Hope this sheds some light on your problem, Alias On 12/3/05, Boon Chew [EMAIL PROTECTED] wrote: Is there any tools or documentation out there that will aid in learning actionscript bytecode? I ran into this the other day, and it seems like only reading the bytecode can help me understand why it doesn't work? class A { function destroy() { delete this; // doesn't delete itself } } var a = new A(); delete a; // delete works here - boon __ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs ___ 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] How to make a class instance self-destructible?
ps boon, one fast way to verify on windows: - repeat your action 10 times in a for lus with the taskmanager open If the memory you use is being recollected you will see your application eat memory and release it, eat it and release it etc if not, it will just be hogging memory until it hangs... quick and dirty ;) At 02:12 AM 12/4/2005, Boon Chew wrote: Good stuff Steven, I am glad I asked this question (and David's reply is great). Is there a way to verify that the onLoad is indeed orphaned in the VM memory pool? - boon Steven Sacks [EMAIL PROTECTED] wrote: Here is something more for you to chew on: If you assign say an onLoad method to an object, and don't delete the onLoad before you delete the object, the onLoad method is orphaned and since the reference to the object is gone, it does not get cleaned up by the garbage collector, and remains in memory with no way to get to it. For example (AS1 code used here): foo = new XML(); foo.onLoad = function(valid) { if (valid) { // xml loaded successfully } else { // xml load error } } If you: delete foo; the foo.onLoad method stays in memory. You have to delete foo.onLoad; delete foo; to really get rid of foo. Objects cannot delete themselves, nor can they call another object to delete them because technically you're still in the same operation thread. It has to be done independantly outside the object you're trying to delete. The way I get around this is: xmlHolder = {}; var id = new Date.getTime(); xmlHolder[id] = new XML(); xmlHoLDer[id].onLoad = function(valid) { if (valid) { // xml loaded successfully } else { // xml load error } this.complete = true; } I assign a complete = true property. Then, I have my own little clean up tool running, checking for complete xml loads: for (var o in xmlHolder) { if(this.xmlHolder[o].complete) { delete this.xmlHolder[o].onLoad; delete this.xmlHolder[o]; } } The clean up tool is running in a separate thread therefore it can delete other xmlHolder without issue. HTH, Steven ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders - Yahoo! Personals Skip the bars and set-ups and start using Yahoo! Personals for free ___ 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] How to update components on stage?
Just replace the component on the Stage with the component with the changed inspectable params. edolecki On Dec 3, 2005, at 5:53 PM, Boon Chew wrote: Hi, I created a component today, subclassing it from MovieClip (it's my first component, so excuse me for my newbie question). I realize that everytime I update the Inspectable( ) in the AS file, I have to reopen the movieclip component, click OK to have it updated with the new change. But the components already on stage don't pick up the update. And I can't find a way for them to pick up the update, short of putting the component on stage again. Could someone help? - boon - Yahoo! Personals Let fate take it's course directly to your email. See who's waiting for you Yahoo! Personals ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Writing data to object crashing browser
Hi I have built a game that seems to be crashing in Flash 8 intermittently just as it writes a boolean property to a scene based object? Has anyone else experienced this, its not happening in fp7 at all. Like I say its intermittent and has taken me ages to track down. I create an object which has scene based properties and a generic scene state object in which to store the scene logic booleans, so now and then when writing a boolean like sceneState.extraData.seenVideo = true; this is the class that creates the objects class com.intel.logic.SceneState { var name:String; var swf_path:String; // default fields var done:Boolean = false; var visits:Number = 0; var displayName:String; var xArrowPos:Number; var yArrowPos:Number; var extraData :Object; function SceneState () { extraData = {}; } } cheers MaTT ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] How to update components on stage?
Eric E. Dolecki schrieb: Just replace the component on the Stage with the component with the changed inspectable params. edolecki but then you'd have to reposition - resize and what not ... wasn't there an extension ... no i believe not. See the 'problem' is, that if you've got a normal clip on stage, you'd select it's library item through property panel. but with components i believe you can't right ? It#s not THAT big deal, but it would be nice if we could. micha ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] output gone in flash 8?
Anyone familiar with a bug where flash 8 no longer shows visible output in the output pannel? The output pannel still comes to the front though, but nothing is visible. Am on osx 10.4 None of my files give visible output, not using trace, not when having an error, and they all work fine when saved for mx2004. It just suddenly stopped. Tried uninstalling, removing a bunch of folders in /home/library and / library and re-installing, nothing worked. Could not find anything in the archives, either. TIA, YuriGoul ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] output gone in flash 8?
A colleague of mine had a similar problem with the actions panel. It's as if there was no code there yet he could copy and paste it into an external app. This was MX 2004 Pro and he's now on Flash 8... Ade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of YuriGoul Sent: 04 December 2005 17:34 To: Flashcoders mailing list Subject: [Flashcoders] output gone in flash 8? Anyone familiar with a bug where flash 8 no longer shows visible output in the output pannel? The output pannel still comes to the front though, but nothing is visible. Am on osx 10.4 None of my files give visible output, not using trace, not when having an error, and they all work fine when saved for mx2004. It just suddenly stopped. Tried uninstalling, removing a bunch of folders in /home/library and / library and re-installing, nothing worked. Could not find anything in the archives, either. TIA, YuriGoul ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] output gone in flash 8?
No it is not that, the actionspanel is fine. Even erased comments and traces with profanities, but it made no difference :-) YuriGoul On 4-dec-2005, at 18:48, Adrian Lynch wrote: A colleague of mine had a similar problem with the actions panel. It's as if there was no code there yet he could copy and paste it into an external app. This was MX 2004 Pro and he's now on Flash 8... Ade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of YuriGoul Sent: 04 December 2005 17:34 To: Flashcoders mailing list Subject: [Flashcoders] output gone in flash 8? Anyone familiar with a bug where flash 8 no longer shows visible output in the output pannel? The output pannel still comes to the front though, but nothing is visible. Am on osx 10.4 None of my files give visible output, not using trace, not when having an error, and they all work fine when saved for mx2004. It just suddenly stopped. Tried uninstalling, removing a bunch of folders in /home/library and / library and re-installing, nothing worked. Could not find anything in the archives, either. TIA, YuriGoul ___ 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] output gone in flash 8?
I assume you did not inadvertently check omit trace in the publish options? On Dec 4, 2005, at 12:56 PM, YuriGoul wrote: No it is not that, the actionspanel is fine. Even erased comments and traces with profanities, but it made no difference :-) YuriGoul On 4-dec-2005, at 18:48, Adrian Lynch wrote: A colleague of mine had a similar problem with the actions panel. It's as if there was no code there yet he could copy and paste it into an external app. This was MX 2004 Pro and he's now on Flash 8... Ade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of YuriGoul Sent: 04 December 2005 17:34 To: Flashcoders mailing list Subject: [Flashcoders] output gone in flash 8? Anyone familiar with a bug where flash 8 no longer shows visible output in the output pannel? The output pannel still comes to the front though, but nothing is visible. Am on osx 10.4 None of my files give visible output, not using trace, not when having an error, and they all work fine when saved for mx2004. It just suddenly stopped. Tried uninstalling, removing a bunch of folders in /home/library and / library and re-installing, nothing worked. Could not find anything in the archives, either. TIA, YuriGoul ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Q: Making a movie using Bitmaps and draw method
Hi I want to create a simple app that allows the creation of 'recordings', basically movies that are recordings of anything that might happen on the stage. I'd appreciate any feedback on my basic logic which is as follows: 1) Create a 'snaphot routine whose only purpose is to create a collection of 'snapshot' bitmaps of the MovieClip we are recording 2) Create a 'makefilmstrip' routine whose purpose is to compose a 'filmstrip' using the previously created bitmaps, one per frame, in a blank 'host' movieclip //BEGIN PSEUDO CODE function snapshot(mc:Movieclip); //create bitmap with unique name //take snapshot of moviceclip passed in uniqueBitmapname.draw(mc); //store a reference to this Bitmap in an array bitMaparray.push(uniqueBitmapname); //continue until done, presumably controlled by another 'start and stop recording function' controller //when done call the 'make filmstrip' function } function makefilmstrip(){ //first attach Movieclip (our blank filmstrip) to stage giving it the name 'filmstrip' //it has a stop action on frame 1 // step2: create empty movieclip within filmstrip giving it a unique name and depth //step3: attach previously created bitmap to this holder movieclip //we reference these bitmaps throught the array created in the snapshot function //not sure if it is possible to reference previously created bitmaps this way, suggestions? var mybitmapreference = bitMaparray[counter];// uniqueholderMovieclip.attachBitmap(mybitmapreference); //increment global counter counter++ //increment frame in filmstrip , not sure if this is possible but we need some way of advancing the frame in filmstrip //so that the next uniqueholderMovieclip Movieclips are created on sequential frames, does this make sense?? filmstrip.nextFrame(); //continue steps 2 3 till we run out of bitmaps }//end makefilmstrip //END PSEUDO CODE Any feedback appreciated Jim Bachalo [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] output gone in flash 8?
Nope. I can create a new empty file with no matter what settings and put a trace comment in it. The output panel comes to the front as happens when the trace is executed, but there is nothing in it. On 4-dec-2005, at 19:21, Michael Bedar wrote: I assume you did not inadvertently check omit trace in the publish options? On Dec 4, 2005, at 12:56 PM, YuriGoul wrote: No it is not that, the actionspanel is fine. Even erased comments and traces with profanities, but it made no difference :-) YuriGoul On 4-dec-2005, at 18:48, Adrian Lynch wrote: A colleague of mine had a similar problem with the actions panel. It's as if there was no code there yet he could copy and paste it into an external app. This was MX 2004 Pro and he's now on Flash 8... Ade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of YuriGoul Sent: 04 December 2005 17:34 To: Flashcoders mailing list Subject: [Flashcoders] output gone in flash 8? Anyone familiar with a bug where flash 8 no longer shows visible output in the output pannel? The output pannel still comes to the front though, but nothing is visible. Am on osx 10.4 None of my files give visible output, not using trace, not when having an error, and they all work fine when saved for mx2004. It just suddenly stopped. Tried uninstalling, removing a bunch of folders in /home/library and / library and re-installing, nothing worked. Could not find anything in the archives, either. TIA, YuriGoul ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] output gone in flash 8?
Also- check the filterLevel in the output window menu... if it's set to None, it will behave as you describe... set it to verbose. On Dec 4, 2005, at 2:14 PM, YuriGoul wrote: Nope. I can create a new empty file with no matter what settings and put a trace comment in it. The output panel comes to the front as happens when the trace is executed, but there is nothing in it. On 4-dec-2005, at 19:21, Michael Bedar wrote: I assume you did not inadvertently check omit trace in the publish options? On Dec 4, 2005, at 12:56 PM, YuriGoul wrote: No it is not that, the actionspanel is fine. Even erased comments and traces with profanities, but it made no difference :-) YuriGoul On 4-dec-2005, at 18:48, Adrian Lynch wrote: A colleague of mine had a similar problem with the actions panel. It's as if there was no code there yet he could copy and paste it into an external app. This was MX 2004 Pro and he's now on Flash 8... Ade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of YuriGoul Sent: 04 December 2005 17:34 To: Flashcoders mailing list Subject: [Flashcoders] output gone in flash 8? Anyone familiar with a bug where flash 8 no longer shows visible output in the output pannel? The output pannel still comes to the front though, but nothing is visible. Am on osx 10.4 None of my files give visible output, not using trace, not when having an error, and they all work fine when saved for mx2004. It just suddenly stopped. Tried uninstalling, removing a bunch of folders in /home/library and / library and re-installing, nothing worked. Could not find anything in the archives, either. TIA, YuriGoul ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] floating point
Hi peeps, related discussions have been on here before, but i didn't find a real answer. Imagine this piece of code: var i = 0; onEnterFrame = function () { i = i + 0.1; trace (i); if (i == 0.7) trace(here); } as you might expect, after running for 7 frames, it traces here. However if you change 0.7 to 0.8, it stops working. I assume this is to floating point math and rounding errors and stuff? In what way can i check for equality to 0.7 then? With a bigger than, smaller than construction? This seems so weird to me... greetz Hans ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] How to update components on stage?
Michael totally spelled out the problem. I have about 10 instances of the component on stage, every time I add a new inspectable attribute to the class, I have to replace them all, and swapping symbols won't work either. What a pain! - boon --- Michael Stuhr [EMAIL PROTECTED] wrote: Eric E. Dolecki schrieb: Just replace the component on the Stage with the component with the changed inspectable params. edolecki but then you'd have to reposition - resize and what not ... wasn't there an extension ... no i believe not. See the 'problem' is, that if you've got a normal clip on stage, you'd select it's library item through property panel. but with components i believe you can't right ? It#s not THAT big deal, but it would be nice if we could. micha ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ Yahoo! DSL Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] output gone in flash 8?
Ok, that did the trick - and I am going to feel realy stupid now. Sorry for the noise :-$ (crawls under the blankets and holds his breath) On 4-dec-2005, at 20:27, Michael Bedar wrote: Also- check the filterLevel in the output window menu... if it's set to None, it will behave as you describe... set it to verbose. On Dec 4, 2005, at 2:14 PM, YuriGoul wrote: Nope. I can create a new empty file with no matter what settings and put a trace comment in it. The output panel comes to the front as happens when the trace is executed, but there is nothing in it. On 4-dec-2005, at 19:21, Michael Bedar wrote: I assume you did not inadvertently check omit trace in the publish options? On Dec 4, 2005, at 12:56 PM, YuriGoul wrote: No it is not that, the actionspanel is fine. Even erased comments and traces with profanities, but it made no difference :-) YuriGoul On 4-dec-2005, at 18:48, Adrian Lynch wrote: A colleague of mine had a similar problem with the actions panel. It's as if there was no code there yet he could copy and paste it into an external app. This was MX 2004 Pro and he's now on Flash 8... Ade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of YuriGoul Sent: 04 December 2005 17:34 To: Flashcoders mailing list Subject: [Flashcoders] output gone in flash 8? Anyone familiar with a bug where flash 8 no longer shows visible output in the output pannel? The output pannel still comes to the front though, but nothing is visible. Am on osx 10.4 None of my files give visible output, not using trace, not when having an error, and they all work fine when saved for mx2004. It just suddenly stopped. Tried uninstalling, removing a bunch of folders in /home/ library and / library and re-installing, nothing worked. Could not find anything in the archives, either. TIA, YuriGoul ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] output gone in flash 8?
Now if MM would add a few more options in that menu, and add a param to trace to set the level, we would be in all set... On Dec 4, 2005, at 3:04 PM, YuriGoul wrote: Ok, that did the trick - and I am going to feel realy stupid now. Sorry for the noise :-$ (crawls under the blankets and holds his breath) On 4-dec-2005, at 20:27, Michael Bedar wrote: Also- check the filterLevel in the output window menu... if it's set to None, it will behave as you describe... set it to verbose. On Dec 4, 2005, at 2:14 PM, YuriGoul wrote: Nope. I can create a new empty file with no matter what settings and put a trace comment in it. The output panel comes to the front as happens when the trace is executed, but there is nothing in it. On 4-dec-2005, at 19:21, Michael Bedar wrote: I assume you did not inadvertently check omit trace in the publish options? On Dec 4, 2005, at 12:56 PM, YuriGoul wrote: No it is not that, the actionspanel is fine. Even erased comments and traces with profanities, but it made no difference :-) YuriGoul On 4-dec-2005, at 18:48, Adrian Lynch wrote: A colleague of mine had a similar problem with the actions panel. It's as if there was no code there yet he could copy and paste it into an external app. This was MX 2004 Pro and he's now on Flash 8... Ade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of YuriGoul Sent: 04 December 2005 17:34 To: Flashcoders mailing list Subject: [Flashcoders] output gone in flash 8? Anyone familiar with a bug where flash 8 no longer shows visible output in the output pannel? The output pannel still comes to the front though, but nothing is visible. Am on osx 10.4 None of my files give visible output, not using trace, not when having an error, and they all work fine when saved for mx2004. It just suddenly stopped. Tried uninstalling, removing a bunch of folders in /home/ library and / library and re-installing, nothing worked. Could not find anything in the archives, either. TIA, YuriGoul ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders