Re: [Flashcoders] Re: Datagrid cell focus
Thanks Everyone ~Bill On 9/21/2014 10:26 PM, Rick wrote: Kirupa forums were the place to go a few years ago and luckiky are still maintained. The community was incredible. Forums: http://www.kirupa.com/forum/ Here are some tutorials from the site: http://www.kirupa.com/developer/flash/ Good luck Subject: Re: [Flashcoders] Re: Datagrid cell focus From: k...@designdrumm.com Date: Sun, 21 Sep 2014 20:46:06 -0500 To: flashcoders@chattyfig.figleaf.com Well, that was unexpected. Then I would say Adobe forums are your best bet Bill. Unless there is still someone here that can help? I wish I knew more or I would. Sry. Best, Karl DeSaulniers Design Drumm http://designdrumm.com On Sep 21, 2014, at 12:13 PM, Dave Watts dwa...@figleaf.com wrote: I think this question may be in the archives. Have you checked there? Not positive how to get there, just know one exists. Might post your question again as many flash devs are not paying attention to the list as much anymore, but peek in from time to time. They probably just missed it or because it's a data grid question, be hiding from it. :P The archives don't work since the last server migration, unfortunately. Dave Watts, CTO, Fig Leaf Software 1-202-527-9569 http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ___ 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] Re: Datagrid cell focus
So -- what other ActionScript/AS3 lists are still running? Anything else out there? On 9/12/2014 7:26 AM, Bill wrote: I would like to try my question again; FlashPro CS6, using pure .as3 code; I have a 6 column DataGrid. 4 of the columns use the normal TextField, and they work fine. On 2 of the columns I have set up a custom cell renderer, using the normal *public class MyCellRenderer extends CellRenderer implements ICellRenderer * The custom cells display their information fine, but they do not fire *DataGridEvent.ITEM_FOCUS_IN *or Flash Datagrid *DataGridEvent.ITEM_EDIT_BEGIN * These columns are marked c4.editable = true; What am I missing here to get these events to be fired off? Thanks Bill ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Datagrid cell focus
I would like to try my question again too; FlashPro CS6, using pure .as3 code; I have a 6 column DataGrid. 4 of the columns use the normal TextField, and they work fine. On 2 of the columns I have set up a custom cell renderer, using the normal *public class MyCellRenderer extends CellRenderer implements ICellRenderer * The custom cells display their information fine, but they do not fire *DataGridEvent.ITEM_FOCUS_IN *or Flash Datagrid *DataGridEvent.ITEM_EDIT_BEGIN * These columns are marked c4.editable = true; What am I missing here to get these events to be fired off? Thanks Bill ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] AS3 Datagrid question
Are folks still using this list? The archives look to end in 2007. Anyone for a Flash Datagrid *DataGridEvent.ITEM_EDIT_BEGIN * not seeming to fire on a Custom cellrendered cell? Thanks Bill ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Apple backing off. Why?
I will enjoy every minute of this. I felt like Steve personally kicked me in the heart when he came out against Flash. His stance has definitely had an impact on my work as a flash developer. My work load Hear, hear Carl. This Adobe Great News link looks pretty much just to be an acknowledgment of the Apple statement (which has curious restrictions in it ... like external code can not be loaded); and a mention, from afar, that some apps are being approved. http://blogs.adobe.com/conversations/2010/09/great-news-for-developers.html . Apple damaged the Flash community with their actions this year. . Employers now question (often without clear knowledge) whether Flash should be used on projects as a result. . Adobe itself was surprised a few days from CS5 release about Apple prohibiting packager development. I would have hoped, after many years of Adobe creating apps for Mac platforms; that they would have somebody who works directly with Apple; that can now clearly say that Apple now allows Adobe apps, what the restrictions are; and that Apple will not back off again on a whim. (Preferably in a joint statement with Apple). It appears (appears) that Adobe has no high level connections in Apple and just reacts. It is had to build a third-party business model around that. Not an Apple lapdog, ~Bill ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Apple backing off. Why?
I would like to understand the real reason why Apple is backing off -- as from what I have seen in the past, I can't believe it is for the love of developers.. . Corporate pressure? (which has been hinted at). . Possibility of Federal trade restriction lawsuits? . possibly a lack of new *significant* apps, as developers began to consider other platforms? Personally, I am not interested in the iPad/iPhone as a target, until Steve Jobs apologizes. (which means, never again ;-) Lovin' Android, ~Bill -- Date: Thu, 09 Sep 2010 15:46:00 +0200 From: Henrik Andersson he...@henke37.cjb.net Subject: [Flashcoders] Apple changes their guidelines To: Flash Coders List flashcoders@chattyfig.figleaf.com Message-ID: 4c88e518.9090...@henke37.cjb.net Content-Type: text/plain; charset=UTF-8; format=flowed http://www.apple.com/pr/library/2010/09/09statement.html ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Bounce Backs
Does anyone else get these every time that they post to the list (as I do)? If so, would it make any sense to remove them? The eBay one feels odd anyway. ~Bill #1 Reporting-MTA: dns; hmc.hanyang.ac.kr Final-Recipient: rfc822;woo...@hmc.hanyang.ac.kr Diagnostic-Code: smtp; 501 error - Zettamail - woo...@hmc.hanyang.ac.kr User Unknown(10.0.0.14) Action: failed Status: 5.0.0 #2 From: securitydisclosure securitydisclos...@autoreply.corp.ebay.com Date: Thu, 09 Sep 2010 07:33:34 -0700 Message-ID: react-205695...@csa001.corp.ebay.com X-Autogenerated: Reply MIME-Version: 1.0 Content-Type: text/plain;charset=windows-1252 Subject: Re: [Flashcoders] Apple backing off. Why? In-Reply-To: a724ea070cb0418fb0b30ba037450...@foa X-CFilter: Scanned X-SmarterMail-Spam: SPF_None, ORDB X-Antivirus: avast! (VPS 100909-0, 09/09/2010), Inbound message X-Antivirus-Status: Clean Thank you for contacting Security Disclosure at eBay. If you have submitted an eBay - specific security vulnerability, a member of our team will respond to you as soon as possible. If you have submitted your issue to Security Disclosure in error and require assistance on a security-related customer service issue, please visit the HELP page at the link below to get help with your issue. http://pages.ebay.com/securitycenter/ Thank you, Security Disclosure ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Bounce Backs
Thanks Nathan: I can filter them too of course; but it may make sense to remove them once, rather than making all users (including new ones), go through the steps to filter bad addresses. And again, the eBay one looks odd. Fair? Thanks ~Bill - Original Message - From: Nathan Mynarcik To: Bill S. ; Flash Coders List Sent: Thursday, September 09, 2010 11:12 AM Subject: Re: [Flashcoders] Bounce Backs I have them automatically filtered as Spam and deleted before they hit my inbox. To answer your question, yes, I used to get them every time I posted. Nathan Mynarcik nat...@mynarcik.com 254.749.2525 www.mynarcik.com On Thu, Sep 9, 2010 at 10:38 AM, Bill S. lists...@fo.com wrote: Does anyone else get these every time that they post to the list (as I do)? If so, would it make any sense to remove them? The eBay one feels odd anyway. ~Bill #1 Reporting-MTA: dns; hmc.hanyang.ac.kr Final-Recipient: rfc822;woo...@hmc.hanyang.ac.kr Diagnostic-Code: smtp; 501 error - Zettamail - woo...@hmc.hanyang.ac.kr User Unknown(10.0.0.14) Action: failed Status: 5.0.0 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Licence servers
Hi Nigel: We have a license server that can be used with or without hardware dongles, that might be of interest. http://www.fo.com/getpage.asp?strfile=pda/folicense.htm Email me if interested. Thanks ~Bill Message: 20 Date: Thu, 9 Sep 2010 22:29:04 +0100 From: Nigel Williams nigelwilli...@orlogikstudio.com Subject: [Flashcoders] Licence servers To: flashcoders@chattyfig.figleaf.com Message-ID: f06240803c8af00f05...@[192.168.1.253] Content-Type: text/plain; charset=us-ascii ; format=flowed I would like my Flash program (most likely implemented as a desktop application) to have commercial license (unique serial numbers?) protection. It seems that the most effective modern method is to use a commercial service providing online license validation. Does anybody have any experience with implementing such a system with a Flash program, and can they recommend any particular methods? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] WEBORB, FluroineFX, et al on .NET
I'm looking for current wisdom on which of these frameworks to use for moving data, on projects using: client side: FLASH AS3 + Flex SDK (not FLEX/FB) backend: ASP.NET (not JAVA or PHP ... knocking out BlazeDS, amfphp, zendphp, etc). AMF3 support is desired, but I am not yet committed to AMF. Low to mid-sized volumes of data (not Videos). Focusing only on that platform, the tools below look to be the choices for moving data back and forth; short of rolling your own. Did I miss any? Any votes for one over the other from people who have used them? Thoughts on things to watch out for? Tool Notes WEBORB.NETPush-based, FLEX-oriented. FluorineFX Isapi Filter. AMF.NET Last version in 2007, No support (period). DotNetFlex Shaky looking, AMF0-only. (If my little table doesn't come through, I'll resend). Thank you, ~Bill The following is just to see if the HTML table works in this list. Tool Notes WEBORB.NET Push-based, FLEX-oriented FluorineFX Isapi Filter AMF.NET Last version in 2007, No support (period) DotNetFlex Shaky looking, AMF0-only ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] (The Answer) Embedded Fonts: Works in CS4, Fails in CS5?
Thanks to everyone for the responses. Adding embedAsCFF=false to the font Embed solved it! See the below note. Thanks again. ~Bill - this might be due to a known issue bazarly introduced to the new compiler. They added this option: embedAsCFF which can be true or false to switch between the old (classic) textFields (false) and the new super-duper text (true), the bazaar is that the default is true, which breaks old code. So, you might fix your problem by adding embedAsCFF=false to your font embed tag I first heard about this from: http://www.bit-101.com/blog/?p=2555 which explains the problem well. Regards, Hudson ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Embedded Fonts: Works in CS4, Fails in CS5?
Hi Christoffer, thank you for the answer; but adding fontFamily didn't help. [Embed(arial.ttf, fontName=_Arial, fontFamily=_Arial, mimeType='application/x-font')] John -- I tried messing with the flex swc but that didn't do it either -- although I have a feeling that it is related to this. I am digging further in. Thanks ~Bill One of the frustrating things with CS3 Flash was (contrary to many blogs -- and I believe the docs) that you could not actually [EMBED] fonts. However this worked wonderfully in CS4. But now, in (a fully updated) CS5 I can't seem to get EMBED to work again. The below code is exactly the same in a CS4 and a CS5 FLA. Literally, the same fla file was copied and updated to CS5. The font class was untouched. All it is meant to do is display This is my text, which works in CS4. The code is the same for both CS4 and CS5. Am I missing something in the code? Or a setting? import flash.text.AntiAliasType; import flash.text.TextField; import flash.text.TextFieldAutoSize; import flash.text.TextFormat; import fonts._Arial; [SWF(backgroundColor=#ddffdd, frameRate=30)] var Arial:_Arial = new _Arial(); try { var _title:TextField = new TextField(); with(_title) { x = 1; y = 1; alpha = 100; background = false; defaultTextFormat = new TextFormat(font=_Arial,size=24,color=0xff,align=center); width = 500; visible = true; selectable = true; type = TextFieldType.INPUT; antiAliasType = AntiAliasType.ADVANCED; embedFonts = true; text = This is my text; trace(Embedded); // Embedded is outputted in both cases. } stage.addChild(_title); } catch(e) { trace(error in TextField setup: + e); } // the fonts._Arial class package fonts { import flash.text.Font; import flash.display.Sprite; public class _Arial extends Sprite { [Embed(arial.ttf, fontName=_Arial, mimeType='application/x-font')] public var m_font:Class; public function _Arial():void { Font.registerFont(m_font); } } } Thanks ~Bill ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Anyone local to Exton, PA?
Just wondering if anyone on here is near me (Exton, PA)? thanks ~Bill ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Embedded Fonts: Works in CS4, Fails in CS5?
Hi Karl. I did try all combos of arial, Arial, _arial before asking. And the fontname in the ttf itself is Arial. Also, the exact same code works in CS4. I think it's the path stuff that John notes. I'm looking into that now. Thanks ~Bill - Original Message - From: Karl DeSaulniers To: Bill S. ; Flash Coders List Cc: flashcoders@chattyfig.figleaf.com Sent: Monday, June 28, 2010 2:24 PM Subject: Re: [Flashcoders] Embedded Fonts: Works in CS4, Fails in CS5? Try removing the underscore in your font name. In my experience, when embeding fonts, the name of the font in your code must match the font name exactly. cAse SeNsiTiVe. I believe it should be. Arial Not _Arial And if your embedding arial.ttf, it should be arial as the font name. Hth, Karl ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Embedded Fonts: Works in CS4, Fails in CS5?
One of the frustrating things with CS3 Flash was (contrary to many blogs -- and I believe the docs) that you could not actually [EMBED] fonts. However this worked wonderfully in CS4. But now, in (a fully updated) CS5 I can't seem to get EMBED to work again. The below code is exactly the same in a CS4 and a CS5 FLA. Literally, the same fla file was copied and updated to CS5. The font class was untouched. All it is meant to do is display This is my text, which works in CS4. The code is the same for both CS4 and CS5. Am I missing something in the code? Or a setting? import flash.text.AntiAliasType; import flash.text.TextField; import flash.text.TextFieldAutoSize; import flash.text.TextFormat; import fonts._Arial; [SWF(backgroundColor=#ddffdd, frameRate=30)] var Arial:_Arial = new _Arial(); try { var _title:TextField = new TextField(); with(_title) { x = 1; y = 1; alpha = 100; background = false; defaultTextFormat = new TextFormat(font=_Arial,size=24,color=0xff,align=center); width = 500; visible = true; selectable = true; type = TextFieldType.INPUT; antiAliasType = AntiAliasType.ADVANCED; embedFonts = true; text = This is my text; trace(Embedded); // Embedded is outputted in both cases. } stage.addChild(_title); } catch(e) { trace(error in TextField setup: + e); } // the fonts._Arial class package fonts { import flash.text.Font; import flash.display.Sprite; public class _Arial extends Sprite { [Embed(arial.ttf, fontName=_Arial, mimeType='application/x-font')] public var m_font:Class; public function _Arial():void { Font.registerFont(m_font); } } } Thanks ~Bill ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Animation showing through Text
Kenneth, BlendMode.ALPHA is exactly what I needed. It works great. Thank you!, ~Bill - Original Message - From: kennethkawam...@gmail.com To: Bill S. ; Flash Coders List Cc: Keith Reinfeld Sent: Wednesday, June 23, 2010 5:45 AM Subject: Re: [Flashcoders] Animation showing through Text Set blendMode of the TextField to BlendMode.ALPHA before setting the TextField as mask. This is pure AS and you can even change the text dynamically while being used as mask :) -- Kenneth Kawamoto http://www.materiaprima.co.uk/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Animation showing through Text
Hello All: I am new to the list. I am looking for a simple example of [or if it is even possible to] having text over an animation in Flash -- showing the animation Only through the text characters themselves? Something very similar to this Photoshop technique: http://www.clippingimages.com/blog/wp-content/uploads/2010/02/Final-11.jpg except with an animation in the background instead of [a much more easily maskable] image: I can play with alpha and glass techniques to show the animation through the text easily enough -- but can't find how to mask the non-text portion out. Thanks ~Bill Flash CS5, ..AS3-only developer. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Animation showing through Text
Thank you Keith. (And, yes, that looks like a good approach). I am all .AS3-based though, literally nothing in the .FLA, or library, other than a FLA document class of Main pointing out to a Main.as. However, I may need to come back to your way. Thanks again, ~Bill - Original Message - From: Keith Reinfeld To: 'Bill S.' ; 'Flash Coders List' Sent: Tuesday, June 22, 2010 3:37 PM Subject: RE: [Flashcoders] Animation showing through Text You will need to 'break apart' the text in order to use it as a mask this way. Select the textfield and use Ctrl+B twice. (Modify Break Apart) Regards, Keith Reinfeld ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Apple developing flash-like alternative
And, if you have to happen to use it for any serious email contact or content synching with sayoutlook, watch out! ~b -Original Message- From: Dave Watts dwa...@figleaf.com Sent: May 10, 2010 11:31 AM To: Flash Coders List flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Apple developing flash-like alternative I can understand the Quicktime complaints, but what are the common complaints about iTunes? I've been using iTunes for years (on a PC) and without a doubt I have more problems with it than anything else I use. Actually, I'm not sure it's all iTunes' fault - every so often my iPod locks up during a sync - but iTunes itself is slow, bloated, unresponsive, and ignores every UI convention on Windows. I'm half convinced it's intentionally so bad to convince people to get a Mac to run it. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ___ 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] I Must Be Asking This Question Wrong...
Ok, I give, reading beno's posts have become something of a guilty pleasure. Steven's hamster computer comment actually did make me laugh out loud. Dave, I wish that you would just ban beno from the list. Clearly, while he is generating a lot of traffic, it's all just OT crap. As a lurker, I just use this list to populate my google account as a repository for Flash coding searches. I use Flash rarely. I spend most of my time doing ASP .NET (c#) coding. If I conducted myself like beno on any list, I would expect to be banned and I would deserve to be banned. -- Bill Napier On Feb 2, 2010, at 4:47 PM, Cor c...@chello.nl wrote: That's a buck to me! -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Gustavo Duenas Sent: dinsdag 2 februari 2010 22:41 To: Flash Coders List Subject: Re: [Flashcoders] I Must Be Asking This Question Wrong... from an artist to another, explain me what are you trying to do in plain english and maybe the people in the list would start seeing things your way...I don't know, but when I ask for help (a lot of times in the past, present and the future) I've always explained what am I looking to obtain first, then I submit the code for consideration, that helps me a lot...my two cents. Gus call me pussy or moron I use to trace , but if you want to teach me breackpoints, no problem, i'll bring my sharpest pencil to defend myself ;) On Feb 2, 2010, at 1:08 PM, beno - wrote: Frankly I'm glad things have slowed down. Let me play Devil's Advocate and state explicitly I don't want you to do my work for me. I want you to help me understand what it is I need to do. This morning, two very kind people reached out to help me simultaneously. Their methodology was completely different the one from the other. Their attitude was stellar but their delivery beyond what they should have offered. Make_me_work. I'm not afraid of working. I like it. I need to learn this for myself. Suggest...and make me sweat. As it was, I was doing everything I could to keep up with the two of you! Now that things have calmed down, I've had a chance to review your suggestions and try to make sense of the vis-a-vis my code. One lister commented I'm the most expensive programmer on the planet. I laughed my a$$ off. It may be true. However, it's equally true I am sincerely trying my best. Again, I'm an artist, and positively gifted at that. (Or, as I would say, I'm really good at listening to the Muses. I'm not the artist. They are.) This will be incorporated into my art, so it's more than just a revenue generator. But as an artist, I really have a very difficult time thinking like a left-brain programmer. Please believe me when I tell you I'm doing the very best I can. I would never abuse your help, even though it may seem that way to some of you left-brainers. If you could walk a mile in my moccasins, you would have an entirely different perspective on this matter, I assure you. Lastly, before I get into the code, let me state that the Moock book should arrive by Friday. Hopefully I'll be able to answer most of my own questions by then, which--believe it or not--is what I would prefer to do. I don't want to be the most expensive programmer in the world. I want to do it myself, at least as much as I possibly can. I want your respect, not your charity. So, the code. Working with Glen Pike's suggestions of keeping it all in the same class, I've refined my code to this: package { import flash.events.Event; import flash.events.ProgressEvent; import flash.events.Event; import flash.events.MouseEvent; import flash.display.MovieClip; import com.greensock.*; import com.greensock.easing.*; public class Main2 extends MovieClip { trace('hi'); public var myThumb:CloseThumb; private var counter:int = 0; public function Main2() { trace('Main2'); init(); addEventListener(Event.ENTER_FRAME, checkFrame); } public function init():void { trace('init'); theThumb(); } public function checkFrame(e:Event):void { if (counter == 10) { doTween(); counter = 0; } else { counter++; trace(counter); } } public function doTween():void { trace('doTween'); addChild(myThumb); TweenMax.to(myThumb, .4, {shortRotation:{rotation:60}, ease:Back.easeOut,onComplete:onFinishTween}); } public function onFinishTween():void { removeChild(myThumb); } public function theThumb():void { trace('theThumb'); myThumb = new CloseThumb(); myThumb.x = 365; myThumb.y = 355; } } } Notice all the traces I have. Not a single one prints. It would help me to know why. The mc CloseThumb does not play, either. What traces is the following: at Main2/theThumb() at Main2/init() at Main2 I would like to know what that means since I've seen it so many times. Here's Cor's version of separating out a new class called CloseThumb() and calling it from the main class. First, the Main2.as: package { import
[Flashcoders] Back On Course, Still Problems
After reading all of the back and forth on this, I'm reminded of Forgetting Sarah Marshall. I was gonna listen to that, but then, um, I just carried on living my life. But I have to agree with Jason. That kind of talk will get you a pool cue across the jaw at our watering hole. _ Bill Jones Interface Developer Backe Digital Brand Marketing 35 Cricket Terrace Center Ardmore, PA 19003 Voice: 610-896-9260 x280 Fax: 610-896-9242 bjo...@backemarketing.com If you want to go forward, click Backe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash security issue
My apologies for not getting back sooner. I have been pulled away from this temporarily to put out another fire. But I was wondering if this will work if the swf calls other swf files and video as well? Will the wrapper throw off the scope to the other support files? On 8/21/09 11:14 AM, Gregory Boland breakfastcof...@gmail.com wrote: thats why i'm saying create a wrapper file for that swf. take the swf that is given to you from ad wonder and import it into a .fla file. then make an .exe file out of that. On Fri, Aug 21, 2009 at 10:13 AM, Bill Jones bjo...@backemarketing.comwrote: Unfortunately, AdWonder controls the entire process. It builds the files and I simply download a stuffit file that contains the html, swf and support files. On 8/21/09 10:08 AM, Gregory Boland breakfastcof...@gmail.com wrote: create an .exe file so that when you run it from a CD you can run it standalone. Not sure about what your using, if it allows you to do that but maybe if you create a wrapper swf and load the other swf into your wrapper swf you can create an .exe file greg On Fri, Aug 21, 2009 at 9:52 AM, Bill Jones bjo...@backemarketing.com wrote: I am creating a Demo file using EyeWonder's AdWonder. It generates an html with accompanying swf and support files. I can copy the html and file folder to a disk so the client can view the finished piece locally on a stand alone laptop. Unfortunately, to view it from a CD, you have to adjust flash security setting through the Flash Player Security Manager (something the client has no idea how to do). Is there a way to bypass the security settings, or can I add some javascript (link a js file) to the html mage that will make the change transparent to the end user? _ Bill Jones Interface Developer Backe Digital Brand Marketing 35 Cricket Terrace Center Ardmore, PA 19003 Voice: 610-896-9260 x280 Fax: 610-896-9242 bjo...@backemarketing.com If you want to go forward, click Backe. ___ 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 _ Bill Jones Interface Developer Backe Digital Brand Marketing 35 Cricket Terrace Center Ardmore, PA 19003 Voice: 610-896-9260 x280 Fax: 610-896-9242 bjo...@backemarketing.com If you want to go forward, click Backe. ___ 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 _ Bill Jones Interface Developer Backe Digital Brand Marketing 35 Cricket Terrace Center Ardmore, PA 19003 Voice: 610-896-9260 x280 Fax: 610-896-9242 bjo...@backemarketing.com If you want to go forward, click Backe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Flash security issue
I am creating a Demo file using EyeWonder's AdWonder. It generates an html with accompanying swf and support files. I can copy the html and file folder to a disk so the client can view the finished piece locally on a stand alone laptop. Unfortunately, to view it from a CD, you have to adjust flash security setting through the Flash Player Security Manager (something the client has no idea how to do). Is there a way to bypass the security settings, or can I add some javascript (link a js file) to the html mage that will make the change transparent to the end user? _ Bill Jones Interface Developer Backe Digital Brand Marketing 35 Cricket Terrace Center Ardmore, PA 19003 Voice: 610-896-9260 x280 Fax: 610-896-9242 bjo...@backemarketing.com If you want to go forward, click Backe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash security issue
Unfortunately, AdWonder controls the entire process. It builds the files and I simply download a stuffit file that contains the html, swf and support files. On 8/21/09 10:08 AM, Gregory Boland breakfastcof...@gmail.com wrote: create an .exe file so that when you run it from a CD you can run it standalone. Not sure about what your using, if it allows you to do that but maybe if you create a wrapper swf and load the other swf into your wrapper swf you can create an .exe file greg On Fri, Aug 21, 2009 at 9:52 AM, Bill Jones bjo...@backemarketing.comwrote: I am creating a Demo file using EyeWonder's AdWonder. It generates an html with accompanying swf and support files. I can copy the html and file folder to a disk so the client can view the finished piece locally on a stand alone laptop. Unfortunately, to view it from a CD, you have to adjust flash security setting through the Flash Player Security Manager (something the client has no idea how to do). Is there a way to bypass the security settings, or can I add some javascript (link a js file) to the html mage that will make the change transparent to the end user? _ Bill Jones Interface Developer Backe Digital Brand Marketing 35 Cricket Terrace Center Ardmore, PA 19003 Voice: 610-896-9260 x280 Fax: 610-896-9242 bjo...@backemarketing.com If you want to go forward, click Backe. ___ 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 _ Bill Jones Interface Developer Backe Digital Brand Marketing 35 Cricket Terrace Center Ardmore, PA 19003 Voice: 610-896-9260 x280 Fax: 610-896-9242 bjo...@backemarketing.com If you want to go forward, click Backe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] motif ad kit not working
Have you checked out their web site for an upgrade? On 1/22/09 10:48 AM, Gustavo Duenas gdue...@leftandrightsolutions.com wrote: Hi Coders, I've recently downloaded motif ad kit for the cs3 intel macs and now it is given me a JAVASCRIPT odd error..something like motifToolKit and something else is nota function. Do you know what is going on I Have that installed in the flash 8 but since I've migrated to cs3... Regards, Gustavo Duenas ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _ Bill Jones Interface Developer Backe Digital Brand Marketing 35 Cricket Terrace Center Ardmore, PA 19003 Voice: 610-896-9260 x280 Fax: 610-896-9242 bjo...@backemarketing.com If you want to go forward, click Backe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Looking for actionscript video code
This my first email here. I hope I am posting this to the right area. My apologies if not. I want to take a QT.mov and create an flv with event cue points that can then be controlled using actionscript to stop the video at a specific time and execute another event, all without end user input. I have very little experience in working with actionscript 2.0 (sorry, but I need to do this in 2.0). Can anyone direct me to a book or online tutorial that covers this in detail? _ Bill Jones Interface Developer Backe Digital Brand Marketing 35 Cricket Terrace Center Ardmore, PA 19003 Voice: 610-896-9260 x280 Fax: 610-896-9242 bjo...@backemarketing.com If you want to go forward, click Backe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] This actionscript error is driving me mad
Dear Zeh, thank you for your reply. 2007/12/30, Zeh Fernando [EMAIL PROTECTED]: var p1:Point = new Point(10, 20); var p2:Point = p1; // not a copy, but a reference p2.x = 0; trave (p1.x); // traces 0, not 10 That's the only thing I can imagine. I guess it will depends on what's on the [snip] part of your code. Is anything (that's also part of the pathB array) assigned to pnt? Unfortunately, pnt is not assigned anywhere else. It only appears in those lines of code I have already sent. If I replace them with pnt.x=pnt.x; pnt.y=pnt.y; the code works fine! But anything else fails. I am thinking this could be an internal Flash bug. Where should I report this? I am willing to send all of my code if this could help tracing out the bug. BTW, happy new year! :) Bill Kotsias wrote: ...[snip]... private var pnt:Point = new Point(); private var dirp:int; private var fastp:int; private var i:int; private var pathB:Array; ...[snip]... for (dirp=fastp; dirp=i; dirp++) { // BUG!!! If I UNCOMMENT 1 of the 2 following lines, code gets mixed up. // pnt.x=pathB[dirp][0].x+pathB[dirp][2].x; // pnt.y=pathB[dirp][0].y+pathB[dirp][2].y; pnt=new Point(pathB[dirp][0].x+pathB[dirp][2].x,pathB[dirp][0].y+pathB[dirp][2].y); if (addElement(pnt, dirp, pathB[dirp][2], pathB[dirp][3]+1)) return pathF; } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] This actionscript error is driving me mad
Hello. I am a newbie to this list, so I am sorry if this message is off-topic. If it is, I would be obliged if anyone could direct me to the correct place. I am a veteran programmer but I am new to actionscript. I have come across some strange behaviour which is driving me mad. Following is a part of my code : ...[snip]... private var pnt:Point = new Point(); private var dirp:int; private var fastp:int; private var i:int; private var pathB:Array; ...[snip]... for (dirp=fastp; dirp=i; dirp++) { // BUG!!! If I UNCOMMENT 1 of the 2 following lines, code gets mixed up. // pnt.x=pathB[dirp][0].x+pathB[dirp][2].x; // pnt.y=pathB[dirp][0].y+pathB[dirp][2].y; pnt=new Point(pathB[dirp][0].x+pathB[dirp][2].x,pathB[dirp][0].y+pathB[dirp][2].y); if (addElement(pnt, dirp, pathB[dirp][2], pathB[dirp][3]+1)) return pathF; } As I mention above, if I uncomment //pnt.x=... or //pnt.y=... or if I even replace them with something like pnt.x=pnt.x+1; then my code gets mixed up and returns wrong results. This is driving me nuts because these two lines shouldn't have any effect since right below them there is pnt=new Point(...); which supposedly cancels the 2 previous instructions. Right? Could anyone, please, show me the obvious that I can't see? Many thanks in advance, Bill Kotsias ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] digest
Ditto on going back to digest ... Bill Napier Web Designer/Graphic Artist Bowles Rice McDavid Graff Love LLP Post Office Box 1386 Charleston, West Virginia 25325-1386 Telephone: (304) 347-2139 Facsimile: (304) 343-3058 [EMAIL PROTECTED] ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] problem creating multiple instances
After reading your first e-mail I did go through and make a change here, but it did not resolve the issue. _mcLibrary = _scope.attachMovie(libraryLink, mcLibrary+myName, _scope.getNextHighestDepth()); The line you mention is not the MovieClip reference for the plane, but a MovieClip created to create a BitmapData object. _bd = new BitmapData(_mcLibrary._width, _mcLibrary._height, true, 0x00); This BitmapData object is later placed into the plane reference MovieClip. At least that is my understanding... YIKES! _di = new DistortImage(_mc, _bd, vQuality, hQuality); I'm not able to post the class inside the e-mail anymore, it exceeds the maximum file size allowed by flashcoders. If you need the class file again I will create a link to all of the files. Thanks for your response! On May 23, 2007, at 4:03 PM, David Ngo wrote: Yeah, you're using the same MovieClip name reference. I do believe you can't have two objects share the same name. You'll get concurrency issues with that on this line: _mcLibrary = _scope.attachMovie(libraryLink,mcLibrary, _scope.getNextHighestDepth()); You'll need to create a unique ID for it. I would probably suggest either within your creation object, or have an ID factory (should probably be a hybrid Singleton/Factory) that just generates unique ID's that you can append to your instance names. As for the custom class, it's nothing more than a blank class with public variables (or private ones and getter/setter methods) that contain the data you want to pass. OR, since you use two separate objects, just have a single object compose both. There are many ways to go about doing it, so it just boils down to preference I guess. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] problem creating multiple instances
Yes it is. It is the name the person designates to the plane at runtime. On May 23, 2007, at 9:58 PM, David Ngo wrote: Where are you getting 'myName'? Is that a unique name per instance? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Mackin Sent: Wednesday, May 23, 2007 6:33 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] problem creating multiple instances After reading your first e-mail I did go through and make a change here, but it did not resolve the issue. _mcLibrary = _scope.attachMovie(libraryLink, mcLibrary+myName, _scope.getNextHighestDepth()); The line you mention is not the MovieClip reference for the plane, but a MovieClip created to create a BitmapData object. _bd = new BitmapData(_mcLibrary._width, _mcLibrary._height, true, 0x00); This BitmapData object is later placed into the plane reference MovieClip. At least that is my understanding... YIKES! _di = new DistortImage(_mc, _bd, vQuality, hQuality); I'm not able to post the class inside the e-mail anymore, it exceeds the maximum file size allowed by flashcoders. If you need the class file again I will create a link to all of the files. Thanks for your response! On May 23, 2007, at 4:03 PM, David Ngo wrote: Yeah, you're using the same MovieClip name reference. I do believe you can't have two objects share the same name. You'll get concurrency issues with that on this line: _mcLibrary = _scope.attachMovie(libraryLink,mcLibrary, _scope.getNextHighestDepth()); You'll need to create a unique ID for it. I would probably suggest either within your creation object, or have an ID factory (should probably be a hybrid Singleton/Factory) that just generates unique ID's that you can append to your instance names. As for the custom class, it's nothing more than a blank class with public variables (or private ones and getter/setter methods) that contain the data you want to pass. OR, since you use two separate objects, just have a single object compose both. There are many ways to go about doing it, so it just boils down to preference I guess. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] problem creating multiple instances
Muzak, Thanks for your suggestion, I will look into XRay for future projects. I have of course placed several trace commands throughout my code, but I am still unable to find the problem. Cheers, - Bill On May 23, 2007, at 9:46 PM, Muzak wrote: I suggest you start placing some trace()'s in your code so you can track what happens. And get XRay.. http://osflash.org/xray regards, Muzak ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Detect Flash version in AS3
Joe, In my experience, using some kind of javascript like SWFObject or UFO is the best way to go. There is a project named SWFFix that looks promising, but it appears that no work has been done on it since Feb. http://www.swffix.org/devblog/ As for using AS3 to detect for the version of flash, you are correct to assume that older versions of the Flash player will have problems. Cheers, - Bill On May 24, 2007, at 12:48 AM, Joe Cutting wrote: Hello, I'm building a web project in AS3 using Flash CS3. Originally my idea was that the swf would do a version check at the start of the program and if the user wasn't running Flash 9 they would be redirected to download the upgrade. Now, I've done some thinking about this and realised that if the user isn't running Flash 9 then they won't be able to run the swf at all so it wouldn't be able to run the version check. Can anyone confirm that this is the case? If so it looks like that the only ways to check if users can run AS3 swfs are: - use some kind of javascript like SWF Object - use another version detection swf written in AS2. My understanding is that this would have to call the AS3 swf rather than wrapping it. I'd be interested to know how other people have got on with this issue. Cheers Joe Joe Cutting Computer exhibits and installations www.joecutting.com The Fishergate Centre, 4 Fishergate, York, YO10 4FB 01904 624681 As of 30th October 2006 I have a new office so please note my new address and phone number ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Q:Create and animate diagonal slices from Bitmap
Jesse, Pretty cool! H... Would be great if the you were able to add filters to the image below just within the bounds of that slice. Cheers, - Bill On May 24, 2007, at 12:15 AM, Jesse Graupmann wrote: Stage.scaleMode = 'noScale' import flash.display.* import flash.geom.* function drawSlices ( image:MovieClip, drawMC:MovieClip, rotation:Number, sliceWidth:Number ) { var slice_info = getSliceInfo ( image, rotation ); // DOT IS JUST A VISUAL MARKER dot._x = image._x + slice_info.pt.x; dot._y = image._y + slice_info.pt.y; dot.swapDepths ( dot._parent.getNextHighestDepth() ) var angle = rotation * (Math.PI/180); var slices_top = Math.ceil(image._width/sliceWidth); var slices_bottom = Math.ceil((slice_info.pt.x)/sliceWidth) var slice_array = []; for ( var i = -slices_bottom; i slices_top; i++ ) { var slice = drawMC.createEmptyMovieClip ( 'slice_' + i, drawMC.getNextHighestDepth() ); slice._x = i * ( sliceWidth-(sliceWidth/1.7)); var bmp_temp = new BitmapData ( sliceWidth+1, slice_info.diagonal_height+sliceWidth, true, 0x00FF ); var bmp_temp_matrix:Matrix = new Matrix(); bmp_temp_matrix.rotate( angle ); bmp_temp_matrix.translate( -(sliceWidth) * i, -sliceWidth * i ); bmp_temp.draw ( image, bmp_temp_matrix, null, null, null, true ); var slice_bmp = new BitmapData ( slice_info.diagonal_width , slice_info.diagonal_height, true, 0x00FF ); var slice_bmp_matrix:Matrix = new Matrix(); slice_bmp_matrix.rotate(-angle); slice_bmp_matrix.translate( (sliceWidth )*i, 0 ); slice_bmp.draw ( bmp_temp, slice_bmp_matrix, null, null,null, true ); slice.attachBitmap ( slice_bmp, 1, true, true ); slice_array.push ( slice ); } drawMC.slice_array = slice_array; } function getSliceInfo ( image, angle) { var pt = new Point ( image._width, image._height ); var len = pt.length; var degrees = 90 - angle; var radians = degrees * (Math.PI/180); var dpt = new Point ( len * Math.cos ( radians ), len * Math.sin ( radians ) ); dpt.x = Math.max ( 0, Math.min ( pt.x, dpt.x )); dpt.y = Math.max ( 0, Math.min ( pt.y, dpt.y )); var info = { pt:dpt, diagonal_width: dpt.x, diagonal_height: dpt.length } return info; } function drawSlicedImage () { // ORIGINAL IMAGE mc._alpha = 40 // SLICE HOLDER var drawMC = this.createEmptyMovieClip ( 'drawMC', this.getNextHighestDepth() ); drawMC._x = mc._x; drawMC._y = mc._y; // CREATE SLICES var sliceWidth = 30 var angle = 45; drawSlices ( mc, drawMC, angle, sliceWidth ); } function addSliceInteraction ( ) { drawMC.onMouseMove = function() { var xper = Math.max ( 0, Math.min ( 1, this._xmouse / mc._width ) ) var yper = 1-Math.max ( 0, Math.min ( 1, this._ymouse / mc._height ) ) var per = (xper+yper)/2 var inx = Math.round ( this.slice_array.length * per ) for ( var i in this.slice_array ) { var slice = this.slice_array [ i ]; if ( i == inx ) { slice._alpha = 10; } else { slice._alpha = 100; } } } } // function INIT () { drawSlicedImage (); addSliceInteraction (); } INIT (); ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] problem creating multiple instances
Finally found the problem!! In the end it was very simple. I did not define _myMouseListener:Object in the correct place, and it was being overwritten. Thanks for the help! Cheers, - Bill On May 24, 2007, at 6:41 AM, Bill Mackin wrote: Yes it is. It is the name the person designates to the plane at runtime. On May 23, 2007, at 9:58 PM, David Ngo wrote: Where are you getting 'myName'? Is that a unique name per instance? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Mackin Sent: Wednesday, May 23, 2007 6:33 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] problem creating multiple instances After reading your first e-mail I did go through and make a change here, but it did not resolve the issue. _mcLibrary = _scope.attachMovie(libraryLink, mcLibrary+myName, _scope.getNextHighestDepth()); The line you mention is not the MovieClip reference for the plane, but a MovieClip created to create a BitmapData object. _bd = new BitmapData(_mcLibrary._width, _mcLibrary._height, true, 0x00); This BitmapData object is later placed into the plane reference MovieClip. At least that is my understanding... YIKES! _di = new DistortImage(_mc, _bd, vQuality, hQuality); I'm not able to post the class inside the e-mail anymore, it exceeds the maximum file size allowed by flashcoders. If you need the class file again I will create a link to all of the files. Thanks for your response! On May 23, 2007, at 4:03 PM, David Ngo wrote: Yeah, you're using the same MovieClip name reference. I do believe you can't have two objects share the same name. You'll get concurrency issues with that on this line: _mcLibrary = _scope.attachMovie(libraryLink,mcLibrary, _scope.getNextHighestDepth()); You'll need to create a unique ID for it. I would probably suggest either within your creation object, or have an ID factory (should probably be a hybrid Singleton/Factory) that just generates unique ID's that you can append to your instance names. As for the custom class, it's nothing more than a blank class with public variables (or private ones and getter/setter methods) that contain the data you want to pass. OR, since you use two separate objects, just have a single object compose both. There are many ways to go about doing it, so it just boils down to preference I guess. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] problem creating multiple instances
Hello, I'm having a problem with one of my class files. I've created a class to control the animation of a 3D plane, but I am unable to use multiple instances at the same time. I'm not sure what it is that is conflicting. Any ideas would be appreciated. I've attached the class file. If the other class files are needed, please let me know. I also have a test FLA that I have been using to test my progress on this problem. Cheers, - Bill ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] problem creating multiple instances
Hello, Looks like the attachment did not go out. I've pasted the Actionscript into this e-mail. Cheers, - Bill /* Simple 3D Plane - v1.0 Created : January 24, 2007 Last Updated : May 18, 2007 Copyright © 2007 Pixlart. All rights reserved. http://www.pixlart.net info [at] pixlart [dot] net */ /// \\ \ /* DESCRIPTION Allows you to animate MovieClips and Bitmaps on a 3D plane with full control and easing. AUTHOR(s) Bill Mackin - http://www.billmackin.com Combination of scripts and development of 3D animation API. • Marquee Flipper - Which provided a good starting point and combination of World3d and DistortImage. Felix Turner - http://www.airtightinteractive.com • Simple 3d Engine World3d - A very basic light 3D engine. André Michelle - http://www.andre-michelle.com • DistortImage - A class to distort an image (including persective distortions) by slicing the image into smaller pieces (generally triangles). Thomas Pfeiffer kiroukou - http://www.thomas- pfeiffer.info Richard Lester RichL Didier Brun foxy - http://www.foxaweb.com • Easing Equations - Popular equations used by many to provide easing effects in scripted animations. Robert Penner - http://www.robertpenner.com USAGE var myCreationSettings:Object = { myName:3DCircleOnCavill, libraryLink:CircleOnCavill, scope:this, xAxisStart:0, yAxisStart:0, mouseReactive:false, vQuality:3, hQuality:3 } var my3Dplane:Simple3DPlane = new Simple3DPlane(myCreationSettings); var myAnimationSettings:Object = { xAxisTo:0, yAxisTo:180, animationDuration:1, easingMath:Expo, easingType:easeOut, delay:1, callBack:doSomething, callBackScope:this, callBackArgs:[true, both, 1] } my3Dplane.animate3DPlane(myAnimationSettings); my3Dplane.getTarget(); // returns an instance of the newly created MovieClip containing the 3D plane. my3Dplane.mouseReactive(true, 30, 20, true); @param1 = turns 3D movement based on mouse position on/off @param2 = the limit for the 3D movement on the x axis, (in degrees). @param3 = the limit for the 3D movement on the y axis, (in degrees). @param4 = determines whether the 3D plane rotates towards the mouse or away, (only used when limiting angles). NOTES BILL MACKIN • When using a MovieClip for your content, be sure to position the top left of your content at 0,0. TO DO 1. Update so you can create several 3D plane instances and control each of them separately. */ /// \\ \ /// // INCLUDE / IMPORT --- // import flash.display.BitmapData; import flash.geom.Matrix; import mx.utils.Delegate; import ActionScript.simple3D.DistortImage import ActionScript.simple3D.World3d import ActionScript.Tools.PennerEasing // class ActionScript.simple3D.Simple3DPlane { // PROPERTIES // var myName:String
Re: [Flashcoders] problem creating multiple instances
This is how I am instantiating the creationObject (below). I believe that if I am passing a different name to the myName property it should create more than one MovieClip instance. I'd love to hear more about your suggestion to use a custom class to set properties instead of a generic object, or maybe point me in the direction of good tutorial or example. Unfortunately I am a self taught coder and am not always familiar with some of the best practices. var myCreationSettings:Object = { myName:3DCircleOnCavill, libraryLink:CircleOnCavill, scope:this, xAxisStart:-20, yAxisStart:20, vQuality:3, hQuality:3 } var my3Dplane:Simple3DPlane = new Simple3DPlane(myCreationSettings); my3Dplane.mouseReactive(true, 30, 20, true); var myCreationSettings2:Object = { myName:3DCircleOnCavill2, libraryLink:tom, scope:this, xAxisStart:-20, yAxisStart:20, vQuality:3, hQuality:3 } var my3Dplane2:Simple3DPlane = new Simple3DPlane(myCreationSettings2); my3Dplane2.mouseReactive(true, 30, 20, true); On May 23, 2007, at 3:20 PM, David Ngo wrote: Looks like you're attaching your plane to the same MovieClip instance, thus destroying any/all objects that was previously on that MovieClip instance. Depends on how you're instantiating your creationObject. BTW, just a comment on your implementation: I would use a custom class to set properties for creation and animation rather than a generic object. This way, you can avoid having to iterate through the object and then you can just composition your custom class/object. In Java, this would be equivalent to a Value Object or a Data Transfer Object. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Mackin Sent: Wednesday, May 23, 2007 12:51 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] problem creating multiple instances Hello, Looks like the attachment did not go out. I've pasted the Actionscript into this e-mail. Cheers, - Bill /* Simple 3D Plane - v1.0 Created : January 24, 2007 Last Updated : May 18, 2007 Copyright © 2007 Pixlart. All rights reserved. http://www.pixlart.net info [at] pixlart [dot] net */ /// \\ \ /* DESCRIPTION Allows you to animate MovieClips and Bitmaps on a 3D plane with full control and easing. AUTHOR(s) Bill Mackin - http://www.billmackin.com Combination of scripts and development of 3D animation API. • Marquee Flipper - Which provided a good starting point and combination of World3d and DistortImage. Felix Turner - http://www.airtightinteractive.com • Simple 3d Engine World3d - A very basic light 3D engine. André Michelle - http://www.andre-michelle.com • DistortImage - A class to distort an image (including persective distortions) by slicing the image into smaller pieces (generally triangles). Thomas Pfeiffer kiroukou - http://www.thomas- pfeiffer.info Richard Lester RichL Didier Brun foxy - http://www.foxaweb.com • Easing Equations - Popular equations used by many to provide easing effects in scripted animations. Robert Penner - http://www.robertpenner.com USAGE var myCreationSettings:Object = { myName:3DCircleOnCavill, libraryLink:CircleOnCavill, scope:this, xAxisStart:0, yAxisStart:0, mouseReactive:false, vQuality:3, hQuality:3 } var my3Dplane:Simple3DPlane = new Simple3DPlane(myCreationSettings); var myAnimationSettings:Object = { xAxisTo:0
[Flashcoders] Accessing an Associative Array
How do you access an associate array using a variable? Inside my function popup[text]; won't access the array. I can't find any information in the books I have Actionsript Cookbook and Actionscript for Flash MX. Anyone dealt with this before? // Define the text and titles for the popups var myarray = { text: Lorem ipsum dolor sit amet ... }; // Testing - this works! trace(myarray[text]); // Show the popup function showPopup(popup) { mainMap[popup].gotoAndPlay(on); mainMap[popup].label_title.text = popup[text]; // This doesn't work. trace(popup[text]); }; showPopup(myarray); ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Accessing an Associative Array
How do you do it where myVar is the array? Is this possible? Or do you always have to specify the array? arr = new Array() arr[elem1] = hello arr[elem2] = hi function testArray(myVar) { trace(myVar[elem2]); }; testArray(arr); On Mar 12, 2007, at 3:17 PM, Merrill, Jason wrote: arr = new Array() myVar = elem2 arr[elem1] = hello arr[elem2] = hi trace(arr[myVar]) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Accessing an Associative Array
Your right. I am passing a string. But I'm trying to use that string to access an array by the same name. someArray = { label: my text }; showPopup(someArray); // send a string which is the name of my array in the function: myDynamicText.text = myArray[label]; // try to use the passed string to access the array. This won't access some array. How do I convert that string over to something that will work? -b On Mar 12, 2007, at 3:46 PM, Andy Herrman wrote: I think this is your problem: showPopup(myarray); You're passing showPopup a string with the value myarray, not the array. Remove the quotes and you should be good. -Andy On 3/12/07, Bill Abel [EMAIL PROTECTED] wrote: How do you access an associate array using a variable? Inside my function popup[text]; won't access the array. I can't find any information in the books I have Actionsript Cookbook and Actionscript for Flash MX. Anyone dealt with this before? // Define the text and titles for the popups var myarray = { text: Lorem ipsum dolor sit amet ... }; // Testing - this works! trace(myarray[text]); // Show the popup function showPopup(popup) { mainMap[popup].gotoAndPlay(on); mainMap[popup].label_title.text = popup[text]; // This doesn't work. trace(popup[text]); }; showPopup(myarray); ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Accessing an Associative Array
Cool. That's it. Thanks so much! Needed to use the syntax; this[myStringVariableAndArrayName][myLabelInMyAssociativeArray]; My final code: // Show the popup function showPopup(popup) { trace(popup); mainMap[popup].gotoAndPlay(on); mainMap[popup].label_title.text = this[popup][labelText]; trace(this[popup][labelText]); }; On Mar 12, 2007, at 4:45 PM, Merrill, Jason wrote: How do you do it where myVar is the array? Is this possible? Or do you always have to specify the array? Easy, just keep using the array access operator to evaluate: myVar = myArray2 myArray1 = new Array() myArray1[elem1] = hello myArray1[elem2] = hi myArray2 = new Array() myArray2[elem1] = wassup myArray2[elem2] = yo trace(this[myVar][elem1]) //traces wassup Jason Merrill Bank of America Global Technology Operations Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Abel Sent: Monday, March 12, 2007 5:02 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Accessing an Associative Array How do you do it where myVar is the array? Is this possible? Or do you always have to specify the array? arr = new Array() arr[elem1] = hello arr[elem2] = hi function testArray(myVar) { trace(myVar[elem2]); }; testArray(arr); On Mar 12, 2007, at 3:17 PM, Merrill, Jason wrote: arr = new Array() myVar = elem2 arr[elem1] = hello arr[elem2] = hi trace(arr[myVar]) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Job - Flash Designer
Birmingham, AL Flash Designer About The Slaughter Group: The Slaughter Group is a brand development firm providing sound strategy and exceptional creativity in Corporate and Brand Identity and Strategic Design. The firm has a depth of experience in serving clients with the highest quality products and services across a range of businesses and industries, including professional services, real estate, healthcare, financial services, and not-for-profit organizations. Founded in 1976, the Slaughter Group continues to be the recipient of top national and international creative awards. More information can be found at www.slaughtergroup.com. Job Summary: As a Flash Designer at the Slaughter Group, you function as a key member of the Creative Design team responsible for the development and execution of Websites and multimedia. Key Responsibilities: • Provide excellent design skills. • Work closely with designers and team members to develop dynamic, interactive websites and multimedia using Flash and other technologies. • Ability to translate a wireframe and style guide into a production page. • Provide solid experience in graphic manipulation in Photoshop and Illustrator. • Resolve bugs and cross browser compatibility issues • Identify tools, templates, and techniques that evolve existing approaches Job Requirements: • Solid skills in Web Standards, HTML, XHTML, CSS, and Javascript • Solid skills in Flash 8 and Actionscript 2.0 • Knowledge of PHP, AJAX, or Ruby on Rails desired • Strong Photoshop and Illustrator skills • Strong organizational skills • Heroic get-it-done attitude • Ability to thrive under tight deadlines • Bachelor’s degree in design-related discipline preferred • 1+ years of industry experience preferred • Must provide samples* *Submit samples as URLs or PDF with no more than five examples. Please provide a brief description of your role in each project. Keywords: flash designer, flash developer, web designer, web developer, web programmer ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Job - Flash Designer
Send inquiries/resumes/portfolios to [EMAIL PROTECTED] On Feb 1, 2007, at 9:02 AM, Bill Abel wrote: Birmingham, AL Flash Designer ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Re: XML and line breaks
Can't you include chr(13) ? - Original Message - From: Stephen Ford [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Thursday, January 11, 2007 4:11 AM Subject: [Flashcoders] Re: XML and line breaks Still having issues with creating line breaks in my text field. Here is the new XML: \n\nintro title=How to ?![CDATA[Rollover an item in the menu onbr / the left to see a bsnapshot of a project/b.]]/intro \n\nIn my flash code, I set the text field as txtField.htmlText = true; and assign the text with txtField.htmlText = xmlNode; but it's still not appearing correctly - the tags are appearing in the text fields (both the b and the br /).Any thoughts.___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Mac Projector won't go fullscreen
I've not had time to try it that way yet. I didn't have time to experiment. -b On Dec 7, 2006, at 8:13 PM, Bill Napier wrote: That's weird. I'll be doing this soon too. So, this won't work? //1 //2 fscommand(fullscreen,false); //3 fscommand(fullscreen,true); It would be worth it, to elimate the flicker. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] loading external files with a mac projector on cd-rom
The problem was the .DS_store was removed... However, I still couldn't get the path worked out to access the ISO data from the Mac projector on a Hybrid disc. I just put a copy of the shared data on both the ISO and Mac volumes... -b On Dec 7, 2006, at 4:53 AM, Derek Stottlemyer wrote: Hello Bill, //Mac var path=slides: On Mac, folders are separated by a : not a /. I usually have a folderSep variable which I set depending on the platform. i.e. var folderSep=/; if (isMac){ // However you want to tell if it is a Mac. folderSep=:; } var path=slides+folderSep; HTH, Derek -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bill Abel Sent: Thursday, December 07, 2006 12:27 AM To: Flashcoders mailing list Subject: [Flashcoders] loading external files with a mac projector on cd-rom I'm loading some JPEGs into a movieclip using a projector. When I burn the files to disc, it works fine in Windows, but my Mac projector can't find the JPEGs. myClip.loadMovie(path+slide+.jpg); I tried adding in _url to the path, but that didn't solve the problem. I don't think I need colons for OS X. Here's my code: // Launch in fullscreen mode fscommand(fullscreen, true); // initialize variables var path = slides/; var totalSlides = 28; var slide = 1; //initialize - load first slide holder.loadMovie(path+slide+.jpg); // define navigation // next slide button forward_btn.onRelease = function() { switch (slide) { case 1 : slide++; holder.loadMovie(path+slide+.jpg); break; case totalSlides : break; default : slide++; holder.loadMovie(path+slide+.jpg); break; } trace(slide); }; // previous slide button back_btn.onRelease = function() { switch (slide) { case 1 : break; case totalSlides : slide--; holder.loadMovie(path+slide+.jpg); break; default : slide--; holder.loadMovie(path+slide+.jpg); break; } trace(slide); }; ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com __ NOD32 1906 (20061206) Information __ This message was checked by NOD32 antivirus system. http://www.eset.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] Mac Projector won't go fullscreen
My projector won't go fullscreen on all macs. It works on some, and not on others. I think it works on machines with version 9 installed. I don't know why that would affect it since it is stand-alone. I've searched all the forums and found someone having the problem just a few months ago, but no answers to the problem. Anyone know how to resolve this? To clarify, fscommand(fullscreen,true); is not working on some macs. Works on mine with Flash Player 9 installed. -b ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Mac Projector won't go fullscreen
I'm using a projector not Flash Player. A projector is a stand-alone application that has the player embedded. On Dec 7, 2006, at 1:02 PM, T. Michael Keesey wrote: Just out of curiosity, if you're using FP9, then why are you using fscommand instead of ExternalInterface? On 12/7/06, Bill Abel [EMAIL PROTECTED] wrote: My projector won't go fullscreen on all macs. It works on some, and not on others. I think it works on machines with version 9 installed. I don't know why that would affect it since it is stand-alone. I've searched all the forums and found someone having the problem just a few months ago, but no answers to the problem. Anyone know how to resolve this? To clarify, fscommand(fullscreen,true); is not working on some macs. Works on mine with Flash Player 9 installed. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Mac Projector won't go fullscreen
Found a work around in a Google Flash Group. Basically, you make the fullscreen call in frame one, then turn it off in frame 2, and call it again in frame 3. It flickers when launched, but it works. http://groups.google.com/group/macromedia.flash/browse_thread/thread/ beb8c01c67e0501a/4589a649457f5686?lnk=stq=mac+projector+won%27t+go +full+screenrnum=1hl=en#4589a649457f5686 On Dec 7, 2006, at 11:11 AM, Bill Abel wrote: My projector won't go fullscreen on all macs. It works on some, and not on others. I think it works on machines with version 9 installed. I don't know why that would affect it since it is stand-alone. I've searched all the forums and found someone having the problem just a few months ago, but no answers to the problem. Anyone know how to resolve this? To clarify, fscommand(fullscreen,true); is not working on some macs. Works on mine with Flash Player 9 installed. -b ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Mac Projector won't go fullscreen
That's weird. I'll be doing this soon too. So, this won't work? //1 //2 fscommand(fullscreen,false); //3 fscommand(fullscreen,true); It would be worth it, to elimate the flicker. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] loading external files with a mac projector on cd-rom
I'm loading some JPEGs into a movieclip using a projector. When I burn the files to disc, it works fine in Windows, but my Mac projector can't find the JPEGs. myClip.loadMovie(path+slide+.jpg); I tried adding in _url to the path, but that didn't solve the problem. I don't think I need colons for OS X. Here's my code: // Launch in fullscreen mode fscommand(fullscreen, true); // initialize variables var path = slides/; var totalSlides = 28; var slide = 1; //initialize - load first slide holder.loadMovie(path+slide+.jpg); // define navigation // next slide button forward_btn.onRelease = function() { switch (slide) { case 1 : slide++; holder.loadMovie(path+slide+.jpg); break; case totalSlides : break; default : slide++; holder.loadMovie(path+slide+.jpg); break; } trace(slide); }; // previous slide button back_btn.onRelease = function() { switch (slide) { case 1 : break; case totalSlides : slide--; holder.loadMovie(path+slide+.jpg); break; default : slide--; holder.loadMovie(path+slide+.jpg); break; } trace(slide); }; ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] xml parsing problem
I'm having trouble grabbing the right value from a node any help would be awesome.. I can't figure out where to increment as I'm going through my loop for the sub items. node structure below NetworkLeftnav mainItem name=main item name goes here url=url goes here window=_self open=true subItem textsub item name goes here/text urlsub item URL goes here/url window_self/window /subItem subItem textsub item name goes here # 2/text urlsub item URL # 2/url window_self/window /subItem /mainItem mainItem name=main item 2 url=main item url #2 window=_self open=false /mainItem /NetworkLeftnav AS below onClipEvent(load){ function ExpandData(turbo){ var turboItem = turbo.firstChild.childNodes; var subItem = turbo.firstChild.firstChild.childNodes; trace(number of main section nodes + turbo.firstChild.childNodes.length); // main section count for (var i = 0; i turboItem.length; i++){ var turbo = turboItem[i]; // running through main nodes mainNavName = turbo.attributes.name; mainNavUrl = turbo.attributes.url; mainNavWindow = turbo.attributes.window; mainNavOn = turbo.attributes.open; // set to true or false trace(mainNaveName = + mainNavName); trace(mainNaveURL = + mainNavURL); trace(mainNaveWindow = + mainNavWindow); trace(mainNaveOn = + mainNavOn); if( turbo.childNodes.length =1){ trace(this node has subcontent); trace(number of subcontent nodes = + turbo.childNodes.length); turboChild = turbo.firstChild.firstChild; trace( ); trace(total times to loop = + turbo.childNodes.length); for (var n = 0; n turbo.childNodes.length; n++){ trace(Subcounter incremental value = + n); / THESE NEED TO BE INCRIMENTED trace(turboChild.firstChild.nodeValue); // returns sub item name trace(turboChild.nextSibling.firstChild.nodeValue); // returns sub item URL trace(turboChild.nextSibling.nextSibling.firstChild.nodeValue); // returns sub itemWindow } } trace( ); } } var turbo = new XML(); turbo.ignoreWhite = true; turbo.onLoad = function(success){ if (success) ExpandData(this); else trace(Error loading XML file); } turbo.load(netnav.xml); // what my xml is called that is posted above stop(); } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] incrementing a target?
Hello, I'm having problems figuring out how to grab an array value and use that when targeting. This is my fucntion below. What I am wanting to do is take the [i]value and be able to use that when trying to write to my textfields function ExpandData(turbo){ var turboItem = turbo.firstChild.childNodes; for (var i = 0; i turboItem.length; i++){ but = eval(but+i); var turbo = turboItem[i]; _root.mainMC.auto.subMC.txtField+i.text = turbo.attributes.name; } } /// Thanks, Bill ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] incrementing a target?
Seems to jumble me up a bit, I get this error. Expected a field name after '.' operator. _root.mainMC.auto.subMC.[textField+i].text = turbo.attributes.name; thanks though... - Original Message - From: Glen Pike [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, October 19, 2006 3:16 PM Subject: Re: [Flashcoders] incrementing a target? Erm, I think you might want to try _root.mainMC.auto.subMC[textField + i].text Not sure. Bill Pelon wrote: Hello, I'm having problems figuring out how to grab an array value and use that when targeting. This is my fucntion below. What I am wanting to do is take the [i]value and be able to use that when trying to write to my textfields function ExpandData(turbo){ var turboItem = turbo.firstChild.childNodes; for (var i = 0; i turboItem.length; i++){ but = eval(but+i); var turbo = turboItem[i]; _root.mainMC.auto.subMC.txtField+i.text = turbo.attributes.name; } } /// Thanks, Bill ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] incrementing a target?
This seems to work great on the right hand side and comes back with the correct data when traced but I need to use that value as my target. I may be missing something completely obvious as I'm a total newbie on the coding so forgive me if I'm overlooking something simple. I have uploaded my fla and the xml I'm using here if anyone wants to check it out. I have commented out the section I'm having trouble with. http://www.billpelon.com/mainFeature.zip The code I'm stuck on is ClipEvent(load) of the MC on layer 2. Thanks again, Bill - Original Message - From: Glen Pike [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, October 19, 2006 3:40 PM Subject: Re: [Flashcoders] incrementing a target? Hi, There maybe a typo in your code? it should say subMC[textField + i] There should be no (dot) . before the (square bracket) [ Basically you treat the movieclip subMC like an array. It contains some text fields textField0, textField1, etc. so you can index the array with to get the contents of it. You can do the same with your other bit of code rather than using eval: //instead of but = eval(but+i); //Try this - not sure if you need to use the this operator, but it makes things clearer. but = this[but + i] Bill Pelon wrote: Seems to jumble me up a bit, I get this error. Expected a field name after '.' operator. _root.mainMC.auto.subMC.[textField+i].text = turbo.attributes.name; thanks though... - Original Message - From: Glen Pike [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, October 19, 2006 3:16 PM Subject: Re: [Flashcoders] incrementing a target? Erm, I think you might want to try _root.mainMC.auto.subMC[textField + i].text Not sure. Bill Pelon wrote: Hello, I'm having problems figuring out how to grab an array value and use that when targeting. This is my fucntion below. What I am wanting to do is take the [i]value and be able to use that when trying to write to my textfields function ExpandData(turbo){ var turboItem = turbo.firstChild.childNodes; for (var i = 0; i turboItem.length; i++){ but = eval(but+i); var turbo = turboItem[i]; _root.mainMC.auto.subMC.txtField+i.text = turbo.attributes.name; } } /// Thanks, Bill ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] incrementing a target?
Thanks Glen, This worked perfectly... Bill - Original Message - From: Glen Pike [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, October 19, 2006 6:10 PM Subject: Re: [Flashcoders] incrementing a target? Aha! Your text fields on stage are named txtField0, txtField1, etc. But you are trying to index them as [textField + i] Sorry that is partly my fault as my original answer said text... not txt.. as your code does. so to clarify.. _root.mainMC.auto.subMC[txtField + i].text = turbo.attributes.name; Should work. A tip that might help: If you are trying to find out stuff like this, then you can use a trace to make sure you are referencing something correctly - I used: trace(_root.mainMC.auto.subMC[textField + i]); Which kept returning undefined, so I then used this to find out what was in the _root.mainMC.auto.subMC movie clip. for(obj in _root.mainMC.auto.subMC) { trace(obj + = + _root.mainMC.auto.subMC[obj]); } You can also use the debugger and put a breakpoint in your code - then expand the movie clips to see what you have got at that point in time. Good luck. Glen ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] BitmapData size limit
Dave, I'm not sure if this is appropriate for your application, but I ran into a similar problem when creating a project using high-quality panoramic photos. The way I worked around it was by slicing up my image into 2880 px tiles, then re-assembling them with actionscript on the stage. Cheers, BB On 10/5/06, Dave Wood [EMAIL PROTECTED] wrote: Thanks for your response Micha this has to with other things. the 2880 px stuff is related to one single object, you can have as much object of that size as you want, as long as you have enough ram. I wanted to create an image object 3500 X 300 pixels which will take up about 4 Mb - but I can't sure you can't. you gave your answer in the above quoted text. your limitation is 2880 px square. and 3500 beats that. No I didn't give the answer. I can understand why 2880 X 2880 might be considered excessively big, but to have 2880 pixels as a limit for a single dimension is silly - unless there is some other reson I don't yet understand. And if another reason exists, then I want to understand what it is. For example, if I have an image object 2881 X 10 pixels, that would be only about 280 kb. Why can't I create such an object? I don't want to scale my image up because I know it will degrade. Thanks David just scale it down to 2880 and you should be fine, than you can put it in a mc and scale that one up. that should do the trick. micha ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Dynamic BitmapData morph?
Just wondering if anyone has tried to create a dynamic morph between two bitmaps using the BitmapData class and filters in Flash 8? If anyone has seen this, can they provide links? If it hasn't been done, does anyone have any idea how to tackle something like this? ConvolutionFilter? Thanks, BB ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] HTTP post request in the background
I'm still having one problem. When I test this movie from within Flash, it sends both LoadVars, but when I try it from the .swf on the web server, it only sends to the .php script. Anyone see the problem? import mx.utils.Delegate; function onResponseComplete(success:Boolean):Void { getURL(http://www.hallmanhill.com/information/thankyou.html;); trace(posted data); } function onMailDataResponseComplete(success:Boolean):Void { trace(sent email); } function processForm() { var response = new LoadVars(); var formData:LoadVars = new LoadVars(); formData.firstname = firstname_tb.text; formData.lastname = lastname_tb.text; formData.address = address_tb.text; formData.city = city_tb.text; formData.state = state_tb.text; formData.zip = zip_tb.text; formData.homephone1 = areacode; formData.homephone2 = prefix; formData.homephone3 = linenumber; formData.email = email_tb.text; response.onLoad = Delegate.create(this, onResponseComplete); formData.sendAndLoad(http://www.salescloser.com/ XMLAddContact.aspx, response); trace(formData); var mailData = new LoadVars(); var mailDataResponse = new LoadVars(); mailData = formData; mailDataResponse.onLoad = Delegate.create(this, onMailDataResponseComplete); mailData.sendAndLoad(http://test.slaughtergroup.com/mail.php;, mailDataResponse, POST); trace(mailData); } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] HTTP post request in the background
IT is a long name... I tried that with no luck. I also tried commenting out the getURL(), but still no luck. I get an error in Safari and in Firefox a message waiting for www.salescloser.com... Again, the .swf works when I test it within Flash. Even without the second LoadVars, I still can't get it to work in the browser. Do you think it's something to do with the ASPX script? On Sep 21, 2006, at 1:07 PM, Mike Keesey wrote: onResponseComplete is probably being called before onMailDataResponseComplete (damn that's a long name! onMailComplete would suffice, no?), and thus unloading the whole SWF as it loads a new HTML page. Try moving this line: formData.sendAndLoad(http://www.salescloser.com/XMLAddContact.aspx;, response); ... to the very end of your processForm() function. ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Bill Abel Sent: Thursday, September 21, 2006 10:20 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] HTTP post request in the background I'm still having one problem. When I test this movie from within Flash, it sends both LoadVars, but when I try it from the .swf on the web server, it only sends to the .php script. Anyone see the problem? import mx.utils.Delegate; function onResponseComplete(success:Boolean):Void { getURL(http://www.hallmanhill.com/information/thankyou.html;); trace(posted data); } function onMailDataResponseComplete(success:Boolean):Void { trace(sent email); } function processForm() { var response = new LoadVars(); var formData:LoadVars = new LoadVars(); formData.firstname = firstname_tb.text; formData.lastname = lastname_tb.text; formData.address = address_tb.text; formData.city = city_tb.text; formData.state = state_tb.text; formData.zip = zip_tb.text; formData.homephone1 = areacode; formData.homephone2 = prefix; formData.homephone3 = linenumber; formData.email = email_tb.text; response.onLoad = Delegate.create(this, onResponseComplete); formData.sendAndLoad(http://www.salescloser.com/ XMLAddContact.aspx, response); trace(formData); var mailData = new LoadVars(); var mailDataResponse = new LoadVars(); mailData = formData; mailDataResponse.onLoad = Delegate.create(this, onMailDataResponseComplete); mailData.sendAndLoad(http://test.slaughtergroup.com/mail.php;, mailDataResponse, POST); trace(mailData); } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] HTTP post request in the background
Well, I tried it by itself without the mailData:LoadVars... still no luck in the browser. Worked fine testing it... On Sep 21, 2006, at 1:31 PM, Mike Keesey wrote: Actually, scratch that -- move the whole formData deal to its own function, and call that from onMailComplete(). IOW, do the calls sequentially, not simultaneously. ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Mike Keesey Sent: Thursday, September 21, 2006 11:07 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] HTTP post request in the background onResponseComplete is probably being called before onMailDataResponseComplete (damn that's a long name! onMailComplete would suffice, no?), and thus unloading the whole SWF as it loads a new HTML page. Try moving this line: formData.sendAndLoad(http://www.salescloser.com/XMLAddContact.aspx;, response); ... to the very end of your processForm() function. ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Bill Abel Sent: Thursday, September 21, 2006 10:20 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] HTTP post request in the background I'm still having one problem. When I test this movie from within Flash, it sends both LoadVars, but when I try it from the .swf on the web server, it only sends to the .php script. Anyone see the problem? import mx.utils.Delegate; function onResponseComplete(success:Boolean):Void { getURL(http://www.hallmanhill.com/information/thankyou.html;); trace(posted data); } function onMailDataResponseComplete(success:Boolean):Void { trace(sent email); } function processForm() { var response = new LoadVars(); var formData:LoadVars = new LoadVars(); formData.firstname = firstname_tb.text; formData.lastname = lastname_tb.text; formData.address = address_tb.text; formData.city = city_tb.text; formData.state = state_tb.text; formData.zip = zip_tb.text; formData.homephone1 = areacode; formData.homephone2 = prefix; formData.homephone3 = linenumber; formData.email = email_tb.text; response.onLoad = Delegate.create(this, onResponseComplete); formData.sendAndLoad(http://www.salescloser.com/ XMLAddContact.aspx, response); trace(formData); var mailData = new LoadVars(); var mailDataResponse = new LoadVars(); mailData = formData; mailDataResponse.onLoad = Delegate.create(this, onMailDataResponseComplete); mailData.sendAndLoad(http://test.slaughtergroup.com/mail.php;, mailDataResponse, POST); trace(mailData); } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] HTTP post request in the background
How do you post an array to a server side-script without loading the script's URL in the browser. I can post data using Ruby's Net::HTTP and it works great in a rails app. I want to do the same thing in Flash. LoadVars.send will only work if I load the script's URL into the browser. This would be fine if I controlled the script, but it's on another application server. I need to pass it the data in the background. I tried .sendAndLoad, but that has the same problems. Is there a simple way to do this? Can I use flash remoting and pass the data to a PHP script and make the post from there? I see there is a way to do this with Cold Fusion using the CF.http() method, so I assume there is something similar elsewhere. thanks. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] HTTP post request in the background
Here is what I have now with only the .send method. I tried using sendAndLoad(url, null, POST)...as well as several different ways. This is my currently working version. I've commented out the parts that I need to work. The function process the phone number and then puts everything into a LoadVars array to send. Right now it's sending it to a formmail.pl script which redirects you. I need the LoadVars to be posted to the .aspx script. I don't need to receive anything back. function processForm() { //process phone number var full_phone_number = phone_tb.text; split_number = full_phone_number.split(); for (var i = 0; isplit_number.length; i++) { if (split_number[i] == \r || split_number[i] == \n || split_number[i] == \f || split_number[i] == \t || split_number[i] == || split_number[i] == - || split_number[i] == . || split_number[i] == ( || split_number[i] == )) { //trace(Found a: + split_number[i]); split_number.splice(i, 1); i--; } else { if (split_number.length 7) { //split into area code, prefix, and line number var areacodea = split_number.slice(0,3); var areacode = areacodea.join(); var prefixa = split_number.slice(3,6); var prefix = prefixa.join(); var linenumbera = split_number.slice(6,10); var linenumber = linenumbera.join(); //trace(3 parts + areacode + + prefix + + linenumber); } else { // split into prefix and line number var prefixa = split_number.slice(0,3); var prefix = prefixa.join(); var linenumbera = split_number.slice(3,7); var linenumber = linenumbera.join(); //trace(2 parts + prefix + + linenumber); } //number = split_number.join(); //trace(number); } } errorVars = new LoadVars(); formData = new LoadVars(); formData.firstname = firstname_tb.text; formData.lastname = lastname_tb.text; formData.address = address_tb.text; formData.city = city_tb.text; formData.state = state_tb.text; formData.zip = zip_tb.text; formData.phone = phone_tb.text; //formData.homephone1 = areacode; //formData.homephone2 = prefix; //formData.homephone3 = linenumber; formData.email = email_tb.text; //formData.Protocol = Ing; trace(formData); formData.send(http://www.hallmanhill.com/cgi-sys/FormMail.pl;, _self, POST); //formData.sendAndLoad(https://www.salescloser.com/ XMLAddContact.aspx); } On Sep 20, 2006, at 2:57 PM, Gustavo Teider - Adobe Flash Developer wrote: Bill Abel escreveu: How do you post an array to a server side-script without loading the script's URL in the browser. I can post data using Ruby's Net::HTTP and it works great in a rails app. I want to do the same thing in Flash. LoadVars.send will only work if I load the script's URL into the browser. This would be fine if I controlled the script, but it's on another application server. I need to pass it the data in the background. I tried .sendAndLoad, but that has the same problems. Is there a simple way to do this? Can I use flash remoting and pass the data to a PHP script and make the post from there? I see there is a way to do this with Cold Fusion using the CF.http() method, so I assume there is something similar elsewhere. 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 always i used sendAndLoad method to do this ... its works fine ... what your code ? did you create two loadVars ? one to post , other to get ? []´s -- Gustavo Teider ( gugateider ) www.gugateider.com Curitiba - PR ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] HTTP post request in the background
This works. Thanks so much! Here's the final code... // *** Post data to Sales Closer *** import mx.utils.Delegate; function onResponseComplete(success:Boolean):Void { trace(Completed); } function processForm() { //process phone number var full_phone_number = phone_tb.text; split_number = full_phone_number.split(); for (var i = 0; isplit_number.length; i++) { if (split_number[i] == \r || split_number[i] == \n || split_number[i] == \f || split_number[i] == \t || split_number[i] == || split_number[i] == - || split_number[i] == . || split_number[i] == ( || split_number[i] == )) { //trace(Found a: + split_number[i]); split_number.splice(i, 1); i--; } else { if (split_number.length 7) { //split into area code, prefix, and line number var areacodea = split_number.slice(0,3); var areacode = areacodea.join(); var prefixa = split_number.slice(3,6); var prefix = prefixa.join(); var linenumbera = split_number.slice(6,10); var linenumber = linenumbera.join(); //trace(3 parts + areacode + + prefix + + linenumber); } else { // split into prefix and line number var prefixa = split_number.slice(0,3); var prefix = prefixa.join(); var linenumbera = split_number.slice(3,7); var linenumber = linenumbera.join(); //trace(2 parts + prefix + + linenumber); } //number = split_number.join(); //trace(number); } } var response = new LoadVars(); var formData:LoadVars = new LoadVars(); formData.firstname = firstname_tb.text; formData.lastname = lastname_tb.text; formData.address = address_tb.text; formData.city = city_tb.text; formData.state = state_tb.text; formData.zip = zip_tb.text; formData.homephone1 = areacode; formData.homephone2 = prefix; formData.homephone3 = linenumber; formData.email = email_tb.text; trace(formData); response.onLoad = Delegate.create(this, onResponseComplete); formData.sendAndLoad(http://www.salescloser.com/ XMLAddContact.aspx, response); } On Sep 20, 2006, at 3:31 PM, Mike Keesey wrote: You should use something along these lines: import mx.utils.Delegate; function onResponseComplete(success:Boolean):Void { // Do something in response. } var request:LoadVars = new LoadVars(); // Set up variables in request. var response = new LoadVars(); response.onLoad = Delegate.create(this, onResponseComplete); request.sendAndLoad(url, response); ― Mike Keesey ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] setTextFormat in a V2 TextInput component
Does anyone know if it is possible to use setTextFormat on a V2 TextInput component? Browsing the mx.controls.TextInput class, it looks like there is a private reference to a TextField called label. Does anyone know if there is a way to target this directly from outside the component? Thanks, BB ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Exporting AS3 from OSX
I notice in the language reference for beta 3 that TextField is now in flash.text : import flash.text.TextField; Bill Lane [EMAIL PROTECTED] 05/25/06 12:11 pm Yup, compiles if I just have: package { import flash.display.Sprite; public class test extends Sprite { public function test() { } } } which I guess means it's finding flash.display.Sprite ok? David Peek does it compile if you just have a simple hello world example, with an empty constructor? mike chambers [EMAIL PROTECTED] On May 24, 2006, at 6:37 PM, David Peek wrote: Hey list, I'm trying to compile AS3 on my mac, have tried every which method and keep on running into the same issue. Here's the deal: Downloaded latest version of Flex SDK from labs.adobe.com Moved SDK to user directory, tried comiling from command line. Could compile MXML no problems, but when I tried to compile AS3 file, got the following errors: /Users/dpeek/test.as(9): col: 21 Error: Call to a possibly undefined method TextField. helloField = new TextField(); ^ /Users/dpeek/test.as(2): col: 23 Error: Definition flash.display:TextField could not be found. import flash.display.TextField; It seemed like the compiler wasn't loading the AS3 stub files, which as far as I can tell are supposed to be in an swc somewhere. I'd followed various walkthroughs to the letter always with the same result: MXML - no problem, AS3 - can't find intrinsic classes. Installed xcode today so I could try a different approach, followed Josh Buhlers excellent walkthrough, only to run into the same problem. I've done a pretty thorough search for that error code to no avail. So, if anyone has any ideas, I'd be eternally greatful :) oh, here's the AS I'm trying to compile, as found in gskinners flcompile files: package { import flash.display.TextField; import flash.display.Sprite; public class test extends Sprite { private var helloField:TextField; public function test() { helloField = new TextField(); helloField.text = Hello World!; addChild(helloField); } } } Thanks in advance, David ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Re: Flex vs. Flash IDE
I have been reading this thread with some interest (occassionally cheering and sometimes getting upset). We are currently using the Beta to build an elearning application so I feel I have some useful insights into the differences between the two. Firstly I don't think the difference is as straight-forward as forms vs animation. Many of the things we build will require a blend. Certainly if I was doing anything with forms I'd much rather be building it in Flex. It is much faster to develop form based things in Flex. There is a level of functionality built into the Flex framework that would take many man hours to reproduce in Flash. On the other side I wouldn't want to do any frame based (as opposed to actionscript based ) animation in Flex. But there is a whole spectrum of things that sit between these two extremes. Anything that could be built using actionscript can be built in Flex and once you get used to the way Flex does things I think they can be built faster and that they will be more reliable. Also you can use your Flash built animations in Flex but I'm not sure how easily you could use your Flex built forms in Flash 9. Someone suggested that Adobe hasn't done a good job explaining the difference between the two. I can't see how you can say that. There has been a public beta available for over 6 months and a site almost entirely devoted to it. The Samples Explorer is as clear an explanation as any developer should need. The only way to really understand the difference is to attempt to build something with it. Someone suggests that Adobe's motivation in creating a seperate IDE is profit. But the framework itself is free. I actually don't like Eclipse myself and have been using a seperate editor for Flex development. I always used to use Sepy for my actionscript. But I still had to use Flash for compiling. Now I can compile from the editor. I think it will depend on your background which style of development you will prefer and I think it's great that Flash (as a platform) can be adapted to suit different needs and is open to Open Source options. I also don't think it's helpful to talk about the difference as designers vs developers. I don't think that Flex Builder is a designer free app. I can easily imagine a workflow where the designer prepares the layout and look of an area and then the developer connects the functionality to it. I think the biggest problem with the introduction of Flex is the learning curve. Flex is a new metaphor for Flash development and there is a lot to get used to. But some of that new knowledge is really about the radical changes in Actionscript 3. That is something that will effect all of us sooner or later as it will be part of Flash 9. It is AS3 rather than Flex that will increase the distance between designers and devlopers. Bill Lane ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Re: Flex vs. Flash IDE
A very reasonable axe it is too. Apologies. Bill Lane [EMAIL PROTECTED] 05/24/06 11:10 am There may have been alpha's betas available for a while, but they've been PC only.. i have to grind that axe every now and then ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Re: Flex vs. Flash IDE
I don't think it's a question good developer vs bad developer. The Flex metaphor was developed to be comfortable to developers coming from a non-Flash background. Most of us were attracted to Flash exactly because it wasn't like those environments. I think you're correct in saying that the existing documentation is written with non-Flash users in mind. Consequently a lot of Flash users may take a while to get it. I'm still struggling with some of the details. But I'm finding more and more situations where I'm asking myself ; is it really that easy. But it's taken me quite a few hours to get to that point. Bill Lane [EMAIL PROTECTED] 05/24/06 11:03 am Someone suggested that Adobe hasn't done a good job explaining the difference between the two. I can't see how you can say that. There has been a public beta available for over 6 months and a site almost entirely devoted to it. The Samples Explorer is as clear an explanation as any developer should need. The only way to really understand the difference is to attempt to build something with it. While I think the concept of a beta program is great, I spent quite a few hours poring over the documentation, and followed a few tutorials, and I did not find the clear explanations I was hoping for. Maybe that makes me a bad developer. But I assume Adobe wants to sell to bad developers as well as good ones. :) This was a few months ago, so maybe things have improved. If I'm wrong, please point me to the documentation, FAQs, etc. from Adobe that clearly explain the diferences between Flex IDE and Flash IDE, or details about how to integrate Flex into my workflow. Maybe this is all coming after the release. Or maybe it's been added since I looked through the labs site. Where is the practical tutorial for Flash Developers who want to transition to Flex? I want to like Flex. I really do. I'm not trying to attack any Flex developers or any of the smart people who work at Macromedia/Adobe. I'm just sharing my personal observations around it so far. There's enough contradictory info in this thread alone to make me think they're not doing a good enough job getting the message out. The ongoing success of Flash is important to me personally, and to my career, so I that's why I've felt the need to say this. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] LF: Flash representation of Board of Directors network
Thank-you very much for the link. It's a beautiful project. Cheers, BB On 5/15/06, Ettwein, Josh [EMAIL PROTECTED] wrote: http://www.theyrule.net/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Brown Sent: Monday, May 15, 2006 1:51 PM To: Flashcoders mailing list Subject: [Flashcoders] LF: Flash representation of Board of Directors network Does anyone remember the URL for a flash project that showed the connection of the CEOs and board of directors for the major companies of the world? It allowed you to see how many companies each person was on the board of directors for. You could also expand company nodes to see all the board of directors. Thanks, BB ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Exporting dynamically generated vector drawings
Can anyone recommend a method of exporting dynamically generated drawings (using the Drawing API) from Flash to a high-quality printable format? I'm trying to create a .pdf or .ai file of actionscript generative art so that I can send it to the printers for poster-size prints. I saw Joshua Davis talk at Flash Forward about a technique for doing this, but I forget what it was - can anyone help? Thanks, BB ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] LF: Flash representation of Board of Directors network
Does anyone remember the URL for a flash project that showed the connection of the CEOs and board of directors for the major companies of the world? It allowed you to see how many companies each person was on the board of directors for. You could also expand company nodes to see all the board of directors. Thanks, BB ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Active X and Microsoft IE ...
jdowdell wrote: It would be great if there were openwiki documentation of browser differences, however. This doesn't cover the variations in noscript response. But is the most comprehensive browser comparison I've seen to date. http://en.wikipedia.org/wiki/Comparison_of_web_browsers Bill Lane ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Active X and Microsoft IE ...
I actually think that the problem was that Adobe was too quick to respond. They've had a solution up since the first round of worry hit this forum. But I think it was so long ago that most forgot about it. Then when it hit the press again they didn't remind people firmly enough. They treated like the old news it was. Rather than the new news that most still think it is. Bill Lane Related question: Do you see reasons why so much of this conversation about ActiveX changes in the Microsoft browser has avoided the source material on the Adobe site? Andrew Lucking wrote: Good question. My perception is that this time around Adobe was slower to get *solutions* available. For whatever reasons it was only late last week that I was able to point folks to some workaround samples from Adobe. With the browser update already circulating as an optional download and rumours of it being included in this week's security patch from MS maybe folks started without Adobe's guidance? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Active X and Microsoft IE ...
I haven't seen anyone mention this yet so maybe it has a downside I can't see. We're planning on using a noscript element inside the flashcontent div (using FlashObject) to add the Flash content. That way if javascript is disabled they will still get the Flash content. Only downside is they will have to select it to activate. But that seems better to me than having nothing for those with js turned off. Bill Lane [EMAIL PROTECTED] 04/10/06 6:24 am You also have to consider what users are turning off Javascript. First, Javascript is turned on by default. Second, you have to be somewhat savvy to know what Javascript is, much less turn it off, and also know what purpose turning it off serves. Third, you need to have a reason to turn it off. These things combined means that people who turn off Javascript are more than likely well aware of the consequences of this action, it's not just Flash that's effected. It's pretty much any plug-in and any DHTML site. Almost every site on the web uses Javascript now in some form or another. I wonder just how many people turn off Javascript and are they really worth going after? They obviously want a very limited and controlled web experience. It's like trying to advertise on cable television channels to people who only have antenna reception. You're just not going to reach that very small audience, so get over it. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Typographic Mosaic
Unfortunately I don't have access to server space at this very moment. I'll try uploading an example later today. I'll try to describe it better for now. Basically, the same as Amaztype, except instead of books, the letters are filled in with smaller words. Thanks On 2/21/06, GregoryN [EMAIL PROTECTED] wrote: Can you please make some sketch to show your ideas? Amaztype uses just movieclips with picture (jpg) in them... -- Best regards, GregoryN http://GOusable.com Flash components development. Usability services. Bill Brown wrote: Does anyone know how to create a typographic mosaic in Flash, or if there are any related tutorials? I'm trying to do something along the lines of Amaztype http://amaztype.tha.jp/ except with small-size words filling in the large-size word. I think the main question is how do you determine the large-size word's area to fill with content (text or photos) without spilling over into the whitespace? I'm guessing it has something to do with hitTest(), but how do you ensure placement and scale of the inner content? Do you randomly place it and scale it down incrementally until it fits? I'm also guessing that the BitmapData class could make things a lot easier, but I'm not exactly sure how. Any thoughts? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Typographic Mosaic
Does anyone know how to create a typographic mosaic in Flash, or if there are any related tutorials? I'm trying to do something along the lines of Amaztype http://amaztype.tha.jp/ except with small-size words filling in the large-size word. I think the main question is how do you determine the large-size word's area to fill with content (text or photos) without spilling over into the whitespace? I'm guessing it has something to do with hitTest(), but how do you ensure placement and scale of the inner content? Do you randomly place it and scale it down incrementally until it fits? I'm also guessing that the BitmapData class could make things a lot easier, but I'm not exactly sure how. Any thoughts? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Re: Lines of code in a Flash project
Agreed, lines per hour is not a very valuable metric, but it's a relatively quick and easy metric to calculate. I remember reading somewhere that the average programmer writes about 10 lines of good production code per hour. I'm guessing this included all time for project coordination, architecture, documentation, revisions, builds, debugging, meetings, etc. Anyways, my query was just for personal curiosity and if anything a personal metric to gauge how I'm improving as a programmer over time — this is not some dubious new management method for gauging productivity — at least I hope not! So I guess I was hoping for some hidden feature in Flash's Project panel that would calculate the number of lines of code in a project, or some quick Flash Javascript API code sample that would do the same. I guess the quickest, simplest way is to just open each class and total the last line number. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Line optimization
Thank-you very much Andreas! It's just what I was looking for. BTW, your motiondraw application is very slick! On 1/25/06, Andreas Weber [EMAIL PROTECTED] wrote: An implementation of Lang Simplification and McMaster's Slide Averaging Algorithm: http://motiondraw.com/md/as_samples/t/LineGeneralization/demo.html hth -- Andreas Weber motiondraw.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Brown Sent: Donnerstag, 26. Januar 2006 02:16 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Line optimization Does anyone know where I can find code or equations for the line optimization of curves? I'm looking for something similar to the way the Flash Authoring Environment implements Modify Shape Smooth, Modify Shape Straighten, and Modify Shape Optimize. ___ 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] Line optimization
Does anyone know where I can find code or equations for the line optimization of curves? I'm looking for something similar to the way the Flash Authoring Environment implements Modify Shape Smooth, Modify Shape Straighten, and Modify Shape Optimize. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] TextFormat input text
It was defined with var myStyle but you're right it had to be b_txt.setNewTextFormat(myStyle); to pick it up. Thanks, Bill ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] aseditor discussion
Jim, Thanks for the great overview. I really appreciate it. -- Bill Napier Design Coordinator West Virginia Development Office 1900 Kanawha Boulevard, East Charleston, WV 25305-0311 800-982-3386 (toll free) 304-558-0078 x37 (p) 304-558-5053 (f) bnapier at wvdo.org http://www.wvdo.org ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] aseditor discussion
Currently experimenting with SEPY v.1.5.2RC2 by Alessandro Crugnola [sephiroth] running on osx 10.4.3. Just wondering if anyone has tried and/or can recommend a different editor? Thanks. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] asfunction to destination anchor?
Not sure what protocol is for posting to the list so I apologize if I am going about it the wrong way... And I¹m new to this but I would think there would be a way to go from either a button or use the asfunction within a dynamic textfield to go to a destination anchor in a textfield in the following frame. Obviously, what I have here will work for linking to a text at the top of the field. However, I would like to either go to a destination anchor further down the field or define a different function which set the ui scrollbar on the next field to a percentage of scrolling. I can work around it but would like to make it happen. Thanks in advance for any help. Bill Frame 1 stop(); //Takes me to next frame only function gotoFrame (frame) { gotoAndStop(frame); } var myCSS = new TextField.StyleSheet(); var cssURL = gib.css; exampleText = p class='headline'Chapter I: Getting Started/pbrp class='link'a href=\asfunction:gotoFrame,2\Destination Anchor/a/p;; myCSS.load(cssURL); //define onLoad handler myCSS.onLoad = function(success){ if (success) { chTxt.styleSheet = myCSS; chTxt.text=exampleText; } }; Frame 2 stop(); var myCSS = new TextField.StyleSheet(); var cssURL = gib.css; exampleText = p class='headline'Destination Anchor/p; //Load CSS file myCSS.load(cssURL); //define onLoad handler myCSS.onLoad = function(success){ if (success) { chTxt.styleSheet = myCSS; chTxt.text=exampleText; } }; ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Function to textField anchor?
Is it possible to write a function when associated with a button which will link to an anchor in a textField in the next frame rather than the frame itself. //this goes to the frame function gotoFrame (frame) { gotoAndStop(frame); } //but I want to go here p class=¹link¹a name=anchorAnchor/a/p Thanx. -- Bill Napier Design Coordinator West Virginia Development Office 1900 Kanawha Boulevard, East Charleston, WV 25305-0311 800-982-3386 (toll free) 304-558-0078 x37 (p) 304-558-5053 (f) [EMAIL PROTECTED] http://www.wvdo.org ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders