[Flashcoders] Tracking User progress through a presentation.
Can anyone point me towards a tutorial on tracking and providing feedback to a user on where they are in the current tutorial/presentation. For instance if a tutorial has 5 sections and they have only completed 3 I want to be able to show their overall progress in relation to the entire tutorial.Kind of like a progress meter. Should I do this within Flash or with javascript and cookies? I want the user to be able to come back to a tutorial and pickup where they left off and I am thinking cookies would be the best method for tracking progress. - Kind Regards, Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Tracking User progress through a presentation.
Right now it is 1 swf with multiple flvs but I will be doing another one that will involve multiple swfs. Should I adapt a loader bar to my tracking needs? I could use a database for tracking but I just need a little nudge on getting the tracking part started. Thanks, Mike -- Message: 3 Date: Tue, 6 Feb 2007 12:39:02 -0500 From: "Andy Herrman" <[EMAIL PROTECTED]> Subject: Re: [Flashcoders] Tracking User progress through a presentation. To: "Flashcoders mailing list" Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Is the tutorial/presentation a single SWF or is it split between a lot of files? If it's a single SWF then I don't see how cookies would help. -Andy On 2/6/07, Mike <[EMAIL PROTECTED]> wrote: > Can anyone point me towards a tutorial on tracking and providing feedback to > a user on where they are in the current tutorial/presentation. > > For instance if a tutorial has 5 sections and they have only completed 3 I > want to be able to show their overall progress in relation to the entire > tutorial.Kind of like a progress meter. Should I do this within Flash or > with javascript and cookies? I want the user to be able to come back to a > tutorial and pickup where they left off and I am thinking cookies would be > the best method for tracking progress. > - > Kind Regards, > Mike > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/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] How to determine when an externally loaded swf hasended playing.
Here is how I determine when a movie completes. The key section is this: myListener.complete = function(eventObject:Object):Void { trace("My video has been viewed"); getURL("javascript:setCookie('mycookienameOK','My Video Title','365');void(0);"); }; In the above I set a cookie that is good for 365 days if and only if the movie completes. This does not prevent the user from scrubbing the play head to the end of the movie if you make the controls available. If the user cancels before it completes the cookie object does not get set and the video does not show up in their list of "Viewed Videos". I am not sure how you would implement this from externally loaded videos but maybe this is a start. Good luck! Mike Ickes // Create a NetConnection object var my_nc:NetConnection = new NetConnection(); // Create a local streaming connection my_nc.connect(null); // Create a NetStream object and define an onStatus() function var my_ns:NetStream = new NetStream(my_nc); my_ns.onStatus = function(infoObject:Object):Void { status_txt.text += "status (" + this.time + " seconds)\n"; status_txt.text += "\t Level: " + infoObject.level + "\n"; status_txt.text += "\t Code: " + infoObject.code + "\n\n"; }; // Attach the NetStream video feed to the Video object my_video.attachVideo(my_ns); // Set the buffer time my_ns.setBufferTime(15); // Begin playing the FLV file my_ns.play("http://yourpathtoyourvideohere.com/myVideo.swf<http://pilots.flightoptions.com/traininig/be400_EP_Drill/aircraft_fire.swf> "); var myListener:Object = new Object(); myListener.complete = function(eventObject:Object):Void { trace("My video has been viewed"); getURL("javascript:setCookie('mycookienameOK','My Video Title','365');void(0);"); }; myMedia.addEventListener("complete", myListener); On 7/24/07, Holth, Daniel C. <[EMAIL PROTECTED]> wrote: Are these timeline based swfs, or single frame, or movieclips within movieclips? Or won't you know? You could create an onEnterFrame event that continually checks the swf's _currentframe compared to _totalframes. When they are equal, it has reached the end. If it's a single frame or MovieClips within MovieClips situation, it becomes more difficult... DC Holth -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Whiteford Sent: Monday, July 23, 2007 3:54 PM To: Flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] How to determine when an externally loaded swf hasended playing. I have a situation where I don't have control of the external swf files that my prog is using. I have created a movieClip that uses a movieClipLoader and loads an external swf into it, I am trying to detect when the end of that external swf has been reached. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com This e-mail and its attachments are intended only for the use of the addressee(s) and may contain privileged, confidential or proprietary information. If you are not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution, displaying, copying, or use of this information is strictly prohibited. If you have received this communication in error, please inform the sender immediately and delete and destroy any record of this message. Thank you. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Kind Regards, Mike Ickes ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Need special 3D Charting / Graphing solution...
This should get you started. They have a free and a licensed version. Pretty slick! http://www.maani.us/xml_charts/ Regards, Mike On 8/20/07, Mankowski, Chris <[EMAIL PROTECTED]> wrote: > > Does anyone know where I can find a nice-looking charting component that > can not only draw a line graph, but *also* allow me to scroll left or > right ... In a perfect world this will download a dynamically generated > XML file that matches up with the position of the scroll bar. > > > > I'm open to free, or commercial implementation... > > > > Thanks! > > -Chris > > > > > Notice: This e-mail message and any attachment to this e-mail > message may contain information that is confidential, proprietary, > privileged, legally privileged and/or exempt from disclosure under > applicable law. If you are not the intended recipient, please accept > this as notice that any disclosure, copying, distribution or use of the > information contained in this transmission is strictly prohibited. > National Financial Partners Corp. reserves the right, to the extent > and under circumstances permitted by applicable law, to retain, > monitor and intercept e-mail messages to and from its systems. > > Any views or opinions expressed in this e-mail are those of the > sender and do not necessarily express those of National Financial > Partners Corp. Although this transmission and any attachment are > believed to be free of any virus or other defect that might affect any > computer system into which it is received and opened, it is the > responsibility of the recipient to ensure that it is virus free and no > responsibility is accepted by NFP, its subsidiaries and affiliates, as > applicable, for any loss or damage arising in any way from its use. > If you have received this e-mail in error, please immediately contact > the sender by return e-mail or by telephone at 212-301-4000 and > destroy the material in its entirety, whether electronic or hard copy > format. > > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > -- Kind Regards, Mike Ickes ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] JumpShip Framework, version for AS3 and major update to AS2 version
Link??? On 9/2/07, Jamie S <[EMAIL PROTECTED]> wrote: > > I'm encouraging you all to check out the latest release of the > JumpShip Framework for AS3. > > JumpShip is an ActionScript application framework that implements an > MVC design pattern and adheres to the Ruby on Rails philosophy of > "Convention over Configuration" i.e. making a few logical assumptions > and adhering to a few basic standards will grand you a 10x improvement > in development time. > > It attempts to be as "Agile" as you can be in Flash. > > Anyway. I'm the project lead and I would love if some of you take a > look at it for the first time or revisit it if you've seen jumpShip > before. > > Best, > Jamie Scanlon > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > -- Kind Regards, Mike Ickes ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Flash 8 - Import AS Compile Bug
I had a similar problem after I installed the .NET framework The .NET framework installed a new user on my machine and then all my class paths were messed up and flash couldn't find them. I remedied it by buying a new computer. Haha. I think reinstalling flash would also do the trick. That might not be your problem though, but I hope it helps. Mike. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Parsons Sent: 20 June 2006 11:12 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Flash 8 - Import AS Compile Bug I am having a nightmare with a FLA that does not want to compile anymore - it generates the following error (Flash 8 AS 2.0): **Error** Scene=Scene 1, layer=code, frame=1:Line 3: Type mismatch in assignment statement: found Number where String is required. import nav.MenuXML; Does anybody have a solution or work around? I have searched on livedocs and have found some vague references to this problem - to do with AS time stamping conflicts, but that's about 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] Abstract Classes and Interfaces ...
(Hi everyone -- I'm new to the list, but have been programming in Flash since v4.) > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Stephen Ford > > Are Abstract Classes and Interfaces the same thing ? Flash doesn't actually have abstract classes, but I like to fake it sometimes by simply making the constructor private. That way you can't instantiate the class itself (at least from code external to the class), but have to extend it and instantiate subclasses. I also like to fake abstract methods by creating methods in the "abstract" superclass which just throw errors. That way you have to override them in subclasses before you can use them. -- T. Michael Keesey Director of Technology Exopolis, Inc. 2019 Riverside Dr. Los Angeles, CA 90039 -- The Dinosauricon: http://dino.lm.com Parry & Carney: http://parryandcarney.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] RTF text in a field?
Possible, yes. Simple, no. You'd essentially have to build an RTF parser in ActionScript to convert RTF to (X)HTML. I don't know of any such parsers have been built already. Depending on what your back-end is, there may be tools to do the conversion there instead. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: Wednesday, June 21, 2006 10:21 AM To: Flashcoders mailing list Subject: [Flashcoders] RTF text in a field? Is it possible to load in an external .rtf text into a textfield? Thanks. -- ---[ http://www.grimmwerks.com ---[ [EMAIL PROTECTED] ---[ [EMAIL PROTECTED] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] moving jpeg out of swf
This may or may not be overkill for what you need: http://www.quasimondo.com/archives/000572.php I had to use this recently for generated images that were bigger than my screen. It's a rather slow process for such large images, but it's all there is until the next version of Flash -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bo Parker Sent: Wednesday, June 21, 2006 1:22 PM To: Flashcoders mailing list Subject: [Flashcoders] moving jpeg out of swf I want to preface this by saying that I've tried searching for this for the past hour. I am creating an application that takes a screenshot of a movie clip. That part is successful. I need to be able to take that screenshot, and move the image out of the swf file and save on a server. I've tried google and working with printJob but that's not exactly the right fit. Could you guys point me in the right direction toward achieving this end? Thanks, -- Bo Parker, AIGA Bo Co. Design 650 W Vickery Suite 130 Fort Worth, Texas 76104 817.332.4700 phone 817.332.4710 facsimile www.rmcfw.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] Alternate row color (Modulo Operator)
In a class, like so: public static var ITEM_COLORS:Array = [0xFF, 0x00FF00, 0xFF, 0xFF]; // (or whichever colors) // assuming property "countItem" is the number of items // and the method "getItem" retrieves an item with a "color" property private function colorItems():Void { for (var i:Number = 0; i < countItem; ++i) { getItem(i).color = ITEM_COLORS[i % ITEM_COLORS.length]; } } Note that in this scheme the index number starts at 0, not 1. That's a better practice in general. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sajid Saiyed Sent: Thursday, June 22, 2006 10:54 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Alternate row color (Modulo Operator) Hi, I have a question about using Modulo Operator. I can easily do an Odd / Even using i%2 !=0 Where i can be any supllied number. My question is, I have a list of movieclips (arranged one below another). I want to use 4 different colours to differentiate them. So, list items 1, 5, 9, ... will have Color-1. items 2, 6, 10, ... will have another Color-2. items 3, 7, 11, ... will have third Colou-3. items 4, 8, 12, ... will have fourth Color-4. And so on Can someone point me to the right direction as to how I should use the moludo? Wether modulo operator is the right way to do this? Thanks ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Export frame option disabled
Are you basing the percentage on the frames loaded (100 * _framesloaded / _totalframes) or bytes loaded (100 * getBytesLoaded() / getBytesTotal())? You should be doing the latter. If you are then ... um *tags someone else* -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Boutin Sent: Thursday, June 22, 2006 1:52 PM To: Flashcoders mailing list Subject: [Flashcoders] Export frame option disabled Hey everyone, Im creating a preloader and I notice that it doesnt start until about 90% done loading the file. I believe this is because my ui components are exported to the first frame. I tried unchecking "export to first frame" with no difference. I also tried changing the actionscript setting to export it to frame 2 rather than 1, but it is unavailable to change (the field is disabled). Am I missing something here? ;) Thanks! Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] FileReference and actionscript 2.0
Pretty simple: import flash.net.FileReference; class package.FileReferenceListener extends Object { public function FileReferenceListener () { super(); } private function onCancel(file:FileReference):Void { trace("onCancel: " + file.name); } private function onOpen(file:FileReference):Void { trace("onOpen: " + file.name); } private function onProgress(file:FileReference, bytesLoaded:Number, bytesTotal:Number):Void { trace("onProgess: " + file.name + ": " + bytesLoaded + "/" + bytesTotal); } } Then, elsewhere, you can do something like this: import flash.net.FileReference; import package.FileReferenceListener; // ... var file:FileReference = new FileReference(); var listener:FileReferenceListener = new FileReferenceListener(); file.addListener(listener); // Do stuff with "file". -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of human ghaderyan Sent: Sunday, June 25, 2006 7:34 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] FileReference and actionscript 2.0 Hi dear Hank I think after a successfull upload and inserting in db, I can set the record ID (or any thing else) in User Session in server and after successful upload( returning true to flash ) call a simple remoting method that invoke id from session and return it to flash. After all I think I don't undrestand some of key features of AS 2.0 :: listener.onCancel = function(file:FileReference):Void { trace("onCancel"); } listener.onOpen = function(file:FileReference):Void { trace("onOpen: " + file.name); } listener.onProgress = function(file:FileReference, bytesLoaded:Number, bytesTotal:Number):Void { trace("onProgress with bytesLoaded: " + bytesLoaded + " bytesTotal: " + bytesTotal); } I don't know where can I put event methods like this in my AS 2.0 class. What did I misundrestand?? All the samples are in AS1 and I don't know what to do for my events :( ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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: loadvars vs xml onData
That is really weird. One question--are the files being loaded the same size? (Or, better yet, the same file.) -- Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Kremens Sent: Monday, June 26, 2006 1:17 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Re: loadvars vs xml onData Hi Stacey, Check out the question: "Anyone know why loadvars.onData gets results quicker than xml.onData" He's comparing loadvars.onData with xml.onData - apples and apples, not loadvars.onData with xml.onLoad. It's a good question! I'd like to know Jim Kremens ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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: loadvars vs xml onData
But if you run the XML test first, and the LoadVars test just "loads" the cached file -- T. Michael Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Kremens Sent: Tuesday, June 27, 2006 5:39 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Re: loadvars vs xml onData Why would that matter? I would assume that the loadvars and XML objects would handle cached or non cached files the same way, no? Jim Kremens On 6/26/06, Steven Sacks | BLITZ <[EMAIL PROTECTED]> wrote: > You're loading in a non-cached version each time right? > > var myXml = new XML(); > for (var a = 0; a < 30; a++) { > myXml.load(path + "?x=" + a); > } > > > BLITZ | Steven Sacks - 310-551-0200 x209 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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: Re[2]: [Flashcoders] Key.addListener and the escape key for flashplayer8
You can't use fscommand("trapallkeys", true); ? -- T. Michael Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andriy Panas Sent: Thursday, July 06, 2006 4:56 AM To: Flashcoders mailing list Subject: Re[2]: [Flashcoders] Key.addListener and the escape key for flashplayer8 Hello blists, >From flexcoders recent post: --- The Flash ActiveX Player doesn't receive ESCAPE key presses. Probably because IE doesn't pass this along to the Player. When you receive a keyDown event, you can find out of the ESCAPE key has been pressed. But this only works if the user presses ESC and another key at the same time. There is no workaround. You'll just have to not use the ESC key in your application. --- -- Best regards, Andriymailto:[EMAIL PROTECTED] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Text Arching...
http://www.gousable.com/flash/ this might be worth looking at. I have no idea how good it is though. Mike. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Umesh Patel Sent: 10 July 2006 21:59 To: Flashcoders mailing list Subject: Re: [Flashcoders] Text Arching... http://www.niketeam.com/v2/new/Builders/CentercourtMen/check_flash5.asp here is the link to nike uniform builder click on Test Drive and build your jersey and I am guessing 4th or 5th step is having text arching I am attaching what kind Of arching I am looking forward to get it. thanks guys, Umesh. - Original Message - From: "Bernard Poulin" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Monday, July 10, 2006 10:28 AM Subject: Re: [Flashcoders] Text Arching... > - Your example nike url does not work > - I do not see any "arching" just by visiting their site -- where is that? > - I do not see any "attachments" to this email > - you must have a problem sending emails to this list since it appears you > sent your email twice > > > > When you are saying "text arching" I assume you mean displaying text > following a curved path - namely an "arc"? Like text going around a > circle? I also assume that you want to be able to change the content of the > text dynamically. > > Since it is possible to rotate text, you could roll your own algorithm and > draw each letter separately -- each of then positioned and rotated correctly > to follow any path you can imagine. > > B. > > 2006/7/10, Umesh Patel <[EMAIL PROTECTED]>: > > > > Hello, > > > > I have following question. > > > > I saw nike's unifrm builder, Nike Uniform > > Builder( http://www.niketeam.com/v2/new/Sport...T=BBM&CAT=UNI), they built > > uniform generator using Flash, the only thing wondering me is, how did > > they > > manage to arch the text, if anybody has any clue then I would be very > > happy > > to see little bit of action scripting. > > > > I want different arching with click of a button or something like that, I > > am > > attaching a sample of arching that I am looking for! > > > > If anybody figures it out. thanks, > > > > Umesh Patel > > > > Dynamic Team Sports > > 416.496.8600 > > --- > > This email and any files transmitted with it are confidential and intended > > solely for the use of the individual or entity to whom they are addressed. > > > > If you have received this email in error please notify the sender via > > reply > > mail and delete all copies form your records. Any views or opinions > > presented in this email are solely those of the author and do not > > necessarily represent those of the company. Employees of Dynamic Team > > Sports > > are expressly required not to make defamatory statements and not to > > infringe > > or authorize any infringement of copyright or any other legal right by > > email > > communications. Any such communication is contrary to company policy and > > outside the scope of the employment of the individual concerned. The > > company > > will not accept any liability in respect of such communication, and the > > employee responsible will be personally liable for any damages or other > > liability arising. The company accepts no liability for any damage caused > > by > > any virus transmitted by this email.' > > > > > > > > > > > > -- -- > > > > > > > > > > > > > > > > ___ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/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] Abstract classes in AS3?
That does seem stupid and completely pointless. I use private constructors all the time. Is there an official rationale for this? -- T. Michael Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cédric Néhémie Sent: Tuesday, July 11, 2006 11:30 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Abstract classes in AS3? Chris, from the latest AS3 Language Reference (http://livedocs.macromedia.com/flex/2/langref/index.html), in compile-time errors section : 1153 - A constructor can only be declared public I don't understand why Adobe do that ? If somebody have an idea, I'ld be buyer ? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Abstract classes in AS3?
Yeah, but what if you're doing an enumeration class, like so: class TransitionState { private function TransitionState() { } public static var NOT_PLAYED_IN:TransitionState = new TransitionState(); public static var PLAYING_IN:TransitionState = new TransitionState(); public static var PLAYED_IN:TransitionState = new TransitionState(); public static var PLAYING_OUT:TransitionState = new TransitionState(); public static var PLAYED_OUT:TransitionState = new TransitionState(); } I want to be able to assume that these are the only 5 TransitionState objects in existence! (Okay, somebody could extend the class and make more--are they adding "final" in AS3.0?) Or what about static method classes? Why should something like this be allowed?: var stupid:Math = new Math(); Or, to return to the original topic, what if you want to do a pseudo-abstract class? Saying it's not ECMAScript doesn't fully answer the question--what is ECMAScript's rationale for not allowing private constructors? -- T. Michael Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eka Sent: Tuesday, July 11, 2006 11:45 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Abstract classes in AS3? private constructor is not ECMAScript ! to create a Singleton you can use a simple object inherit "internal" class, it's more clean :) links about this subject : http://blog.jasonnussbaum.com/?p=112 french discussion about this subject : http://groups.google.com/group/FCNG/browse_thread/thread/544f79b0b223b15 a/e2b2527f81678da7?lnk=st&q=constructeur+AS3&rnum=1#e2b2527f81678da7 PS : sorry for my english ^_^ EKA+ :) 2006/7/11, Weyert de Boer <[EMAIL PROTECTED]>: > > Why is it removed? > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/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] Abstract classes in AS3?
I don't really care whether they allow private constructors or not, as long as they provide some way of accomplishing the same thing. Specifically, I want to be able to: 1) Limit the number of instances of certain classes (singletons, enumerations). 2) Have methods which are not attached to specific class instances. 3) Be able to create classes that cannot be instantiated themselves but can be superclasses of concrete classes. #3 for example, is much better implemented with the "abstract" keyword than with private constructors, but AS3.0 doesn't have the "abstract" keyword, so now there is no way to elegantly accomplish this (i.e., in such a way that errors are caught at compile-time instead of runtime). So, yeah, make all constructors public if you must, but give us some other way to accomplish these things. -- T. Michael 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
RE: [Flashcoders] Php Host (Full Control)
I'm gonna jump on this thread with a more specific question. One person mentioned www.hostbrigade.com, which offers, among other things: # Full root access # Install anything you want Any recommendations for other hosts like this? -- 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
RE: [Flashcoders] Abstract classes in AS3?
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nicolas Cannasse Sent: Wednesday, July 12, 2006 1:16 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Abstract classes in AS3? > > Mike Keesey wrote: > > I don't really care whether they allow private constructors or not, as > > long as they provide some way of accomplishing the same thing. > > Specifically, I want to be able to: > > 1) Limit the number of instances of certain classes (singletons, > > enumerations). > > Did you have a look at haXe enums ? > http://haxe.org/ref#the_power_of_enum Sure, something like that would be nice. But it's not in AS3.0. > > 2) Have methods which are not attached to specific class instances. > > That's a bit like static methods no ? I was incomplete. I should have said, "Have *bundled* methods which are not attached to specific class instances." That is, I want to be able to have groups of static methods. Static classes are how this is currently accomplished, but if we can't have private constructors, there's no way to prevent someone from (pointlessly) instantiating a static class. Can methods be attached to packages in AS3.0? If so, that might help. > > 3) Be able to create classes that cannot be instantiated themselves but > > can be superclasses of concrete classes. > > Yes, I agree there. Removing the ability to create private constructors > seems completely pointless. The rational behind it seems a bit like "you > don't need that", which is not a very strong point IMHO. Exactly! Replace the removed functionality with some other strategy, but don't just get rid of it and pretend nothing's wrong. -- 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
RE: [Flashcoders] conflicts with the name of another class
I find this happens when two classes import each other. Just compile again and the error goes away. Weird little bug that will hopefully go away in Flash 9. (I'm assuming you don't actually have two classes both named 'ConnectDots'.) -- T. Michael Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Kønig Sent: Thursday, July 13, 2006 2:44 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] conflicts with the name of another class Sometimes I get this message with differnet classes. Never knew what causes it: The name of this class, 'ConnectDots', conflicts with the name of another class that was loaded, 'ConnectDots'. Anyone else? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Difference between null and undefined?
You can actually just use (!var) in most cases. if (!undefined) { // This will always run. trace(undefined); } if (!null) { // This will always run. trace(null); } if (!false) { // This will always run. trace(false); } if (!0) { // This will always run. trace(0); } if (!"") { // This will always run. trace('""'); } if (!"".length) { // This will always run. trace('"".length'); } if (!"foo") { // This will always run. trace('"foo"'); } if (![].length) { // This will never run. trace("[].length"); } // Conversely... if (!"foo".length) { // This will always run. trace('"foo".length'); } if (!true) { // This will never run. trace(true); } if (!1) { // This will never run. trace(1); } if (!-1) { // This will never run. trace(-1); } if (!(Math.random() + 1)) { // This will never run. trace("Math.random() + 1"); } if (!{}) { // This will never run. trace("{}"); } if (![]) { // This will never run. trace("[]"); } -- T. Michael Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rifled Cloaca Sent: Wednesday, July 19, 2006 8:00 AM To: Flashcoders mailing list Subject: [Flashcoders] Difference between null and undefined? FlashCoders, I've recently been upgrading some old Flash MX code to Flash 8, and have been running into issues where properties return 'undefined' instead of 'null'. I seem to recall that undefined was introduced in Flash 7. I've always been confused about when something is undefined versus null, so I always check for both. { (var != undefined && var != null) } Is there an explanation somewhere regarding the difference between undefined and null, and when to expect which? If not, can someone who understands explain it? Thanks in advance! -rc ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Difference between null and undefined?
It's useful in traces. -- T. Michael Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rifled Cloaca Sent: Wednesday, July 19, 2006 9:34 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Difference between null and undefined? This is particularly annoying: "In files published for Flash Player 6 or earlier, the value of String(undefined) is "" (an empty string). In files published for Flash Player 7 or later, the value of String(undefined) is "undefined" (undefinedis converted to a string)." Why convert 'undefined' to a string? When is that useful? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Difference between null and undefined?
Whoops... if (![].length) { // This will never run. trace("[].length"); } ... should say ... if (![].length) { // This will always run. trace("[].length"); } ... and ... if (!"foo".length) { // This will always run. trace('"foo".length'); } ... should say ... if (!"foo".length) { // This will never run. trace('"foo".length'); } -- T. Michael Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Sent: Wednesday, July 19, 2006 9:07 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Difference between null and undefined? You can actually just use (!var) in most cases. if (!undefined) { // This will always run. trace(undefined); } if (!null) { // This will always run. trace(null); } if (!false) { // This will always run. trace(false); } if (!0) { // This will always run. trace(0); } if (!"") { // This will always run. trace('""'); } if (!"".length) { // This will always run. trace('"".length'); } if (!"foo") { // This will always run. trace('"foo"'); } // Conversely... if (!"foo".length) { // This will always run. trace('"foo".length'); } if (!true) { // This will never run. trace(true); } if (!1) { // This will never run. trace(1); } if (!-1) { // This will never run. trace(-1); } if (!(Math.random() + 1)) { // This will never run. trace("Math.random() + 1"); } if (!{}) { // This will never run. trace("{}"); } if (![]) { // This will never run. trace("[]"); } -- T. Michael Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rifled Cloaca Sent: Wednesday, July 19, 2006 8:00 AM To: Flashcoders mailing list Subject: [Flashcoders] Difference between null and undefined? FlashCoders, I've recently been upgrading some old Flash MX code to Flash 8, and have been running into issues where properties return 'undefined' instead of 'null'. I seem to recall that undefined was introduced in Flash 7. I've always been confused about when something is undefined versus null, so I always check for both. { (var != undefined && var != null) } Is there an explanation somewhere regarding the difference between undefined and null, and when to expect which? If not, can someone who understands explain it? Thanks in advance! -rc ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Difference between null and undefined?
That's what I thought, too, but when I did the test, !"foo" evaluated as true. trace(!"foo"); /// Outputs "true". -- T. Michael Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of janosch Sent: Wednesday, July 19, 2006 9:39 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Difference between null and undefined? little error in !"foo", correct like this: if (!"foo") { // This will never run. trace('"foo"'); } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Difference between null and undefined?
That is really weird, huh? Well, for strings, I think it's often better to use .length for Boolean tests, anyway: function test(s:String) { if (s.length) { // Catches any nonempty string. } else { // Catches null, undefined, and empty strings. } } -- T. Michael Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of janosch Sent: Wednesday, July 19, 2006 10:24 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Difference between null and undefined? Thats very strange, but in usual case you do not check for the pure value, but for the value, saved in a variable: a = "foo"; trace(!a); // false Janosch Mike schrieb: >That's what I thought, too, but when I did the test, !"foo" evaluated as >true. > >trace(!"foo"); /// Outputs "true". >-- >T. Michael 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
RE: [Flashcoders] HTML Parser with Flash
XHTML or HTML 4.0? If the former, you can just use the XML object. If the latter ... have fun -- T. Michael Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sara Czyzewicz Sent: Wednesday, July 19, 2006 1:46 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] HTML Parser with Flash Fellow Flashcoders, I'm looking for a way of parsing through an HTML page using ActionScript. Would be greatly appreciated if someone could point me in some direction... 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] Attention Recursion & Speed Experts
Why have the step with the semicolon? You can just do this: var foo:Array = ["a", "b", "c", ["d", "e", ["d", "e", ["d", "e", ["d", "e", "f", ["g", ["h"]], [[], "i"], "j"]; var fooFlat:Array = foo.toString().split(","); Potential problems with this approach: - It does not preserve the type of the elements, converting them all to string. - Any element that equates to a string with a comma in it will be evaluated as two elements. E.g, if foo is set to ["a,b", "c"], it will flatten to a 3-element array. So it's only useful if the atomic elements are strings, and they are guaranteed not to include commas. I have no idea how efficient it is, processor-wise, although I would suspect it is rather slow. -- T. Michael Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bernard Visscher Sent: Tuesday, July 25, 2006 2:05 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Attention Recursion & Speed Experts I don't know if I understand this correctly, but is it making a array flat? Then this is the fastest way I think: var foo : Array = ["a", "b", "c", ["d", "e",["d", "e",["d", "e",["d", "e", "f", ["g", ["h"]], [[], "i"], "j"]; var fooString:String = foo.join(";"); fooString = fooString.split(",").join(";"); foo = fooString.split(";"); output: a,b,c,d,e,d,e,d,e,d,e,f,g,h,,i,j Bernard > -Oorspronkelijk bericht- > Van: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Namens > Danny Kodicek > Verzonden: dinsdag 25 juli 2006 21:51 > Aan: Flashcoders mailing list > Onderwerp: Re: [Flashcoders] Attention Recursion & Speed Experts > > >Oh, I just noticed that Mark's was fastest. > > Sorry, replied to an easlier mail before noticing the thread > continued... > > Danny > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/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] Array Empowerment
Question totally unrelated to implementation and optimization: Why do the function names have underscores when "camel-humped" names are the customary syntax in ActionScript (and Java, and Javascript...)? Some of the names could be clearer: - "nitems" looks like "number of items" (i.e., "length"); why not "numSetItems" or "countSetItem"? - "rindex" is a bit confusing; why not "lastIndexOf" (as in the String object)? (Also "index" could be "indexOf", to better agree with the String interface.) - "some" -- maybe "forSome", or "exists"? (Also, "every" makes more sense to me as "forAll".) - "uniq" -- do those two characters make much difference? - "eql" -- "equals" is far more standard - "include" is pretty close to a reserved word -- why not "hasItem"? - the "delete" functions don't so much "delete" (i.e., totally destroy) as "remove" or "strip". Cool stuff, though! -- T. Michael Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ryanm Sent: Tuesday, July 25, 2006 7:31 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Array Empowerment > Here is the next iteration - new and improved. Again, all > comments and optimizations, including conversations about > optimizations, are most welcome! > Those are great additions. You need a duplicate_deep and a replicate_deep, though. Right now, any obejcts stored in the array will be references in the new array. A _deep method would make copies of those too, recursively caling Array.duplicate, or Object.duplicate. ;-) ryanm ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Array Empowerment
> > - "nitems" looks like "number of items" (i.e., "length"); why not > > "numSetItems" or "countSetItem"? > > Yeah, I didn't think it was very descriptive either, but it returns the > number of non null/undefined items in the array (which, at the moment, I > don't see as very useful, hehe). Perhaps it could be notNullCount()? Yes, even better than my suggestions (or "countNotNull"). > This method actually inspires me to create a more useful method that I > think is missing: count. Nice. > > - "some" -- maybe "forSome", or "exists"? (Also, "every" makes more > > sense to me as "forAll".) > > every and some come from php. But you bringing this up made me think > about it, and I've concluded that 'any' is a more descriptive method > name (and one less character to type!). 'any' and 'every' go together > well (like chocolate and peanut butter). I've renamed 'some' to 'any'. In mathematics these are the quantifiers written as an upside-down "A" and a backwards "E", respectively. They are usually read (and often written) as "for all" and "[there] exists" or "for some"--hence my suggestions. There must be equivalent Java functions somewhere (and ActionScript is far more akin to Java than PHP or Ruby). > > - "eql" -- "equals" is far more standard > > eql is what is used in Ruby, while Java uses equals. I don't know if > there's a clear standard. I like Ruby. I think it's a great language. > I have no problem with shaving a few chars off for quicker typing, > especially if "equals" ever enters into the language. eql is more > likely to not conflict with anything. But, as pointed out before, ActionScript is far more akin to Java, where "equals" is something just about every single object has. Furthermore, some Flash objects (e.g., Point), already use "equals". Finally, "eql" looks a lot like "leq". > > - "include" is pretty close to a reserved word > > You're right. I've renamed it 'has', which I think is perfect, and, > coincidentally, still maintains alphabetical order without having to > move it. :) Nice. > > - the "delete" functions don't so much "delete" (i.e., totally destroy) > > as "remove" or "strip". > > They do delete - from the Array. This method belongs to the Array > class. Hence, it's doing exactly what it says and what you expect - > deleting an element from the Array. Once you delete it from the Array, > it's no longer in the Array. It's not Object.delete, it's Array.delete. > > Delete is the original name of the method in Ruby, but delete is a Flash > native method and cannot be assigned to a function. So, I've used > deleteAll, deleteAt and deleteIf. There is no Object.delete or Array.delete, nor can there be, since "delete" is a keyword--not a native method (like, say, "trace" or "setInterval"), but part of the language itself (like "new"--same as in C and Java and PHP). "Deleting" means you are utterly destroying the object--essentially forcing garbage collection. "Removing" means you are taking it out of the array (but it might still be referenced somewhere else). I think you should only use "delete" (or "destroy") as part of the name if you are actually forcing deletion, not if you are just removing a reference. In short, I don't think it's a good idea to use Ruby or PHP conventions in ActionScript. Look to other ActionScript conventions first, then look to Java conventions. Niggling points, I know, but legible code is worth some thought, I think. -- T. Michael 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
RE: [Flashcoders] Array Empowerment
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of js > Sent: Wednesday, July 26, 2006 7:01 PM > To: Flashcoders mailing list > Subject: Re: [Flashcoders] Array Empowerment > > I was fairly surprised to see that if(this.length == 0) is considered sloppy opposed to (!this.length); Err, other way around. (Although I have to admit I've been guilty of the latter on numerous occasions--blame my C background.) -- T. Michael 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
RE: [Flashcoders] pass variables between classes in AS3
Depends on the structure, but, in the end, it sounds like it will boil down to having some static method for the the document class to find the movieclip, or the movieclip to find the document class. The simplest variant of this approach is the Singleton pattern. Is there only one instance of your document class, ever? Or only one instance of your movieclip class? -- T. Michael Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carl Welch Sent: Thursday, July 27, 2006 12:09 AM To: Flashcoders mailing list Subject: [Flashcoders] pass variables between classes in AS3 I have an AS3 document class where I load and parse an xml file into an array. I would like to pass that array to a movieclip(?) class - basically its a button that will create new movieclips that will differ based on my xml array. How in the world do I get the array from the document class to other classes... arggg! as3 is blowing my mind. I've googled but I can't find anything that make sense to my as2 brain. Thanks again. -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] How to change reference?
It's a hack, but you can do: as.func1.apply(_root); Might be better to change func1 so that it takes a MovieClip as a parameter. Then you could just do: as.func1(_root); (Although that's still a bit of a hack.) -- T. Michael Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of natalia Vikhtinskaya Sent: Thursday, July 27, 2006 3:40 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] How to change reference? Maybe I was not clear. Clip "as" has function "funk1" To call this function from root I should say as.func1 or from another clip: _root.as.func1. I want to find way to call this function as _root.func1 even if she is in clip with name "as". 2006/7/27, denfi <[EMAIL PROTECTED]>: > > you dun have to put _root.attachMovie since you are already attaching it > right from your current maintimeline. > > Instead just: > > attachMove("as","as",100); will do the job. > > Regrads! > > On 7/27/06, natalia Vikhtinskaya <[EMAIL PROTECTED]> wrote: > > > > Hi > > > > I attach clip with this code: > > > > _root.attachMovie("as","as",100); > > > > Is it possible to change reference to this clip? Instead of > > > > as.something > > > > to have _root.something > > > > > > Another words I want to find way to say _root instead of _root.as. Is it > > possible? > > > > Thank you for help. > > ___ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > > > > -- > Discipline can be painful, but it helps when you give it a chance. > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/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] loadComplete but no loadInit
Random thought--is it possible that the initialization code for the loaded SWF is throwing an error? (I have no idea if this would stop onLoadInit from being called, though.) It's a long shot, but -- T. Michael Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tony Fairfield Sent: Thursday, July 27, 2006 6:30 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] loadComplete but no loadInit Exactly the problem I encountered a few days ago - but no solution to it yet. The only clue I have is that in the testing environment both onLoadComplete and onLoadInit were successfully working. It was when I tried launching either a standalone projector or the swf independently, that the onLoadInit became erratic - it would fail on certain pages and not on others. I am loading external swfs as page content using movieClipLoader, and I know it isn't the page content or size, because all are identical ( small files of about 15k with exactly the same content). I have tried using delegates and cleaning the Listener and Loader (removing and deleting, then recreating) up completely after each load - same result. The answer is out there somewhere . T Fairfield ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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: [SPAM] RE: [Flashcoders] String Empowerment
If you REALLY wanted to be fancy, you could have it accept an array of words *not* to capitalize (unless they are the first word). For example: var lowerCaseWords:Array = ["a", "an", "and", "of", "the"]; trace("a tale of two cities".toTitleCase(lowerCaseWords)); trace("THE PRINCE AND THE PAUPER".toTitleCase(lowerCaseWords)); // Output: // A Tale of Two Cities // The Prince and the Pauper -- T. Michael Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ Sent: Friday, July 28, 2006 12:01 PM To: Flashcoders mailing list Subject: RE: [SPAM] RE: [Flashcoders] String Empowerment > umm... Title Case as MS Word calls it... Title Case in Word is different than capitalize. Title Case capitalizes every word in a string. Capitalize only capitalizes the first character of the string. However, toTitleCase() would be a handy method. I'll code 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] Problems getting the brightness of a color returnedfrom getPixel
You seem to be thinking of numbers as if they are stored like strings. They aren't. RGB colors are stored as 3-byte (24-bit) numbers. For example, red looks like this in binary: b ...which is the same thing as this in hexadecimal: 0xFF ... which is the same thing as this in decimal: 16711680 To isolate, for example the red portion, you can use SHIFT RIGHT (>>) to shift all bits to the "right" by 16 bits. Binary: b >> 16 = b Hexadecimal: 0xFF >> 16 = 0xFF Decimal: 16711680 >> 16 = 255 Generally it's a good idea not to presume that there may not be more bits to the left, so you can filter them out using a bitwise AND (&). To explain, this better, here's how to extract the green value from bright cyan (0x7F): The binary value of the color: 0111 Split into colors: 0111 Shift right 8 bits: 10111b >> 8 = In hexadecimal, this result is: 0x In decimal, it is: 65535 Clearly this is too large, because it includes the red value. To remove it, we use a bitwise AND. b & 0xFF = b = 0xFF To illustrate, we are taking this value: b (=0x; =65535) ...and doing a bitwise AND with this value: b (=0x00FF; =255) This compares each bit in the first number to each bit in the second number. If both bits are 1 (on), that bit is 1 (on) in the result. If both bits are 0 (off), both bits are 0 (off) in the result. So the result is: b (=0xFF; =255) ...which is, indeed, the green value of the color. So Martin Wood's example (slightly edited): var r:Number = color >> 16 & 0xFF; var g:Number = color >> 8 & 0xFF; var b:Number = color & 0xFF; ... is how to retrieve the red, green, and blue values from a single RGB color number. -- T. Michael 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
RE: [Flashcoders] Problems getting the brightness of a colorreturnedfrom getPixel
Small correction. This: "This compares each bit in the first number to each bit in the second number. If both bits are 1 (on), that bit is 1 (on) in the result. If both bits are 0 (off), both bits are 0 (off) in the result. So the result is:" ...should be: "This compares each bit in the first number to each bit in the second number. If both bits are 1 (on), that bit is 1 (on) in the result. If *either bit is* 0 (off), *that bit is* 0 (off) in the result. So the result is:" (emphasis added) -- T. Michael Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Sent: Saturday, July 29, 2006 3:25 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Problems getting the brightness of a colorreturnedfrom getPixel You seem to be thinking of numbers as if they are stored like strings. They aren't. RGB colors are stored as 3-byte (24-bit) numbers. For example, red looks like this in binary: b ...which is the same thing as this in hexadecimal: 0xFF ... which is the same thing as this in decimal: 16711680 To isolate, for example the red portion, you can use SHIFT RIGHT (>>) to shift all bits to the "right" by 16 bits. Binary: b >> 16 = b Hexadecimal: 0xFF >> 16 = 0xFF Decimal: 16711680 >> 16 = 255 Generally it's a good idea not to presume that there may not be more bits to the left, so you can filter them out using a bitwise AND (&). To explain, this better, here's how to extract the green value from bright cyan (0x7F): The binary value of the color: 0111 Split into colors: 0111 Shift right 8 bits: 10111b >> 8 = In hexadecimal, this result is: 0x In decimal, it is: 65535 Clearly this is too large, because it includes the red value. To remove it, we use a bitwise AND. b & 0xFF = b = 0xFF To illustrate, we are taking this value: b (=0x; =65535) ...and doing a bitwise AND with this value: b (=0x00FF; =255) This compares each bit in the first number to each bit in the second number. If both bits are 1 (on), that bit is 1 (on) in the result. If both bits are 0 (off), both bits are 0 (off) in the result. So the result is: b (=0xFF; =255) ...which is, indeed, the green value of the color. So Martin Wood's example (slightly edited): var r:Number = color >> 16 & 0xFF; var g:Number = color >> 8 & 0xFF; var b:Number = color & 0xFF; ... is how to retrieve the red, green, and blue values from a single RGB color number. -- T. Michael 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
RE: [Flashcoders] Loading a 3500 entry XML file
Now there's an interesting problem. I have one really awkward idea. I'm assuming the XML structure is something like this? - Use the XML object's onData handler so that you can work with the raw string data. - Strip out the root opening and closing tags. - Iterate through the string until you reach the end: --- (The current character should be a "<".) --- Set a countOpenTags variable to 1 --- Iterate: - move forward one character - For every character, if it is a "<", increment countOpenTags, and if it is a ">", decrement countOpenTags - When countOpenTags is 0: --- Grab everything from to the current position in the string. This grabbed string represents the raw data for an entry tag. --- Create a timeout call to parse the grabbed string. Timeouts should be spaced apart by a certain number of milliseconds. (Experimentation will be required.) The last timeout should have a callback that signals that all the XML has been parsed. --- Break the loop. --- If at the last character, break the loop. Also, if you're interesting, I have an "async" package for performing long calculations asynchronously. It works somewhat similarly. Basically it keeps track of "checkpoints" and provides ways to keep track of time, so that if too much time is spent, it can break out of the procedure and re-enter it on a timeout. Checkpoints correspond to options on a large switch statement. It's kind of a hack, but it's come in useful on several occasions. -- T. Michael Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Clayton Sent: Monday, July 31, 2006 9:10 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Loading a 3500 entry XML file Hi all, For reasons I'd rather not get into :s I'm loading an XML file into flash with 3500 entries (each has 13 child nodes describing elements of the entry). To my initia, happyl surprise, Flash 8 only took several seconds to load it! I'm easing into processing to vars, and realized I needed something with no whitespace so flash could discern it's contents properly. When I told flash to .ignoreWhite on the XML object it kaks out and dies (unresponsive and crash). I decided to save it the trouble and had a developer strip the whitespace out of the actual XML file when generated from the Database. Smaller file (sans whitespace) however.that becomes unresponsive on load too, and crashes Flash! (even with the .ignoreWhite removed). Any ideas why? Any suggested other methods? Clayton ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] name objects dynamicly
"so.data.MyIndex.toString" is a function object. "so.data.MyIndex.toString()" is a string representation of "so.data.MyIndex". -- T. Michael Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Céline Nguyen Sent: Sunday, August 06, 2006 4:18 PM To: Flashcoders mailing list Subject: [Flashcoders] name objects dynamicly I want to create a Shared Object and store lots of arrays and an index. In order to be able to retrieve the right array in the future, I'd like to name each array after the following pattern : MyArrayName + MyIndex so = SharedObject.getLocal("MyLocalSharedObject"); so.data.MyArrayName["MyIndex"+so.data.MyIndex.toString] = []; so.data.MyArrayName["MyIndex"+so.data.MyIndex.toString].push("member 0"); I don't understand because I have no compile time error, but trace("so.data.MyArrayNameMyIndex0[0] is undefined. Same when I want to give a dynamic name of a new class object instance. I don't know how to write it. Have you got an idea, please ? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] [AS2] Catching clicks in child clip?
Hello List, I have been forced to go back to AS2 recently for a work project and oh my is it annoying me. Part of the project I am writing a simple advertising loader, its basically just a swf that loads other swfs into it. The problem is that the adverts that are loaded in sometimes contain clicks within them so without access to the source code i need a method of preventing those clicks from happening. To my knowledge this should be doable by implementing a cover over the top of the loaded swf with a onPress, onRelease etc functions defined correct? Well for some reason this isnt happenining. See the source output below. You can download the project here: http://www.mikecann.co.uk/DumpingGround/AS2_StrippedBare.zip import flash.geom.Matrix; import mx.controls.Loader; import mx.utils.Delegate; /** * ... * @author DefaultUser (Tools -> Custom Arguments...) */ class GJAdJacket { // Privates private var _mc : MovieClip; private var _adContainter : MovieClip; private var _sizeWidth:Number; private var _sizeHeight:Number; public function GJAdJacket(attachToMC:MovieClip) { // The MC we are to attach to _mc = attachToMC; // Set the stage scale modes Stage.scaleMode = "noScale"; Stage.align = "TL"; // Init _sizeWidth = 300; _sizeHeight = 250; loadAdvert(" http://gjacket-images.adbureau.net/gjacket/_clientcreative/Eidos/BattleMail021208.swf "); } private function loadAdvert(advertURL:String) { // Make a mask for those naughty ads that dont mask var mask : MovieClip = _mc.createEmptyMovieClip("mask", _mc.getNextHighestDepth()); mask.beginFill(0, 255); mask.moveTo(0,0); mask.lineTo(_sizeWidth,0); mask.lineTo(_sizeWidth,_sizeHeight); mask.lineTo(0,_sizeHeight); mask.lineTo(0,0); mask.endFill(); _mc.setMask(mask); mask.onMouseUp = Delegate.create(this, advertClickthrough); mask.onRelease = function() { } mask.onPress = function() { } mask.onMouseDown = function() { } mask.onMouseMove = function() { } _adContainter = _mc.createEmptyMovieClip("container", _mc.getNextHighestDepth()); _adContainter.loadMovie(advertURL); } public function advertClickthrough() { getURL("http://www.google.com";, "_blank") } } Cheers. -- Mike Cann http://www.mikecann.co.uk/ http://www.artificialgames.co.uk/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] [AS2] Catching clicks in child clip?
Okay well setting these values: mask.onMouseUp = Delegate.create(this, advertClickthrough); mask.onRelease = function() { } mask.onPress = function() { } mask.onMouseDown = function() { } mask.onMouseMove = function() { } to _mc.onMouseUp = Delegate.create(this, advertClickthrough); _mc.onRelease = function() { } _mc.onPress = function() { } _mc.onMouseDown = function() { } _mc.onMouseMove = function() { } has had no effect. Believe me i have tried every single combination of where to place these listeners. The mask is essentail BTW as some ads have objects off-stage and hence need to be masked when they are loaded in. 2008/12/3 Glen Pike <[EMAIL PROTECTED]> > Hi, > > Use a transparent clip over the top rather than making a clip a mask for > your loaded clip - that should intercept mouse clicks, not sure a mask will? > > Glen > > > mike cann wrote: > >> Hello List, >> >> I have been forced to go back to AS2 recently for a work project and oh my >> is it annoying me. >> >> Part of the project I am writing a simple advertising loader, its >> basically >> just a swf that loads other swfs into it. >> >> The problem is that the adverts that are loaded in sometimes contain >> clicks >> within them so without access to the source code i need a method of >> preventing those clicks from happening. >> >> To my knowledge this should be doable by implementing a cover over the top >> of the loaded swf with a onPress, onRelease etc functions defined correct? >> >> Well for some reason this isnt happenining. >> >> See the source output below. You can download the project here: >> http://www.mikecann.co.uk/DumpingGround/AS2_StrippedBare.zip >> >> >> import flash.geom.Matrix; >> import mx.controls.Loader; >> import mx.utils.Delegate; >> /** >> * ... >> * @author DefaultUser (Tools -> Custom Arguments...) >> */ >> class GJAdJacket >> { >>// Privates >>private var _mc : MovieClip; >>private var _adContainter : MovieClip; >>private var _sizeWidth:Number; >>private var _sizeHeight:Number; >> >>public function GJAdJacket(attachToMC:MovieClip) >>{ >>// The MC we are to attach to >>_mc = attachToMC; >> >>// Set the stage scale modes >>Stage.scaleMode = "noScale"; >>Stage.align = "TL"; >> >>// Init >>_sizeWidth = 300; >>_sizeHeight = 250; >>loadAdvert(" >> >> http://gjacket-images.adbureau.net/gjacket/_clientcreative/Eidos/BattleMail021208.swf >> "); >>} >> >>private function loadAdvert(advertURL:String) >>{ >>// Make a mask for those naughty ads that dont mask >>var mask : MovieClip = _mc.createEmptyMovieClip("mask", >> _mc.getNextHighestDepth()); >>mask.beginFill(0, 255); >>mask.moveTo(0,0); >>mask.lineTo(_sizeWidth,0); >>mask.lineTo(_sizeWidth,_sizeHeight); >>mask.lineTo(0,_sizeHeight); >>mask.lineTo(0,0); >>mask.endFill(); >>_mc.setMask(mask); >> >>mask.onMouseUp = Delegate.create(this, advertClickthrough); >>mask.onRelease = function() { } >>mask.onPress = function() { } >>mask.onMouseDown = function() { } >>mask.onMouseMove = function() { } >> >>_adContainter = _mc.createEmptyMovieClip("container", >> _mc.getNextHighestDepth()); >>_adContainter.loadMovie(advertURL); >>} >> >>public function advertClickthrough() >>{ >>getURL("http://www.google.com";, "_blank") >>} >> } >> >> >> Cheers. >> >> >> > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Mike Cann http://www.mikecann.co.uk/ http://www.artificialgames.co.uk/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] [AS2] Catching clicks in child clip?
setting _adContainter.enabled = false; doesnt work. (this is the one that contains the loaded swf); I have tried using MovieClipLoader and then doing the masking and the event listening after the load too If you would like i can do you an example with that method too. I have tried making a "mouse trap" over the top and it didnt work, ill try again and do you a version 2 mins.. 2008/12/3 Glen Pike <[EMAIL PROTECTED]> > Hi, > > You need a separate clip to attach the mouse handlers too - not the > loaded clip, but another transparent one over the top of this - you probably > need something in the "mousetrap" clip with an alpha of 0 to make this work. > > Glen > > > mike cann wrote: > >> Okay well setting these values: >> >>mask.onMouseUp = Delegate.create(this, advertClickthrough); >>mask.onRelease = function() { } >>mask.onPress = function() { } >>mask.onMouseDown = function() { } >>mask.onMouseMove = function() { } >> >> to >> >>_mc.onMouseUp = Delegate.create(this, advertClickthrough); >>_mc.onRelease = function() { } >>_mc.onPress = function() { } >>_mc.onMouseDown = function() { } >>_mc.onMouseMove = function() { } >> >> has had no effect. >> >> Believe me i have tried every single combination of where to place these >> listeners. The mask is essentail BTW as some ads have objects off-stage >> and >> hence need to be masked when they are loaded in. >> >> >> >> 2008/12/3 Glen Pike <[EMAIL PROTECTED]> >> >> >> >>> Hi, >>> >>> Use a transparent clip over the top rather than making a clip a mask for >>> your loaded clip - that should intercept mouse clicks, not sure a mask >>> will? >>> >>> Glen >>> >>> >>> mike cann wrote: >>> >>> >>> >>>> Hello List, >>>> >>>> I have been forced to go back to AS2 recently for a work project and oh >>>> my >>>> is it annoying me. >>>> >>>> Part of the project I am writing a simple advertising loader, its >>>> basically >>>> just a swf that loads other swfs into it. >>>> >>>> The problem is that the adverts that are loaded in sometimes contain >>>> clicks >>>> within them so without access to the source code i need a method of >>>> preventing those clicks from happening. >>>> >>>> To my knowledge this should be doable by implementing a cover over the >>>> top >>>> of the loaded swf with a onPress, onRelease etc functions defined >>>> correct? >>>> >>>> Well for some reason this isnt happenining. >>>> >>>> See the source output below. You can download the project here: >>>> http://www.mikecann.co.uk/DumpingGround/AS2_StrippedBare.zip >>>> >>>> >>>> import flash.geom.Matrix; >>>> import mx.controls.Loader; >>>> import mx.utils.Delegate; >>>> /** >>>> * ... >>>> * @author DefaultUser (Tools -> Custom Arguments...) >>>> */ >>>> class GJAdJacket >>>> { >>>> // Privates >>>> private var _mc : MovieClip; >>>> private var _adContainter : MovieClip; >>>> private var _sizeWidth:Number; >>>> private var _sizeHeight:Number; >>>> >>>> public function GJAdJacket(attachToMC:MovieClip) >>>> { >>>> // The MC we are to attach to >>>> _mc = attachToMC; >>>> >>>> // Set the stage scale modes >>>> Stage.scaleMode = "noScale"; >>>> Stage.align = "TL"; >>>> >>>> // Init >>>> _sizeWidth = 300; >>>> _sizeHeight = 250; >>>> loadAdvert(" >>>> >>>> >>>> http://gjacket-images.adbureau.net/gjacket/_clientcreative/Eidos/BattleMail021208.swf >>>> "); >>>> } >>>> >>>> private function loadAdvert(advertURL:String) >>>> { >>>> // Make a mask for those naughty ads that dont mask >>>> var mask : MovieClip = _mc.createEmptyMovieClip("mask", >>>> _mc.getNextHighestDepth()); >>>> mask.beginFill(0, 255); >>>> mask.moveTo(0,0);
Re: [Flashcoders] [AS2] Catching clicks in child clip?
Okay the mousetrap over the top doesnt work. Find the new example here: http://www.mikecann.co.uk/DumpingGround/AS2_StrippedBare_MouseTrap.zip Source output here: private function loadAdvert(advertURL:String) { // Make a mask for those naughty ads that dont mask var mask : MovieClip = _mc.createEmptyMovieClip("mask", _mc.getNextHighestDepth()); mask.beginFill(0, 255); mask.moveTo(0,0); mask.lineTo(_sizeWidth,0); mask.lineTo(_sizeWidth,_sizeHeight); mask.lineTo(0,_sizeHeight); mask.lineTo(0,0); mask.endFill(); _mc.setMask(mask); _adContainter = _mc.createEmptyMovieClip("container", _mc.getNextHighestDepth()); _adContainter.loadMovie(advertURL); _adContainter.enabled = false; var mouseTrap : MovieClip = _mc.createEmptyMovieClip("mouseTrap", _mc.getNextHighestDepth()); mouseTrap.beginFill(0xFF, 255); mouseTrap.moveTo(0,0); mouseTrap.lineTo(_sizeWidth,0); mouseTrap.lineTo(_sizeWidth,_sizeHeight); mouseTrap.lineTo(0,_sizeHeight); mouseTrap.lineTo(0,0); mouseTrap.endFill(); mouseTrap._alpha = 50; mouseTrap.onMouseUp = Delegate.create(this, advertClickthrough); mouseTrap.onRelease = function() { } mouseTrap.onPress = function() { } mouseTrap.onMouseDown = function() { } mouseTrap.onMouseMove = function() { } } Ill now attempt to do an _enabled on the loaded clip by using MovieClipLoader instead of loadMovie() 2008/12/3 Glen Pike <[EMAIL PROTECTED]> > Hi, > > I think enabled only applies to the clip, not it's children. > > Glen > > > jonathan howe wrote: > >> I forget but doesn't the _mc.enabled property cascade downwards? So once >> loaded you could set the container for the loaded swf as enabled = >> false... >> ? >> >> On Wed, Dec 3, 2008 at 9:07 AM, mike cann <[EMAIL PROTECTED]> wrote: >> >> >> >>> Hello List, >>> >>> I have been forced to go back to AS2 recently for a work project and oh >>> my >>> is it annoying me. >>> >>> Part of the project I am writing a simple advertising loader, its >>> basically >>> just a swf that loads other swfs into it. >>> >>> The problem is that the adverts that are loaded in sometimes contain >>> clicks >>> within them so without access to the source code i need a method of >>> preventing those clicks from happening. >>> >>> To my knowledge this should be doable by implementing a cover over the >>> top >>> of the loaded swf with a onPress, onRelease etc functions defined >>> correct? >>> >>> Well for some reason this isnt happenining. >>> >>> See the source output below. You can download the project here: >>> http://www.mikecann.co.uk/DumpingGround/AS2_StrippedBare.zip >>> >>> >>> import flash.geom.Matrix; >>> import mx.controls.Loader; >>> import mx.utils.Delegate; >>> /** >>> * ... >>> * @author DefaultUser (Tools -> Custom Arguments...) >>> */ >>> class GJAdJacket >>> { >>> // Privates >>> private var _mc : MovieClip; >>> private var _adContainter : MovieClip; >>> private var _sizeWidth:Number; >>> private var _sizeHeight:Number; >>> >>> public function GJAdJacket(attachToMC:MovieClip) >>> { >>> // The MC we are to attach to >>> _mc = attachToMC; >>> >>> // Set the stage scale modes >>> Stage.scaleMode = "noScale"; >>> Stage.align = "TL"; >>> >>> // Init >>> _sizeWidth = 300; >>> _sizeHeight = 250; >>> loadAdvert(" >>> >>> >>> http://gjacket-images.adbureau.net/gjacket/_clientcreative/Eidos/BattleMail021208.swf >>> "); >>> } >>> >>> private function loadAdvert(advertURL:String) >>> { >>> // Make a mask for those naughty ads that dont mask >>> var mask : MovieClip = _mc.createEmptyMovieClip("mask", >>> _mc.getNextHighestDepth()); >>> mask.beginFill(0, 255); >>> mask.moveTo(0,0); >>> mask.lineTo(_sizeWidth,0); >>> mask.lineTo(_sizeWidth,_sizeHeight); >>> mask.lineTo(0,_sizeHeight); >>> mask.lineTo(0,0); >>> mask.endFill(); >>>
Re: [Flashcoders] [AS2] Catching clicks in child clip?
Okay i have now tried the mc.enable approach and still the clicks are getting through? Download this example here: http://www.mikecann.co.uk/DumpingGround/AS2_StrippedBare_Enable.zip Source below: private function loadAdvert(advertURL:String) { // Make a mask for those naughty ads that dont mask var mask : MovieClip = _mc.createEmptyMovieClip("mask", _mc.getNextHighestDepth()); mask.beginFill(0, 255); mask.moveTo(0,0); mask.lineTo(_sizeWidth,0); mask.lineTo(_sizeWidth,_sizeHeight); mask.lineTo(0,_sizeHeight); mask.lineTo(0,0); mask.endFill(); _mc.setMask(mask); _adContainter = _mc.createEmptyMovieClip("container", _mc.getNextHighestDepth()); var clip : MovieClip = _adContainter.createEmptyMovieClip("clip", _adContainter.getNextHighestDepth()); var mcl : MovieClipLoader = new MovieClipLoader(); mcl.addListener( { onLoadInit:adInit } ); mcl.loadClip(advertURL,clip); } private function adInit(mc:MovieClip):Void { mc.enabled = false; trace("mc.enabled "+mc.enabled); } Just thinking this couldnt a _lockroot problem could it?? 2008/12/3 mike cann <[EMAIL PROTECTED]> > Okay the mousetrap over the top doesnt work. Find the new example here: > http://www.mikecann.co.uk/DumpingGround/AS2_StrippedBare_MouseTrap.zip > > Source output here: > > private function loadAdvert(advertURL:String) > { > // Make a mask for those naughty ads that dont mask > var mask : MovieClip = _mc.createEmptyMovieClip("mask", > _mc.getNextHighestDepth()); > mask.beginFill(0, 255); > mask.moveTo(0,0); > mask.lineTo(_sizeWidth,0); > mask.lineTo(_sizeWidth,_sizeHeight); > mask.lineTo(0,_sizeHeight); > mask.lineTo(0,0); > mask.endFill(); > _mc.setMask(mask); > > _adContainter = _mc.createEmptyMovieClip("container", > _mc.getNextHighestDepth()); > _adContainter.loadMovie(advertURL); > _adContainter.enabled = false; > > var mouseTrap : MovieClip = _mc.createEmptyMovieClip("mouseTrap", > _mc.getNextHighestDepth()); > mouseTrap.beginFill(0xFF, 255); > mouseTrap.moveTo(0,0); > mouseTrap.lineTo(_sizeWidth,0); > mouseTrap.lineTo(_sizeWidth,_sizeHeight); > mouseTrap.lineTo(0,_sizeHeight); > mouseTrap.lineTo(0,0); > mouseTrap.endFill(); > mouseTrap._alpha = 50; > > mouseTrap.onMouseUp = Delegate.create(this, advertClickthrough); > mouseTrap.onRelease = function() { } > mouseTrap.onPress = function() { } > mouseTrap.onMouseDown = function() { } > mouseTrap.onMouseMove = function() { } > } > > Ill now attempt to do an _enabled on the loaded clip by using > MovieClipLoader instead of loadMovie() > > > > > 2008/12/3 Glen Pike <[EMAIL PROTECTED]> > >> Hi, >> >> >> I think enabled only applies to the clip, not it's children. >> >> Glen >> >> >> jonathan howe wrote: >> >>> I forget but doesn't the _mc.enabled property cascade downwards? So once >>> loaded you could set the container for the loaded swf as enabled = >>> false... >>> ? >>> >>> On Wed, Dec 3, 2008 at 9:07 AM, mike cann <[EMAIL PROTECTED]> wrote: >>> >>> >>> >>>> Hello List, >>>> >>>> I have been forced to go back to AS2 recently for a work project and oh >>>> my >>>> is it annoying me. >>>> >>>> Part of the project I am writing a simple advertising loader, its >>>> basically >>>> just a swf that loads other swfs into it. >>>> >>>> The problem is that the adverts that are loaded in sometimes contain >>>> clicks >>>> within them so without access to the source code i need a method of >>>> preventing those clicks from happening. >>>> >>>> To my knowledge this should be doable by implementing a cover over the >>>> top >>>> of the loaded swf with a onPress, onRelease etc functions defined >>>> correct? >>>> >>>> Well for some reason this isnt happenining. >>>> >>>> See the source output below. You can download the project here: >>>> http://www.mikecann.co.uk/DumpingGround/AS2_StrippedBare.zip >>>> >>>> >>>> import flash.geom.Matrix; >>>> import mx.controls.Loader; >>>> impor
Re: [Flashcoders] [AS2] Catching clicks in child clip?
Hi Muzak, I have just tried this and still get the error. Screenshot of error: http://www.mikecann.co.uk/DumpingGround/AS2_Problem01.png Example Code: http://www.mikecann.co.uk/DumpingGround/AS2_StrippedBare_SneakyButton.zip Also there is another problem. If you click outside of the masked area of the advert it still registers it as a click on the loaded movie!?! Anyone else any ideas? 2008/12/3 Muzak <[EMAIL PROTECTED]> > Use the (very) old invisible button trick. > So create a "Button symbol" with only the "hit" state (keyframe) defined > and put that on top of the movieclip that holds the loaded swf. > > - Original Message - From: "mike cann" <[EMAIL PROTECTED]> > To: "Flash Coders List" > Sent: Wednesday, December 03, 2008 3:07 PM > Subject: [Flashcoders] [AS2] Catching clicks in child clip? > > > Hello List, >> >> I have been forced to go back to AS2 recently for a work project and oh my >> is it annoying me. >> >> Part of the project I am writing a simple advertising loader, its >> basically >> just a swf that loads other swfs into it. >> >> The problem is that the adverts that are loaded in sometimes contain >> clicks >> within them so without access to the source code i need a method of >> preventing those clicks from happening. >> >> To my knowledge this should be doable by implementing a cover over the top >> of the loaded swf with a onPress, onRelease etc functions defined correct? >> >> Well for some reason this isnt happenining. >> >> See the source output below. You can download the project here: >> http://www.mikecann.co.uk/DumpingGround/AS2_StrippedBare.zip >> >> >> > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Mike Cann http://www.mikecann.co.uk/ http://www.artificialgames.co.uk/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Arabic flipping
OK... I think I've reached the end of the internet as well as the end of my patients. I've been trying to figure out a way to take translations that I've received in an Excel spreadsheet and paste them into an XML document. The XML is UTF-8 and it's plain text (of course). No matter what editor (Flex Builder 3, Dreamweaver, Text Edit, WordPad, NotePad, Word, etc.) or OS (OSX 10.4, Windows XP) or combination of the two, it seems that when I try to combine the eastern translation with western markup (XML tags, or even western characters for that matter), as soon as I drop in a single character, if flips the orientation of the translated Arabic text?!? Everything that I find on the internet leads me hopeful down a path of ultimate disappointment. I know that I'm not the only one with this problem and I'm sure one of you has experienced this. Please let me in on you secrets. I beg you... Let me just clarify—My problem is not font related (I've got that all sorted out), and for the most part it's not really Flash related (except for the fact that I'm using this XML content for dynamic text fields). this list is probably not the proper place for this question, but I'm out of options and I thinking that I'm going to have to scrap some of the digging I've done in relation to getting text to display properly and make alterations to my application to load images instead of live type. Somebody... Anybody Help a brotha out! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: SPAM-LOW: Re: [Flashcoders] Arabic flipping
The fonts are coming through fine. I have all the characters I need embedded in the library (using Arial Unicode MS). Characters display properly. It's the order of words in the XML file that I'm having a problem with. Thanks for any help. Much appreciated. On Dec 4, 2008, at 10:48 AM, Sidney de Koning wrote: Here we usually dont embed the text in the textfield, and grab the text from XML or you when you embed the font with code, include all the unicode codes of the arabic chars you need. And do use fonts that support Arabic like Arial, Verdana and i think Times New Roman http://www.google.nl/search?q=embed+unicode+font+as3 On Dec 4, 2008, at 5:22 PM, Mike Grunwald wrote: OK... I think I've reached the end of the internet as well as the end of my patients. I've been trying to figure out a way to take translations that I've received in an Excel spreadsheet and paste them into an XML document. The XML is UTF-8 and it's plain text (of course). No matter what editor (Flex Builder 3, Dreamweaver, Text Edit, WordPad, NotePad, Word, etc.) or OS (OSX 10.4, Windows XP) or combination of the two, it seems that when I try to combine the eastern translation with western markup (XML tags, or even western characters for that matter), as soon as I drop in a single character, if flips the orientation of the translated Arabic text?!? Everything that I find on the internet leads me hopeful down a path of ultimate disappointment. I know that I'm not the only one with this problem and I'm sure one of you has experienced this. Please let me in on you secrets. I beg you... Let me just clarify—My problem is not font related (I've got that all sorted out), and for the most part it's not really Flash related (except for the fact that I'm using this XML content for dynamic text fields). this list is probably not the proper place for this question, but I'm out of options and I thinking that I'm going to have to scrap some of the digging I've done in relation to getting text to display properly and make alterations to my application to load images instead of live type. Somebody... Anybody Help a brotha out! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Arabic flipping
@Glen That seems like a reasonable idea. The problem is, I'm not too sharp on the PHP. I think you might be onto something with the CSV thing though. I'm going to try a couple things. Thanks! On Dec 4, 2008, at 10:52 AM, Glen Pike wrote: Hi, This is just a thought, but could you export the file as a CSV and use some kind of scripting language to generate an XML file - I may be way off, but you could set language options for PHP which might mean you are reading in the same charset as you are writing??? I don't have any experience of dealing with language stuff in PHP, but it was an idea... Glen Mike Grunwald wrote: OK... I think I've reached the end of the internet as well as the end of my patients. I've been trying to figure out a way to take translations that I've received in an Excel spreadsheet and paste them into an XML document. The XML is UTF-8 and it's plain text (of course). No matter what editor (Flex Builder 3, Dreamweaver, Text Edit, WordPad, NotePad, Word, etc.) or OS (OSX 10.4, Windows XP) or combination of the two, it seems that when I try to combine the eastern translation with western markup (XML tags, or even western characters for that matter), as soon as I drop in a single character, if flips the orientation of the translated Arabic text?!? Everything that I find on the internet leads me hopeful down a path of ultimate disappointment. I know that I'm not the only one with this problem and I'm sure one of you has experienced this. Please let me in on you secrets. I beg you... Let me just clarify—My problem is not font related (I've got that all sorted out), and for the most part it's not really Flash related (except for the fact that I'm using this XML content for dynamic text fields). this list is probably not the proper place for this question, but I'm out of options and I thinking that I'm going to have to scrap some of the digging I've done in relation to getting text to display properly and make alterations to my application to load images instead of live type. Somebody... Anybody Help a brotha out! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: SPAM-LOW: Re: [Flashcoders] Arabic flipping
Not a stupid question @Ian. It's not a matter of each individual character reversing the order. If it were I could convert the string to an array and reorder it ah la: var myCharity_L2R:String = myXML.ARB.CHARITY; var myCharity_R2L:String = myCharity_L2R.split("").reverse().join(""); The actual problem is it's taking the order of words and rearranging them. And to answer you, it's not displaying properly in the SWF. On Dec 4, 2008, at 11:00 AM, Ian Thomas wrote: This is probably a stupid question - but does it matter? By which I mean - it may flip RTL text so that it's LTR in the XML file, but when it actually gets to the screen, is it still flipped? Can you control the flipping in the display on the screen, rather than worrying about it in the XML file? Ian On Thu, Dec 4, 2008 at 4:22 PM, Mike Grunwald <[EMAIL PROTECTED]> wrote: OK... I think I've reached the end of the internet as well as the end of my patients. I've been trying to figure out a way to take translations that I've received in an Excel spreadsheet and paste them into an XML document. The XML is UTF-8 and it's plain text (of course). No matter what editor (Flex Builder 3, Dreamweaver, Text Edit, WordPad, NotePad, Word, etc.) or OS (OSX 10.4, Windows XP) or combination of the two, it seems that when I try to combine the eastern translation with western markup (XML tags, or even western characters for that matter), as soon as I drop in a single character, if flips the orientation of the translated Arabic text?!? Everything that I find on the internet leads me hopeful down a path of ultimate disappointment. I know that I'm not the only one with this problem and I'm sure one of you has experienced this. Please let me in on you secrets. I beg you... Let me just clarify—My problem is not font related (I've got that all sorted out), and for the most part it's not really Flash related (except for the fact that I'm using this XML content for dynamic text fields). this list is probably not the proper place for this question, but I'm out of options and I thinking that I'm going to have to scrap some of the digging I've done in relation to getting text to display properly and make alterations to my application to load images instead of live type. Somebody... Anybody Help a brotha out! ___ 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: SPAM-LOW: Re: [Flashcoders] Arabic flipping
Thanks @Fabio Mike Grunwald McDill Design 626 N Water St Milwaukee, WI 53202 414.277.8111 mcdilldesign.com On Dec 4, 2008, at 11:14 AM, Fabio Pinatti wrote: I just finished developing an english website, with arabic ( http://www.nakheelharbour.com/). Actually the arabic isnt ready due the complications I found in my way. I tried a lot of things... Load xmls with arabic text, load css to align to right, use system fonts, embedding fonts, etc etc etc. We had feedback from arabic client, and he said that in all cases, the text seems wrong for him. In our eastern computers, the text was right, but when they test, the text changes a lot and is broken, without their ligatures. Honestly, I found a pain in the ass make it work, dont know if CS4 have support for unicode chars, and I finished doing a very boring alternative: Putting images or vectors in arabic version. Mike, even when you finish your work, make sure someone with arabic OS make tests of it. Best, Fabio On Thu, Dec 4, 2008 at 2:52 PM, Glen Pike <[EMAIL PROTECTED]> wrote: Hi, This is just a thought, but could you export the file as a CSV and use some kind of scripting language to generate an XML file - I may be way off, but you could set language options for PHP which might mean you are reading in the same charset as you are writing??? I don't have any experience of dealing with language stuff in PHP, but it was an idea... Glen Mike Grunwald wrote: OK... I think I've reached the end of the internet as well as the end of my patients. I've been trying to figure out a way to take translations that I've received in an Excel spreadsheet and paste them into an XML document. The XML is UTF-8 and it's plain text (of course). No matter what editor (Flex Builder 3, Dreamweaver, Text Edit, WordPad, NotePad, Word, etc.) or OS (OSX 10.4, Windows XP) or combination of the two, it seems that when I try to combine the eastern translation with western markup (XML tags, or even western characters for that matter), as soon as I drop in a single character, if flips the orientation of the translated Arabic text?!? Everything that I find on the internet leads me hopeful down a path of ultimate disappointment. I know that I'm not the only one with this problem and I'm sure one of you has experienced this. Please let me in on you secrets. I beg you... Let me just clarify—My problem is not font related (I've got that all sorted out), and for the most part it's not really Flash related (except for the fact that I'm using this XML content for dynamic text fields). this list is probably not the proper place for this question, but I'm out of options and I thinking that I'm going to have to scrap some of the digging I've done in relation to getting text to display properly and make alterations to my application to load images instead of live type. Somebody... Anybody Help a brotha out! ___ 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 -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ 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: SPAM-LOW: Re: [Flashcoders] Arabic flipping
@Cedric It is weird and crazy.I know it's happening, so there's no need to show the client. PS I haven't taken hallucinogens in quite sometime so I'm ruling out a Flashback. Other people see it too. Mike Grunwald McDill Design 626 N Water St Milwaukee, WI 53202 414.277.8111 mcdilldesign.com On Dec 4, 2008, at 11:57 AM, Cedric Muller wrote: OT but could you open the XLS and take a snapshot of the text, and then send to your client, to check if it is correct. Then, if ok, could you copy / paste this text into another document (like word, txt, xml) and take snapshots in order to send them to your client ? I find 'the order of words rearranged' very weird, almost crazy. hth, Cedric Not a stupid question @Ian. It's not a matter of each individual character reversing the order. If it were I could convert the string to an array and reorder it ah la: var myCharity_L2R:String = myXML.ARB.CHARITY; var myCharity_R2L:String = myCharity_L2R.split("").reverse().join (""); The actual problem is it's taking the order of words and rearranging them. And to answer you, it's not displaying properly in the SWF. On Dec 4, 2008, at 11:00 AM, Ian Thomas wrote: This is probably a stupid question - but does it matter? By which I mean - it may flip RTL text so that it's LTR in the XML file, but when it actually gets to the screen, is it still flipped? Can you control the flipping in the display on the screen, rather than worrying about it in the XML file? Ian On Thu, Dec 4, 2008 at 4:22 PM, Mike Grunwald <[EMAIL PROTECTED]> wrote: OK... I think I've reached the end of the internet as well as the end of my patients. I've been trying to figure out a way to take translations that I've received in an Excel spreadsheet and paste them into an XML document. The XML is UTF-8 and it's plain text (of course). No matter what editor (Flex Builder 3, Dreamweaver, Text Edit, WordPad, NotePad, Word, etc.) or OS (OSX 10.4, Windows XP) or combination of the two, it seems that when I try to combine the eastern translation with western markup (XML tags, or even western characters for that matter), as soon as I drop in a single character, if flips the orientation of the translated Arabic text?!? Everything that I find on the internet leads me hopeful down a path of ultimate disappointment. I know that I'm not the only one with this problem and I'm sure one of you has experienced this. Please let me in on you secrets. I beg you... Let me just clarify—My problem is not font related (I've got that all sorted out), and for the most part it's not really Flash related (except for the fact that I'm using this XML content for dynamic text fields). this list is probably not the proper place for this question, but I'm out of options and I thinking that I'm going to have to scrap some of the digging I've done in relation to getting text to display properly and make alterations to my application to load images instead of live type. Somebody... Anybody Help a brotha out! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: SPAM-LOW: Re: [Flashcoders] Arabic flipping
@Cedric I did see that. The problem with that is it's not XML. When I try to wrap any of the translations in tags, the words shift order. It has to have something to do with mixing Eastern and Western characters. I think it's tied to the alignment. Since Arabic is right justified, it displays properly when those are the only characters in the document. As soon as you introduce a Western character, it must automatically switch the justification and by doing so it flips the order of the Eastern words. On Dec 4, 2008, at 12:41 PM, Cedric Muller wrote: :( Did you see this post ? <http://joeabiraad.com/design/how-to-write-arabic-in-flash-8/36> hth, Cedric @Cedric It is weird and crazy.I know it's happening, so there's no need to show the client. PS I haven't taken hallucinogens in quite sometime so I'm ruling out a Flashback. Other people see it too. Mike Grunwald McDill Design 626 N Water St Milwaukee, WI 53202 414.277.8111 mcdilldesign.com On Dec 4, 2008, at 11:57 AM, Cedric Muller wrote: OT but could you open the XLS and take a snapshot of the text, and then send to your client, to check if it is correct. Then, if ok, could you copy / paste this text into another document (like word, txt, xml) and take snapshots in order to send them to your client ? I find 'the order of words rearranged' very weird, almost crazy. hth, Cedric Not a stupid question @Ian. It's not a matter of each individual character reversing the order. If it were I could convert the string to an array and reorder it ah la: var myCharity_L2R:String = myXML.ARB.CHARITY; var myCharity_R2L:String = myCharity_L2R.split("").reverse().join (""); The actual problem is it's taking the order of words and rearranging them. And to answer you, it's not displaying properly in the SWF. On Dec 4, 2008, at 11:00 AM, Ian Thomas wrote: This is probably a stupid question - but does it matter? By which I mean - it may flip RTL text so that it's LTR in the XML file, but when it actually gets to the screen, is it still flipped? Can you control the flipping in the display on the screen, rather than worrying about it in the XML file? Ian On Thu, Dec 4, 2008 at 4:22 PM, Mike Grunwald <[EMAIL PROTECTED]> wrote: OK... I think I've reached the end of the internet as well as the end of my patients. I've been trying to figure out a way to take translations that I've received in an Excel spreadsheet and paste them into an XML document. The XML is UTF-8 and it's plain text (of course). No matter what editor (Flex Builder 3, Dreamweaver, Text Edit, WordPad, NotePad, Word, etc.) or OS (OSX 10.4, Windows XP) or combination of the two, it seems that when I try to combine the eastern translation with western markup (XML tags, or even western characters for that matter), as soon as I drop in a single character, if flips the orientation of the translated Arabic text?!? Everything that I find on the internet leads me hopeful down a path of ultimate disappointment. I know that I'm not the only one with this problem and I'm sure one of you has experienced this. Please let me in on you secrets. I beg you... Let me just clarify—My problem is not font related (I've got that all sorted out), and for the most part it's not really Flash related (except for the fact that I'm using this XML content for dynamic text fields). this list is probably not the proper place for this question, but I'm out of options and I thinking that I'm going to have to scrap some of the digging I've done in relation to getting text to display properly and make alterations to my application to load images instead of live type. Somebody... Anybody Help a brotha out! ___ 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] round number to closet value of 8
44. should be rounded to 48. Try some simple mathematics, check out the difference between (48 - 44.) vs (44. - 40) and tell me which is the greater difference? On Fri, Dec 19, 2008 at 12:04 AM, Jiri Heitlager wrote: > Thnx that seems to work good enough. > > 44. is rounded to 48 and should be 40, but thats fine. > > Thnx again. > > Jiri ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] OT: Internet Explorer 8
Yeh, you've got to explicitly say exactly what browsers/OS's you'll be targetting, then you can rest easy. Otherwise the natural assumption is that you'll keep the site working as well as when it was delivered! 2009/2/3 Vayu Robins > Hi flashcoders, > > I just finished a website for a client and the client writes back and says > that one of her friends has IE8 and that the website is not displaying > correctly. > > The website is displaying correctly in IE6 and IE7. I was first surprised > to hear that IE8 was released, but I later found out that its a Release > Candidate 1, which I presume is a sort of a Beta version. > > Does anybody have any comments on this? Should I download the IE8 version > and find the problem? I am on a mac, using Parallels Desktop, Windows XP. > > I am worried that I wont be able to test for IE7 and IE6 afterwards, that > IE8 will remove them. > > Is it fair of client to ask me test for IE8 when it isn't officially > released yet? > > Furthermore, what is this Microsoft is releasing now? I thought IE8 was > suppose to get better and be easier to develop for and follow web standards > more like Firefox, Safari and others. The amount of additional work needed > for IE6 + IE7 is plenty, now we have to IE8 as well... > > Vayu > > > ___ > 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] Either an incredibly easy or incredibly difficult problem
Correct, its not possible unless you create a symbol for each point im afraid 2009/2/9 Anthony Pace > That is exactly what I was going to say, and I have been trying to find > something online; yet, I have found nothing, so I just assume its not > possible to do it programatically, outside of the flash ide using jsfl. > > Now that I think of it, this could be somewhat useful. > > > > Merrill, Jason wrote: > >> Might be possible, but I don't know of a way - Sprite.graphics is for >> drawing graphics with code - not accessing manually created graphic >> properties. >> >> >> Jason Merrill >> >> Bank of America Learning Performance Solutions Instructional >> Technology & Media >> Learn about the Adobe Flash platform for rich media experiences - join >> the Bank of America Flash Platform Community >> >> ___ >> 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 > -- Mike Cann http://www.mikecann.co.uk/ http://www.artificialgames.co.uk/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Remote Fonts and Sandbox?
Hello All, I've run into a confusing issue: I've created several font SWFs that contain only the characters that I need for a particular language and I was loading them in using a FontLoader class that I pass a "language" parameter to. After the FontLoader class loads the proper font (Event.COMPLETE), It calls a method that had Font.registerFont in it, to add it to the list of available fonts. This was working perfectly until the client threw a wrench into the gears. I now have to have the font files on a different server because the CMS that they're using only allows them to upload a single SWF into the page (no assets are allowed). I added the proper Security.allowDomain stuff and I know the fonts are loading because they trace out, but now when I try to register the font, I get this error: ArgumentError: Error #1508: The value specified for argument font is invalid. at flash.text::Font$/registerFont() at com.johnsoncontrols.bsrbanner.utils::FontLoader/registerFont() Here's my registerFont method that used to work: private function registerFont(e:Event):void { var FontLibrary:Class = e.target.applicationDomain.getDefinition ("ArialUnicode_" + _language); Font.registerFont(FontLibrary["ArialUnicode_" + _language]); _loadedFont = FontLibrary["ArialUnicode_" + _language]; trace("FONTS: " + Font.enumerateFonts()); } ...And here's the document class of the font SWF I'm loading in: package { import flash.display.Sprite; import flash.system.Security; import flash.text.Font; public class ArialUnicode_ENG extends Sprite { [Embed(source='/Users/mike/MCDILL FONTS/A/Arial Unicode/Arial Unicode.ttf', fontName='ArialUnicode_ENG', unicodeRange='U+0041-U +0041,U+0042-U+0042,...')] public static var ArialUnicode_ENG:Class; public function ArialUnicode_ENG() { Security.allowDomain("*"); } } } Anybody know what the problem might be? Thanks for any help in advance, _mike ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Particle Playground, Flash 10 General Purpose Comuting with Pixel Bender
Hey List, I have been playing around with particles again... I have just released my latest little saunter into the world of particles and shaders in flash 10. It started off as and idea to use the new pixel bender shaders of flash 10 as a more efficient method of updating particle simulations. Well after a few struggling evenings I managed to get a little prototype going. I was so amazed at some of the beautiful patterns and effects that the particles were making I thought it may be nice rather than just releasing a tech demo, to add abit more to it and release it for others to enjoy. I will be releasing the source code in the coming weeks along with a blog post which should explain in detail how the technical aspects of updating and rendering tens of thousands of particles per frame works. The tool features a gallery tab which you can use to take screenshots then upload them to my picassa account (proxyed via php). The hope is to get some realy beautiful images in here, perhaps if some are good enough ill get them printed and framed ;) You can see it in action over on my blog: http://www.mikecann.co.uk /?p=384 Let me know what you think! Mike Cann http://www.mikecann.co.uk/ http://www.artificialgames.co.uk/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Particle Playground, Flash 10 General Purpose Comuting with Pixel Bender
Sure will, i learnt quite abit about what you can and cant do with shaders in flash making this. I hope to share with you all soon. 2009/3/18 Eric E. Dolecki > Ping us when you release something or have a demo online. Looks cool. > E. > > On Wed, Mar 18, 2009 at 8:03 AM, Hans Wichman < > j.c.wich...@objectpainters.com> wrote: > > > awesome:) > > > > On Wed, Mar 18, 2009 at 12:45 PM, mike cann wrote: > > > > > Hey List, > > > > > > I have been playing around with particles again... > > > > > > I have just released my latest little saunter into the world of > particles > > > and shaders in flash 10. It started off as and idea to use the new > pixel > > > bender shaders of flash 10 as a more efficient method of updating > > particle > > > simulations. > > > > > > Well after a few struggling evenings I managed to get a little > prototype > > > going. I was so amazed at some of the beautiful patterns and effects > that > > > the particles were making I thought it may be nice rather than just > > > releasing a tech demo, to add abit more to it and release it for others > > to > > > enjoy. > > > > > > I will be releasing the source code in the coming weeks along with a > blog > > > post which should explain in detail how the technical aspects of > updating > > > and rendering tens of thousands of particles per frame works. > > > > > > The tool features a gallery tab which you can use to take screenshots > > then > > > upload them to my picassa account (proxyed via php). The hope is to get > > > some > > > realy beautiful images in here, perhaps if some are good enough ill get > > > them > > > printed and framed ;) > > > > > > You can see it in action over on my blog: > > http://www.mikecann.co.uk/?p=384 > > > > > > Let me know what you think! > > > > > > Mike Cann > > > http://www.mikecann.co.uk/ > > > http://www.artificialgames.co.uk/ > > > ___ > > > 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 > > > > > > -- > http://ericd.net > Interactive design and development > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Mike Cann http://www.mikecann.co.uk/ http://www.artificialgames.co.uk/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Particle Playground, Flash 10 General Purpose Comuting with Pixel Bender
Just thought I would update anyone interested, I have updated my Particle Playground see post: http://www.mikecann.co.uk/?p=392 Also I stumbled accross this very interesting particle on 300k 3D particles in flash using alchemy and pixel bender! http://www.unitzeroone.com/blog/2009/03/18/flash-10-massive-amounts-of-3d-particles-with-alchemy-source-included/ It put a swift end to the thoughts about how clever i was with 40k 2D particles :P 2009/3/18 mike cann > Sure will, i learnt quite abit about what you can and cant do with shaders > in flash making this. I hope to share with you all soon. > > 2009/3/18 Eric E. Dolecki > > Ping us when you release something or have a demo online. Looks cool. >> E. >> >> On Wed, Mar 18, 2009 at 8:03 AM, Hans Wichman < >> j.c.wich...@objectpainters.com> wrote: >> >> > awesome:) >> > >> > On Wed, Mar 18, 2009 at 12:45 PM, mike cann >> wrote: >> > >> > > Hey List, >> > > >> > > I have been playing around with particles again... >> > > >> > > I have just released my latest little saunter into the world of >> particles >> > > and shaders in flash 10. It started off as and idea to use the new >> pixel >> > > bender shaders of flash 10 as a more efficient method of updating >> > particle >> > > simulations. >> > > >> > > Well after a few struggling evenings I managed to get a little >> prototype >> > > going. I was so amazed at some of the beautiful patterns and effects >> that >> > > the particles were making I thought it may be nice rather than just >> > > releasing a tech demo, to add abit more to it and release it for >> others >> > to >> > > enjoy. >> > > >> > > I will be releasing the source code in the coming weeks along with a >> blog >> > > post which should explain in detail how the technical aspects of >> updating >> > > and rendering tens of thousands of particles per frame works. >> > > >> > > The tool features a gallery tab which you can use to take screenshots >> > then >> > > upload them to my picassa account (proxyed via php). The hope is to >> get >> > > some >> > > realy beautiful images in here, perhaps if some are good enough ill >> get >> > > them >> > > printed and framed ;) >> > > >> > > You can see it in action over on my blog: >> > http://www.mikecann.co.uk/?p=384 >> > > >> > > Let me know what you think! >> > > >> > > Mike Cann >> > > http://www.mikecann.co.uk/ >> > > http://www.artificialgames.co.uk/ >> > > ___ >> > > 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 >> > >> >> >> >> -- >> http://ericd.net >> Interactive design and development >> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > > > > -- > Mike Cann > http://www.mikecann.co.uk/ > http://www.artificialgames.co.uk/ > -- Mike Cann http://www.mikecann.co.uk/ http://www.artificialgames.co.uk/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Particle Playground, Flash 10 General Purpose Comuting with Pixel Bender
Yep, I have been considering haXe, especially now that they have added SWC support I can export the core of my rendering engine as haXe compiled SWC and then use that in my Flex Project, agreed tho the alchemy "cheats" are anoying but still very impressive what is possible if you try hard enough ;) 2009/3/20 Juan Delgado > You can try haXe, it outputs Alchemy bytoce for that extra performance: > > http://ncannasse.fr/blog/adobe_alchemy > > Still, it's odd that to get the best of Flash you are forced to use... > C or haXe, not ActionScript. > > On Thu, Mar 19, 2009 at 8:25 PM, Latcho wrote: > > You are still clever:) > > I think the Alchemy story is a bit of a frustrating one (to know). > > Especially if you don't want to go C++ to obtain...performative AS3. > > Latcho > > > > mike cann wrote: > >> > >> Just thought I would update anyone interested, I have updated my > Particle > >> Playground see post: http://www.mikecann.co.uk/?p=392 > >> > >> Also I stumbled accross this very interesting particle on 300k 3D > >> particles > >> in flash using alchemy and pixel bender! > >> > >> > http://www.unitzeroone.com/blog/2009/03/18/flash-10-massive-amounts-of-3d-particles-with-alchemy-source-included/ > >> > >> It put a swift end to the thoughts about how clever i was with 40k 2D > >> particles :P > >> > >> > >> > >> 2009/3/18 mike cann > >> > >> > >>> > >>> Sure will, i learnt quite abit about what you can and cant do with > >>> shaders > >>> in flash making this. I hope to share with you all soon. > >>> > >>> 2009/3/18 Eric E. Dolecki > >>> > >>> Ping us when you release something or have a demo online. Looks cool. > >>> > >>>> > >>>> E. > >>>> > >>>> On Wed, Mar 18, 2009 at 8:03 AM, Hans Wichman < > >>>> j.c.wich...@objectpainters.com> wrote: > >>>> > >>>> > >>>>> > >>>>> awesome:) > >>>>> > >>>>> On Wed, Mar 18, 2009 at 12:45 PM, mike cann > >>>>> > >>>> > >>>> wrote: > >>>> > >>>>>> > >>>>>> Hey List, > >>>>>> > >>>>>> I have been playing around with particles again... > >>>>>> > >>>>>> I have just released my latest little saunter into the world of > >>>>>> > >>>> > >>>> particles > >>>> > >>>>>> > >>>>>> and shaders in flash 10. It started off as and idea to use the new > >>>>>> > >>>> > >>>> pixel > >>>> > >>>>>> > >>>>>> bender shaders of flash 10 as a more efficient method of updating > >>>>>> > >>>>> > >>>>> particle > >>>>> > >>>>>> > >>>>>> simulations. > >>>>>> > >>>>>> Well after a few struggling evenings I managed to get a little > >>>>>> > >>>> > >>>> prototype > >>>> > >>>>>> > >>>>>> going. I was so amazed at some of the beautiful patterns and effects > >>>>>> > >>>> > >>>> that > >>>> > >>>>>> > >>>>>> the particles were making I thought it may be nice rather than just > >>>>>> releasing a tech demo, to add abit more to it and release it for > >>>>>> > >>>> > >>>> others > >>>> > >>>>> > >>>>> to > >>>>> > >>>>>> > >>>>>> enjoy. > >>>>>> > >>>>>> I will be releasing the source code in the coming weeks along with a > >>>>>> > >>>> > >>>> blog > >>>> > >>>>>> > >>>>>> post which should explain in detail how the technical aspects of > >>>>>> > >>>> > >>>> updating > >>>> > >>>>>> > >>>>>> and rendering tens of thousands of particles per frame works. > >&
Re: [Flashcoders] Particle Playground, Flash 10 General Purpose Comuting with Pixel Bender
I personally havent done any haXe yet. Have you got the latest version of FD running? 2009/3/24 allandt bik-elliott (thefieldcomic.com) > can anyone recommend a good set of tutorials compatible with both haXe and > flashdevelop - i started going through the ones on haXe.org but they bang > on > about a bunch of files that don't seem present in my flashdevelop project > (i > suspect they are hidden). The flashdevelop ones seem to be missing. > > On Tue, Mar 24, 2009 at 2:53 PM, mike cann wrote: > > > Yep, I have been considering haXe, especially now that they have added > SWC > > support I can export the core of my rendering engine as haXe compiled SWC > > and then use that in my Flex Project, agreed tho the alchemy "cheats" are > > anoying but still very impressive what is possible if you try hard enough > > ;) > > > > 2009/3/20 Juan Delgado > > > > > You can try haXe, it outputs Alchemy bytoce for that extra performance: > > > > > > http://ncannasse.fr/blog/adobe_alchemy > > > > > > Still, it's odd that to get the best of Flash you are forced to use... > > > C or haXe, not ActionScript. > > > > > > On Thu, Mar 19, 2009 at 8:25 PM, Latcho wrote: > > > > You are still clever:) > > > > I think the Alchemy story is a bit of a frustrating one (to know). > > > > Especially if you don't want to go C++ to obtain...performative AS3. > > > > Latcho > > > > > > > > mike cann wrote: > > > >> > > > >> Just thought I would update anyone interested, I have updated my > > > Particle > > > >> Playground see post: http://www.mikecann.co.uk/?p=392 > > > >> > > > >> Also I stumbled accross this very interesting particle on 300k 3D > > > >> particles > > > >> in flash using alchemy and pixel bender! > > > >> > > > >> > > > > > > http://www.unitzeroone.com/blog/2009/03/18/flash-10-massive-amounts-of-3d-particles-with-alchemy-source-included/ > > > >> > > > >> It put a swift end to the thoughts about how clever i was with 40k > 2D > > > >> particles :P > > > >> > > > >> > > > >> > > > >> 2009/3/18 mike cann > > > >> > > > >> > > > >>> > > > >>> Sure will, i learnt quite abit about what you can and cant do with > > > >>> shaders > > > >>> in flash making this. I hope to share with you all soon. > > > >>> > > > >>> 2009/3/18 Eric E. Dolecki > > > >>> > > > >>> Ping us when you release something or have a demo online. Looks > cool. > > > >>> > > > >>>> > > > >>>> E. > > > >>>> > > > >>>> On Wed, Mar 18, 2009 at 8:03 AM, Hans Wichman < > > > >>>> j.c.wich...@objectpainters.com> wrote: > > > >>>> > > > >>>> > > > >>>>> > > > >>>>> awesome:) > > > >>>>> > > > >>>>> On Wed, Mar 18, 2009 at 12:45 PM, mike cann > > > > >>>>> > > > >>>> > > > >>>> wrote: > > > >>>> > > > >>>>>> > > > >>>>>> Hey List, > > > >>>>>> > > > >>>>>> I have been playing around with particles again... > > > >>>>>> > > > >>>>>> I have just released my latest little saunter into the world of > > > >>>>>> > > > >>>> > > > >>>> particles > > > >>>> > > > >>>>>> > > > >>>>>> and shaders in flash 10. It started off as and idea to use the > new > > > >>>>>> > > > >>>> > > > >>>> pixel > > > >>>> > > > >>>>>> > > > >>>>>> bender shaders of flash 10 as a more efficient method of > updating > > > >>>>>> > > > >>>>> > > > >>>>> particle > > > >>>>> > > > >>>>>> > > > >>>>>> simulations. > > > >>>>>> > >
Re: [Flashcoders] Rather urgent advice on how to track the cause of a crash
I would go and get your client's machine. 40 minutes is way too long to test changes! If you can't do that, i would use a remote desktop app. http://www.uvnc.com is a good one as far as i remember, and it's free. Also, replace the huge picture with a little one, and get rid of the video. Basically, for each test you do, remove half of your game till it stops crashing. Good luck, i know the feelin! On 9/4/09, Paul Steven wrote: > I have created a game in Flash CS3 which is being published for Flash 8 AS2. > My client is reporting it crashing periodically on his XP PC. I have also > managed replicate this on my Vista Ultimate PC with the following error: > > "A problem caused the program to stop working correctly. Windows will close > the program and notify you if a solution is available" > > It took me over 40 minutes of continuous play to get the crash. > > This game is for an exhibition on Monday so I need to sort this pretty > quickly. > > Can anyone suggest any ways to try and pinpoint the problem? The game is > being run as a projector packaged with MDM Zinc. My first thoughts were that > it was due to Zinc being pants but the same problem occurs with just a plain > old Flash projector. > > The problem also happens in the Flash IDE, and similarly it just crashes > Flash completely - there is no message saying a script is causing the movie > problems. I am struggling to work out how to find the cause of the problem > especially as it can happen pretty much immediately according to the client > or after a long period of play. > > The game is basically a top down flying game with a scrolling background > (JPG 5120 X 4320). The flash movie is published at 1600 x 1200 30 FPS. It > includes an embedded FLV video on the Splash screen which is apparently > 639kb of video data. There are no audio files in the game. > > Any suggestions what code issues could be causing this or does it sound like > something else causing the crash. Are there any tools that can help me track > down the problem? > > Hoping someone can save the day! > > Thanks > > Paul > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Sent from my mobile device ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Rather urgent advice on how to track the cause of a crash
God what a nightmare! If your client's machine reliably crashes quickly, testing on that is *definitely* the way to go. Your bug seems so random, it could be anything. I had something similar once with a font which would randomly bork the flashplayer. It may well be that flash just hates your enormous movieclip, even if it's just a dotted line. My first test would be to remove entirely any huge clips like that. Like i say, don't be meek: rip out half of your game for each test, so you can drill down quick as poss. Sorry i don't have an answer other than plain common sense. Maybe someone out there knows a more technological method? On 9/6/09, Paul Steven wrote: > Thanks Mike > > I am able to replicate it on my PC - well it has happened a few times. I > tested for over 2 hours solid last night with no crash and thought it was > fixed. But this morning after only about 10 seconds of play it crashed. This > is the new version with the large image separated into 4 separate jpgs. > > Only other large item is a movie clip that is a dotted line that is the same > size as the large image - this is a draw object (think this is the right > term - basially the built in dotted line) > > I am trying the fdb command line thingy but of course it won't crash now. > Pff!!! > > Next step is to try taking out bit by bit - so time consuming as a crash can > take ages to occur. > > Cheers > > Paul > > -Original Message- > From: flashcoders-boun...@chattyfig.figleaf.com > [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of mike > donnelly > Sent: 06 September 2009 11:17 > To: Flash Coders List > Subject: Re: [Flashcoders] Rather urgent advice on how to track the cause of > a crash > > I would go and get your client's machine. 40 minutes is way too long > to test changes! If you can't do that, i would use a remote desktop > app. http://www.uvnc.com is a good one as far as i remember, and it's > free. > > Also, replace the huge picture with a little one, and get rid of the > video. Basically, for each test you do, remove half of your game till > it stops crashing. > > Good luck, i know the feelin! > > On 9/4/09, Paul Steven wrote: >> I have created a game in Flash CS3 which is being published for Flash 8 > AS2. >> My client is reporting it crashing periodically on his XP PC. I have also >> managed replicate this on my Vista Ultimate PC with the following error: >> >> "A problem caused the program to stop working correctly. Windows will > close >> the program and notify you if a solution is available" >> >> It took me over 40 minutes of continuous play to get the crash. >> >> This game is for an exhibition on Monday so I need to sort this pretty >> quickly. >> >> Can anyone suggest any ways to try and pinpoint the problem? The game is >> being run as a projector packaged with MDM Zinc. My first thoughts were > that >> it was due to Zinc being pants but the same problem occurs with just a > plain >> old Flash projector. >> >> The problem also happens in the Flash IDE, and similarly it just crashes >> Flash completely - there is no message saying a script is causing the > movie >> problems. I am struggling to work out how to find the cause of the problem >> especially as it can happen pretty much immediately according to the > client >> or after a long period of play. >> >> The game is basically a top down flying game with a scrolling background >> (JPG 5120 X 4320). The flash movie is published at 1600 x 1200 30 FPS. It >> includes an embedded FLV video on the Splash screen which is apparently >> 639kb of video data. There are no audio files in the game. >> >> Any suggestions what code issues could be causing this or does it sound > like >> something else causing the crash. Are there any tools that can help me > track >> down the problem? >> >> Hoping someone can save the day! >> >> Thanks >> >> Paul >> >> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > > -- > Sent from my mobile device > ___ > 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 > -- Sent from my mobile device ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Rather urgent advice on how to track the cause of a crash
Also, to test for memory leaks, i'd do a test where you automate the intro/playing/end loop of your game, ie. Stick a bit of code in that finishes the game after a second of playing, and just keep going round:intro,playing,end. If it still crashes, you'll know it's probably the creation/destruction that's buggy, and not the main game code itself. On 9/6/09, mike donnelly wrote: > God what a nightmare! If your client's machine reliably crashes > quickly, testing on that is *definitely* the way to go. > > Your bug seems so random, it could be anything. I had something > similar once with a font which would randomly bork the flashplayer. It > may well be that flash just hates your enormous movieclip, even if > it's just a dotted line. My first test would be to remove entirely any > huge clips like that. > Like i say, don't be meek: rip out half of your game for each test, so > you can drill down quick as poss. > > Sorry i don't have an answer other than plain common sense. Maybe > someone out there knows a more technological method? > > On 9/6/09, Paul Steven wrote: >> Thanks Mike >> >> I am able to replicate it on my PC - well it has happened a few times. I >> tested for over 2 hours solid last night with no crash and thought it was >> fixed. But this morning after only about 10 seconds of play it crashed. >> This >> is the new version with the large image separated into 4 separate jpgs. >> >> Only other large item is a movie clip that is a dotted line that is the >> same >> size as the large image - this is a draw object (think this is the right >> term - basially the built in dotted line) >> >> I am trying the fdb command line thingy but of course it won't crash now. >> Pff!!! >> >> Next step is to try taking out bit by bit - so time consuming as a crash >> can >> take ages to occur. >> >> Cheers >> >> Paul >> >> -Original Message- >> From: flashcoders-boun...@chattyfig.figleaf.com >> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of mike >> donnelly >> Sent: 06 September 2009 11:17 >> To: Flash Coders List >> Subject: Re: [Flashcoders] Rather urgent advice on how to track the cause >> of >> a crash >> >> I would go and get your client's machine. 40 minutes is way too long >> to test changes! If you can't do that, i would use a remote desktop >> app. http://www.uvnc.com is a good one as far as i remember, and it's >> free. >> >> Also, replace the huge picture with a little one, and get rid of the >> video. Basically, for each test you do, remove half of your game till >> it stops crashing. >> >> Good luck, i know the feelin! >> >> On 9/4/09, Paul Steven wrote: >>> I have created a game in Flash CS3 which is being published for Flash 8 >> AS2. >>> My client is reporting it crashing periodically on his XP PC. I have >>> also >>> managed replicate this on my Vista Ultimate PC with the following error: >>> >>> "A problem caused the program to stop working correctly. Windows will >> close >>> the program and notify you if a solution is available" >>> >>> It took me over 40 minutes of continuous play to get the crash. >>> >>> This game is for an exhibition on Monday so I need to sort this pretty >>> quickly. >>> >>> Can anyone suggest any ways to try and pinpoint the problem? The game is >>> being run as a projector packaged with MDM Zinc. My first thoughts were >> that >>> it was due to Zinc being pants but the same problem occurs with just a >> plain >>> old Flash projector. >>> >>> The problem also happens in the Flash IDE, and similarly it just crashes >>> Flash completely - there is no message saying a script is causing the >> movie >>> problems. I am struggling to work out how to find the cause of the >>> problem >>> especially as it can happen pretty much immediately according to the >> client >>> or after a long period of play. >>> >>> The game is basically a top down flying game with a scrolling background >>> (JPG 5120 X 4320). The flash movie is published at 1600 x 1200 30 FPS. >>> It >>> includes an embedded FLV video on the Splash screen which is apparently >>> 639kb of video data. There are no audio files in the game. >>> >>> Any suggestions what code issues could be causing this or does it sound >> like >>> something else causing the crash. Are there any
Re: [Flashcoders] RE: Rather urgent advice on how to track the cause of a crash
:) pleasure. what a pissy sunday you must be having. yer a troopa. 2009/9/6 Paul Steven > Got rid of font problem by cutting and pasting all frames into a new movie. > > I am hoping this will also result in a bug free game. > > Thanks again to everyone for their help in my time of need. I have my > fingers and toes crossed that the game will not crash anymore. > > Cheers > > Paul > > -Original Message- > From: flashcoders-boun...@chattyfig.figleaf.com > [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul > Steven > Sent: 06 September 2009 20:36 > To: 'Flash Coders List'; 'Alan Watts' > Subject: RE: [Flashcoders] RE: Rather urgent advice on how to track the > cause of a crash > > Still plugging away at this and have just tried opening the file in Flash > CS4. Couple of strange things. > > It brought up a font mapping dialog box saying a font "HelveticaCE" is > contained in my movie and not on my system. I do not recall this font being > added and if I do a "Generate Size Report", it is not detailed here. I have > mapped it to Helvetica but this seems strange that I cannot find it - > anyone > suggest a way to find it? I tried using Movie Explorer too. > > Also another weird thing after I closed this dialog box, I got an error > saying a script in your movie is causing the movie to This was before I > had even tried to publish or test the movie. Strange thing too is that if I > close Flash CS4 and reopen I do not get this error again. So perhaps it was > just a one off - very strange! > > Anyway I have published the game using CS4 with same publish settings and > haven't got the crash again yet but that doesn't mean it won't re-appear. > > Is it worth rewriting the code in AS3? There isn't really much code in this > game - it is simply a plane controlled by mouse that flies over a terrain. > Main code as follows just in case anyone spots anything that is likely to > cause a problem. This code is called onEnterFrame > > function faceMouse(obj:MovieClip) > { > > var r2d = 180 / Math.PI; > > var dx:Number = _xmouse - obj._x; > var dy:Number = _ymouse - obj._y; > > > var rads = Math.atan2(dy, dx); > > > obj._rotation = rads * r2d; > >_level0.planeShadowMC._rotation = obj._rotation; > } > > > function moveToMouse( obj:MovieClip, distance:Number) > { >var dx:Number = _xmouse - obj._x; >var dy:Number = _ymouse - obj._y; > >var rads:Number = Math.atan2( dy, dx); > >var numNewMapX = gameMap.mapAll._x - Math.cos( rads) * distance; >var numNewMapY = gameMap.mapAll._y - Math.sin( rads) * distance; > >if (dx > 0) { > >if (numNewMapX >= objGame.numMinX) { > >gameMap.mapAll._x = numNewMapX; > >} > >} else { > >if (numNewMapX <= objGame.numMaxX) { > >gameMap.mapAll._x = numNewMapX; > >} > > >} > > >if (dy > 0) { > >if (numNewMapY >= objGame.numMinY) { > >gameMap.mapAll._y = numNewMapY; > >} > >} else { > >if (numNewMapY <= objGame.numMaxY) { > >gameMap.mapAll._y = numNewMapY; > >} > > >} > >radar.radarMap._x = (gameMap.mapAll._x/10) + 70; >radar.radarMap._y = (gameMap.mapAll._y/10) + 46; > > } > > > > -Original Message- > From: flashcoders-boun...@chattyfig.figleaf.com > [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul > Steven > Sent: 06 September 2009 16:17 > To: 'Alan Watts'; flashcoders@chattyfig.figleaf.com > Subject: [Flashcoders] RE: Rather urgent advice on how to track the cause > of > a crash > > Out of interest, Alan, what information will the fdb give me if I can > replicate the crash? > > > > Thanks > > > > Paul > > > > From: Alan Watts [mailto:a...@datax.com] > Sent: 05 September 2009 18:47 > To: flashcoders@chattyfig.figleaf.com > Cc: Paul Steven > Subject: RE: Rather urgent advice on how to track the cause of a crash > > > > fdb? > > > > http://livedocs.adobe.com/flex/3/html/help.html?content=debugging_03.html > > > > It's a good way to trackdown elusive bugs. Hopefully you can recreate the > error though, because you'd be the only one who can do the inspection. > > > > Alan > > > > > > > > On Sep 5, 2009, at 11:00 AM, flashcoders-requ...@chattyfig.figleaf.com > wrote: > > > > > > I have created a game in Flash CS3 which is being published for Flash 8 > AS2. > My client is reporting it crashing periodically on his XP PC. I have also > managed replicate this on my Vista Ultimate PC with the following error: > > "A problem caused the program to stop working correctly. Windows will close > the program and notify you if a solution is available" > > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo
Re: [Flashcoders] RE: Rather urgent advice on how to track the cause of a crash
Ah that's great. What was it in the end? You just copied the frames into a new CS4 fla (and removed the weird font)? 2009/9/7 Paul Steven > Just a quick update to say the client has just reported a full days use of > the game with no crashes! Phew - that was a close one! > > Thanks again for all the advice - I wouldn't have cracked it without all > the > fantastic tips. > > Cheers > > Paul > > ___ > 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] PHP Socket Question
Er, doesn't Flash Media Server do exactly what you want to do? I recommend Influxis hosting, pretty cheap FMS hosting and they're super developer friendly. You have to learn a bit of arcane server-side actionscript. It's actionscript 1, yurrk, with a weird API for manipulating sockets and server stuff, but it's fine once you get your head around it. hah just realised this was posted months ago. how helpful of me! 2009/7/22 John McCormack > < http://www.tufat.com/s_flash_chat_chatroom.htm > > Thanks for that Glen, > That looks really interesting. > > John > > > Glen Pike wrote: > >> You can use a database to store data in for a chat server, but you will >> need to have some kind of server side "maintenance" script to weed out the >> database. >> >> With a socket server system, you usually have to have a dedicated server, >> or at least one which lets you log into the shell and create scripts - most >> hosting does not let you run stuff like socket servers easily - which is why >> the database version may be used, because most hosting comes with this as >> standard. >> To test if your system could use a socket server, grab a free script and >> try exec()'ing it from a webserver PHP script to see if you could >> theoretically start and stop your server. I would guess most hosting locks >> this down and it may violate your TOS. >> >> Alternatively, look at hosted systems - Electrotank used to do a socket >> server and possibly provide hosting for that, it's in Java, but you would >> not have to write all that stuff... Also look at Moock's Multi-user Unity >> system - can't remember if that's useful or not. >> >> There is a program called "Flash Chat" for $5 which is probably worth >> looking at - http://www.tufat.com/s_flash_chat_chatroom.htm - there used >> to be a version called AMFIChat, but it has been discontinued (possibly >> because the guy was violating the terms of the AMF license) >> >> Anyway, in terms of "time vs money" $5 to spend looking at someone elses >> ready made system could be very cheap and you can see what server side stuff >> it does too. >> >> Omar Fouad wrote: >> >>> hey, >>> My boss asked me to develop a Cards Game called "Estimation" (I don't >>> know >>> if you heard about it). It is a Cards game similar to spades, where there >>> are tricks, bids, etc. >>> The game is going to be a Facebook application, so it is required a >>> multi-player option (real time). >>> At first I thought I would create a database and continuously let the >>> client >>> send queries using AMF, to check for changes and update the display. But >>> a >>> friend of mine told me this is insane. The data on the database he would >>> buge, and I have to take in mind, that anyone could leave the game at >>> anytime, so the data will remain in the database uselessly. He told me to >>> use sockets, and store the variables I need, such as the rooms, the >>> player >>> nickname, the bids, the calls, the tricks, the scores, the rounds, the >>> hands, and all the crap that I would need in the server side script >>> (PHP). >>> Is this true? If I will have to use sockets, should I store the data as >>> variables in the server side script? >>> >>> I really need to figure out how to start. Thanks. >>> >>> >>> >> >> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> >> > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] panels / workspace CS4 bug
CS4 panels are a bloody mess. My personal bugbear is the library and property panels getting in each others' way. You have to click on both before you can get the one you want to see in front of the other. I recommend FlashDevelop for coding too. You'll *never* go back to the actions panel. Or get a second screen and throw all your misbehaving panels into that. 2009/9/18 Isaac Alves > Pedro, that works, but this way I惴 forced to always have this actions > buttons on the screen (when I press F9) and that is quite boring , > cause (at least for me) it stands in front of important stuff . I 惴 > used to F9 to open /close the acitons panel. > > I惻l give a try on FlashDevelop! > > thanks everyone for replying, > cheers > > ___ > 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] JPGEncoder and com folder
You need to download the code from the as3corelib library: http://code.google.com/p/as3corelib/ mike chambers m...@adobe.com On Sep 24, 2009, at 4:36 PM, Bassam M wrote: Hi guys anybody know where is the folder com.adobe I'm confuse about the class I don't know wher it's and I want to use JPEGEncoder but I'm getting error 1172: Definition com.adobe.images:JPGEncoder could not be found. so I want to place it inside the exact folder any Idea ___ 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] as3 to iphone app
I think that is a misguided statement, not based on any fact. Why do you assume / suggest that using Flash will be inferior for building all types of iPhone applications and content? mike chambers m...@adobe.com On Oct 8, 2009, at 5:50 AM, Eric E. Dolecki wrote: If you want to *really* make iPhone apps, use Xcode and the SDK. If you just want to get some stuff up on the store quickly, use CS5 I gues ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] as3 to iphone app
Well, it is not a simulator. The SWF is compiled using LLVM to native arm code. Is every native iphone available? No. However, for the APIs that are available, there is no reason to expect that you couldn't build as full featured apps / games / content as you could with any other solution (such as Objective-C or Unity3D). mike chambers m...@adobe.com On Oct 8, 2009, at 5:13 PM, Eric E. Dolecki wrote: Yes, it is an assumption not based on any fact. My opinion right now as I believe I stated originally. I saw what is supported and I know the vast ocean of iPhone APIs that are available when developing natively. I won't assume that the level of control Adobe will offer in the conversion compile can be nearly as good as when compiling using Xcode. I could be wrong, but having people learn how to drive in a simulator probably won't ever be as good as driving the real thing. That's all. I hope Adobe proves me wrong. But I don't think abandoning learning Obj-C is favor of AS3 is a good idea regardless... it's great to know both or more. Eric On Thu, Oct 8, 2009 at 7:22 PM, Mike Chambers wrote: I think that is a misguided statement, not based on any fact. Why do you assume / suggest that using Flash will be inferior for building all types of iPhone applications and content? mike chambers m...@adobe.com On Oct 8, 2009, at 5:50 AM, Eric E. Dolecki wrote: If you want to *really* make iPhone apps, use Xcode and the SDK. If you just want to get some stuff up on the store quickly, use CS5 I gues ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ 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] Pricing a Freelance Project
Hi List! I have been asked to price a freelance project and as its my first proper freelance project im not sure what to charge per hour. Some details: Its a code only project, all the design and artwork is supplied. (flash) Its a fairly simple flash game interface with multiple sub-minigames all communicating with a server It will require a CMS back-end for admin management of the users, games, and content. (probably flex) mySQL / php will tie it all together Its for a fairly large client so im worried of under-charging myself as I know they are likely to have a sizeable budget. So far I have done a few googles and worked out what my day-job hourly rate is and come up with a figure of £40per hour. Does this seem unreasonable for a flash/php/database coding project? Cheers, -- Mike Cann http://www.mikecann.co.uk/ http://www.artificialgames.co.uk/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] RE: Pricing a Freelance Project
Hi All, Thanks for all the great advice. Seems like everyone is suggesting around the £40-60 mark if quoting per hour. But if quoting a fixed amount then it should be considerably more. Cheers! 2009/10/12 Hans Wichman > Hi Steven, > > excuse my ignorance, but as a non native English person what is T&M NET > 15/30? Couldn't find it on google. > > regards, > Hans > > On Mon, Oct 12, 2009 at 8:23 AM, Steven Sacks >wrote: > > > I do not do fixed bid projects. I always do T&M NET 15/30, and don't have > > an issue selling my work that way. > > > > If you want me to do a fixed bid project, I'm bidding on exactly what the > > scope is right now. If there is any change in scope, production will > stop > > as I assess the impact such a change will have on the schedule (my > > assessment is billable), and take time to modify the contract to reflect > the > > change in scope and cost, and you will need to review and approve these > > changes in writing, all of which take time spent not developing and puts > > your deadline in jeopardy. However, with T&M, I get paid for the work I > do, > > and you have full flexibility in making as many changes as you like, with > > the knowledge that development never stops, though the deadline may be > > affected by your changes. > > > > Something to that effect. > > > > > > > > Kerry Thompson wrote: > > > >> Steven Sacks wrote: > >> > >> You need to charge for time spent babysitting the client. That's > billable > >>> time. > >>> > >> > >> Absolutely true, with one kicker: a fixed bid. A lot of clients want to > >> shift the risk to you, the freelancer, so they ask for a fixed-price bid > >> rather than an hourly rate. > >> > >> My advice is to be very, very careful with these. My experience shows > that > >> clients rarely, if ever, know just what they need. They will give you an > >> idea, but there will inevitably be extras that simply must be done. > Initial > >> estimates of the amount of work needed are almost always off by a factor > of > >> at least two, often up to a factor of 10. If you underbid one of these > >> contracts, you could spend a year to earn $20,000. > >> > >> Be up front with the client in this case. You are bidding on the project > >> as it is currently designed. Changes and additions will be billed extra. > You > >> must do this to survive, or your client will bury you with feature > creep. > >> > >> Be positive about it, of course. When they request an additional > feature, > >> say "Sure, we can do that. It will cost you $4,000 and add two weeks to > the > >> schedule. I'll get started on it just as soon as I get an amendment to > the > >> contract." > >> > >> Also, on a fixed-bid contract, get at least 25% up front. If you bill > only > >> on milestones, can you live off your savings until they approve the > >> prototype, or the alpha? I can't--I'm lucky that my wife has a > well-paying > >> job. > >> > >> Cordially, > >> > >> Kerry Thompson > >> > >> > >> ___ > >> 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 > -- Mike Cann http://www.mikecann.co.uk/ http://www.artificialgames.co.uk/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] as3 to iphone app
No core language changes, although there are some new APIs. mike chambers m...@adobe.com On Nov 2, 2009, at 10:32 AM, Kevin Newman wrote: Kevin Newman wrote: What I'm really interested in is are there any other language improvements/additions coming with the update (private constructors, inline functions, structural typing, "let" keyword, etc.)? Or is is the same version of Actionscrtip 3.0? Other than new api stuff for the new hardware, there are no changes in the language as far as I know. Maybe a bugfix or two in the compiler, but no new features in the language itself. ___ 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] as3 to iphone app
Well, we do another level of optimizations via LLVM (so some of the performance stuff you mention is addressed). mike chambers m...@adobe.com From: flashcoders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kevin Newman [capta...@unfocus.com] Sent: Wednesday, November 04, 2009 10:13 AM To: Flash Coders List Subject: Re: [Flashcoders] as3 to iphone app Bummer. :-( I was hoping for some better dynamic stuff (duck typing), and some quicker ways to define (or at least instantiate) throw away static types (like a static version of an object literal - or some kind of structural data types). And maybe some performance tools like inline functions, or static (jit) constructors - or old favs from as2 like private constructors. C# has some of this kind of stuff. So does HaXe. Maybe next time. Kevin N. On 11/2/09 7:50 PM, Mike Chambers wrote: > age changes, although there are some new APIs. > > mike chambers ___ 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] what is the current 3D best-practice?
Hey there, on a project last year i tinkered with AS3Dmod, a *great* little library for doing crazy 3D shape manipulations, compatible with away3d/papervision etc... http://www.derschmale.com/2009/03/16/cloth-simulation-modifier-in-as3dmod/ Here's the project we were working on... http://eightandahalf.org This was our first 3D flash project, and we went with Away3D because they were more bleeding edge (rather than papervision, unlike a previous comment) and they had proper bloody z-sorting, which papervision didn't seem to have at that time. But the docs were always either sparse or out-of-date (the downside of bleeding edge), so the learning curve was practically vertical. Next time I'd go with papervision, just because the community is larger, so much better support. good luck anyway! 2009/8/11 Henry Cooke > Hey Sebastian, > While Away started life as a PV3D branch, they're pretty diverged by now - > while they do occasionally share code, they're certainly two distinct > engines and will remain so. > > General consensus here is that PV tends to have more whizzy features and is > the more 'bleeding-edge' engine, while Away has better stability and a > nicer > API. YMMV. > > I don't know if either supports morphing out of the box, but it should be > relatively simple to hack either engine to do it /relatively/ being the > active word here :-> > > It' not much hassle to get either working to a point where you can figure > out which will be better suited to your needs; if you've got the time, I > definitely recommend having a look at both. It's very much a question of > personal taste and which engine has the better feature set for your > project. > > Cheers, > h. > > 2009/8/11 sebastian > > > Hello everyone, thank-you for your replies, very insightful. > > > > I have looked at some websites to get a feeling for what Away3D is > compared > > to PV3D. Am I correct that Away3D is an off-shoot that will become merged > > into PV? If so, it would seem more sensible to stick with PV3D... right? > > > > This article in particular swayed me: > > > > > http://blog.papervision3d.org/2007/05/16/papervision3d-to-merge-away3d-features/ > > > > I am hoping that I can find a way to have shapes merge between different > > polygon configurations in PV; as the client wants geometric shapes with 8 > > sides [diamond], 20 sided [big die], 12 sided etc. [think multi-sided > Dice > > sets] they need to spin, have images on each side, and when you click on > a > > side, opens the relative page in a light-box. > > > > The user will be able to switch dice shape [ploy-sides] with a click and > I > > need to have it morph. If there is really no way to have this done > > dynamically; I suppose I can pre-render all possible variations [12 to 4, > 12 > > to 8, 12 to 20 etc] -- but then I have the issue of how it looks > different > > if in flash vs. how it would look from a 3d program... [and the only 3d > > program I know well enough to crank out stuff fast is: Lightwave] > > > > Thanks for any further comment or insight, > > > > best regards, > > > > Sebastian. > > > > > > On Aug 10, 2009, at 12:03 PM, Matt Gitchell wrote: > > > > PV3D's pretty good, tho there's a little bit of a curve to learning it. > I > >> haven't done any Away3D stuff but I've heard good reports about that > >> too.You > >> probably don't want to go down the custom road as once you start to deal > >> with z-sorting and all that in earnest it balloons in complexity > quickly. > >> CS4's native 3D stuff is generally only good for planes, there's no > native > >> poly handling. I think the latest PV3D has been tweaked to take some > >> advantage of the native FP10 3D stuff on the render side, but I didn't > >> have > >> that as an option on my last PV3D project and hence didn't explore it. > >> As far as morphing shapes goes, you're probably going to have to do that > >> in > >> a dedicated 3D suite then export that animation to a Collada file. You > can > >> spin and move stuff (in PV3D), but actual manipulations of the > >> shapes/polys > >> in an object are going to be best handled in a more or less canned > >> fashion, > >> depending on the complexity you're looking for or if you want to write > >> something that creates the polys dynamically, which is again easier in > >> PV3D > >> than "Pure" AS3. > >> > >> On Mon, Aug 10, 2009 at 11:34 AM, Kerry Thompson < > al...@cyberiantiger.biz > >> >wrote: > >> > >> Sebastian wrote: > >>> > >>> I was wondering if anyone had any feedback to my 3d inquiry? Because I > have not received any input from the group. > > >>> > >>> My guess is that not many of us work in 3D. I've had a look at > >>> Papervision, > >>> and, while it looks pretty good, I haven't explored it deeply enough to > >>> help. > >>> > >>> Does it have to be Flash? The dominant player in the online 3D world is > >>> still Director/Shockwave, and what you are describing could be done > >>> easily > >>> in Shockwave. If you're not famil
Re: [Flashcoders] flv stop loading / close netconnection
My experience is that you can't close the default vp (video player) in an FLVPlayback instance, so you *never* use it. What were they thinking?! Before you load a video, you set the vp index to whatever you want, just not zero! myflv.activeVideoPlayerIndex = 1 myflv.source ="hippo.flv" Then when you're done... myflv.closeVideoPlayer(1); When working with active indexes, i find this page incredibly useful to find out what FLVPlayback properties are affected by activeVideoPlayerIndex... http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/video/FLVPlayback.html#activeVideoPlayerIndex On your side note ("I can't find anything in the docs on adding new instances of VideoPlayer Class"), you don't have to do anything to "add a new instance", all you do is set the flvplayback's activeVideoPlayerIndex to a new number, and it's ready to load a new vid. If you want to see that new vid, set the visibleVideoPlayerIndex to the same number. cheers chichilatte On 23 March 2010 09:13, Andrew Kenward wrote: > Hi David > > when you .close() the connection to the netstream object/video it stops the > download and you lose the connection. I would also remove it from the > displaylist. If you then want to go back to that same video after using > .close() then you have to make a new connection to the video. So reload the > videoplayer basically. Depending on the users browser it may continue to > download the progressive video from the browser cache. If you have safari > browser try looking at the activity window in the windows drop down menu. It > should show you whats being downloaded on the page. > > Andy > > Andrew Kenward > a...@milkybrain.co.uk > www.milkybrain.co.uk > 07590 609 554 > > On 22 Mar 2010, at 19:59, flashcoders-requ...@chattyfig.figleaf.com wrote: > > > [Flashcoders] flv stop loading / close netconnection > > > ___ > 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] Video encoding service
> > > > Researching encoding services > > nimbb.com > userplane.com > ankoder.com > > Any others? > > > heywatch.com encoding.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] FaceBook / Flash
On Wed, Jul 21, 2010 at 4:57 PM, Karim Beyrouti wrote: > Hi All, > > I am trying to add a SWF to a Facebook group, and wondering if you know of > any good an recent tutorial or can advise on best method to do so... > > Muchos thanks > > You can't add custom apps/fbml to tabs in a facebook group, only to fan pages. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Create your own t-shirt
> And you need to find out how to send a ByteArray back to a backend service > to save said "t-shirt" as an image file. > > With that and Jack's TransformManager, those are the two main building > blocks. > > Having created quite a few online designers / product customisation tools, I'd add that for print resolution imagery involving bitmaps you certainly -don't- want to be transferring large amounts of pixel data back to the server, compression or not (unless you don't mind long waits or low resolution output affecting your customer abandonment rates). Better to keep all high resolution processing (and files) on the server and to essentially only transfer user interaction data back to the server to render out the print ready, high resolution final format there, while keeping the whole process snappy. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] test
yes On Tue, Jan 11, 2011 at 4:11 PM, Mendelsohn, Michael < michael.mendels...@fmglobal.com> wrote: > Test: is the list alive? > > - MM > > > ___ > 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] AAC Streaming in Flash Player
I understand that the latest Flash player can do AAC files. What I'm not clear on is if it can do a live stream. (As in RTSP)? Can anyone help with advice on this? Thanks so much Mike Mike Skinner Media Developer Global Media Outreach A Ministry of Campus Crusade for Christ (321) 274-6575, mobile ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AAC Streaming in Flash Player
Hi, Steven, thanks for responding. (Do I remember you from the Direct- L list?): OK--I was just looking for any advice. I did try it and got nowhere. That is, I can verify that a .m4a from the local drive can be played via a NetConnection/NetStream... but it doesn't seem as if I *can* play a binary signal from a rtsp connection. Can anyone else verify this, or is it more likely I'm doing something wrong? I've been given two different styles: rtsp://mm11.onlineradio.com/rock103S or rtsp://mm11.onlineradio.com:8080/rock103S.sdp In each case, I get "StreamNotFound." I've also played around with an MP3 stream, "http:// 206.71.145.10:8006" from radioparadise.com. I get "File Structure Invalid." After some googling, I see that StreamPad is a service that uses a combination of Java app acting as a streaming server on your iTunes- equipped computer with a Flash interface to play your songs over the Internet. That makes it sound as if they must have done something like this. Does anyone know how they do it? Thanks again Mike On Mar 10, 2008, at 6:08 PM, Steven Sacks wrote: Are you asking because your initial attempt didn't work or just in general? I haven't tried it. You should give it a shot and let us know! :) ___ 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] open pdf file or doc from flash
Can you just display a URL to a file on a server and have the user click on the URL? That would be easy. -Mike Chabot On Sat, May 17, 2008 at 12:39 PM, Glen Pike <[EMAIL PROTECTED]> wrote: > With fscommand you have to be careful where you put the folder with the > batch files in - if I remember rightly (check the documentation) it is > supposed to be in the same directory as the SWF / projector, e.g. > > projector.exe > | > + fscommand\ > - open-pdf-1.bat > - open-doc-1.bat > - open-pdf-2.bat > - open-doc-2.bat > > Also, you will need to do use something other than a batch file for Mac. > > There are some utilities around that will help you with this so you don't > have to write a different batch file for each document you want to open.: > http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=fscommand+open+file+utilities > <http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=fscommand+open+file+utilities> > > sense co moh wrote: >> >> I want to in its application >> >> - Original Message >> From: Ibrahim Y <[EMAIL PROTECTED]> >> To: Flash Coders List >> Sent: Saturday, May 17, 2008 2:41:22 PM >> Subject: Re: [Flashcoders] open pdf file or doc from flash >> >> you want to open it inside your player or in its application? >> >> >> On Sat, May 17, 2008 at 1:16 PM, sense co moh <[EMAIL PROTECTED]> wrote: >> >> >>> >>> Hello Guys >>> I need to know how can I open pdf file or MSword file from flash >>> projector >>> I tried fscommand but it dosent . >>> Thanks >>> Bassam >>> >>> >>> >>> ___ >>> 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 >> >> >> > > -- > > Glen Pike > 01326 218440 > www.glenpike.co.uk <http://www.glenpike.co.uk> > > ___ > 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] Nested SWFs
Hello all, I'm new to AS3 and using multiple SWFs in an application. I'm used to AS2 and 1 or 2 SWFs at max. I'm using the GAIA framework (not sure if you're all familiar) which seems to rock so far!, but I'm confused on a couple issues: I have a few SWFs that load into one another (i.e., main/index/nav/ page1). I would like to load a remote asset library into the index.swf (since this page never unloads) and access the contents of the library from page1.swf (and page2, page3, etc.). I can get everything to load fine and all my movieclip classes are accessible from the SWF that I load the remote library into. I just can't figure out how to target them to create new instances through the page1.swf? Does that even make sense??? Any help would be greatly appreciated. Thanks in advance, _mike g. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3 Call a function from an array
if fnct is a function: stepArray[0].fnct(); if it is a string: stepArray[0]["fnct"](); The 0 is the index from the array you want to retrieve. mike chambers [EMAIL PROTECTED] On Sep 5, 2008, at 8:30 PM, Gerry wrote: I have an array built from and XML file that I want to step through and one of the nodes will have a function to call. I thought I did this in AS2 before but can't find my code. I'm stuffing my array with the function string cast as an object but I can't seem to find any hints on how I should be calling that function. My array is built like this... [code] //this works fine for each (var step:XML in xmlData..step) { var step_text:String = step.text; var stepFunc:String = step.funct; var stepPause:Number = step.pausev; stepArray.push({txt:step_text,fnct:stepFunc,pv:stepPause}); } [/code] I want to call the stepArray.fnct but can't seem to get it to work nor can I find an example of how I should go about this. Any help or link would be greatly appreciated. ___ 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] AS3 Call a function from an array
Where is the actual function? You cant store a function in XML, on the name. You can then use that name to construct a call to the function. Where is the function? mike chambers [EMAIL PROTECTED] mike chambers [EMAIL PROTECTED] On Sep 6, 2008, at 7:40 AM, Gerry wrote: Mike, Neither of these options are working. -Gerry Here's what my XML looks like: NEW TEXT. testFunction 1.5 NEXT TEXT to display . testFunctionOne 2.5 I have a button that is named mentorNext with this event listener.. mentorNxt.addEventListener(MouseEvent.CLICK,playNextSection); the function "playNextSection" looks like this... private function playNextSection(e:MouseEvent):void{ // var val:Number = stepArray[stepCount].pv; //stepArray[stepCount].fnct(val); stepArray[stepCount]["fnct"](val); textwindow.captionTxt.text = stepArray[stepCount].txt; stepCount++ } If I remove the line for the stepArray function the textwindow.captionText line works. The data is there the array is populated properly but I can't get the function to act like a function. I get this error message: TypeError: Error #1006: value is not a function. at MainIntro/::playNextSection() Thanks, -Gerry On Sep 6, 2008, at 12:47 AM, Mike Chambers wrote: if fnct is a function: stepArray[0].fnct(); if it is a string: stepArray[0]["fnct"](); The 0 is the index from the array you want to retrieve. mike chambers [EMAIL PROTECTED] On Sep 5, 2008, at 8:30 PM, Gerry wrote: I have an array built from and XML file that I want to step through and one of the nodes will have a function to call. I thought I did this in AS2 before but can't find my code. I'm stuffing my array with the function string cast as an object but I can't seem to find any hints on how I should be calling that function. My array is built like this... [code] //this works fine for each (var step:XML in xmlData..step) { var step_text:String = step.text; var stepFunc:String = step.funct; var stepPause:Number = step.pausev; stepArray.push({txt:step_text,fnct:stepFunc,pv:stepPause}); } [/code] I want to call the stepArray.fnct but can't seem to get it to work nor can I find an example of how I should go about this. Any help or link would be greatly appreciated. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Advice on creating nodes on elastic
IMO you dont need a third party engine for this. Elastic is an easy property to model programatically. var bindX : Number = 100; var bindY : Number = 100; var x : Number = bindX: var y : Number = bindY; var nodeVelX : Number = 3; var nodeVelY : Number = 2; function update() : void { nodeVelX += (bindX-x)/4; nodeVelY += (bindY-y)/4; x += nodeVelX; y += nodeVelY; nodeVelX *= 0.99; nodeVelY *= 0.99; } or something simmilar to that. 2008/10/3 Ali Drongo <[EMAIL PROTECTED]> > Hiya, I want to create something very similar to visualthesaurus.com, > dyamically generating nodes with labels that are linked by elastic. > > I'm thinking of using the APE from cove.org > > If anyone can point me in the way of any tutorials/alternative approaches > or existing source that would be amazing! > > > Thanks, > Ali > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Mike Cann http://www.artificial-studios.co.uk/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Selling a Flash website
On Mon, Sep 29, 2008 at 4:18 PM, Gert-Jan van der Wel < [EMAIL PROTECTED]> wrote: > > For the last couple of years a friend and I were happily running a project > on the side called T-signers.com. It's a site where people can design and > order their own custom t-shirts. It's always been a pleasure to work on it, > but recently a couple of things have changed and we can't find the time > anymore to work on it. At this moment we're thinking about selling it or > finding some enthusiastic developers to continue the project. Does anybody > know how we should handle this? > I'd have a look at sitepoint.com marketplace if you want to sell the site, there are a lot of serious traders there as opposed to ebay where you'd be unlikely to get more than beer money for it. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Flash/Flex Font Embedding
I've been searching for the best way to handle fonts when localizing Flash applications. Ideally I'm looking for a way that I can create SWFs that have specific character ranges of specific fonts embedded in them that I can load in to my applications as needed based on the language that has been selected by the user. I've come across many posts of people describing this approach, most notably: http://troyworks.com/blog/2008/09/12/flash-runtime-font-sharing- embedding-with-only-partial-character-sets-how-to/ The problem for me is I don't know Flex at all. I have Flex Builder 3 and use it almost everyday as my primary AS3 editor, but I don't know the first thing about MXML or even creating Flex projects. The previous post above describes this technique using FlashDevelop and the Flex SDK. Since I have Flex builder I'm just looking for a little guidance as to how to get similar code to compile a SWF in Flex Builder. Any help would be greatly appreciated. Or if any or you have any better methods of how to handle this that you would like to pass on, I'm totally open to suggestion. Thank in advance, _mike ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: SPAM-LOW: Re: [Flashcoders] Flash/Flex Font Embedding
Thanks Glen for pointing me in the right direction. I use Flex builder simply as an editor for actionscript, but still compile everything in through the Flash IDE. I like it because of all the code hinting, refactoring, navigator view, etc.. Everything that a good editor should have and since it's built on Eclipse, you add as many plug-ins as you'd like. So now I edit all my XML and occasionally CSS in it too. Flex Builder was also much easier for me to setup for actionscript than trying to customize Eclipse myself (and cheaper than FTD). I also figured I'd probably start doing a bit of Flex someday anyway. Thanks again. _mike On Nov 25, 2008, at 1:20 PM, Glen Pike wrote: Hi, I re-read your email again and noticed you want runtime font rather than embedded in your final application... The Troyworks article talks about embedding fonts into a separate SWF, then loading these into your main SWF at runtime... I guess you are using Flex to create pure ActionScript projects, so for the Troy Works sample, you would need to create 2 ActionScript projects - one for compiling the "FontLibs.swf" example - you probably want to rename the output to a sensible font name - like MyriadProFontLib.swf - then your second project is your main application / the second block of code, which needs to load the swf from the first. You should not need any MXML to get it to compile - just adapt the code for your normal way of developing here. If you are on a PC, it is worth checking out FlashDevelop because it's really nice for coding and set up to produce projects like this. It lets you do MXML or ActionScript based projects - Flex Builder just gives you the WYSIWYG editor (plus a few more things like profiling, etc). Either way, both Flex Builder and FlashDevelop use mxmlc - the compiler - to output your SWF and this is what lets you do the [Embed], unlike the Flash IDE which did not allow Embed. There are quite a few articles on Runtime Font embedding and managers with Flash - it seems to be a bit of a black art to get everything running smoothly and I am only part way there. Look on the Devnet site and in the Flex doc's online - there are some useful examples there. Sorry if I caused any confusion here.. Glen Glen Pike wrote: Hi, You can use the [Embed] Directive in a few places in Flex. Inside your MXML code - create a new project - then you can add normal actionscript by inserting tags - start typing "Scr..." and Flex Builder will try to auto-complete. Between your Script tags is ActionScript - same way as you would write it anywhere else. You can also create ActionScript only components as part of your project and write your code as AS. You can also embed your fonts in style sheets, which just contain fancy CSS declarations. I have an example at home, so will post it this evening if you don't get sorted - in about 3hours from now. Keith Peters also wrote an article about Embed on his blog - a while back so you might have to search for it Glen Mike Grunwald wrote: I've been searching for the best way to handle fonts when localizing Flash applications. Ideally I'm looking for a way that I can create SWFs that have specific character ranges of specific fonts embedded in them that I can load in to my applications as needed based on the language that has been selected by the user. I've come across many posts of people describing this approach, most notably: http://troyworks.com/blog/2008/09/12/flash-runtime-font-sharing- embedding-with-only-partial-character-sets-how-to/ The problem for me is I don't know Flex at all. I have Flex Builder 3 and use it almost everyday as my primary AS3 editor, but I don't know the first thing about MXML or even creating Flex projects. The previous post above describes this technique using FlashDevelop and the Flex SDK. Since I have Flex builder I'm just looking for a little guidance as to how to get similar code to compile a SWF in Flex Builder. Any help would be greatly appreciated. Or if any or you have any better methods of how to handle this that you would like to pass on, I'm totally open to suggestion. Thank in advance, _mike ___ 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 -- Glen Pike 01326 218440 www.glenpike.co.uk <http://www.glenpike.co.uk> ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___
Re: [Flashcoders] online .swf generator
You can render the output client side to a BitmapData object then use a compression lib in AS3 to convert it to GIF or PNG or something then upload that image to the server and avoid the whole SWF part? 2008/11/27 allandt bik-elliott (thefieldcomic.com) <[EMAIL PROTECTED]> > could you use some kind of code injection like flashdev used to do (and > prolly still does)? > > a > > On Wed, Nov 26, 2008 at 8:53 PM, Latcho <[EMAIL PROTECTED]> wrote: > > > One way: You can compile an swf serverside with flex-sdk and ant, that > way > > you can feed it whatever you want as a main class, config class and orher > > generic created text var classes. > > You for ex build a php wrapper around all the command executions. > > Latcho > > > > > > Michael Stocke wrote: > > > >> The output file will be a banner ad. The user will be able to choose > from > >> about 5 different designs and list of company-approved > >> graphics/logos/imagery. The user will also be able to enter a limited > amount > >> of text. My vision is to create templates for each of the 5 designs with > >> blank text fields and placeholders for the logos/graphics. The user will > >> modify a configuration file of some kind through the interface I create, > >> then I will use a yet-to-be-named tool to generated the .swf from a .fla > (or > >> other core file) and the customized configuration file (XML, MXML, .txt, > >> etc.). This is why I mentioned JSFL, because I already know how to do > this > >> with JSFL. > >> > >> I have zero experience with Flex, so something with the Flash IDE or > >> Flash-based tools would be better. > >> > >> -Original Message- > >> From: [EMAIL PROTECTED] [mailto: > >> [EMAIL PROTECTED] On Behalf Of Axel Aigret > >> Sent: Wednesday, November 26, 2008 12:01 PM > >> To: Flash Coders List > >> Subject: Re: [Flashcoders] online .swf generator > >> > >> Hi :) > >> > >> Can you explain more in detail what must be arrange in your .swf > and > >> how ( a gui in flash or you don't care ? ) . > >> What sort of asset , animation , text ? > >> What will be the creation at the end to understand what you want > more > >> easier. > >> > >> Axel Aigret > >> > >> > >> Michael Stocke a écrit : > >> > >> > >>> Good morning group. > >>> > >>> > >>> I am looking for an online .swf generation tool. Specifically, a user > >>> designs a .swf online through a tool that I create, then they submit > >>> their work which generates a .swf output. The tool will allow the user > >>> to choose from several templates, then customize them by selecting > >>> various assets from pre-determined lists and adding some free-form > text. > >>> >From my research so far I'm mainly seeing tools based on Java and C++, > >>> both of which aren't really options for me. I have some very limited > >>> knowledge of Ming (PHP), but this option is too programming intensive > >>> for this scenario. I think JSFL would be my best bet, but I can't find > >>> any information about using it for an online server-side > implementation. > >>> My experience has been for local batching purposes only. > >>> > >>> > >>> Does anyone have any suggestions? The client is open to purchasing an > >>> application depending on the cost. > >>> > >>> > >>> Mike Stocke > >>> Interface Engineer > >>> > >>> Organic, Inc. | Detroit > >>> 2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302 > >>> t: 248.454.4015 | f: 248.454.3370 > >>> > >>> > >>> Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> Blog: > >>> http://Threeminds.Organic.com <http://threeminds.organic.com/> > Website: > >>> www.Organic.com <http://www.organic.com/ > >>> > >>> > >>> ___ > >>> Flashcoders mailing list > >>> Flashcoders@chattyfig.figleaf.com > >>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >>> > >>> > >>> > >> > >> ___ > >> Flashcoders mailing list > >> Fl
[Flashcoders] Attaching bitmap data to arbitary coords
Consider the following, Flash 8: var w=200 var h=200 holder=this.createEmptyMovieClip("bmp1", this.getNextHighestDepth()); var bmpData1:BitmapData = new BitmapData(w, h, true, 0x); bmp1.attachBitmap(bmpData1, 2, "auto", true); This will attach the bitmapdata so it's top left is situated at the reg point of the mc, how do I attach it, or later move it so the reg point of the MC is situated at any point I wish, without using nested MC's? The problem being I want to make an exact bitmap copy of the contents of an MC, which could have it reg point set anywhere - and I want the new copy to inherit the same registration point, but like I said before - without having to resort to nested MC's - surely this is possible and I'm missing something blindingly obvious? Cheers M ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Attaching bitmap data to arbitary coords
Without going into the complexities of what I'm trying to do, just assume that's a no go for now... I just want to know if it's possible or not in order to avoid trying to bodge it. A related issue is if I bitmapData.draw(mc) then I can only draw in the parts of the mc that are below left of the reg. point - what use is that? Hence why I thought I must be missing something? Cheers M > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Danny Kodicek > Sent: 07 December 2006 11:16 > To: 'Flashcoders mailing list' > Subject: RE: [Flashcoders] Attaching bitmap data to arbitary coords > > > > var w=200 > > var h=200 > > holder=this.createEmptyMovieClip("bmp1", > > this.getNextHighestDepth()); var bmpData1:BitmapData = new > > BitmapData(w, h, true, 0x); bmp1.attachBitmap(bmpData1, 2, > > "auto", true); > > > > This will attach the bitmapdata so it's top left is situated at the > > reg point of the mc, how do I attach it, or later move it > so the reg > > point of the MC is situated at any point I wish, without > using nested > > MC's? > > > > The problem being I want to make an exact bitmap copy of > the contents > > of an MC, which could have it reg point set anywhere > > - and I want the new copy to inherit the same registration > point, but > > like I said before - without having to resort to nested > MC's - surely > > this is possible and I'm missing something blindingly obvious? > > Why is it 'resorting' to nested MCs? It's only a one-level nest. > > Danny > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/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] Boids algorithm in as2 or as3?
Hi John I did an AS1 version ages ago - but I don't even know if I still have the source - your best bet would probably to look for a Java or Processing version then convert that Cheers M > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of John Grden > Sent: 07 December 2006 16:42 > To: Flashcoders mailing list; flexcoders@yahoogroups.com > Subject: [Flashcoders] Boids algorithm in as2 or as3? > > I've seen several entries about people who've toyed with it, > but no posts with actual code. > > has anyone done the 3D conversion? any links to 2d or 3d > source would be much appreciated ;) > > thanks very much, > > oh and \m/ > > -- > [ JPG ] > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/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] Local SWF loadVars from remote php file
Hi, I am pulling my hair out on this. I am trying to develop flash locally and want to talk to remote php scripts. I have added a crossdomain.xml file to the remote server in question as well as the following to my local flash file in frame 1 System.security.allowDomain("*"); Whenever using loadVars i get "Error opening URL"... I understand generally how sandbox/security works but i can't get this to work Here's my loadVars code: var exhibit_vars:LoadVars = new LoadVars(); exhibit_vars.onLoad = function (success) { if(success) trace(this.toString()); else trace("vars failed to load!"); } exhibit_vars.load("http://mydomain.com/v2/flashapi/api.php? atype=cExhibit"); Can anyone help me, please?? Thank You. . Mike Dunlop // Droplab [ e ] [EMAIL PROTECTED] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Attaching bitmap data to arbitary coords
Charles I'm well aware of both those methods, but they still won't let you position the bitmap data anywhere other than with the registration point at TL or positively offset from the TL. Cheers M > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Charles Parcell > Sent: 11 December 2006 17:30 > To: Flashcoders mailing list > Subject: Re: [Flashcoders] Attaching bitmap data to arbitary coords > > You can of course use copyPixels() as well. > > http://livedocs.macromedia.com/flash/8/main/1948.html > > Charles P. > > > On 12/11/06, Charles Parcell <[EMAIL PROTECTED]> wrote: > > > > Yeah, I think you are looking for the draw() method of BitmapData. > > > > http://livedocs.macromedia.com/flash/8/main/1950.html > > > > See the comments as well. > > > > Charles P. > > > > > > > > On 12/10/06, Martin Jonasson <[EMAIL PROTECTED]> wrote: > > > > > > This is what i use in i a project of mine: > > > > > > var myMatrix:Matrix = new Matrix(); > > > myMatrix.rotate(clip._rotation * 0.0174532925199433); var > > > translateMatrix:Matrix = new Matrix(); > > > translateMatrix.translate(clip._x, clip._y); > > > myMatrix.concat(translateMatrix); > myBitmapData2.draw(clip, myMatrix) > > > > > > (this is stolen straight from my code, with nothing added > to make it > > > more understandable, but it should be rather self explanatory) > > > > > > > > > Mike Mountain skrev: > > > > Consider the following, Flash 8: > > > > > > > > var w=200 > > > > var h=200 > > > > holder=this.createEmptyMovieClip ("bmp1", > > > > this.getNextHighestDepth()); var bmpData1:BitmapData = new > > > > BitmapData(w, h, true, 0x); > bmp1.attachBitmap(bmpData1, 2, > > > > "auto", true); > > > > > > > > This will attach the bitmapdata so it's top left is situated at > > > > the > > > reg > > > > point of the mc, how do I attach it, or later move it > so the reg > > > > point of the MC is situated at any point I wish, > without using nested MC's? > > > > > > > > The problem being I want to make an exact bitmap copy of the > > > > contents > > > of > > > > an MC, which could have it reg point set anywhere - and > I want the > > > > new copy to inherit the same registration point, but > like I said > > > > before - without having to resort to nested MC's - > surely this is > > > > possible and I'm missing something blindingly obvious? > > > > > > > > Cheers > > > > > > > > M > > > > > > > > ___ > > > > Flashcoders@chattyfig.figleaf.com > > > > To change your subscription options or search the archive: > > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > > > Brought to you by Fig Leaf Software Premier Authorized Adobe > > > > Consulting and Training http://www.figleaf.com > > > > http://training.figleaf.com > > > > > > > > > > > > > > > > > > > > > > ___ > > > Flashcoders@chattyfig.figleaf.com > > > To change your subscription options or search the archive: > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > Brought to you by Fig Leaf Software > > > Premier Authorized Adobe Consulting and Training > > > http://www.figleaf.com http://training.figleaf.com > > > > > > > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/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] loading thumbnails into a scrollable box via AS
Hi folks, This is my first go at something like this in flash. I need to, write some actionscript that will read in (from an xml file) a collection of thumbnails. I need to basically have these thumbnails show up in a scrollable pane all spaced evenly. I've seen this done on many flash sites so i know it's too crazy. I know how to load images into a mc (.loadclip()) but i am just not sure about the scrollable box...Would i use a scrollbox component for this? Does anyone have any ideas on how to do this? Thanks in advance! Best, Mike D ... Mike Dunlop // Droplab [ e ] [EMAIL PROTECTED] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] loading thumbnails into a scrollable box via AS
Thanks for your thoughts -- they are much appreciated! Best, Mike D ... Mike Dunlop // Droplab [ e ] [EMAIL PROTECTED] > > Mike, > > I've used the built in scrollPane and UIScrollBars a few times, but found > fairly easy to use, but exceedingly complicated to customize. If you > don't mind the default look of the ScrollPane I'd suggest using. Though > bare in mind they can add considerable file size to your swf. > > I'd suggest creating movieclip that loads all your images, and then > another one that loads that under a masked layer. Use another set of > movieclips/buttons to move the thumbnail clip around under the mask. > > Hope that helps! > -Dan > > > -Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Mike > Dunlop > Sent: Tuesday, December 12, 2006 1:43 PM > To: flashcoders@chattyfig.figleaf.com > Subject: [Flashcoders] loading thumbnails into a scrollable box via AS > > > > Hi folks, > > This is my first go at something like this in flash. I need to, write some > actionscript that will read in (from an xml file) a collection of > thumbnails. I need to basically have these thumbnails show up in a > scrollable pane all spaced evenly. I've seen this done on many flash sites > so i know it's too crazy. > > I know how to load images into a mc (.loadclip()) but i am just not sure > about the scrollable box...Would i use a scrollbox component for this? > Does anyone have any ideas on how to do this? > > Thanks in advance! > > Best, > Mike D > ... > Mike Dunlop > // Droplab > [ e ] [EMAIL PROTECTED] > > > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > > This e-mail and its attachments are intended only for the use of the > addressee(s) and may contain privileged, confidential or proprietary > information. If you are not the intended recipient, or the employee or > agent responsible for delivering the message to the intended recipient, > you are hereby notified that any dissemination, distribution, displaying, > copying, or use of this information is strictly prohibited. If you have > received this communication in error, please inform the sender immediately > and delete and destroy any record of this message. Thank you. > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com