Re: [Flashcoders] Flash 8 Trial

2007-04-17 Thread Julien Vignali
To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Julien Vignali

Re: [Flashcoders] Embed text Problem

2006-12-21 Thread Julien Vignali
Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Julien Vignali ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman

Re: [Flashcoders] ActionScript switch/default syntax and interpretation

2006-12-21 Thread Julien Vignali
subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Julien Vignali

Re: [Flashcoders] Multiple MCs with the same name

2006-12-18 Thread Julien Vignali
Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Julien Vignali ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com

Re: [Flashcoders] listing children?

2006-11-23 Thread Julien Vignali
Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Julien Vignali ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http

Re: [Flashcoders] listing children?

2006-11-23 Thread Julien Vignali
); } and then later in your code: for (var i:Number = 0; i children.length; i) { var child:MovieClip = children[i]; // do your child mc manipulations... } Hope it helps ;-) Regards 2006/11/23, Julien Vignali [EMAIL PROTECTED]: A quick way: // this = the parent MC for (var child:String

Re: [Flashcoders] Q;Pass an array as event object?

2006-11-22 Thread Julien Vignali
Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Julien Vignali ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo

Re: [Flashcoders] Manually fire Stage resize event.

2006-11-17 Thread Julien Vignali
options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Julien Vignali

Re: [Flashcoders] why are my class property's strong typing being ignored?

2006-11-16 Thread Julien Vignali
Hi Rich, could you provide some sample code of your Settings class and your xml processing ? 2006/11/16, Rich Rodecker [EMAIL PROTECTED]: Hello, I've got a class named 'Settings' which has a number of properties. Those properties are strongly typed to various types...string, number, boolean,

Re: [Flashcoders] why are my class property's strong typing being ignored?

2006-11-16 Thread Julien Vignali
/system) For me ... XML is slow and don't keep the typing ! EKA+ :) 2006/11/16, Julien Vignali [EMAIL PROTECTED]: Hi Rich, could you provide some sample code of your Settings class and your xml processing ? 2006/11/16, Rich Rodecker [EMAIL PROTECTED]: Hello, I've got

Re: [Flashcoders] Can Flash determine which server it is being served from?

2006-11-07 Thread Julien Vignali
Have you tried to play with the _root._url property ? BOYD SPEER a écrit : Any ideas on how a Flash .swf could be aware of the server from which it has been loaded? I would like to somehow create a .swf that would only run if loaded from a certain server to prevent the database front end from

Re: [Flashcoders] [ot-ish] Screen recording software for Windows?

