RE: [Flashcoders] long dash
You can set text anywhere you like. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of natalia Vikhtinskaya Sent: Thursday, August 23, 2007 1:08 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] long dash But how that help to show: 1/3 of 9 with horizontal line? 2007/8/23, Hershell Bryant [EMAIL PROTECTED]: Will your design allow you to just create a movieclip with a solid fill instead of a line? You could give it some small constant dimension in Y to suit your idea of line thickness, and then you have full control over its length in X. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of natalia Vikhtinskaya Sent: Thursday, August 23, 2007 11:38 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] long dash Maybe anybody know how to show 1/3, 1/7.. with horizontal line. I thought that maybe I can use long dash and three text areas.. But it will not work if I should to show 1/3 of 9 but with horizontal line. I seems no solution? 2007/8/23, Alan MacDougall [EMAIL PROTECTED]: natalia Vikhtinskaya wrote: Hi I thought it simple but that does not work.I am trying to show long dash c=a mdash; b txt.html=true; txt.htmlText=c; But that does not work. What am I doing wrong? Thanks in advance Flash actually only displays a few HTML entities: lt; gt; quot; amp; (I think) and one other that I forget. If you want to use any other special characters, use the code appropriate to your encoding style. In ASCII, for example, it's symbol 151, which you can enter in Windows with alt-0151. In Unicode, I think it's \u8212, but don't quote me. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] long dash
Will your design allow you to just create a movieclip with a solid fill instead of a line? You could give it some small constant dimension in Y to suit your idea of line thickness, and then you have full control over its length in X. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of natalia Vikhtinskaya Sent: Thursday, August 23, 2007 11:38 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] long dash Maybe anybody know how to show 1/3, 1/7.. with horizontal line. I thought that maybe I can use long dash and three text areas.. But it will not work if I should to show 1/3 of 9 but with horizontal line. I seems no solution? 2007/8/23, Alan MacDougall [EMAIL PROTECTED]: natalia Vikhtinskaya wrote: Hi I thought it simple but that does not work.I am trying to show long dash c=a mdash; b txt.html=true; txt.htmlText=c; But that does not work. What am I doing wrong? Thanks in advance Flash actually only displays a few HTML entities: lt; gt; quot; amp; (I think) and one other that I forget. If you want to use any other special characters, use the code appropriate to your encoding style. In ASCII, for example, it's symbol 151, which you can enter in Windows with alt-0151. In Unicode, I think it's \u8212, but don't quote me. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Intro to OOP using ActionScript
If you want to teach kids about forests, making them look at leaves under a microscope for 6-12 months is not the way to go about it. While a leaf may be fundamental to the life of a tree, a complete understanding of that leaf is not even remotely necessary to understanding what a forest is about. OOP is a great approach to programming, and there's absolutely no reason to ensure that students are seeing strings in their dreams before teaching it. Whether you teach a procedural or an OOP methodology, you're going to have to teach basics concurrently...there's no getting around it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: Tuesday, August 21, 2007 11:17 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Intro to OOP using ActionScript On 8/21/07, Steven Sacks [EMAIL PROTECTED] wrote: If we take two students and you teach them OOP for 1 month and I teach them procedural for two weeks and then OOP for two weeks, my student will be further along than your student. The reason is simple. When you learn the fundamentals first you have a greater capacity for understanding of more advanced topics. I really don't agree -- and I'd like to see you back that assertion up with some hard data. Getting across the idea that (for example) a game object has a bunch of attributes/properties (speed, direction, score, colour) -- that doesn't require prior programming knowledge. Getting across the idea that an object has an x value and if you increment it, it goes right - that requires a bit of geometry, but again, not prior programming knowledge. Inheritance, abstraction, interfaces et al - these are all advanced topics and require a firm base to be working from (and there I agree with you). But there's no reason why that base can't be objects, methods and properties rather than procedures. Objects are easy to relate to real-world examples. Given that nearly every language - not to mention data representation - in common use these days either uses, or is capable of using a model that uses objects, methods and properties, it'd be vastly helpful to have students working from that basis. Ian ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] suppressing the Context Menu Class
AFAIK, the only way to use a right mouse button for anything but Flash's context menu (you can suppress and add individual items, but it still looks like Flash's context menu) is to have your swf sit on a layer below an invisible layer on a web page, and use javascript to respond to right mouse events. Javascript can then talk to your swf and tell is whatever you want. One of these days, Adobe is going to realize that we are going to be a lot happier with the right mouse button. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Ganz Sent: Friday, June 08, 2007 11:06 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] suppressing the Context Menu Class Hi.. I know that you can trap right clicks in Flash, but will that always invoke the Context Menu Class or can I suppress it and do something else? Thanks. Matt. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Motion to combine coders and newbies.
I'm already getting two copies of each post in this group. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Muzak Sent: Thursday, May 17, 2007 11:26 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Motion to combine coders and newbies. This might help: http://osflash.org/flashcoders/etiquette This list is about the programming side of Flash. Anything else should be asked elsewhere (IMO), e.g. flashnewbies. Before asking a question you should at least do some research first: RTFM: http://livedocs.adobe.com/flash/8/index.html Search Google: http://www.google.com Search FlashCoders archive: http://chattyfig.figleaf.com/mailman/private/flashcoders/ http://muzakdeezign.com/flashcoders/ Search the Adobe site for articles/tutorials http://www.adobe.com/ regards, Muzak - Original Message - From: Teresa Hardy [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, May 17, 2007 7:23 PM Subject: [Flashcoders] Motion to combine coders and newbies. I have to cast a vote here too because it is encouraging to see that other people have run into the same stumbling blocks. I found Flashcoders first and was referred to Flashnewbies in response to a question. Unfortunately, the same question was posted to Flashcoders a couple weeks later and answered without a referral to Flashnewbies. I am not whining. I am still listening to both lists. (with the help of the filter in gmail.) However, I have sat for too long wondering where to post based on the level of the question. So some guidelines are definitely in order. It would be very valuable to recommend directions and levels to the two groups on the subscribe pages of both, and/or on the confirmation email. It is also an opportunity to recommend Flashnewbies as a first check. Flashcoders came up first in my searches. I cast my vote for keeping the two groups, not four, not one, two groups properly advertised for their discussion level. And thanks to Jason and all the others who are answering questions on both. The two forums have been a great help to me over the past few months. Teresa ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] amfphp.org?
See Count Schemula's reply...it's at sourceforge. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of dnk Sent: Tuesday, May 15, 2007 9:43 AM To: Flashcoders Subject: [Flashcoders] amfphp.org? looks like the domain has expired (May 7th). I am assuming the project is not dead, but it is rather just an over site by the owner. Does anyone have any info on this? How about a spot to download the latest? d ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Zombie symbol - can't get rid of some text
Have you looked in the project's library pane to see if there's an instance of it there? You might still have linkage that's embedding it into your compiled project. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Wohl Sent: Tuesday, May 08, 2007 10:41 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Zombie symbol - can't get rid of some text Hey Michael, You may want to add a mask that only displays the stage(it's quick, easy, and will not leave you stumped for hours =P ) B. On 5/8/07, Michael King [EMAIL PROTECTED] wrote: Hey all, I know this is more of a flash question than an actionscript question, but it's sorta related. Anyway, at one time (a few versions back), I had some static text across the top of the scene, in its own layer. I moved it off the stage to test dynamically displaying the text (the movie ended up becoming multi-purpose, so instead of re-inventing the wheel, I came up with a solution using query variables) And now, the text is there when I publish it, even though I've deleted the text object, a symbol version of it AND the layer it was on. I had understood anything off of the stage wouldn't be displayed, but I'm sure that's a checkbox I'm missing. In any event, with or without hiding the off stage area, how come I can't get rid of this text? It shows up about where I originally moved it to for the testing, way above the scene, but it's not in the FLA that I can see. Is there something else I'm missing? Maybe some extraneous object files that I should delete? I can't find anything other than the SWF, FLA and HTML files in my publishing folder and it's frustrating me to no end. Help? Thanks, Michael King CSIRT - Developer Security Incident Response Group Humana Inc. E-mail: [EMAIL PROTECTED] STANDS: Some Theoretical Acronym Not Described Sufficiently The information transmitted is intended only for the person or entity to which it is addressed and may contain CONFIDENTIAL material. If you receive this material/information in error, please contact the sender and delete or destroy the material/information. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Finding the height and width of the VISIBLE area of amasked SWF
To center the visible part on stage, center the mask on stage. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of matt stuehler Sent: Wednesday, April 18, 2007 2:30 PM To: Flashcoders mailing list Subject: [Flashcoders] Finding the height and width of the VISIBLE area of amasked SWF All, It looks like this has been asked before, but I couldn't find an answer. I'm creating a Flash app that loads several SWFs. Those SWFs contain use masks. I'd like to be able to find the VISIBLE height and width of those SWFs; however _width and _height return the size of ALL the masked content. In other words, if the SWF has a stage size of 400x300, and a mask of 400x300, but the total size of the SWF is 800x600 (e.g., b/c of off-stage content, or stuff that's not visible thru the mask), then _width returns 800, and _height returns 600. I can see why that's sometimes useful, but in this particular application, I need to know the VISIBLE size. For example, I'd like to be able to center the VISIBLE part of the SWF on the stage. Is there any way to figure that out? Cheers, Matt Stuehler ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] JSFL - Saving FLAs
I believe that the whole point is that the person wants to ensure that his FLAs are saved for version MX, so that the coder using only MX can pick up the baton from the coder with a v8 install. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Derek Vadneau Sent: Monday, April 02, 2007 11:33 AM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] JSFL - Saving FLAs The version of the FLA is in the XML Publish Settings file? I don't think that's the case. Afaik, there is no way to get this information from JSFL. JSFL implementation in Flash 7/8 is mediocre, imho. While there are some very useful things you can do with JSFL, it all feels like a hack. The document support is terrible (not documentation, although that's not fabulous either). I really hope JSFL in Flash CS3 got a revamp. Although, since it didn't make the top 10 things new about Flash CS3, I'm guessing not much was changed. I really hope I'm wrong. The only thing I've ever seen in regards to determining the version of the FLA is a tool called FLAVer by Tim Goss that launches the version of Flash on your system that most closely matches the FLA version. I don't know the specifics, but he figured out how to get the version by reading parts of the FLA file. I realize it doesn't answer the question directly, but it does demonstrate that there is a way to get this information. But, afaik, not from JSFL. FLAVer: http://www.northcode.com/free/flaver/flaver.php Derek Vadneau - Original Message - From: Steven Sacks | BLITZ To: flashcoders@chattyfig.figleaf.com Sent: Monday, April 02, 2007 1:37 PM Subject: SPAM-LOW: RE: [Flashcoders] JSFL - Saving FLAs The version is located in the XML Publish Settings file. It's been reported that changing this value using JSFL does not work (a bug). However, you CAN read it. Refer to my blog entry regarding the XML Publish settings file to see how to get the version number out of it. http://www.stevensacks.net/2006/08/06/using/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Scaling Up an Image in Proportion to width or height
That'd do it...except that you need to define var ratio:Number = _height/_width. If var ratio:Number = _width/_height, then _width * ratio = (_width * _width)/_heightThat ain't right. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ Sent: Thursday, March 29, 2007 9:42 AM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Scaling Up an Image in Proportion to width or height Simple. You solve for the ratio: var ratio:Number = _width / _height; You resize the _width: _width = Math.max(newWidth, 500); You set _height to the _width * ratio: _height = _width * ratio; fin. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] createClassObject(OwnComponent) displays nothing on stage
Have you tried manually placing your component on the stage in the first frame and then deleting it? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alexander Farber Sent: Thursday, March 22, 2007 6:53 AM To: Flashcoders mailing list Subject: [Flashcoders] createClassObject(OwnComponent) displays nothing on stage Hello, I have written my own component (please see Bubble.* in http://preferans.de/flash/ ) which works ok - but only if I pull its instance onto the stage manually. If I try to instantiate it during runtime with - bubble_mc = createClassObject(Bubble, 'bubble_mc', 10, { _width: 80, _x: 20, _y: 20 } ); trace(bubble_mc + ': ' + bubble_mc.bgcolor); then nothing is visible on the stage and trace() prints: null: undefined I've searched numerous web pages, can't find what is wrong here. Any hints please? And my actual problem is that I have 2 own components: I want to display that comics-like Bubble chat component inside (on top of) another own component representing a player ( please see User.* in http://preferans.de/flash/ and click the cards list on the right to update the text in bubble_mc ) private function createChildren():Void { ... createClassObject(Loader, 'avatar_ldr', depth++, {contentPath: 'Unknown'}); createClassObject(Bubble, 'bubble_mc', depth++, {bgcolor: 0xFF}); } The problem is that while bubble_mc is displayed, it isn't drawn correctly. I see the text, but the background color isn't solid. I can't find why is this happening. Adding an explicit bubble_mc.draw() inside the player component: private function draw():Void { super.draw(); bubble_mc.draw(); } doesn't help. Any suggestions are very welcome Regards Alex ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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