[Flashcoders] Re: How to set fontSize of TextInput/Label ?
solved. But I can't tell you why, it just works now. Seems that sleeping made the AS compiler reconsider my instructions ;-) On 6/8/06, Stefan Thurnherr [EMAIL PROTECTED] wrote: Hi all, For an application that I am developing I have subclassed those UI components that I'll most commonly use (Label, Button, TextInput, CheckBox, RadioButton). Among other things I'd like to be able to set the fontSize/fontFamily/fontWeight in a single place, and I chose for this the init() method of the component subclasses (LernLabel, LernButton, LernTextInput, LernCheckBox, LernRadioButton) [1]. While I have no problem setting the fontFamily and fontWeight properties for all my subclassed components, I experience some difficulties with the fontSize property: I could set the fontSize for LernButton, LernRadioButton and LernCheckBox, but I had no success in doing the same for LernLabel and LernTextInput. I tried both this.setStyle(fontSize, 18) and this.fontSize = 18 (both of them in the subclasses init() method and also in the onLoad() method), none of them succeeded. The only lead that I have is that I found out that when resizing a TextInput/Label, the font gets adjusted automatically. Does that mean that one cannot set the fontSize explicitely for TextInput and Label components (or their subclasses)? I couldn't find anything helpful on google, so I am posting on this mailing list. Any help appreciated! Thanks, stefan. [1]: Is that the right place to do the styling of my component subclasses? Or should it be done in the createChildren() or onLoad() method ? ___ 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] how to decode base64 data and display in flash
Flashcoders, In my application I received image data inform of base64. I have to decode that data and display in flash using actionscript 2.0. I cannot able to do it. I try to to use this class http://ostermiller.org/*Base64.ashttp://ostermiller.org/Base64.as * but it dosent works. Thanks, --Santhakumar K Chennai India http://www22.brinkster.com/zkumar/main.html ___ 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 link on hover
I wish you were wrong too =[ Thanks though Mick M. On 6/8/06, Jim Kremens [EMAIL PROTECTED] wrote: Wait, I know you can get hovers, but can you catch the hover 'event' and use it to, for example, call another function? I think that was his question, and as far as I know, there is no 'onHover' event. I'd like to be wrong... Jim Kremens On 6/8/06, Mick G [EMAIL PROTECTED] wrote: Yes, you'll need to set up style in Flash... A:hover is supported in Flash. http://www.actionscript.org/tutorials/beginner/css_in_flash/index.shtml On 6/9/06, elibol [EMAIL PROTECTED] wrote: Does anyone know if it's possible to trigger an event with a text link hover state? ___ 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 -- 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 ___ 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] File Upload using Flash7 and servlets
Flashcoders, I have to upload images from PC to server using flash7 and servlets. Is it possible to do it. I can use Flash8 for filebrowser. But only Flashpayer 7 is available for linux which doesnt support FileReference class. Thanks, --Santhakumar K Chennai India http://www22.brinkster.com/zkumar/main.html ___ 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 decode base64 data and display in flash
hello :) In AS1 or AS2 ... with flash 8 or ... you can't use directly Base64 picture :) Only with AS3 you can with Binary objects ! If you want transform base64 data ... you must use PHP or other and after load picture with MovieClipLoader.loadClip or MovieClip.loadMovie methods. EKA+ :) 2006/6/9, Santhakumar K [EMAIL PROTECTED]: Flashcoders, In my application I received image data inform of base64. I have to decode that data and display in flash using actionscript 2.0. I cannot able to do it. I try to to use this class http://ostermiller.org/*Base64.ashttp://ostermiller.org/Base64.as * but it dosent works. Thanks, --Santhakumar K Chennai India http://www22.brinkster.com/zkumar/main.html ___ 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] File Upload using Flash7 and servlets
you'll have to use a popup, iframe or other page and some php or other server side script to handle the upload... Santhakumar K wrote: Flashcoders, I have to upload images from PC to server using flash7 and servlets. Is it possible to do it. I can use Flash8 for filebrowser. But only Flashpayer 7 is available for linux which doesnt support FileReference class. Thanks, --Santhakumar K Chennai India http://www22.brinkster.com/zkumar/main.html ___ 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 -- __ Tom Rhodes - Developer / Composer Wheelhouse Creative Ltd, 2 Albion Place, Hammersmith, London. W6 0QT Tel: 020 8748 4466 Fax: 020 8748 4850 www.wheelhousecreative.co.uk __ ___ 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] Regarding ascb Proxy
Okay, i havent ever looked at the proxy class but i think i can take a stab at answering some of your questions, others can probably back me up / correct me on any errors. 1. Yes it appears he could have used slice, perhaps using the for loop is quicker? 2. There are occasions when you want to pass the returning functions extra parameters. When using the Macromedia Delegate class i came accross times when it would have been neater to supply additional paramters, but it wasnt essential. Im sure somone else can give you a specific example of when its needed. Mike On 09/06/06, js [EMAIL PROTECTED] wrote: I was taking a look recently at the Proxy class created by Joey Lott of Person13 for educational purposes, as I have just started learning OOP, and a couple questions popped into my mind. Here is the full class: class ascb.util.Proxy { public static function create(oTarget:Object, fFunction:Function):Function { var aParameters:Array = new Array(); for(var i:Number = 2; i arguments.length; i++) { aParameters[i - 2] = arguments[i]; } var fProxy:Function = function():Void { var aActualParameters:Array = arguments.concat(aParameters); fFunction.apply(oTarget, aActualParameters); }; return fProxy; } } First of all, when populating aParameters, why couldn't you just do: aParameters = arguments.slice(2); That seems a lot more clean and improves readability a bit, no? Second, why exactly do you need to concat the arguments of fProxy and aParameters? I can see what it's doing; it's tacking on the additional arguments supplied to Proxy.create onto the arguments of the fProxy function (which is then returned) -- but I can't really envision a situation where that would be needed? For instance: class someClass { private var _someMc:MovieClip; function someClass(mc:MovieClip){ _someMc = mc; _someMc.onRelease = Proxy.create(this,someMethod,1,2,3); } private function someMethod(a,b,c){ trace(a+ +b+ +c); } } In what case would I be calling someMethod() via Proxy and supplying a set of arguments that do not match the syntax of someMethod()? It seems to me that you could just replace the following: var aActualParameters:Array = arguments.concat(aParameters); fFunction.apply(oTarget, aActualParameters); with: fFunction.apply(oTarget, aParameters); Any clarification or insight is greatly appreciated. Joseph Sorensen aerosdesign.com/jsorensen jsorensen[at]aerosdesign.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] Re: protecting maps in Flash
I've done something like this in the past: if(_root._url.indexOf('file://') != -1 || _root._url.indexOf ('yourdomain.com') == -1) { _visible = false; } Sure you can still decompile it, but depending on what's in the SWF, that's probably beyond the expertise or level of patience of most people. -josh On Jun 8, 2006, at 5:07p, Steve Krichten wrote: This really is not effective. Ultimately the swf still ends up getting sent to the client when the application is used. Then that user can get the swf out of thier cache and decompile it to grab the assets. As Tom explained, If your app loads external swf's you cannot protect them, you can only make them a little more difficult to access. -Steve --- Naz wrote: Yo. Adding scripts that do the following to each of your map content swfs should solve your problem: 1) Create an if-then statement that checks for a variable that your map loader swf will set. If this variable is not set to the proper value that your loader/viewer swf sets, make the map swf do sometjing ugly like turn invisible or something ;-P (._alpha=0;) *oh, set these variables to something else when the map .swf first loads, then have them communicate and request for the proper value from the loader swf upon completion of loading. This is so people who've decrypted the urls can't enter http://yourdomain.com/mapName.swf? variableToCheck=properValue http://yourdomain.com/mapName.swf? variableToCheck=properValue%22 manually in the browser's url field. 2) Have each map .swf check whether it is loading from the proper url. If not, disable displaying 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
[Flashcoders] titled border around radio buttons?
I'd like to create a titled border around a variable number of radio buttons. My idea is to create a MyTitledBorder extends RectBorder which exposes methods allowing me to add/iterate over/remove the RadioButton instances that the MyTitledBorder instance currently displays. A draw method would then add/remove the radio button movieclips and adjust the border. Has anyone on this list done this before? Would that solution go into the right direction? Any thought sharing is appreciated. Thanks, stefan. ___ 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] color tracking w/webcam
http://www.adobe.com/devnet/flash/articles/webcam_motion.html On 6/9/06, Ian Tilley [EMAIL PROTECTED] wrote: Hi Weyert I did something a year or so ago using webcamxtra Xtra for Director and Flash 7. I'd like to do it again in Flash 8 at some point as I think bitmap caching would improve performance, for what I needed, greatly. JMyron is another solution but I didn't get near that. t. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Weyert de Boer Sent: Friday, 9 June 2006 3:08 AM To: Flashcoders mailing list Subject: [Flashcoders] color tracking w/webcam Anyone aware of any kind of color tracking for Flahs 8 using the BitmapData stuff? with source is apperciated ;-) ___ 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] Littleloud: Flash Developer Position
Hi folks, we have a job opportunity. Littleloud are looking for a technical developer who can demonstrate enthusiasm and skills in delivering high-end entertainment content using Flash. The post will require a keen interest in game design and creative interface development. Although not a key aspect of the job role, we are also looking for someone who has a basic working knowledge of small office network administration. Core Skills include: Flash AS2 XML XHTML CSS Javascript Windows Server, LAN, DNS, IIS + FTP Admin Candidates will initially need to present examples of their recent work via email to [EMAIL PROTECTED] This could include game development or applications in flash. For more info on LL, see www.littleloud.com matt zb ___ 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 link on hover
You wish as been granted :) You can call another actionscript function from within a dynamic textfield by setting it's html property to true and using asfunction within the anchor tag like this : tfMyTextField.html = true; tfMyTextField.htmlText = a href=\asfunction:fMyFunction,sMyParameter\/a; where fMyFunction is the name of the function you want to call when the user clicks the link and sMyParameter is a parameter to pass to that function. Only one parameter can be passed to the function. I wish you were wrong too =[ Thanks though Mick M. On 6/8/06, Jim Kremens [EMAIL PROTECTED] wrote: Wait, I know you can get hovers, but can you catch the hover 'event' and use it to, for example, call another function? I think that was his question, and as far as I know, there is no 'onHover' event. I'd like to be wrong... Jim Kremens On 6/8/06, Mick G [EMAIL PROTECTED] wrote: Yes, you'll need to set up style in Flash... A:hover is supported in Flash. http://www.actionscript.org/tutorials/beginner/css_in_flash/index.shtml On 6/9/06, elibol [EMAIL PROTECTED] wrote: Does anyone know if it's possible to trigger an event with a text link hover state? ___ 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 -- 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 __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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] flv error - 1005: Invalid xml
Hi all, The following error was thrown when trying to load a FLV via the FLVPlayback component: 1005: Invalid xml: URL: http://mydomain/download.ashx?id=72 http://uk-assetapptest/LearnUpload/download.ashx?id=72 No root node found; if file is an flv it must have .flv extension The file name is set in the HTTP header. Are there a way around this? tnx .magnus ___ 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] Littleloud: Flash Developer Position
How much is the position providing and what benefits? Also, where are you located? Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of matt zb Sent: 09 June 2006 13:11 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Littleloud: Flash Developer Position Hi folks, we have a job opportunity. Littleloud are looking for a technical developer who can demonstrate enthusiasm and skills in delivering high-end entertainment content using Flash. The post will require a keen interest in game design and creative interface development. Although not a key aspect of the job role, we are also looking for someone who has a basic working knowledge of small office network administration. Core Skills include: Flash AS2 XML XHTML CSS Javascript Windows Server, LAN, DNS, IIS + FTP Admin Candidates will initially need to present examples of their recent work via email to [EMAIL PROTECTED] This could include game development or applications in flash. For more info on LL, see www.littleloud.com matt zb ___ 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] Text link on hover
But that's a click David, not a hover. Scott On 6/9/06, David Bellerive [EMAIL PROTECTED] wrote: You wish as been granted :) You can call another actionscript function from within a dynamic textfield by setting it's html property to true and using asfunction within the anchor tag like this : tfMyTextField.html = true; tfMyTextField.htmlText = a href=\asfunction:fMyFunction,sMyParameter\/a; where fMyFunction is the name of the function you want to call when the user clicks the link and sMyParameter is a parameter to pass to that function. Only one parameter can be passed to the function. I wish you were wrong too =[ Thanks though Mick M. On 6/8/06, Jim Kremens [EMAIL PROTECTED] wrote: Wait, I know you can get hovers, but can you catch the hover 'event' and use it to, for example, call another function? I think that was his question, and as far as I know, there is no 'onHover' event. I'd like to be wrong... Jim Kremens On 6/8/06, Mick G [EMAIL PROTECTED] wrote: Yes, you'll need to set up style in Flash... A:hover is supported in Flash. http://www.actionscript.org/tutorials/beginner/css_in_flash/index.shtml On 6/9/06, elibol [EMAIL PROTECTED] wrote: Does anyone know if it's possible to trigger an event with a text link hover state? ___ 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 -- 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 __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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] Re: protecting SWFs
As Tom explained, If your app loads external swf's you cannot protect them, you can only make them a little more difficult to access. Well, technically, there is a way... Fragment the assets in such a way that if a decompiler is used, the user ends up with unusable map fragments instead of usable chunks of maps... But yes, remember the limitations of content security with pertaining to flash. Ultimately, I think it's about implementing a certain level of hassle such that the bulk of your target demographic won't even bother trying to steal your content vs. actually paying for it. Regards, -Naz http://www.object404.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] Is Object scope lost when using Delegate?
I'm wondering if, when I use the Delegate class to set the scope of an event handler, is it possible to reference the previous scope? My problem is this... I have a class which implements a menu. Each menu item is a movieclip and I add new menu items by calling a function called addChild like this. var myMenu: new Menu(); myMenu.addChild( Item1 ); myMenu.addChild( Item2 ); In class Menu, the function addChild does something like this, funciton addChild( txt:String ):Void { // make new mc, with a text field and set the txt myNewMc.onRelease = Delegate( this, onMenuRelease ); { function onMenuRelease( ):Void { // here I want to access class variable No problem! // now I want to change properties of myNewMc! How do I access it? // If I have 12 menu items, how can I know which one was triggered the onRelease!? } So, when I get to the onRelease event handler, is there a way to reference the scope of the MC that the event hander is attached to? Or, because I used Delegate has the mc scope been lost and I need to somehow keep track of that by, perhaps setting a focus variable or something... Makes sense? 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] Regarding ascb Proxy
Hi, I have slightly modify the Joey's version. I use also the Array.slice which is faster than the loop. For the last arguments, it's a mean to get a reference added as a end param to the callback handler. Easier to dereference after. Note the return at the end of the functions. French comments for inside for more insights. //!-- UTF8 /* - Proxy package : com.person13.ascb.util Description : Sert d'intermédiaire pour la délégation de référence de fonction. Cas d'un callback avec nécessité de portée spécifiqye. - ##++ ##Copyright (c) 2005 ##http://www.v-i-a.net ##All Rights Reserved ## ##E-Mail: [EMAIL PROTECTED] ## ##Permission to use, copy, modify and distribute is hereby granted, ##providing that no charges are involved and the above copyright ##notice and this permission appear in all copies and in supporting ##documentation. Requests for other distribution rights, including ##incorporation in commercial products, such as books, magazine ##articles, or CD-ROMS should be made to the authors. ## ##This program is distributed in the hope that it will be useful, ##but WITHOUT ANY WARRANTY; without even the implied warranty of ##MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ##-- For complete Licence of the Creative Commons Attribution-NonCommercial-ShareAlike 2.0 See : http://creativecommons.org/licenses/by-nc-sa/2.0/ - version history : 1.0 : 17 juin 2005 - Reprise du code de Joey Lott 1.1 : 04 juillet 2005 - Rajout d'un retour pour les fonctions procurées. - Rajout d'un nouvel argument pour déréférencer le proxy par la suite. - /** * Utile pour créer une référence de callback. * - pour un observateur sur une fonction (listener function) * - pour un callback d'un classe composant une autre classe * * La fonction callback recevra une référence à la fonction Proxy en dernier paramètre. * Il est ainsi possible d'utiliser EventSource.removeEventListener (EventName, ProxyRef) * et de supprimer la référenec au proxy. * * @author Joey Lott http://www.person13.com * @author erixtekila copyleft http://www.v-i-a.net * @version 1.1 */ class com.person13.ascb.util.Proxy { /** * Méthode factory pour appliquer une référence à un callback * Note : Le dernier paramètre envoyé à la méthode proxiée et une référence au proxy. * Ainsi, depuis celle-ci il est possible de le déréférencer. * cf http://dynamicflash.com/2005/02/delegate-class-refined * * @param oTarget Objet cible du callback. * @param fFunctionCallback. * @return Une référence à la fonction Proxy */ public static function create (oTarget:Object, fFunction:Function):Function { /* Modifié de l'original var aParameters:Array = new Array(); for(var i:Number = 2; i arguments.length; i++) { aParameters[i - 2] = arguments[i]; }*/ // Paramètres à passer au callback var aParameters:Array; aParameters = arguments.splice (2); // EventProxy, référence à une fonction var fProxy:Function = function ():Object { // Paramètres var aActualParameters:Array = arguments.concat (aParameters); // Rajout de la référence au Proxy à la fin des paramètres /** * Permet de déréférencer la proxy depuis la fonction soumise * Exemple : cf http://dynamicflash.com/2005/02/delegate-class-refined * * public function DFDelegateTest(textArea:TextArea) { * _textArea = textArea; * _textArea.addEventListener(change, Delegate.create(this, onTextAreaChange)); * } * * private function onTextAreaChange(event:Object, delegate:Function) : Void { * _textArea.removeEventListener(change, delegate); * } */ aActualParameters.push (arguments.callee);
RE: [Flashcoders] Re: protecting SWFs
How much control over the map end do you have? Are they vector or raster? Are you using Flash 8? 2 Scenarios for you if you have control of the map content: Vector maps: Produce in SVG then use an SVG to Flash drawing API routine to draw the maps in from loaded XML files. Raster maps with Flash 8: Scramble your image with a tile based algorythm, then use bitmap data to unscramble when the image is loaded into flash. These techniques in combination with others discussed here should make it not worth the effort to try and get to the content. Food for thought? M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Naz Sent: 09 June 2006 14:12 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Re: protecting SWFs As Tom explained, If your app loads external swf's you cannot protect them, you can only make them a little more difficult to access. Well, technically, there is a way... Fragment the assets in such a way that if a decompiler is used, the user ends up with unusable map fragments instead of usable chunks of maps... But yes, remember the limitations of content security with pertaining to flash. Ultimately, I think it's about implementing a certain level of hassle such that the bulk of your target demographic won't even bother trying to steal your content vs. actually paying for it. Regards, -Naz http://www.object404.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] Is Object scope lost when using Delegate?
You can use com.dynamicflash.utils.Delegate instead of mx.utils.Delegate and pass the myNewMc clip as an argument to onMenuRelease. person13's Proxy class can also be used similarly. -mark hawley Jeff Jonez wrote: I'm wondering if, when I use the Delegate class to set the scope of an event handler, is it possible to reference the previous scope? My problem is this... I have a class which implements a menu. Each menu item is a movieclip and I add new menu items by calling a function called addChild like this. var myMenu: new Menu(); myMenu.addChild( Item1 ); myMenu.addChild( Item2 ); In class Menu, the function addChild does something like this, funciton addChild( txt:String ):Void { // make new mc, with a text field and set the txt myNewMc.onRelease = Delegate( this, onMenuRelease ); { function onMenuRelease( ):Void { // here I want to access class variable No problem! // now I want to change properties of myNewMc! How do I access it? // If I have 12 menu items, how can I know which one was triggered the onRelease!? } So, when I get to the onRelease event handler, is there a way to reference the scope of the MC that the event hander is attached to? Or, because I used Delegate has the mc scope been lost and I need to somehow keep track of that by, perhaps setting a focus variable or something... Makes sense? 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] Is Object scope lost when using Delegate?
Hi Jeff So, when I get to the onRelease event handler, is there a way to reference the scope of the MC that the event hander is attached to? Or, because I used Delegate has the mc scope been lost and I need to somehow keep track of that by, perhaps setting a focus variable or something... If you are to use an extended version of the Delegate class (like http://dynamicflash.com/2005/02/delegate-class-refined/), then you can send the reference to the button-clip as an extra argument: myNewMc.onRelease = Delegate( this, onMenuRelease, myNewMc ); And receive it like: function onMenuRelease( pressedMc:MovieClip ):Void That would be a clean solution :) -- Morten Barklund ___ 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 link on hover
Thank you for the reply David, I appreciate it. On 6/9/06, David Bellerive [EMAIL PROTECTED] wrote: You wish as been granted :) You can call another actionscript function from within a dynamic textfield by setting it's html property to true and using asfunction within the anchor tag like this : tfMyTextField.html = true; tfMyTextField.htmlText = a href=\asfunction:fMyFunction,sMyParameter\/a; where fMyFunction is the name of the function you want to call when the user clicks the link and sMyParameter is a parameter to pass to that function. Only one parameter can be passed to the function. I wish you were wrong too =[ Thanks though Mick M. On 6/8/06, Jim Kremens [EMAIL PROTECTED] wrote: Wait, I know you can get hovers, but can you catch the hover 'event' and use it to, for example, call another function? I think that was his question, and as far as I know, there is no 'onHover' event. I'd like to be wrong... Jim Kremens On 6/8/06, Mick G [EMAIL PROTECTED] wrote: Yes, you'll need to set up style in Flash... A:hover is supported in Flash. http://www.actionscript.org/tutorials/beginner/css_in_flash/index.shtml On 6/9/06, elibol [EMAIL PROTECTED] wrote: Does anyone know if it's possible to trigger an event with a text link hover state? ___ 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 -- 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 __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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] Is Object scope lost when using Delegate?
can you not add your children in a loop? then pass in i, set i as an index prop of your clip, push all clips into an array and use the index to reference the clip in the array On 6/9/06, Morten Barklund [EMAIL PROTECTED] wrote: Hi Jeff So, when I get to the onRelease event handler, is there a way to reference the scope of the MC that the event hander is attached to? Or, because I used Delegate has the mc scope been lost and I need to somehow keep track of that by, perhaps setting a focus variable or something... If you are to use an extended version of the Delegate class (like http://dynamicflash.com/2005/02/delegate-class-refined/), then you can send the reference to the button-clip as an extra argument: myNewMc.onRelease = Delegate( this, onMenuRelease, myNewMc ); And receive it like: function onMenuRelease( pressedMc:MovieClip ):Void That would be a clean solution :) -- Morten Barklund ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] FLVplayback - Please Help
I'm having problems with the FLVPlayback. When I give it a url that doesn't exist, the state changes to CONNECTION_ERROR. But after that I don't seem to be able to load a new url into the FLVplayback-component. In draw() all components are created, in update, components are updated. private function createVideoComponent():Void{ logger.debug(createVideoComponent()); this._videoPlayer = FLVPlayback(this.getMovieClip().attachMovie(FLVPlayback, my_FLVPlybk, this.movieClip.getNextHighestDepth(), {width:320, height:240, x:0, y:0})); this._videoPlayer.skin = ClearOverPlaySeekMute.swf; this._videoPlayer.autoSize = true; this._videoPlayer.autoPlay = false; this._videoPlayer.maintainAspectRatio = true; this._videoPlayer.idleTimeout = 10; this._videoPlayer.addEventListener(stateChange, Delegate.create(this, videoPlayer_OnStateChanged)); this._videoPlayer.addEventListener(complete, Delegate.create(this, videoPlayer_OnComplete)); } private function videoPlayer_OnStateChanged(eventObject:Object):Void{ logger.info(videoPlayer_OnStateChanged : + this._videoPlayer.state); if(this._videoPlayer.state == FLVPlayback.CONNECTION_ERROR){ this._playButtonComponent._visible = false; this._playButtonLabel._visible = false; this._imageComponent._visible = true; }else{ logger.info(set playbutton visible); this._playButtonComponent.getMovieClip()._visible = true; this._playButtonLabel.getMovieClip()._visible = true; } resize(); } private function videoPlayer_OnComplete(evt:Object):Void{ logger.debug(videoPlayer_OnComplete()); this._imageComponent._visible = true; } private function updateVideoComponent(url:String):Void{ logger.debug(updateVideoComponent( + url + )); this._videoPlayer.stop(); this._videoPlayer.contentPath = ShellLocator.getInstance().shell.mapPath(url); this._videoPlayer.enabled = false; } public function draw():Void{ logger.debug(draw() -- movieClip : + this.movieClip); createImageComponent(); createVideoComponent(); createTextComponent(); createPlayButtonLabel(); createPlayButtonComponent(); createPlayFullMovieButtonComponent(); createPlayFullMovieGraphicLabel(); createStepsLine(); } public function update(o:Observable, infoObj:Object):Void { logger.debug(update()); this._imageComponent.getMovieClip().swapDepths(this.movieClip.getNextHig hestDepth()); var actions:AttemptActionCollection = ProcedureAttempt(getAttempt()).getActions(); var action:ProcedureAttemptAction = actions[0]; var images:Array = action.step.getAssetsByType(AssetType.IMAGE); var image:Asset = images[0]; this.updateImageComponent(image); var videos:Array = action.step.getAssetsByType(AssetType.VIDEO); var video:Asset = videos[0]; this.updateVideoComponent(video.getValue()); var texts:Array = action.step.getAssetsByType(AssetType.TEXT); var text:Asset = texts[0]; this.updateTextArea(b + action.step.getName() + /b + brbr + text.getValue()); //resize(); } lieven cardoen indiegroup interactive digital experience engelse wandeling 2 k18 b8500 kortrijk T +32 (0)56/361 197 // communicatie bij voorkeur op [EMAIL
[Flashcoders] Re: Text link on hover
not really... we were discussing hovers, not clicks... On 6/9/06, David Bellerive [EMAIL PROTECTED] wrote: You wish as been granted :) You can call another actionscript function from within a dynamic textfield by setting it's html property to true and using asfunction within the anchor tag like this : tfMyTextField.html = true; tfMyTextField.htmlText = a href=\asfunction:fMyFunction,sMyParameter\/a; where fMyFunction is the name of the function you want to call when the user clicks the link and sMyParameter is a parameter to pass to that function. Only one parameter can be passed to the function. I wish you were wrong too =[ Thanks though Mick M. On 6/8/06, Jim Kremens [EMAIL PROTECTED] wrote: Wait, I know you can get hovers, but can you catch the hover 'event' and use it to, for example, call another function? I think that was his question, and as far as I know, there is no 'onHover' event. I'd like to be wrong... Jim Kremens On 6/8/06, Mick G [EMAIL PROTECTED] wrote: Yes, you'll need to set up style in Flash... A:hover is supported in Flash. http://www.actionscript.org/tutorials/beginner/css_in_flash/index.shtml On 6/9/06, elibol [EMAIL PROTECTED] wrote: Does anyone know if it's possible to trigger an event with a text link hover state? ___ 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 -- 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 __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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 -- 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] Is Object scope lost when using Delegate?
This is exactly what I was looking for, cheers Mark and Morten! myNewMc.onRelease = Delegate( this, onMenuRelease, myNewMc ); Previously, I kept a reference to my class in mc variable, which wasn't so bad codewise... not sure if there are other side effects to doing that. Re: Matt can you not add your children in a loop? The children or menu items are added and removed dynamically by calling add/remove child ( and then I animate them on and off) from some other class that wants to use the menu ___ 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] Validating Zip Code for Tax Purposes
Hi, everyone I'm building an ecommerce site and need to calculate state tax for California based upon user input in a zip code field. Has anyone done this before? Would you possibly have some example code or point me in the right direction? Thanks, Dave ___ 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] Validating Zip Code for Tax Purposes
Never done it before, but have you considered finding a Web Service provider that does it for you and all you have to do is pass it the variables? Here's one I found quickly doing a google search: http://www.strikeiron.com/ProductDetail.aspx?p=105 By using a web service provider to manage this for you, then you don't have to worry about tax codes and law changes. No liability! Doug Coning Senior Web Development Programmer FORUM Solutions, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Digital Rust Sent: Friday, June 09, 2006 11:42 AM To: Flashcoders mailing list Subject: [Flashcoders] Validating Zip Code for Tax Purposes Hi, everyone I'm building an ecommerce site and need to calculate state tax for California based upon user input in a zip code field. Has anyone done this before? Would you possibly have some example code or point me in the right direction? Thanks, Dave ___ 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 any attachment(s) are intended for the specified recipient(s) only and are legally protected. If you have received this communication in error, please reply to sender's e-mail address with notification of the error and then destroy this message in all electronic and physical forms. ___ 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] Flash SWF Loading fine, but Remoting hangs...
Hello All, I have a very intense problem, that must be addressed ASAP - our users are getting really angry :( We have a typical AS 2.0 Flash Application to view maps - and we are using Remoting w/ColdFusion in order to send our data back and forth. For only like 5% of the users, the application starts and loads completely with all it's related controls. BUT when the time comes for the initial Remoting call to the server (which populates all the dropdowns, etc.) it just hangs indefinitely - and we just can't figure out what is going on. The other 95% of the user base is working perfect! We have had comments regarding security settings, etc. so I know some users may have problems there, and some have Corporate Firewall problems - but that type of issue has to be addressed with the Admin person. We are using the JavaScript document.write method to write out the Flash Object tags - in order to circumvent the Click to Activate this control problem. What issues are we not seeing, or taking into consideration, which would affect this 5% of the user base? Also, a quick note, we are running ColdFusion on Port 80 - so there are no other port issues that I am aware of (in case some users were blocking port 8500). I was confident that if we ran everything on Port 80, that this app would be friendly to all Firewalls. Thanks in advance, for any advice you can throw my way. 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] Validating Zip Code for Tax Purposes
And better yet, find 2-3 unique Web Service providers - That way, in case one website is down, you can write code that will retrieve data from the 2nd provider, in case the 1st provider times out. I like doing things myself too, and having total control over everything - but in cases like this, it usually is better to let a web service handle the work. Just make sure and cover the bases, with multiple web service providers. Hope that little tidbit of info helps :) Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Coning Sent: Friday, June 09, 2006 10:50 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Validating Zip Code for Tax Purposes Never done it before, but have you considered finding a Web Service provider that does it for you and all you have to do is pass it the variables? Here's one I found quickly doing a google search: http://www.strikeiron.com/ProductDetail.aspx?p=105 By using a web service provider to manage this for you, then you don't have to worry about tax codes and law changes. No liability! Doug Coning Senior Web Development Programmer FORUM Solutions, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Digital Rust Sent: Friday, June 09, 2006 11:42 AM To: Flashcoders mailing list Subject: [Flashcoders] Validating Zip Code for Tax Purposes Hi, everyone I'm building an ecommerce site and need to calculate state tax for California based upon user input in a zip code field. Has anyone done this before? Would you possibly have some example code or point me in the right direction? Thanks, Dave ___ 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 any attachment(s) are intended for the specified recipient(s) only and are legally protected. If you have received this communication in error, please reply to sender's e-mail address with notification of the error and then destroy this message in all electronic and physical forms. ___ 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] Flash SWF Loading fine, but Remoting hangs...
Does ColdFusion have all available patches installed? There was a bug with the first Remoting call in CF7 which was fixed by the first updater. That is the first thing that comes to mind. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Anderson Sent: Friday, June 09, 2006 11:57 AM To: Flashcoders mailing list Subject: [Flashcoders] Flash SWF Loading fine, but Remoting hangs... Hello All, I have a very intense problem, that must be addressed ASAP - our users are getting really angry :( We have a typical AS 2.0 Flash Application to view maps - and we are using Remoting w/ColdFusion in order to send our data back and forth. For only like 5% of the users, the application starts and loads completely with all it's related controls. BUT when the time comes for the initial Remoting call to the server (which populates all the dropdowns, etc.) it just hangs indefinitely - and we just can't figure out what is going on. The other 95% of the user base is working perfect! We have had comments regarding security settings, etc. so I know some users may have problems there, and some have Corporate Firewall problems - but that type of issue has to be addressed with the Admin person. We are using the JavaScript document.write method to write out the Flash Object tags - in order to circumvent the Click to Activate this control problem. What issues are we not seeing, or taking into consideration, which would affect this 5% of the user base? Also, a quick note, we are running ColdFusion on Port 80 - so there are no other port issues that I am aware of (in case some users were blocking port 8500). I was confident that if we ran everything on Port 80, that this app would be friendly to all Firewalls. Thanks in advance, for any advice you can throw my way. 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] Flash SWF Loading fine, but Remoting hangs...
Do the 5% have the same http: browsing capabilities as the 95%? I had a similar issue and found out because I was new here, and even though I could browse to most web sites, unknown to me my http access was somewhat restricted until I was granted full, regular access. Are there any possible http access restrictions on these users for some reason? JavaScript document.write method to write out the Flash Object tags - That shouldn't have anything to do with it since you said the application starts - so they are past the Javascript at that point. It sounds like the Remoting call is failing for those users for some reason. And is it always the same 5% or is it 5% of random users? If it's random, I have also had problems with network blips because someone else was working on an application at the time or whatever. If it's always the same 5% then it seems to be due to something specific to their configuration and not a network blip. Anyway, things to think about. Jason Merrill Bank of America Learning Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Mike Anderson Sent: Friday, June 09, 2006 11:57 AM To: Flashcoders mailing list Subject: [Flashcoders] Flash SWF Loading fine, but Remoting hangs... Hello All, I have a very intense problem, that must be addressed ASAP - our users are getting really angry :( We have a typical AS 2.0 Flash Application to view maps - and we are using Remoting w/ColdFusion in order to send our data back and forth. For only like 5% of the users, the application starts and loads completely with all it's related controls. BUT when the time comes for the initial Remoting call to the server (which populates all the dropdowns, etc.) it just hangs indefinitely - and we just can't figure out what is going on. The other 95% of the user base is working perfect! We have had comments regarding security settings, etc. so I know some users may have problems there, and some have Corporate Firewall problems - but that type of issue has to be addressed with the Admin person. We are using the JavaScript document.write method to write out the Flash Object tags - in order to circumvent the Click to Activate this control problem. What issues are we not seeing, or taking into consideration, which would affect this 5% of the user base? Also, a quick note, we are running ColdFusion on Port 80 - so there are no other port issues that I am aware of (in case some users were blocking port 8500). I was confident that if we ran everything on Port 80, that this app would be friendly to all Firewalls. Thanks in advance, for any advice you can throw my way. 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] Littleloud: Flash Developer Position
The package is negotiable. We're located in Brighton UK, but you really shouldn't have had any problem finding that out by looking at our website. How much is the position providing and what benefits? Also, where are you located? Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of matt zb Sent: 09 June 2006 13:11 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Littleloud: Flash Developer Position Hi folks, we have a job opportunity. Littleloud are looking for a technical developer who can demonstrate enthusiasm and skills in delivering high-end entertainment content using Flash. The post will require a keen interest in game design and creative interface development. Although not a key aspect of the job role, we are also looking for someone who has a basic working knowledge of small office network administration. Core Skills include: Flash AS2 XML XHTML CSS Javascript Windows Server, LAN, DNS, IIS + FTP Admin Candidates will initially need to present examples of their recent work via email to [EMAIL PROTECTED] This could include game development or applications in flash. For more info on LL, see www.littleloud.com matt zb ___ 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 SWF Loading fine, but Remoting hangs...
Yes, it's the SAME 5% of the users - So there must be something in common with all these people. Please keep those comments coming :) I need all the help I can get right now! Many thanks! Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, June 09, 2006 11:22 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Flash SWF Loading fine, but Remoting hangs... Do the 5% have the same http: browsing capabilities as the 95%? I had a similar issue and found out because I was new here, and even though I could browse to most web sites, unknown to me my http access was somewhat restricted until I was granted full, regular access. Are there any possible http access restrictions on these users for some reason? JavaScript document.write method to write out the Flash Object tags - That shouldn't have anything to do with it since you said the application starts - so they are past the Javascript at that point. It sounds like the Remoting call is failing for those users for some reason. And is it always the same 5% or is it 5% of random users? If it's random, I have also had problems with network blips because someone else was working on an application at the time or whatever. If it's always the same 5% then it seems to be due to something specific to their configuration and not a network blip. Anyway, things to think about. Jason Merrill Bank of America Learning Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Mike Anderson Sent: Friday, June 09, 2006 11:57 AM To: Flashcoders mailing list Subject: [Flashcoders] Flash SWF Loading fine, but Remoting hangs... Hello All, I have a very intense problem, that must be addressed ASAP - our users are getting really angry :( We have a typical AS 2.0 Flash Application to view maps - and we are using Remoting w/ColdFusion in order to send our data back and forth. For only like 5% of the users, the application starts and loads completely with all it's related controls. BUT when the time comes for the initial Remoting call to the server (which populates all the dropdowns, etc.) it just hangs indefinitely - and we just can't figure out what is going on. The other 95% of the user base is working perfect! We have had comments regarding security settings, etc. so I know some users may have problems there, and some have Corporate Firewall problems - but that type of issue has to be addressed with the Admin person. We are using the JavaScript document.write method to write out the Flash Object tags - in order to circumvent the Click to Activate this control problem. What issues are we not seeing, or taking into consideration, which would affect this 5% of the user base? Also, a quick note, we are running ColdFusion on Port 80 - so there are no other port issues that I am aware of (in case some users were blocking port 8500). I was confident that if we ran everything on Port 80, that this app would be friendly to all Firewalls. Thanks in advance, for any advice you can throw my way. 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 ___ 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] Littleloud: Flash Developer Position
but you really shouldn't have had any problem finding that out by looking at our website. And these are the nice people you want to work for. :) Jason Merrill Bank of America Learning Technology Solutions ___ 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] Flex List?
I asked the question end of day yesterday about converting javascript (AJAX) to Flex. It dawned on me that I should probably really be asking that question on a Flex Listserve. Is there one? Someone mentioned one the other day, but I can't for the life of me find the message that referenced it. I know that figleaf doesn't have a Flex listserve :-( so what is the best most active Flex list? TIA, Dan Dan Thatcher Online Learning The American Academy of Professional Coders 801-238-9893 (office) 801-879-9253 (mobile) ___ 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] Flex List?
http://www.flexcoders.org http://groups.yahoo.com/group/flexcoders -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Thatcher Sent: Friday, June 09, 2006 12:38 PM To: 'Flashcoders mailing list' Subject: [Flashcoders] Flex List? I asked the question end of day yesterday about converting javascript (AJAX) to Flex. It dawned on me that I should probably really be asking that question on a Flex Listserve. Is there one? Someone mentioned one the other day, but I can't for the life of me find the message that referenced it. I know that figleaf doesn't have a Flex listserve :-( so what is the best most active Flex list? TIA, Dan Dan Thatcher Online Learning The American Academy of Professional Coders 801-238-9893 (office) 801-879-9253 (mobile) ___ 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] Flex List?
Yup: http://groups.yahoo.com/group/flexcoders/ Jason Merrill Bank of America Learning Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Dan Thatcher Sent: Friday, June 09, 2006 12:38 PM To: 'Flashcoders mailing list' Subject: [Flashcoders] Flex List? I asked the question end of day yesterday about converting javascript (AJAX) to Flex. It dawned on me that I should probably really be asking that question on a Flex Listserve. Is there one? Someone mentioned one the other day, but I can't for the life of me find the message that referenced it. I know that figleaf doesn't have a Flex listserve :-( so what is the best most active Flex list? TIA, Dan Dan Thatcher Online Learning The American Academy of Professional Coders 801-238-9893 (office) 801-879-9253 (mobile) ___ 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] Flash SWF Loading fine, but Remoting hangs...
I don't know whether this applies to your situation but... We had a similar issue that was caused by anomalies in the data (believe it or not). It was a billing system built in Flash with a ColdFusion middle tier and a SQL Server backend. When one particular user pulled up certain accounts, the Flash UI would freeze on her. I know this doesn't make sense, but we solved it by analyzing the data in the accounts in question and looking for anomalies. We removed these anomalies, and sure enough the user's problem disappeared. We never figured out why these anomalies affected the Flash player, nor did we figure out why they *didn't* affect anyone else's player except for that one user. But the same issue arose with several different client accounts and that same user. -Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Anderson Sent: Friday, June 09, 2006 12:23 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Flash SWF Loading fine, but Remoting hangs... Yes, it's the SAME 5% of the users - So there must be something in common with all these people. Please keep those comments coming :) I need all the help I can get right now! Many thanks! Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, June 09, 2006 11:22 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Flash SWF Loading fine, but Remoting hangs... Do the 5% have the same http: browsing capabilities as the 95%? I had a similar issue and found out because I was new here, and even though I could browse to most web sites, unknown to me my http access was somewhat restricted until I was granted full, regular access. Are there any possible http access restrictions on these users for some reason? JavaScript document.write method to write out the Flash Object tags - That shouldn't have anything to do with it since you said the application starts - so they are past the Javascript at that point. It sounds like the Remoting call is failing for those users for some reason. And is it always the same 5% or is it 5% of random users? If it's random, I have also had problems with network blips because someone else was working on an application at the time or whatever. If it's always the same 5% then it seems to be due to something specific to their configuration and not a network blip. Anyway, things to think about. Jason Merrill Bank of America Learning Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Mike Anderson Sent: Friday, June 09, 2006 11:57 AM To: Flashcoders mailing list Subject: [Flashcoders] Flash SWF Loading fine, but Remoting hangs... Hello All, I have a very intense problem, that must be addressed ASAP - our users are getting really angry :( We have a typical AS 2.0 Flash Application to view maps - and we are using Remoting w/ColdFusion in order to send our data back and forth. For only like 5% of the users, the application starts and loads completely with all it's related controls. BUT when the time comes for the initial Remoting call to the server (which populates all the dropdowns, etc.) it just hangs indefinitely - and we just can't figure out what is going on. The other 95% of the user base is working perfect! We have had comments regarding security settings, etc. so I know some users may have problems there, and some have Corporate Firewall problems - but that type of issue has to be addressed with the Admin person. We are using the JavaScript document.write method to write out the Flash Object tags - in order to circumvent the Click to Activate this control problem. What issues are we not seeing, or taking into consideration, which would affect this 5% of the user base? Also, a quick note, we are running ColdFusion on Port 80 - so there are no other port issues that I am aware of (in case some users were blocking port 8500). I was confident that if we ran everything on Port 80, that this app would be friendly to all Firewalls. Thanks in advance, for any advice you can throw my way. 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 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the
RE: [Flashcoders] Flash SWF Loading fine, but Remoting hangs...
Jim, Curious, did the individual that had the problem have the same version of Flash Player? I'm sure you checked that out, but that is a curious problem... Doug Coning Senior Web Development Programmer FORUM Solutions, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Jim Robson Sent: Friday, June 09, 2006 12:44 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Flash SWF Loading fine, but Remoting hangs... I don't know whether this applies to your situation but... We had a similar issue that was caused by anomalies in the data (believe it or not). It was a billing system built in Flash with a ColdFusion middle tier and a SQL Server backend. When one particular user pulled up certain accounts, the Flash UI would freeze on her. I know this doesn't make sense, but we solved it by analyzing the data in the accounts in question and looking for anomalies. We removed these anomalies, and sure enough the user's problem disappeared. We never figured out why these anomalies affected the Flash player, nor did we figure out why they *didn't* affect anyone else's player except for that one user. But the same issue arose with several different client accounts and that same user. -Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Anderson Sent: Friday, June 09, 2006 12:23 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Flash SWF Loading fine, but Remoting hangs... Yes, it's the SAME 5% of the users - So there must be something in common with all these people. Please keep those comments coming :) I need all the help I can get right now! Many thanks! Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, June 09, 2006 11:22 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Flash SWF Loading fine, but Remoting hangs... Do the 5% have the same http: browsing capabilities as the 95%? I had a similar issue and found out because I was new here, and even though I could browse to most web sites, unknown to me my http access was somewhat restricted until I was granted full, regular access. Are there any possible http access restrictions on these users for some reason? JavaScript document.write method to write out the Flash Object tags - That shouldn't have anything to do with it since you said the application starts - so they are past the Javascript at that point. It sounds like the Remoting call is failing for those users for some reason. And is it always the same 5% or is it 5% of random users? If it's random, I have also had problems with network blips because someone else was working on an application at the time or whatever. If it's always the same 5% then it seems to be due to something specific to their configuration and not a network blip. Anyway, things to think about. Jason Merrill Bank of America Learning Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Mike Anderson Sent: Friday, June 09, 2006 11:57 AM To: Flashcoders mailing list Subject: [Flashcoders] Flash SWF Loading fine, but Remoting hangs... Hello All, I have a very intense problem, that must be addressed ASAP - our users are getting really angry :( We have a typical AS 2.0 Flash Application to view maps - and we are using Remoting w/ColdFusion in order to send our data back and forth. For only like 5% of the users, the application starts and loads completely with all it's related controls. BUT when the time comes for the initial Remoting call to the server (which populates all the dropdowns, etc.) it just hangs indefinitely - and we just can't figure out what is going on. The other 95% of the user base is working perfect! We have had comments regarding security settings, etc. so I know some users may have problems there, and some have Corporate Firewall problems - but that type of issue has to be addressed with the Admin person. We are using the JavaScript document.write method to write out the Flash Object tags - in order to circumvent the Click to Activate this control problem. What issues are we not seeing, or taking into consideration, which would affect this 5% of the user base? Also, a quick note, we are running ColdFusion on Port 80 - so there are no other port issues that I am aware of (in case some users were blocking port 8500). I was confident that if we ran everything on Port 80, that this app would be friendly to all Firewalls. Thanks in advance, for any advice you can throw my way. Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Flash SWF Loading fine, but Remoting hangs...
Yes, her system was ostensibly identical to other systems in the same billing department: same hardware, same OS / version, same browser / version, same Flash player / version. The only other time I remember an incident similar to yours was when we built an app using the WebServiceConnector component in Flash 7. For a small % of users the app would load, but it was devoid of data. It turned out to be a firewall issue. We ended up rebuilding the app using LoadVars objects (Remoting was not available, as the backend was all Micro$oft products.) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Coning Sent: Friday, June 09, 2006 12:48 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Flash SWF Loading fine, but Remoting hangs... Jim, Curious, did the individual that had the problem have the same version of Flash Player? I'm sure you checked that out, but that is a curious problem... Doug Coning Senior Web Development Programmer FORUM Solutions, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Jim Robson Sent: Friday, June 09, 2006 12:44 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Flash SWF Loading fine, but Remoting hangs... I don't know whether this applies to your situation but... We had a similar issue that was caused by anomalies in the data (believe it or not). It was a billing system built in Flash with a ColdFusion middle tier and a SQL Server backend. When one particular user pulled up certain accounts, the Flash UI would freeze on her. I know this doesn't make sense, but we solved it by analyzing the data in the accounts in question and looking for anomalies. We removed these anomalies, and sure enough the user's problem disappeared. We never figured out why these anomalies affected the Flash player, nor did we figure out why they *didn't* affect anyone else's player except for that one user. But the same issue arose with several different client accounts and that same user. -Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Anderson Sent: Friday, June 09, 2006 12:23 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Flash SWF Loading fine, but Remoting hangs... Yes, it's the SAME 5% of the users - So there must be something in common with all these people. Please keep those comments coming :) I need all the help I can get right now! Many thanks! Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, June 09, 2006 11:22 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Flash SWF Loading fine, but Remoting hangs... Do the 5% have the same http: browsing capabilities as the 95%? I had a similar issue and found out because I was new here, and even though I could browse to most web sites, unknown to me my http access was somewhat restricted until I was granted full, regular access. Are there any possible http access restrictions on these users for some reason? JavaScript document.write method to write out the Flash Object tags - That shouldn't have anything to do with it since you said the application starts - so they are past the Javascript at that point. It sounds like the Remoting call is failing for those users for some reason. And is it always the same 5% or is it 5% of random users? If it's random, I have also had problems with network blips because someone else was working on an application at the time or whatever. If it's always the same 5% then it seems to be due to something specific to their configuration and not a network blip. Anyway, things to think about. Jason Merrill Bank of America Learning Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Mike Anderson Sent: Friday, June 09, 2006 11:57 AM To: Flashcoders mailing list Subject: [Flashcoders] Flash SWF Loading fine, but Remoting hangs... Hello All, I have a very intense problem, that must be addressed ASAP - our users are getting really angry :( We have a typical AS 2.0 Flash Application to view maps - and we are using Remoting w/ColdFusion in order to send our data back and forth. For only like 5% of the users, the application starts and loads completely with all it's related controls. BUT when the time comes for the initial Remoting call to the server (which populates all the dropdowns, etc.) it just hangs indefinitely - and we just can't figure out what is going on. The other 95% of the user base is working perfect! We have had comments regarding security settings, etc. so I know some users may have problems there, and some have Corporate Firewall problems - but that type of issue has to be addressed with the Admin person. We are using
[Flashcoders] Whats the best tooltip component
Hi Weyert, I posted a fully customizable tooltip component on my blog, http://www.neo-archaic.net/blog/2006/05/09/tooltip.htm, complete with a demo on how to use it. I hope this is what you were looking for. Karina Karina Steffens | Neo-Archaic creative technical new media design http://www.neo-archaic.net/ www.neo-archaic.net ___ 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] Whats the best tooltip component (actionsciptable)
As an ActionScript programmer, I personally liked this one: http://www.neo-archaic.net/blog/2006/05/09/tooltip.htmSimple and effective: No .mxp, no .fla, no super-complex code to setup, just a single .as file to drop in. Additionally, it seems lots of people are building super-fancy tooltips and somehow simply forgot the basics(!): It must work well and behave as expected. Looking at the source, it sounds like it works with or without the mx components automagically. B. 2006/6/8, Rajat Paharia [EMAIL PROTECTED]: I have been very happy with these: http://blog.pixelconsumption.com/?p=19 http://www.frogstyle.ch/go.cfm?tooltip_componentlanguage=en best, - rajat On 6/8/06, T. van Zantvoort [EMAIL PROTECTED] wrote: Hi there, I am looking for a great tooltip component and/or script. I have tried several but they just don't qualify. With one I have font problems, with the other embed problems and another delay, display / don't display problems etc. etc. Is there something else out there?? met vriendelijke groeten, T. van Zantvoort MonTay WebArchitects T: +31 (0)40-2300898 F: +31 (0)40-2954071 E: [EMAIL PROTECTED] W: www.montay.nl Hardware: www.mlife.nl E-shop: www.vsnet.nl Own Site: www.1site2start.nl ___ 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 -- Rajat Paharia [EMAIL PROTECTED] http://www.bunchball.com http://www.rootburn.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] Whats the best tooltip component
Hi Karina, This has some nice features but some problems viewing the demo. In FireFox it doesn't show at all. In I.E. 6 it doesn't show and I get a Flash required message. I was able to view it only by looking at the source and opening the swf directly. It would be nice if the tooltip width were dependent on the text string. That shouldn't be too hard to add, just draw the background after establishing the textfield.text.width. Marc At 10:11 AM 6/9/2006, you wrote: Hi Weyert, I posted a fully customizable tooltip component on my blog, http://www.neo-archaic.net/blog/2006/05/09/tooltip.htm, complete with a demo on how to use it. I hope this is what you were looking for. Karina ___ 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] Duplicate linkage id weirdness
So I had some weirdness publishing a file that I just got back from a client who had someone swap an entire new graphic interface, but left my code intact. I had some movieclips with some linkage ID, and they had a class associated with them that I wrote to make them act like buttons. Also, I had some components like the drop down menu component, and others. Anyway I was publishingsome of my stuff didn't work anymore. I thought this was the client breaking things. I decided to publish to flash 8 (I was publishing to flash 6), to see if I got different results. Well it worked. Then I published to 6 again. It worked again! So now I can publish to 6 no problem for some reason. But, when I publish to 8, I get a weird error message: **Warning** The linkage identifier 'standardsBtn' was already assigned to the symbol 'btns/standardsBtn', and cannot be assigned to the symbol 'btns/standardsBtn', since linkage identifiers must be unique. Can anyone explain? If I had duplicate symbols, I can very much see why the things that didn't work weren't working before. But it seems to be saying that my duplicates are the originals themselves!! My explanation is that my library is screwy. But i'd appreciate a more technical explanation! Thanks very much! ben ___ 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 link on hover
Hi Greg, Yea, really is funny... Were your textfields multiline? I've tried the img tag solution, the problem is that it does not snuggle between text, the tag must be either left or right justified so it's never where it should be. So far I've built a function that gets the x/y ( relative to textfield ) and w/h of a string from a textfield. getWordRect(textField, searchString) This returns a rectangle object that describes the word rectangle. I am planning to use this with a mouse hotspot class I've written a while ago. This will allow me to pass the rectangle objects and create a hover entity that will broadcast the entity {id,x,y,w,h} to the hover event handler. It's pretty fricken elaborate. I think this functionality will be useful as Flex does not even support these kinds of functions so I will post this stuff on my site soon. I plan to implement a getLineMetrics style function as the base code that the getWordRect is driven with will allow me to do this relatively easily. I plan to build a sub function of getWordRect that will get all word rectangles of a searchString. Word to the Adobe developers, I think this is functionality the TextField class in Flex should implement. I also think htmlText for TextField Objects should have a realtime DOM. M. On 6/9/06, GregoryN [EMAIL PROTECTED] wrote: well, The only solution I can suggest (and I've used it several times) is to make each of your links embedded into separate mc. But I was making just quite short html texts dynamically at runtime. Depending on situation you may have to embed an SWF within IMG tag and use some kind of flashvars to set it's behavior . Funny, isn't it? -- Best regards, GregoryN http://GOusable.com Flash components development. Usability services. ___ 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] Flash + XML processing instructions
I have to use a product called Documentum to publish documents to our webserver. I'm having an issue with it inserting processing instructions to my xml document as show below: pic image ?dctmEditor selectedPath=/wcs_images/graphics/adventures/photos/gal_00.jpg ? ?dctmLink chronic_id=0900029a800c829b object_id=0900029a800c829b edit_widget_type=graphic ? /graphics/adventures/photos/gal_00.jpg /image /pic This breaks Flash, but works with the original XML file which indicates image as: pic image/graphics/adventures/photos/gal_00.jpg/image /pic I'm looking for pointers on how I might strip the xml processing instructions from the xml with AS, or at least ignore them. Has anyone run into this before and by chance have a solution? Thanks, Corey ___ 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] Whats the best tooltip component
Note: the Firefox issue is a problem in the Demo html page. Not a problem in the tooltip itself of course. About the Width: The width parameter should be named maxwidth. It really does take the size of the text in consideration when computing the width. It simply max it out to the specified size (without being bigger than the whole Stage width). B. 2006/6/9, Marc Hoffman [EMAIL PROTECTED]: Hi Karina, This has some nice features but some problems viewing the demo. In FireFox it doesn't show at all. In I.E. 6 it doesn't show and I get a Flash required message. I was able to view it only by looking at the source and opening the swf directly. It would be nice if the tooltip width were dependent on the text string. That shouldn't be too hard to add, just draw the background after establishing the textfield.text.width. Marc At 10:11 AM 6/9/2006, you wrote: Hi Weyert, I posted a fully customizable tooltip component on my blog, http://www.neo-archaic.net/blog/2006/05/09/tooltip.htm, complete with a demo on how to use it. I hope this is what you were looking for. Karina ___ 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] Whats the best tooltip component
Hi Mark, Thanks for letting me know about the Firefox bug, it seems I've overcooked my Satay, and forgot to check it... Don't know why it doesn't show in IE 6, I'm using the ie 7 beta at the moment. It should be fixed now for Firefox. I just had someone with ie6 take a look, and she had no problem seeing the demo, so maybe that's fixed. But I'm using version check (with ObjectSwap) and it's Flash7. Are you sure your IE is updated for Flash? Karina -Original Message- From: Marc Hoffman [mailto:[EMAIL PROTECTED] Sent: 09 June 2006 18:25 To: Flashcoders mailing list Subject: Re: [Flashcoders] Whats the best tooltip component Hi Karina, This has some nice features but some problems viewing the demo. In FireFox it doesn't show at all. In I.E. 6 it doesn't show and I get a Flash required message. I was able to view it only by looking at the source and opening the swf directly. It would be nice if the tooltip width were dependent on the text string. That shouldn't be too hard to add, just draw the background after establishing the textfield.text.width. Marc At 10:11 AM 6/9/2006, you wrote: Hi Weyert, I posted a fully customizable tooltip component on my blog, http://www.neo-archaic.net/blog/2006/05/09/tooltip.htm, complete with a demo on how to use it. I hope this is what you were looking for. Karina ___ 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] Littleloud: Flash Developer Position
Heh.. That's exactly what I was just thinking. Wow...where do I sign up? :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 09, 2006 9:28 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Littleloud: Flash Developer Position but you really shouldn't have had any problem finding that out by looking at our website. And these are the nice people you want to work for. :) Jason Merrill Bank of America Learning Technology Solutions ___ 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] Littleloud: Flash Developer Position
I dont see the problem with them keeping the job email short, and saying get more info from our website? Ettwein, Josh wrote: Heh.. That's exactly what I was just thinking. Wow...where do I sign up? :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 09, 2006 9:28 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Littleloud: Flash Developer Position but you really shouldn't have had any problem finding that out by looking at our website. And these are the nice people you want to work for. :) Jason Merrill Bank of America Learning Technology Solutions ___ 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] Littleloud: Flash Developer Position
I think it was the tone... That's online communication for ya. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Weekes Sent: Friday, June 09, 2006 2:54 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Littleloud: Flash Developer Position I dont see the problem with them keeping the job email short, and saying get more info from our website? Ettwein, Josh wrote: Heh.. That's exactly what I was just thinking. Wow...where do I sign up? :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 09, 2006 9:28 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Littleloud: Flash Developer Position but you really shouldn't have had any problem finding that out by looking at our website. And these are the nice people you want to work for. :) Jason Merrill Bank of America Learning Technology Solutions ___ 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] Littleloud: Flash Developer Position
Its all about tone. Hank On 6/9/06, Nick Weekes [EMAIL PROTECTED] wrote: I dont see the problem with them keeping the job email short, and saying get more info from our website? Ettwein, Josh wrote: Heh.. That's exactly what I was just thinking. Wow...where do I sign up? :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 09, 2006 9:28 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Littleloud: Flash Developer Position but you really shouldn't have had any problem finding that out by looking at our website. And these are the nice people you want to work for. :) Jason Merrill Bank of America Learning Technology Solutions ___ 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] Littleloud: Flash Developer Position
Maybe he just forgot to put the ;) At the end. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of hank williams Sent: Friday, June 09, 2006 3:06 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Littleloud: Flash Developer Position Its all about tone. Hank On 6/9/06, Nick Weekes [EMAIL PROTECTED] wrote: I dont see the problem with them keeping the job email short, and saying get more info from our website? Ettwein, Josh wrote: Heh.. That's exactly what I was just thinking. Wow...where do I sign up? :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 09, 2006 9:28 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Littleloud: Flash Developer Position but you really shouldn't have had any problem finding that out by looking at our website. And these are the nice people you want to work for. :) Jason Merrill Bank of America Learning Technology Solutions ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Is Object scope lost when using Delegate?
ummm correct me if im wrong but onRelease you are passed an event object that contains the target of the event? so: funciton addChild( txt:String ):Void { // make new mc, with a text field and set the txt myNewMc.onRelease = Delegate( this, onMenuRelease ); { function onMenuRelease( event:Object):Void { event.target.myPropertyOfmyNewMc = somevalue; } I could be wrong however... Mike On 09/06/06, Jeff Jonez [EMAIL PROTECTED] wrote: This is exactly what I was looking for, cheers Mark and Morten! myNewMc.onRelease = Delegate( this, onMenuRelease, myNewMc ); Previously, I kept a reference to my class in mc variable, which wasn't so bad codewise... not sure if there are other side effects to doing that. Re: Matt can you not add your children in a loop? The children or menu items are added and removed dynamically by calling add/remove child ( and then I animate them on and off) from some other class that wants to use the menu ___ 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] Whats the best tooltip component
Thanks Bernard, I was just about to reply to that. You're right about the parameter naming, but I think it might be too late to do that without breaking backwards compatibility with scripts that already use that. Unless I keep both? Karina -Original Message- From: Bernard Poulin [mailto:[EMAIL PROTECTED] Sent: 09 June 2006 19:04 To: Flashcoders mailing list Subject: Re: [Flashcoders] Whats the best tooltip component Note: the Firefox issue is a problem in the Demo html page. Not a problem in the tooltip itself of course. About the Width: The width parameter should be named maxwidth. It really does take the size of the text in consideration when computing the width. It simply max it out to the specified size (without being bigger than the whole Stage width). B. 2006/6/9, Marc Hoffman [EMAIL PROTECTED]: Hi Karina, This has some nice features but some problems viewing the demo. In FireFox it doesn't show at all. In I.E. 6 it doesn't show and I get a Flash required message. I was able to view it only by looking at the source and opening the swf directly. It would be nice if the tooltip width were dependent on the text string. That shouldn't be too hard to add, just draw the background after establishing the textfield.text.width. Marc At 10:11 AM 6/9/2006, you wrote: Hi Weyert, I posted a fully customizable tooltip component on my blog, http://www.neo-archaic.net/blog/2006/05/09/tooltip.htm, complete with a demo on how to use it. I hope this is what you were looking for. Karina ___ 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] Whats the best tooltip component
scripts that already use that. Unless I keep both? ... Or maybe I should increase the default width? It's currently 200, but maybe 300 would be better? It can always be changed programmatically... ___ 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] Littleloud: Flash Developer Position
I think people should try to get the location in there, if they are looking for someone on-site.. it would for instance be a long commute for me... On Jun 9, 2006, at 3:16 PM, James Booth wrote: Maybe he just forgot to put the ;) At the end. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of hank williams Sent: Friday, June 09, 2006 3:06 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Littleloud: Flash Developer Position Its all about tone. Hank On 6/9/06, Nick Weekes [EMAIL PROTECTED] wrote: I dont see the problem with them keeping the job email short, and saying get more info from our website? Ettwein, Josh wrote: Heh.. That's exactly what I was just thinking. Wow...where do I sign up? :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 09, 2006 9:28 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Littleloud: Flash Developer Position but you really shouldn't have had any problem finding that out by looking at our website. And these are the nice people you want to work for. :) Jason Merrill Bank of America Learning Technology Solutions ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Is Object scope lost when using Delegate?
I'm afraid mike but you're wrong. The MovieClip.onRelease handler doesn't pass any parameter... From the help files : MovieClip.onRelease = function() {} What Jeff could do is using a Delegate alternative class that allows him to pass parameters to the handler, but he can also link his button movieclips to a class that would dispatch events: class MenuButton extends MovieClip { // EventDispatcher mix-in functions here public function MenuButton(){ EventDispatcher.initialize(this); } public function onRelease():Void { dispatchEvent({type:click, target:this}); } } class Menu extends MovieClip { private var btn1:MenuButton private var btn2:MenuButton public function Menu(){ btn1.addEventListener(click, Delegate.create(this, onMenuRelease); btn2.addEventListener(click, Delegate.create(this, onMenuRelease); } private function handleEvent(event:Object):Void { if (event.target == btn1) { // do some stuff... btn1.enabled = false; btn2.enabled = true; } if (event.target == btn2) { // do some stuff... btn2.enabled = false; btn1.enabled = true; } } } mike cann a écrit : ummm correct me if im wrong but onRelease you are passed an event object that contains the target of the event? so: funciton addChild( txt:String ):Void { // make new mc, with a text field and set the txt myNewMc.onRelease = Delegate( this, onMenuRelease ); { function onMenuRelease( event:Object):Void { event.target.myPropertyOfmyNewMc = somevalue; } I could be wrong however... Mike On 09/06/06, Jeff Jonez [EMAIL PROTECTED] wrote: This is exactly what I was looking for, cheers Mark and Morten! myNewMc.onRelease = Delegate( this, onMenuRelease, myNewMc ); Previously, I kept a reference to my class in mc variable, which wasn't so bad codewise... not sure if there are other side effects to doing that. Re: Matt can you not add your children in a loop? The children or menu items are added and removed dynamically by calling add/remove child ( and then I animate them on and off) from some other class that wants to use the menu ___ 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] mmog server
Hello, We about to start the production of a MMOG using flash. I'd like to know what type of server you would be using. So far we've been using flashcomm for multi user game but Smartfox seems to be another solution too. I'd like to have your input on this. Thank you, Mathieu Savard ___ 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] Whats the best tooltip component
Wow, I am sorry -- since reloading my entire computer a month ago, I never updated the Flash player for I.E. I've taken to using FF so neglected that point. I'm sure that was the problem. Marc At 11:44 AM 6/9/2006, you wrote: Are you sure your IE is updated for Flash? Karina ___ 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] Littleloud: Flash Developer Position
lol tone, yes - it was rude. But that's not the first thing that hit my mind. The first thing that hit my mind was: hrrmm, flash designer/developer/css/dhtml specialist with network admin background with knowledge of Windows Server, LAN, DNS, IIS + FTP Admin sooo, you wanna get someone to do alot of stuff, because your budget's small and you'd be happy to find a sucker with just enough ego to outweigh his actual experience/knowledge level. That way, you can entice them with a title and opportunity, and pay them less. Am I close? I wrote some company one time who advertised something similar that was based in Irvine california and told them what punks I thought they were. I actually had the abilities but it was clear they just wanted a sucker with marginal talent. Pay was around $40k. You can't live in the trash can behind Ralph's for that in Irvine. Sorry, if you hadn't been rude in your reply, I'd have let it go. On 6/9/06, hank williams [EMAIL PROTECTED] wrote: Its all about tone. Hank On 6/9/06, Nick Weekes [EMAIL PROTECTED] wrote: I dont see the problem with them keeping the job email short, and saying get more info from our website? Ettwein, Josh wrote: Heh.. That's exactly what I was just thinking. Wow...where do I sign up? :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 09, 2006 9:28 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Littleloud: Flash Developer Position but you really shouldn't have had any problem finding that out by looking at our website. And these are the nice people you want to work for. :) Jason Merrill Bank of America Learning Technology Solutions ___ 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 -- John Grden - Blitz ___ 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] Flashants Ice Player/Projector
Does anyone know anything about Flashants Ice Projector/Player and if there are functions that would hang the Flash 8 and also cause the CPU to go to 100% - the customer states it doesn't happen with Flash 7 - happens with the Flash 8 player only apparently. Thanks. Jason Merrill Bank of America Learning Technology Solutions ___ 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] Littleloud: Flash Developer Position
Subject: Re: [Flashcoders] Littleloud: Flash Developer Position This thread is now OT. Please don't prolong it. Thanks! Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Littleloud: Flash Developer Position
Lol, I think I took that job, sigh. I left a long time ago though, heh. On 6/9/06 12:48 PM, John Grden [EMAIL PROTECTED] wrote: Sorry, if you hadn't been rude in your reply, I'd have let it go. ___ 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] Littleloud: Flash Developer Position
Sorry, new here. What's ot? Thx dave! On 6/9/06 12:57 PM, Dave Watts [EMAIL PROTECTED] wrote: This thread is now OT. Please don't prolong it. 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] Littleloud: Flash Developer Position
Sorry, new here. What's ot? Asking what is OT. :) OT means off=topic Jason Merrill Bank of America Learning Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Aaron Buchanan Sent: Friday, June 09, 2006 4:14 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Littleloud: Flash Developer Position Sorry, new here. What's ot? Thx dave! On 6/9/06 12:57 PM, Dave Watts [EMAIL PROTECTED] wrote: This thread is now OT. Please don't prolong it. Thanks! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] about the MovieClipLoader class
Hello, Can someone please explain what I seem to be quirky behavior of the MCL class which has prevented me from using it until I read about it on another post: When loading an image or swf into a mc, using the MCL class, Why does this fail (not only fail, but renders the mc unseeable): loadListener.onLoadComplete = function(tmc:MovieClip):Void { tmc._width = 100; tmc._height = 100; } But this works: loadListener.onLoadInit = function(tmc:MovieClip):Void { tmc._width = 100; tmc._height = 100; } Intuitively, it seems like it would be the opposite. ___ 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] Littleloud: Flash Developer Position
Such a noob.. sigh On 6/9/06 1:23 PM, Merrill, Jason [EMAIL PROTECTED] wrote: Sorry, new here. What's ot? Asking what is OT. :) OT means off=topic Jason Merrill Bank of America Learning Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Aaron Buchanan Sent: Friday, June 09, 2006 4:14 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Littleloud: Flash Developer Position Sorry, new here. What's ot? Thx dave! On 6/9/06 12:57 PM, Dave Watts [EMAIL PROTECTED] wrote: This thread is now OT. Please don't prolong it. Thanks! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@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] about the MovieClipLoader class
onLoadComplete is called when the loading process is complete. onLoadInit is called when whatever has loaded is initialized and ready to use. The thing is that when a swf is finished loading, it takes one more frame to initialize. The main point is that until it initializes, the swf is not rendered and has no API. It's about the same case with images, except when the image is done loading it will not be rendered until it is initialized/read; this happens one frame after the frame it was finished loading on. The reason? Theoretically (please take note, I am making no claim) it makes sense when you think about how the player runs code in frames. If the current frame has a chunk of code that includes code that tests for loading completion, then it will prepare the initialization code to execute on the next frame. For this to be true, it must be true that once code for the next frame is prepared, it cannot be changed. M. On 6/9/06, Geoffrey Holland [EMAIL PROTECTED] wrote: Hello, Can someone please explain what I seem to be quirky behavior of the MCL class which has prevented me from using it until I read about it on another post: When loading an image or swf into a mc, using the MCL class, Why does this fail (not only fail, but renders the mc unseeable): loadListener.onLoadComplete = function(tmc:MovieClip):Void { tmc._width = 100; tmc._height = 100; } But this works: loadListener.onLoadInit = function(tmc:MovieClip):Void { tmc._width = 100; tmc._height = 100; } Intuitively, it seems like it would be the opposite. ___ 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] Server app for video to swf conversion?
Hi all- I'm doing a user-upload based section of a site where the video they upload gets converted to a swf for approval on a backend. Can anyone point me toward a module or application that can do this? It's a linux server. Thanks! -a ___ 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] about the MovieClipLoader class
Aha, Thank you, I was under the impression that onLoadInit was on initializing the Loading process, not the mc itself. Makes total sense now. -Geoff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of elibol Sent: Friday, June 09, 2006 4:01 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] about the MovieClipLoader class onLoadComplete is called when the loading process is complete. onLoadInit is called when whatever has loaded is initialized and ready to use. The thing is that when a swf is finished loading, it takes one more frame to initialize. The main point is that until it initializes, the swf is not rendered and has no API. It's about the same case with images, except when the image is done loading it will not be rendered until it is initialized/read; this happens one frame after the frame it was finished loading on. The reason? Theoretically (please take note, I am making no claim) it makes sense when you think about how the player runs code in frames. If the current frame has a chunk of code that includes code that tests for loading completion, then it will prepare the initialization code to execute on the next frame. For this to be true, it must be true that once code for the next frame is prepared, it cannot be changed. M. On 6/9/06, Geoffrey Holland [EMAIL PROTECTED] wrote: Hello, Can someone please explain what I seem to be quirky behavior of the MCL class which has prevented me from using it until I read about it on another post: When loading an image or swf into a mc, using the MCL class, Why does this fail (not only fail, but renders the mc unseeable): loadListener.onLoadComplete = function(tmc:MovieClip):Void { tmc._width = 100; tmc._height = 100; } But this works: loadListener.onLoadInit = function(tmc:MovieClip):Void { tmc._width = 100; tmc._height = 100; } Intuitively, it seems like it would be the opposite. ___ 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] Server app for video to swf conversion?
seems like there has been much talk about FFMEG for server side solutions. http://soenkerohde.com/tutorials/ffmpeg Best, Curt On 6/9/06, Arlo Jamrog [EMAIL PROTECTED] wrote: Hi all- I'm doing a user-upload based section of a site where the video they upload gets converted to a swf for approval on a backend. Can anyone point me toward a module or application that can do this? It's a linux server. Thanks! -a ___ 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] Regarding ascb Proxy
Thank you for this excellent enhanced version erixtekila. Just read through the blog post on http://dynamicflash.com/ and it was also a good read. He actually updated the class if you didn't notice--you can find it here: http://dynamicflash.com/classes/Delegate.as erixtekila wrote: Hi, I have slightly modify the Joey's version. I use also the Array.slice which is faster than the loop. For the last arguments, it's a mean to get a reference added as a end param to the callback handler. Easier to dereference after. Note the return at the end of the functions. French comments for inside for more insights. //!-- UTF8 /* - Proxy package : com.person13.ascb.util Description : Sert d'intermédiaire pour la délégation de référence de fonction. Cas d'un callback avec nécessité de portée spécifiqye. - ##++ ##Copyright (c) 2005 ##http://www.v-i-a.net ##All Rights Reserved ## ##E-Mail: [EMAIL PROTECTED] ## ##Permission to use, copy, modify and distribute is hereby granted, ##providing that no charges are involved and the above copyright ##notice and this permission appear in all copies and in supporting ##documentation. Requests for other distribution rights, including ##incorporation in commercial products, such as books, magazine ##articles, or CD-ROMS should be made to the authors. ## ##This program is distributed in the hope that it will be useful, ##but WITHOUT ANY WARRANTY; without even the implied warranty of ##MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ##-- For complete Licence of the Creative Commons Attribution-NonCommercial-ShareAlike 2.0 See : http://creativecommons.org/licenses/by-nc-sa/2.0/ - version history : 1.0 : 17 juin 2005 - Reprise du code de Joey Lott 1.1 : 04 juillet 2005 - Rajout d'un retour pour les fonctions procurées. - Rajout d'un nouvel argument pour déréférencer le proxy par la suite. - /** *Utile pour créer une référence de callback. *- pour un observateur sur une fonction (listener function) *- pour un callback d'un classe composant une autre classe * *La fonction callback recevra une référence à la fonction Proxy en dernier paramètre. *Il est ainsi possible d'utiliser EventSource.removeEventListener (EventName, ProxyRef) *et de supprimer la référenec au proxy. * *@authorJoey Lott http://www.person13.com *@author erixtekila copyleft http://www.v-i-a.net *@version 1.1 */ class com.person13.ascb.util.Proxy { /** *Méthode factory pour appliquer une référence à un callback *Note : Le dernier paramètre envoyé à la méthode proxiée et une référence au proxy. *Ainsi, depuis celle-ci il est possible de le déréférencer. *cf http://dynamicflash.com/2005/02/delegate-class-refined * *@param oTargetObjet cible du callback. *@param fFunctionCallback. *@return Une référence à la fonction Proxy */ public static function create (oTarget:Object, fFunction:Function):Function { /* Modifié de l'original var aParameters:Array = new Array(); for(var i:Number = 2; i arguments.length; i++) { aParameters[i - 2] = arguments[i]; }*/ // Paramètres à passer au callback var aParameters:Array; aParameters = arguments.splice (2); // EventProxy, référence à une fonction var fProxy:Function = function ():Object { // Paramètres var aActualParameters:Array = arguments.concat (aParameters); // Rajout de la référence au Proxy à la fin des paramètres /** * Permet de déréférencer la proxy depuis la fonction soumise * Exemple : cf http://dynamicflash.com/2005/02/delegate-class-refined * * public function DFDelegateTest(textArea:TextArea) { * _textArea = textArea; *_textArea.addEventListener(change, Delegate.create(this, onTextAreaChange)); *} * *private function onTextAreaChange(event:Object, delegate:Function) : Void { *_textArea.removeEventListener(change, delegate); *} */ aActualParameters.push (arguments.callee); // Activation // Rajout d'un return pour correspondre au fonctionnement de mx.util.Delegate. return fFunction.apply (oTarget,
[Flashcoders] Flash and Javascript Interaction
I posted this to cf-talk but decided this was probably a better place to post it... I'm trying to play a flash movie with javascript. This *SHOULD* work but it does not. Can anyone tell me why? http://www.opensourcecf.com/cfopenchat/demo/door.html When you go there you'll hear the sound of a door opening (if you have flash and sound enabled). When you click Play Door Sound the javascript should replay the flash movie, but it doesn't and I can't figure out why. Rick ___ 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] Slowing down the action (problem with a pause)
I have a piece of code (this is not in a movie but in a class file) that works fine: -- for (var idx = 0; idx graph_coordinates.length; idx++) { if (current_position graph_coordinates[idx][0] graph_coordinates[idx][0] end_point) { event_graph.lineTo(graph_coordinates[idx][0], graph_coordinates[idx][1]); } }; -- However, I would like to slow down the drawing by doing something like this: -- var delay:Number = new Number(500); for (var idx = 0; idx graph_coordinates.length; idx++) { var now:Number = getTimer(); if (current_position graph_coordinates[idx][0] graph_coordinates[idx][0] end_point) { while (now + delay getTimer()) { }; event_graph.lineTo(graph_coordinates[idx][0], graph_coordinates[idx][1]); } }; -- But this does not work. In fact, it crashes Flash 8 when I try to run the code! setInterval might work better, but in case of this loop it would be difficult to use since the lineTo is executed conditionally within a for loop and an if statement. If I put the entire thing within a setInterval function the segments of data that are are not acted upon would still cause a delay and it would seem as if the app was just sitting there, doing nothing. Yet if I initialize the interval from within the for and if statements, the interval will run independently from the loop and thus will not achieve the effect I'm after. Any thoughts, anyone? Thanks for any ideas!! :-) Ville ___ 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