2006-11-04 Thread Julien Vignali
and connection to any VHScrCap instance (for applications, which cannot show capture filter's properties) Check it out at : http://www.hmelyoff.com/index.php?section=4 Regards, Julien Vignali Robert r. Sanders a écrit : For years we've used HyperCam its about $40 - http://www.hyperionics.com/hc

Re: [Flashcoders] animationpackage library, onCallback ?

2006-10-23 Thread Julien Vignali
Wendy, I'm afraid I can't help you with AnimationPackage but, you may have a look at the Fuse Engine which is a powerful sequence animation engine, and what you asked can be so easily done with this cool tool (full AS2 and OOP support, event callbacks, sequence manipulation...)

Re: [Flashcoders] push info from server to flash?

2006-10-22 Thread Julien Vignali
The only way to achieve that is to use a socket server and to have the possibility to run it somewhere (some providers offer that). You have plenty of choice regarding which server you need and some are free, some aren't. To name a few: Flash Data Services, Red5 (if I remember well), Oregano,

Re: [Flashcoders] Allow smoothing on imported jpeg:s

2006-10-10 Thread Julien Vignali
Hi Johan, Loading external Jpeg with LoadMovie or MovieClipLoader gives that nasty effects on rotated clips... The workaround is to use BitmapData (flash8) that will smooth the loaded images. I found a custom class that allows you to load images in a handy way. Take a look at:

Re: [Flashcoders] Q: passing flash form data with NO server side scripting

2006-09-27 Thread Julien Vignali
I double Iv... You should really change your provider. A one-page script could do everything you're trying to achieve and even more... PHP is widely available at a very low cost ;-) Nevertheless, if you are really stuck to this provider, I'm afraid but your solution with the server log file

Re: [Flashcoders] certificate problem in a desktop application

2006-09-13 Thread Julien Vignali
Céline, Take a look at the Nullsoft Installer (http://nsis.sourceforge.net) which is a powerful professional scriptable install system. I've been using it several times and it works like a charm. I'm almost sure that you can use it to deploy your .exe zinc app and silently install the

Re: [Flashcoders] Populating Text Fields

2006-08-30 Thread Julien Vignali
CK You have a scope problem. elements_arr is defined within the onLoad handler so it won't be accessible from outside (i.e. from your assignText() function). You'd better use the static mx.utils.Delegate class to handle the onLoad event in an easier manner: import mx.utils.Delegate; var

Re: [Flashcoders] vars with $

2006-08-19 Thread Julien Vignali
Another relatively useful use is for flash getters/setters: class MyClass{ // you can't call this property id // because of the name of the get/set functions private var $id:Number; public function get id():Number { return $id; } // use of p_xx for parametrical variables

Re: [Flashcoders] scale9grid how to

2006-07-20 Thread Julien Vignali
Check the Flash docs... It's explained ;-) mcRoundedRect.scale9Grid = new Rectangle(x1, y1, x2, y2); Marcos Neves a écrit : How can I use programaticlly scale9grid to don´t deform a roundRect when scaled? I´know how it works at design time on flash.

Re: [Flashcoders] scale9grid how to

2006-07-20 Thread Julien Vignali
if you haven't previously enabled scale9 in the movieclip properties... Here is a .fla file to illustrate this: http://www.vignali.net/julien/scale9.fla Hope it helps Julien Vignali Marcos Neves a écrit : That I did eric, how can I test to see if works? If I scale at the scene, It doesn´t

Re: [Flashcoders] AS2 and watch ...

2006-07-06 Thread Julien Vignali
Well, I use it sometimes as an update broadcast mecanism. Let's say I have some value objects floating around, and when I change a property on any of these, I use the watch to broadcast an event if for example the value has changed (by testing the newValue and the oldValue). It can be sometimes

Re: [Flashcoders] embedFonts vs. setTextFormat

2006-07-05 Thread Julien Vignali
Try using setNewTextFormat() instead.. Mendelsohn, Michael a écrit : Hi list... The embedFonts line seems to prevent the setTextFormat line from working. What am I missing? The font univ is in the library, and its linkage is univ. Thanks, - Michael M. private function

Re: [Flashcoders] AS2 and Singleton woes ...

2006-06-29 Thread Julien Vignali
Stephen, you're singleton implemention looks odd to me. I think it is confusing to access the singleton shared instance by using a new (which is normally used to create multiple instances of the same class...). I would advise you to follow the standard singleton implementation: class

Re: [Flashcoders] For...in counts backwards?

2006-06-20 Thread Julien Vignali
Well the order of your strings is something subjective... You should use Array.sort([function]) and create a custom sorting function that would sort your array the way you want: var array:Array = [seventy-four, ten, twelve]; function sortByStringLength(a:Object, b:Object):Number { if

Re: [Flashcoders] Drawing and resizing

2006-06-18 Thread Julien Vignali
Just use back_mc.clear() in your resize() method just before drawing it again. But, why don't you just draw it once outside of the resize method and then resize it with the _width and _height properties??? Julien Alexander Farber a écrit : Hello! I'd like to draw a green rectangle

Re: [Flashcoders] Drawing and resizing

2006-06-18 Thread Julien Vignali
here is a quick custom class that would do the trick: class drawing.GreenRect extends MovieClip { private rect:MovieClip; private text1:TextField; private text2:TextField; public static var symbolName:String = __Packages.drawing.GreenRect; private static var link =

Re: [Flashcoders] Is Object scope lost when using Delegate?

2006-06-09 Thread Julien Vignali
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

Re: [Flashcoders] Event dispatching, to use or not to use?

2006-06-07 Thread Julien Vignali
Hi Mike, You can easily achieve this with the EventDispatcher Delegate classes like this: import mx.events.EventDispatcher; class cMyMenu{ // let's declare static vars for menu states/options public static var OPTION1_EVENT:String = onOption1; public static var OPTION2_EVENT:String =

Re: [Flashcoders] callBack for Beginners ?

2006-06-07 Thread Julien Vignali
I would suggest to keep the loading of the parameter file simple and create a ParameterFilesLoader class that would handle a queue of urls to load in an array. The class would eventually dispatch state events that your main class would listen to, and show appropriate message to the user and

Re: [Flashcoders] MTASC to EXE ?

2006-05-24 Thread Julien Vignali
There are some programs that create .exe files from SWF such as : Zinc (www.multidmedia.com) Screenweaver (http://www.osflash.org/screenweaver) ... and many others that you can find by googleing around ;) jcarlos a écrit : What is the way, if there is one, for going from MTASC compiled SWF

Re: [Flashcoders] Animation Engine

2006-05-20 Thread Julien Vignali
It seems to me that you looked at an old version of Moses's Fuse tweening engine. Its official homepage is now at http://mosessupposes.com/Fuse. The released version (1.0) offers you the option to use prototype or pure actionscript 2 tweenings (just imports and use the Fuse class, look at the

Re: [Flashcoders] TextField using s hared font is not showing character such ã ,á,ç...

2006-05-19 Thread Julien Vignali
Marcelo, Strange...I am using fonts in a shared library too and it can display accentuated characters without any problems... Are you sure that the font you're using initially contains those characters ? And have you correctly imported the shared font in your library and set your textfields'

Re: [Flashcoders] FDT question.

2006-05-17 Thread Julien Vignali
Hi Aaron, It's probably because you need to add your source folder in FDT's classpath. Do a right-click on the root folder of your classes and select Source Folder - Add to classpath. Now all your features should work... Hope it helps, Julien aaron smith a écrit : I decided to start using

[Flashcoders] Event listeners and memory waste...

2006-04-27 Thread Julien Vignali
Hi guys, I am getting memory problems when I remove and recreate all my objects several times (the flash player eats up RAM, and I have to minimize it and maximize to force the garbage collector).There must be something wrong in the way I destroy my objects :-( So I am wondering what is the

[Flashcoders] Using ARP without Forms?

2006-04-18 Thread Julien Vignali
Hi ARP developers, I was wondering if it was easy to use ARP in a non-form flash application... After reading ARP documentation, it seems to be well-suited for form-enabled flash apps, but what about the applications completely created from scratch with MTASC for example? What do you use in

Re: [Flashcoders] Using ARP without Forms?

2006-04-18 Thread Julien Vignali
use of things like System events and the like. At least, that's if they're in the base ARP package. I use the ARPX extended version written by Grant Davies. Top bloke! :-) Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Julien Vignali Sent: 18

Re: [Flashcoders] Using ARP without Forms?

2006-04-18 Thread Julien Vignali
in the .NET side of my applications. What are you using for the XML Sockets? Did you develop your own system or are you using something like Oregano? Regards, Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Julien Vignali Sent: 18 April 2006 09:52

Re: [Flashcoders] Using ARP without Forms?

2006-04-18 Thread Julien Vignali
:[EMAIL PROTECTED] On Behalf Of Julien Vignali Sent: 18 April 2006 12:14 To: Flashcoders mailing list Subject: Re: [Flashcoders] Using ARP without Forms? hey that's cool :-) I don't know much about .NET Fluorine because my company is more java-oriented. I am developping the flash client from

Re: [Flashcoders] French Characters in dynamic textarea

2006-04-11 Thread Julien Vignali
Yes, solved the same issue by encoding/converting the XML file into UTF-8, but also by embedding also the Basic Latin and Latin I caracters in the textarea... Éric Thibault a écrit : Save your XML in utf-8 and embed the font inside your dynamic text field. A+ Wade Arnold wrote: I have

Re: [Flashcoders] Multiuser A/V Chat ? Which Server?

2006-03-26 Thread Julien Vignali
You may try the open source Red 5 stream server : Red5 is a server that not only streams content to the Flash plugin, but it can push calls and information to the Flash client! It can also receive video/audio/data from a flash client and either save or rebroadcast that content.

Re: [Flashcoders] Multiuser A/V Chat ? Which Server?

2006-03-26 Thread Julien Vignali
Hmm sorry, it's monday morning, I hadn't read yet your next coding-style posts ( serverName != red5)... so ignore my previous post ;-) Yehia Shouman a écrit : Dear Coders, I have to create an Audio/Video Flash multiuser Chat, with text messaging. What are my options as for the server ? I

[Flashcoders] Object.watch overhead?

2006-03-21 Thread Julien Vignali
Hi list, I am playing around with the Object.watch() function in my custom UI components classes... I wanted to know if having 8-10 watches in a class would create some CPU overhead, or does it just work like an internal classic Delegate (which also requires an unwatch() upon object

Re: [Flashcoders] how to liesten XML onLoad Event?

2006-02-21 Thread Julien Vignali
here is the infamous scope problem... I use Joey Lott proxy class (http://www.person13.com/articles/proxy/Proxy.htm) to solve that problem when it comes to create an xml parsing class : import ascb.util.Proxy; class MyParser{ private var xml:XML; function MyParser(url:String){ xml

Re: [Flashcoders]

2006-02-08 Thread Julien Vignali
2 things: - your for loop is erroneous... your dt variable isn't used as expected (increment it in the for statement) and your i variable is unused and shouldn't be here ;-). - you should prefix all your textfields with _root as they are created on _root level. Change your code as below, and

Re: [Flashcoders] interfaces and objects

2006-02-01 Thread Julien Vignali
Well, you can't instanciate an interface, you need first a concrete class that implements the interface... Your code should be: interface IWorldPart {} class SomeWorldPartSubclass implements IWorldPart {} var myPart:SomeWorldPartSubclass = new SomeWorldPartSubclass();

Re: [Flashcoders] interfaces and objects

2006-02-01 Thread Julien Vignali
is not regarded by flash then of being of type Object as well. Got it figured out now ;) Thanks H -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Julien Vignali Sent: Wednesday, February 01, 2006 12:49 PM To: Flashcoders mailing list Subject: Re: [Flashcoders

[Flashcoders] Changing hue/saturation brightness of black clips... ?

2006-01-27 Thread Julien Vignali
Hello coders, I have some black movieclips in my components that I'd like to skin (i.e. adjust their hue/saturation brightness) with just one given color... Let's say I pass 0xFF to a method that will tint my clips to red but with some difference in brightness and saturation..

Re: [Flashcoders] Q: Best tweening engine for Flash 8 filters

2006-01-25 Thread Julien Vignali
If you only need to tween filters, you can take a look at the Filter Managing Prototypes german project (http://www.flash-fmp.de). AFAIK, it's in the process of beeing integrated in Fuse by Moses. Julien [EMAIL PROTECTED] a écrit : Hi I was wondering what everyone is using to tween flash

Re: [Flashcoders] How to use DispatchEvent in AS2.0 class

2006-01-12 Thread Julien Vignali
Look at Grant Skinner article on using EventDispatcher: http://www.gskinner.com/blog/archives/23.html Basically you can use EventDispatcher in three ways. Here are a simple example: // create an Action instance var action:Action = new Action(); // create the listeners var

Re: [Flashcoders] /**** Fuse Question - WTF? ****/

2006-01-12 Thread Julien Vignali
Ryan, Your code works only if you drag-and-drop an instance of the Fuse Component on Stage. You'd better ask Moses about that behaviour... Regards, Julien. Ryan Potter a écrit : Is there a way to step back and forth through animations in Fuse? I created a simple animation (code below)

Re: [Flashcoders] Decompile swf to get your own classes

2005-12-20 Thread Julien Vignali
Franto, You may have a look also to KinesicFusion at www.kinesissoftware.com... It saves me several times ;-) Julien. franto a écrit : Thanks Campbell and John for your help sure, i've tried recovery software, today i will try another 2 softs, because 1st one, has predefined file types,

Re: [Flashcoders] Decompile swf to get your own classes

2005-12-20 Thread Julien Vignali
the swf tools I could find, the result wasn't perfect and sometimes structure content wasn't exactly like the original and needed some manual editing tweaking, but still better than nothing ;-) Good luck! Julien franto a écrit : Julien, is it decompiler? or what? On 12/20/05, Julien

Re: [Flashcoders] Swtich Statement issue!?

2005-12-07 Thread Julien Vignali
Dan, I'm also using the switch with static attributes from other class without any problems. I guess you have a type error problem. Check the trace of a strict equality test: trace(currItem.getMediaType() === VideoVO.SWF_STATE); If it returns true, then the switch should evaluate properly. If

Re: [Flashcoders] Function

2005-12-07 Thread Julien Vignali
It doesn't work because of the infamous scope problem. the this in the function refers to the erase_btn, and var2 is not an attribute of the button. You need to use the Delegate: import mx.utils.Delegate; erase_btn.onPress = Delegate.create(this, eraseTF); function eraseTF(){

Re: [Flashcoders] Eclipse/FDT/Subclipse weirdness

2005-11-15 Thread Julien Vignali
Jim, The only files that you don't need to put in version controls are binaries that you can regenerate. You can safely put any other files including .project, .as2_classpath files. I've been doing this since last summer without any problems with SVN subclipse. Have you tried to clean the