Re: [Flashcoders] Scoping Issue with a Function - Help, please

2006-05-22 Thread eka
Hello :) use mx.utils.Delegate class :) [code] myButton.onPress = Delegate.create(_root, _root.action) ; [/code] With Delegate.create method you can create a virtual method with your scope and your method. EKA+ :) 2006/5/22, Loren R. Elks [EMAIL PROTECTED]: Hi: Can someone help me

Re: [Flashcoders] Getting the class name?

2006-05-25 Thread eka
= ConstructorUtil.getPackage(instance) ; trace(class package : + package) ; // output : 'myPackage' var path:String = ConstructorUtil.getPath(instance) ; trace(class path : + path) ; // output : 'myPackage.MyConstructor' [/code] EKA+ :) 2006/5/25, mike cann [EMAIL PROTECTED]: so you could

Re: [Flashcoders] Getting the class name?

2006-05-25 Thread eka
. It's automatic :) For me the method of macromedia is not at all functional and clean ;) I Use this method in all toString() methods with an enormous framework and it's perfect. EKA+ :) 2006/5/25, Arul Prasad [EMAIL PROTECTED]: :) that will work - but won't be feasible, unless you

Re: [Flashcoders] Getting the class name?

2006-05-25 Thread eka
... but it's a native method !! EKA+ :) 2006/5/25, Ian Thomas [EMAIL PROTECTED]: Having googled to find your code - that's a really nice way of doing it. Well done! (Does anyone know if AS3 has a better reflection system than AS2..?) Ian On 5/25/06, eka [EMAIL PROTECTED] wrote: Hello :) i

Re: [Flashcoders] Disable all buttons

2006-05-26 Thread eka
désactiver tes boutons il te reste plus qu'à parcourir le tableau avec une boucle for par exemple :) Il est possible de cibler un clip et de parcourir son contenu avec un for..in également, mais la technique est un peu plus bordellique :) EKA+ :) 2006/5/26, Éric Thibault [EMAIL PROTECTED]: Hi all

Re: [Flashcoders] Can Variables have listeners?

2006-05-26 Thread eka
Hello :) open Flash help (F1) and search in the actionscript dictionnary Object.watch and Object.unwatch :) EKA+ :) 2006/5/26, Mike Anderson [EMAIL PROTECTED]: Hello All, I have a ton of components scattered throughout my application, and most of them react to changes of a specific

Re: [Flashcoders] Which eventBroadcaster is most widely used and-or reccomended?

2006-05-30 Thread eka
, FrontController ... and more :) EKA+ :) 2006/5/30, Manuel Saint-Victor [EMAIL PROTECTED]: I'm looking at adding an EventBraodcaster to my project and was wondering if anyone was aware of which of the current classes out there was more reccomended for use in applications. Mani

Re: [Flashcoders] dispatching events

2006-06-08 Thread eka
} } or show more code please ;) EKA+ :) 2006/6/8, Sam [EMAIL PROTECTED]: Hi, Is it possible to dispatch events from a simple call to a method? I have a view class that extends an abstract view class that contains the EventDispatcher class. I don't have a problem dispatching events from

Re: [Flashcoders] dispatching events

2006-06-08 Thread eka
with ASSetPropFlags ! ;) EKA+ :) 2006/6/8, Sam [EMAIL PROTECTED]: Hi, Thanks, sorry I quickly stripped the classes down for posting here. Can you explain this portion of your code: static private var __ASPF__ = _global.ASSetPropFlags(SampleView, [LOAD_SOMETHING], 7, 7) ; On Jun 8, 2006, at 2:06 PM, eka

Re: [Flashcoders] dispatching events

2006-06-08 Thread eka
try this examples here : http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/bin/test/vegas/events/ Install Vegas and Asgard with Tortoise SVN and try it if you want :) EKA+ :) 2006/6/8, eka [EMAIL PROTECTED]: Hello :) With ASSetPropFlags you can change the properties in an object :) (read only

Re: [Flashcoders] how to decode base64 data and display in flash

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

Re: [Flashcoders] The Delegate class ...

2006-06-14 Thread eka
name mc.onRelease = action ; // if you release your mc, use action with mc scope (classic) mc.onPress = Delegate.create(o, action) ; // if you press your mc, use custom scope [/code] EKA+ :) 2006/6/14, Stephen Ford [EMAIL PROTECTED]: Hello All, Can anyone confirm that the Delegate class

Re: [Flashcoders] Accessing non-interface methods from an object of an interface type

2006-06-14 Thread eka
. [/code] EKA+ :) 2006/6/14, Mark Lapasa [EMAIL PROTECTED]: /// // Inside Interface.as // /// interface Interface { public function foo():Void; } /// // Inside ConcreteClass.as

Re: [Flashcoders] The Delegate class ...

2006-06-15 Thread eka
EventDispatcher, etc..) - http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/src/vegas/events/ (package vegas.events) More information about VEGAS : http://osflash.org/vegas EKA+ :) 2006/6/15, Ian Thomas [EMAIL PROTECTED]: On 6/15/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Alot of people

Re: [Flashcoders] Class overloading question

2006-06-15 Thread eka
Methods public function stop () { super.stop() ; trace(i stop the sound in : + target) ; } } EKA+ :) 2006/6/15, Nik Derewianka [EMAIL PROTECTED]: Hi All, Im trying to overload the Sound class to add my own features, it works fine for all the basic features, but what do i

Re: [Flashcoders] Accessing non-interface methods from an object ofan interface type

2006-06-15 Thread eka
Hello :) i forget ... you can transform your expression too with [] notation : import ConcreteClass; import Interface; var tmp:Interface = new ConcreteClass(); tmp[bar]() ; // works too EKA+ :) 2006/6/15, Mark Lapasa [EMAIL PROTECTED]: Thanks EKA and JC for your answers. I -kinda- knew

Re: [Flashcoders] Accepting 1 parameter with 2 possible types in a method?

2006-06-15 Thread eka
throw new Error(Illegal Argument, + arg0 + must be String or Number) ; ) } For me ... this method is a good alternative :) EKA+ :) 2006/6/15, Adrian Park [EMAIL PROTECTED]: Hi List, What's the neatest way of accepting a single parameter with 2 possible types into a method and then working

Re: [Flashcoders] Q:Get name of referring class

2006-06-29 Thread eka
/vegas/AS2/trunk/src/vegas/util/ConstructorUtil.as For example : import vegas.util.ConstructorUtil ; var u = new myNameSpace.User(eka) ; trace( ConstructorUtil.getName(u) ) ; // return User trace( ConstructorUtil.getPath(u) ) ; // return myNameSpace.User trace(ConstructorUtil.getPackage(u

Re: [Flashcoders] Determining when the Stage *stops* resizing

2006-06-29 Thread eka
listener = {} ; listener.onStartResize = function () { trace(start resize) ; } listener.onStopResize = function () { trace(stop resize) ; } StageResizer.addListener(listener) ; EKA+ :) 2006/6/29, Matt Bennett [EMAIL PROTECTED]: Hello all, I've got a perplexing problem and I've run

Re: [Flashcoders] Programmatically instantiating a class that extends MovieClip.

2006-06-30 Thread eka
Hello :) it's easy, you must use __proto__ AS2 - MyClass extend MovieClip !!! MyClass extends MovieClip { // o Constructor public function MyClass() { } } var mc = createEmptyMovieClip(myInstance, 1) ; mc.__proto__ == MyClass.prototype ; MyClass.call(mc) ; EKA

Re: [Flashcoders] AS2 and watch ...

2006-07-06 Thread eka
() { myButton.enabled = ! myButton.enabled ; // press key to test please :) } EKA+ :) 2006/7/6, Julien Vignali [EMAIL PROTECTED]: 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

Re: [Flashcoders] Abstract classes in AS3?

2006-07-09 Thread eka
MainClass() { var i:MyClass = new MyClass() ; // ok var a:AbstractClass = new AbstractClass() ; // throw IllegalOperationError } } } EKA+ :) 2006/7/9, Weyert de Boer [EMAIL PROTECTED]: I am blind or is their no support for Abstract classes in AS3

Re: [Flashcoders] AS3 Hide props?

2006-07-10 Thread eka
Hello :) It's easy ;) You can use myObject.setPropertyIsEnumerable(myProperty, false) EKA+ :) 2006/7/9, Weyert de Boer [EMAIL PROTECTED]: Yes, hiding properties of inherited classes would be nice. Yours, Weyert ___ Flashcoders

Re: [Flashcoders] private constructors in AS3.0?

2006-07-10 Thread eka
( Singleton.testconst ); trace( Singleton.testvar ); trace( Singleton.testMethod() ); } } } Thanks Zwetan for this good solution. EKA+ :) 2006/7/10, Weyert de Boer [EMAIL PROTECTED]: I am told private

Re: [Flashcoders] parsing XML / xpath

2006-07-10 Thread eka
Hello :) Use XPATH library in http://www.xfactorstudio.com/ EKA+ :) 2006/7/10, keitai guy [EMAIL PROTECTED]: hi list - are there any popular AS libs out there for walking thru XML? eg something like xpath - to find a named node... tx

Re: [Flashcoders] Dynamic access of top-level variables in AS3

2006-07-10 Thread eka
!!! } } EKA+ :) 2006/7/10, Chris McFadyen aka Grayson Carlyle [EMAIL PROTECTED]: In doing web apps, we pass a lot of variables directly to the swf files. Some of these are dynamically matched using eval() to write variable values into strings. Example: Reading settings from an XML file

Re: [Flashcoders] Dynamic access of top-level variables in AS3

2006-07-11 Thread eka
Hello :) in french : http://www.ekameleon.net/blog/index.php?2006/07/06/35--as3-le-_global-bien-cache- EKA+ :) 2006/7/11, Derek Vadneau [EMAIL PROTECTED]: Create an object in the global scope to contain your variables, let's call it _global. Then reference it as: _global[myVar]; Or if you

Re: Re: [Flashcoders] Abstract classes in AS3?

2006-07-11 Thread eka
Hello ;) In AS3 the private keyword it's removed !! ;) You can't use this keyword for your constructor :) EKA+ :) 2006/7/11, Chris Allen [EMAIL PROTECTED]: For compile time checks, just use a private constructor. As ActionScript allows one to access a private (not really private) super

Re: [Flashcoders] Abstract classes in AS3?

2006-07-11 Thread eka
/544f79b0b223b15a/e2b2527f81678da7?lnk=stq=constructeur+AS3rnum=1#e2b2527f81678da7 PS : sorry for my english ^_^ EKA+ :) 2006/7/11, Weyert de Boer [EMAIL PROTECTED]: Why is it removed? ___ Flashcoders@chattyfig.figleaf.com To change your

Re: [Flashcoders] Abstract classes in AS3?

2006-07-11 Thread eka
yes but i speak very badly in english !!! i can't explain you easily this change :( EKA+ :) 2006/7/11, Mike [EMAIL PROTECTED]: That does seem stupid and completely pointless. I use private constructors all the time. Is there an official rationale for this? -- T. Michael Keesey -Original

Re: [Flashcoders] Abstract classes in AS3?

2006-07-11 Thread eka
Hello :) Yes for an enumeration you can use an internal class in your package and a Singleton namespace. private is good width a method and not a constructor. You can use throw error to limit your constructor or use internal keyworld, for me it's better ! EKA+ :) 2006/7/11, Cédric

Re: [Flashcoders] as3 and attachmovie

2006-07-25 Thread eka
Hello :) read in french : - http://iteratif.free.fr/blog/index.php?2006/07/11/44-bibliotheque-partagee-sous-flash-9 attachMovie is remove in AS3 :) Use [embed(source=)] metadata and create the instance with new MyClass and addChild() method :) eKA+ :) 2006/7/25, Carl Welch [EMAIL

Re: [Flashcoders] Decompiler for AS3

2006-07-28 Thread eka
Hello :) you can send a message in the flare and flasm website ? http://www.nowrap.de/flare.html in Kontakt ? EKA+ :) 2006/7/28, Mike Mountain [EMAIL PROTECTED]: We're discussing on the HaXe mailing list whether it would be possible to decompile from Flash 8/AS2 swfs to Haxe

Re: [Flashcoders] FlexBuilder warnings about Flash Player version

2006-07-30 Thread eka
Hello :) you can download the new version : http://www.adobe.com/support/flashplayer/downloads.html a discussion about this subject : http://groups.yahoo.com/group/flexcoders/message/41878 EKA+ :) 2006/7/30, the real punk [EMAIL PROTECTED]: hi list, i recently switched from

Re: [Flashcoders] LoadVars - sending an array

2006-08-05 Thread eka
-en-couleur PS : Vegas is my openSource framework - http://osflash.org/vegas EKA+ :) 2006/8/3, Alexander Farber [EMAIL PROTECTED]: Hello, I'm working on a flash game sending data to an Apache module through the LoadVars.sendAndLoad() (i.e. I use neither XML, nor AMF, but send the application

Re: [Flashcoders] skew a movie clip

2006-08-06 Thread eka
Hello :) read this article in french : http://kiroukou.media-box.net/blog/mes-recherches-sur-flash/64-distortimage-20-la-facon-la-plus-performante-de-deformer-des-images-en-actionscript.html and use the source of this article :) EKA+ :) 2006/8/6, [EMAIL PROTECTED] [EMAIL PROTECTED]: i want

Re: [Flashcoders] How to Create Flex Projector

2006-08-07 Thread eka
Hello :) you can use the last version of ZINC : http://www.multidmedia.com/news/news.php?id=62 EKA+ :) 2006/8/7, Marcos Neves [EMAIL PROTECTED]: Hi, I need to create a Flex apllication that runs on an exe projector for a CD-ROM. How can I do

Re: [Flashcoders] createTextField and _alpha

2006-08-22 Thread eka
device fonts. You must use embedded fonts to use the _alpha transparency property with a text field. EKA+ :) 2006/8/22, bh [EMAIL PROTECTED]: hi i have a created TextField in a created emptyMovieClip in a MC, and when i made my MC._alpha = 0, the textField inside still appears ! now, if i run

Re: [Flashcoders] HTML formated text in Flash 8 SWF

2006-08-29 Thread eka
Hello :) try to use TextField.condenseWhite property :) http://livedocs.macromedia.com/flashlite/2/main/0816.html EKA + :) 2006/8/29, Robin Burrer [EMAIL PROTECTED]: Hi all, This is wired. It seems html text in a flash 7 swf behaves differently than html text in a flash 8 swf. var

Re: [Flashcoders] AMFPHP 1.2 Class Mapping VO's incomming from PHP5 - It works but...

2006-08-29 Thread eka
, the article is write in French ! but the ActionScript and PHP codes are easy ;) EKA+ :) You can use Google translator or babelFish 2006/8/28, Julius Turnmire [EMAIL PROTECTED]: Ok, I've got it working as advertised. I'm using VO's and my returned values are being mapped to my VO classes

Re: [Flashcoders] AMFPHP 1.2 Class Mapping VO's incomming from PHP5 - It works but...

2006-08-29 Thread eka
or other db files. You can find Eden sources in the buRRRn repository located here svn://live.buRRRn.com (port 3690) with your SVN client :) I use AMFPhp and EDEN in my works with Flex, Flash and FMS. EKA+ :) 2006/8/30, Julius Turnmire [EMAIL PROTECTED]: On Tue, 2006-08-29 at 18:17 +0200

Re: [Flashcoders] key listener class

2006-09-03 Thread eka
directory on the SVN : http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/bin/test/asgard/ui/ Install the framework with Tortoise SVN for example, set the /src classpath and that's all :) EKA+ :) 2006/9/3, aaron smith [EMAIL PROTECTED]: does anyone know of a class that makes it easy for listening

Re: [Flashcoders] using Tween with addEventListener instead of addListener in flash 8

2006-09-05 Thread eka
?2006/03/05/27--vegas-installation EKA+ :) 2006/9/5, Patrick Matte [EMAIL PROTECTED]: Is there a version of mx.transitions.Tween that works with EventDispatcher instead of ASBroadcaster? I'd like to delegate the onMotionFinished event on different functions using the addEventListener instead

Re: [Flashcoders] Var untouch

2006-09-07 Thread eka
, wedgelabel+i, i ) ; trace( create : + current) ; current._x = i * 10 + 100 ; current._y = i * 10 + 100 ; current.wedgename.text = list[i]; } You can use a local reference (current in my example) to target your current movieclip, it's more easy ;) EKA+ :) 2006/9/7, Laurent CUCHET [EMAIL

Re: [Flashcoders] optimizing swf size

2006-09-08 Thread eka
Hello :) to optimize : 1 - don't use MM components ^_^ 2 - use flasm to optimize your swf http://flasm.sourceforge.net/ 3 - use MTASC to compile your project. 4 - Create your components and class ;) EKA+ :) 2006/9/8, Mendelsohn, Michael [EMAIL PROTECTED]: Hi list... When publishing my

Re: [Flashcoders] ns.onStatus calling a function

2006-09-12 Thread eka
Hello :) where is your function ? :) var write = function ( message ) { trace( + message) ; } ns.onStatus = function(info) { if (info.code == NetStream.Play.Start) { write( info.code ) ; } } ??? EKA+ :) 2006/9/12, Christian Pugliese [EMAIL PROTECTED]: can't I call

Re: [Flashcoders] Hex to HSB

2006-09-15 Thread eka
/vegas/AS2/trunk/src/asgard/colors/ColorHSV.as EKA+ :) 2006/9/15, Mike Mountain [EMAIL PROTECTED]: Anyone got a quick and dirty hex to HSB and back converter algo - without having to convert to RGB first? Cheers M ___ Flashcoders

Re: [Flashcoders] rewrite flash.net.Responder source code is where??

2006-09-18 Thread eka
Hello :) in AS3 RelayResponder is native .. you can't read this class... but you can encapsulate it with composition if you want ... EKA+ :) 2006/9/18, Martin Weiser [EMAIL PROTECTED]: Hello, in as2 i have successfully rewritten Relayresponder class, so that it had extra property id

Re: [Flashcoders] Associate clip with class

2006-09-20 Thread eka
/bin/test/vegas/util/factory/ You can try my example too in Lunas, the Components library extension of vegas : http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/bin/test/lunas/display/components/button/ EKA+ :) 2006/9/20, Alain Rousseau [EMAIL PROTECTED]: There is an interesting article

Re: [Flashcoders] Datagrid and Image

2006-09-24 Thread eka
Hello :) you can find examples to use Datagrid in this web site : http://philflash.inway.fr/index.html the tutorials are in french but you can understand the method to create a custom CellRenderer, example : http://philflash.inway.fr/dghtmlrd/dghtmlrd.html EKA+ :) 2006/9/24, Laurent CUCHET

Re: [Flashcoders] Q:AddProperty and getters/setters

2006-09-25 Thread eka
, Square.prototype.getArea ,Square.prototype.setArea) ; } EKA+ :) 2006/9/25, [EMAIL PROTECTED] [EMAIL PROTECTED]: I know AddProperty was useful in creating getter/setters when defining AS1 based classes ie //CODE BEGIN //create a new square class _global.Square= function(side){ this.side=side

Re: [Flashcoders] remoting alternatives?

2006-09-27 Thread eka
in AS2 example : http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/bin/test/asgard/net/remoting/ EKA+ :) 2006/9/27, Ray Chuan [EMAIL PROTECTED]: Hi, does any of you use a non-Macromedia remoting implementation? I know that ActionStep and pixlib has one. -- Cheers, Ray Chuan

Re: [Flashcoders] Event bubbling in Flash like in Flex

2006-09-28 Thread eka
.cvsdude.com/osflash/vegas/AS2/trunk/bin/test/vegas/events/EventDispatcher%2012%20-%20BubblingEvent.fla ) EKA+ :) 2006/9/28, Van De Velde Hans [EMAIL PROTECTED]: Great, thanks! I've updated the sample with the static function initializeBubbling in a separate class all is well ! (sample : http

Re: [Flashcoders] function and convert String

2006-10-07 Thread eka
Hello :) try the [] notation : function getField ( i ) { return _root[rec+ i].text ; } // test var reference = getField(1) ; EKA+ :) 2006/10/7, Laurent CUCHET [EMAIL PROTECTED]: I would like to take textfield value. How can I convert string ? function sqr(x) { var tx = _level0

Re: [Flashcoders] ::dk:: understanding roll over with addEventListener

2006-10-14 Thread eka
Hello :) if you use Macromedia's V2 components, the Button component don't have over and out event you must override the class and add your custom events. EKA+ :) 2006/10/14, dnk [EMAIL PROTECTED]: Hi there - this is probably a simple question, but... I have been using

Re: [Flashcoders] ::dk :: passing args to onPress, onRollOver, etc

2006-10-16 Thread eka
{ for (var i:Number = 0; i 35; i++) { var bt = this._targetMc[btnHldr + i] ; bt.onPress = Delegate.create( this, press, i ) ; } } EKA+ :) 2006/10/16, dnk [EMAIL PROTECTED]: Hi there, I am trying to write a few mouse events for multiple movieclips. Now say I

Re: [Flashcoders] HTML display component for Flash?

2006-11-04 Thread eka
at the end of the list on the bottom of this link) EKA+ :) 2006/11/4, vipin chandran [EMAIL PROTECTED]: Hello All, I am in search for a flash component which display HTML content. I got one, which is Deng. But it takes a lot of time to render my content. I have my content as XHTML. I am new

Re: [Flashcoders] Q:Framework ARP vs PixLib

2006-11-08 Thread eka
( components) A good library is a set of tools ... not a complete solution to resolve all problems ! EKA+ :) 2006/11/8, Muzak [EMAIL PROTECTED]: See reply inline.. - Original Message - From: Marcelo de Moraes Serpa [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders

Re: [Flashcoders] Q:Framework ARP vs PixLib

2006-11-08 Thread eka
hello :) the documentation is in progress (en english with javadoc) and i think finish it in the version 0.8 :) but for the moment, you can find examples in the svn : http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/bin/test/ EKA+ :) 2006/11/8, Muzak [EMAIL PROTECTED]: Does it come

Re: [Flashcoders] number parsing

2006-11-09 Thread eka
Hello :) in ActionScript (based on ECMAScript) you must use the point '.' to the float numbers, example : 10.5 You can't use the , caractere, 10,5 is false and return NaN if you use the number type. if you want parse 10,5 you must transfor the ',' in '.' ... EKA+ :) 2006/11/9, Hans Wichman

Re: [Flashcoders] Q; Increase Saturation and/or Contrast using setTransform method

2006-11-10 Thread eka
Hello :) you can try the class of Lalex : XColor http://blog.lalex.com/post/2005/09/20/SuperColor-devient-XColor-pour-Flash-8 EKA+ :) 2006/11/10, [EMAIL PROTECTED] [EMAIL PROTECTED]: Anyone have ideas on how to change the contrast and/or saturation using the new setTransform method

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

2006-11-16 Thread eka
/bin/test/asgard/net/ (JSONLoader, EdenLoader) Test my example of Config pattern and localization pattern in http://svn.riaforge.org/vegas/AS2/trunk/bin/test/asgard/config/ (and bin/test/system) For me ... XML is slow and don't keep the typing ! EKA+ :) 2006/11/16, Julien Vignali [EMAIL

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

2006-11-16 Thread eka
Use json or eden ... you can use it in XML to with a deserialization of the nodes ;) x = new XML(xmlitem{ prop1:item1, prop2:item2 }/item/xml) ; you can use JSON.deserialize( x.firstChild.firstChild.firstChild.nodeValue ) ; // it's an example not tested ! EKA+ :) 2006/11/16, Rich Rodecker

Re: [Flashcoders] Searching for Generator-like utility

2006-11-16 Thread eka
Hello :) With BitmapDatas, AS3, flexBuilder, the flex 2 sdk you can do this now :) for example : http://www.kaourantin.net/2005/10/png-encoder-in-as3.html EKA+ :) 2006/11/16, Jim Robson [EMAIL PROTECTED]: Remember Macromedia Generator? With the Generator extensions in the Flash authoring

Re: [Flashcoders] Manually fire Stage resize event.

2006-11-17 Thread eka
... call the callback function in your code :) listener.onResize() ; EKA+ :) 2006/11/17, bayo [EMAIL PROTECTED]: Hi, I'd like to manually fire a Stage resize event without the Stage having actually been resized. Anyone know if this is possible? Thanks. Julian

Re: [Flashcoders] changing a MovieClip instance class at runtime inAS2 ?

2006-11-23 Thread eka
= MyClass.prototype ; // i change the default __proto__ reference(MovieClip.prototype) with the prototype of MyClass. MyClass.call(mc) ; // if you want launch the constructor of the class and initialize the movieclip You can create a function to lauch this hack ... it's more easy. eKA+ :) 2006/11/23, Dani

Re: [Flashcoders] Q:JSON vs XML advantages

2006-11-23 Thread eka
/ directory EKA+ :) 2006/11/23, [EMAIL PROTECTED] [EMAIL PROTECTED]: I know one of the advantages of the JSON format is easier to maintain code, ie your config files can be essentially actionscript. But are there any oither advantages over XML? What about performance? Does it 'parse' faster? Jim

Re: [Flashcoders] Q:JSON vs XML advantages

2006-11-23 Thread eka
is speed no ? EKA+ :) 2006/11/23, Ben Smeets [EMAIL PROTECTED]: JSON Speed? I haven't used it before so can only judge it by what I read on the web :) http://blogs.adobe.com/mikepotter/2006/07/php_and_flex_js.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

Re: [Flashcoders] changing a MovieClip instance class at runtime inAS2 ?

2006-11-26 Thread eka
/... directory EKA+ :) 2006/11/24, Dani Bacon [EMAIL PROTECTED]: hey eka. thx it seems to almost do the trick it changes the class prototype but errors when i try to initialize the constructor using the call method. on stage i have a MC called testMC and the code im using- class Main

Re: [Flashcoders] setRGB question

2006-11-30 Thread eka
Hello :) use Color.setTransform method to clear the color effect :) var c:Color = new Color(mc) ; c.setRGB(0x00) ; c.setTransform ({ra:100, ga:100, ba:100, rb:0, gb:0, bb:0}) ; EKA+ :) 2006/11/30, dan [EMAIL PROTECTED]: Hi guys Im using the setRGB command to change a color

Re: [Flashcoders] onChange or onResize or onX event - howto?

2006-11-30 Thread eka
(); ui.addListener(this) ; ui.x = 25 ; EKA+ :) 2006/11/30, Matthias Dittgen [EMAIL PROTECTED]: Hello, I often need to recognize for some of my gui elemets when the embedded gui elements (childs) have changed or vice-versa the parent elements has changed in a property, like _x, _width, etc

Re: [Flashcoders] onChange or onResize or onX event - howto?

2006-11-30 Thread eka
) ; } ui.addListener(this) ; ui.x = 25 ; EKA+ :) 2006/11/30, Matthias Dittgen [EMAIL PROTECTED]: Hello EKA, thanks for your reply. to your 1: yes, i really don't wanted to use watch. the watch method is less performant, I have read on this list sometime before. That's, why I asked my question

Re: [Flashcoders] onChange or onResize or onX event - howto?

2006-11-30 Thread eka
, removeListener and broadcastMessage... documented since Flash8 but ready in Flash6/7/8... AsBroadcaster is the good solution to begin to used a event model in your code... (example of tutorials about this class : http://www.actionscript.org/resources/articles/116/1/ASBroadcaster/Page1.html ) EKA

Re: Re[2]: [Flashcoders] onChange or onResize or onX event - howto?

2006-11-30 Thread eka
AsBroadcaster (speed) 2 - use GDispatcher class and not AS2 EventDispatcher: http://www.gskinner.com/blog/archives/27.html 3 - use my event model in VEGAS :) (compte event model) EKA+ :) 2006/11/30, Rákos Attila [EMAIL PROTECTED]: MD perhaps I can cotton up with (btw. is this good english

Re: Re[4]: [Flashcoders] onChange or onResize or onX event - howto?

2006-11-30 Thread eka
, EventTarget interface etc.. EKA+ :) 2006/11/30, Matthias Dittgen [EMAIL PROTECTED]: You guys are right, I have mixed two questions into one: 1: properties in AS1/AS2 2: watching properties, EventModel Hello Rákos, thank you for the link to the documentation of the set/get keywords. On that page, you

Re: Re[4]: [Flashcoders] onChange or onResize or onX event - howto?

2006-12-01 Thread eka
of this property. } } And in your code : var t:Test = new Test() ; t.value = 2 ; trace(t) ; EKA+ :) 2006/12/1, Matthias Dittgen [EMAIL PROTECTED]: The set/get (former addProperty) methodology seemed to offer the solution, but now I see, that I can implicit (not writing uio.setSomething, but uio

Re: [Flashcoders] Attach sub class to swf which is loaded via attachMovie()?

2006-12-01 Thread eka
) - http://www.informit.com/guides/content.asp?g=flashseqNum=344rl=1(english) - http://www.gskinner.com/blog/archives/2006/09/garbage_collect.html (search the key work Garbage collector in this blog) EKA+ :) 2006/12/1, Yehia Shouman [EMAIL PROTECTED]: You're welcome Micky EKA, I've been really

Re: [Flashcoders] [AS 3.0] Instantiating a Class from child SWF

2006-12-02 Thread eka
Hello :) read this article in french : http://iteratif.free.fr/blog/index.php?2006/09/14/52-bibliotheque-partagee-sous-flash-9-et-flex-2 i think this article can help you :) EKA+ :) 2006/12/2, James Marsden [EMAIL PROTECTED]: Hey all, I have a problem instantiating a class that's defined

Re: [Flashcoders] Flashpaper for customized documents

2006-12-04 Thread eka
for your classpath. 3 - test the examples in AS2/trunk/bin/test/asgard/loader/FlashPaperLoader.fla :) Read the documentation of the class to see all methods in this loader (you can hide the logo etc...) EKA+ :) 2006/12/5, redknot [EMAIL PROTECTED]: Hi all: I have not used Flashpaper yet. I

Re: [Flashcoders] problem with function access into class

2006-12-06 Thread eka
[Loader] ; } /** * Internal method to test the result */ private function _test( success:Boolean ) { trace( + this + test : + success); trace( + this + xml : + x ) ; // continue your test here ! } } EKA+ :) 2006/12/6, Fratiman Vladut [EMAIL

Re: [Flashcoders] undocumented || usage

2006-12-21 Thread eka
and not the primitive value ;) if you use == or or or != the variable primitive value is used... EKA+ :) 2006/12/22, Steven Sacks | BLITZ [EMAIL PROTECTED]: Saw this recently in code and was surprised that it worked but it's pretty cool. a = foo; b = bar; c = a || b; trace(c); -- foo a = 0

Re: [Flashcoders] A little AS3 AMFPHP 1.9 HowTo

2006-12-22 Thread eka
) ; service.gatewayUrl = http://localhost/work/vegas/php/gateway.php; ; service.serviceName = Test ; service.methodName = getUser ; service.params = [eka, 29, http://www.ekameleon.net

Re: [Flashcoders] problem with combobox within another clip

2006-12-23 Thread eka
= createEmptyMovieClip(holder_mc, 1) ; loader.loadClip(movie.swf, mc) ; PS : MovieClipLoader is better with this event model... EKA+ :) 2006/12/23, natalia Vikhtinskaya [EMAIL PROTECTED]: Hi to all Can anybody help me with this problem? I have combobox in swf file. This loading works well _root.loadMovie(movie.swf

Re: [Flashcoders] problem with combobox within another clip

2006-12-23 Thread eka
and localize the panel of the combobox in the good referencial. Or you can try to read and modify the Macromedia class in the classes/mx packages in the install folder of flash. EKA+ :) 2006/12/23, natalia Vikhtinskaya [EMAIL PROTECTED]: THANK YOU. Maybe you can give me one more advice. When holder

Re: [Flashcoders] problem with combobox within another clip

2006-12-23 Thread eka
Hello :) 1 - use a movieclip to create your mask and the method MovieClip.setMask() (not a layer) 2 - if the first solution don't work. embed the fonts in the library and use the style of the component to embed the fonts and change the default font. EKA+ :) 2006/12/23, natalia Vikhtinskaya

Re: [Flashcoders] problem with combobox within another clip

2006-12-23 Thread eka
in the first frame of the animation) EKA+ :) 2006/12/23, natalia Vikhtinskaya [EMAIL PROTECTED]: Nothing helps. I embed Arial in to the library with name my_font (I did that in movie.swf) then in that movie I write myComboBox.setStyle(fontFamily, my_font); myComboBox.setStyle(fontSize, 12

Re: [Flashcoders] problem with combobox within another clip

2006-12-23 Thread eka
Hello :) All the response are in the documentation ;) Good continuation ;) EKA+ :) 2006/12/23, natalia Vikhtinskaya [EMAIL PROTECTED]: !!! my problem that I did not use myComboBox.setStyle(embedFonts, true); THANK YOU!!! 2006/12/23, eka [EMAIL PROTECTED]: Hello :) dont forget

Re: [Flashcoders] problem with combobox within another clip

2006-12-23 Thread eka
Hello :) Do you use the _lockroot property ? (my first comment explain this property) EKA+ :) 2006/12/23, natalia Vikhtinskaya [EMAIL PROTECTED]: Hi again Yes of course but sometime I don't know where to find solution. So please help more. My continuation is not good. When combox is loaded

Re: [Flashcoders] dynamic TextField with AS3

2006-12-29 Thread eka
; borderColor = 0xFF ; } } EKA+ :) 2006/12/29, John Lawrence [EMAIL PROTECTED]: Hey folks, Im trying to learn how to set a TextField on the stage dynamically with ActionScript 3 something like public function addText(txtname:String, txt:String, X:int, Y:int, format:TextFormat):void

Re: [Flashcoders] create drop caps text ...

2007-01-05 Thread eka
Hello :) you can begin to read this article : http://www.quasimondo.com/archives/000526.php This example explain full justified with flash but you can show a drag tool ... EKA+ :) 2007/1/5, kamal Priyashantha [EMAIL PROTECTED]: i want to create dynamic text with drop caps, pls anyone can

Re: [Flashcoders] Tutorial on the flash mx.* classes?

2007-01-06 Thread eka
Hello :) in flash8 all mx.* classes are documented in the reference of the components in the help of flash (F1) or you can read the online documentation in http://www.gotapi.com/(Macromedia - ActionScript - Component Reference) EKA+ :) 2007/1/6, William Smith [EMAIL PROTECTED]: I know

Re: [Flashcoders] String to object

2007-01-09 Thread eka
of your display with this method. EKA+ :) 2007/1/9, Bart Albrecht [EMAIL PROTECTED]: Hi, I'm migrating some stuff from AS2 to AS3 In AS2 I can do this: function doSomething(btnName:String) { _root[btnName]visible = false; } doSomething(exit_btn); In AS3 I want to do the same: public

Re: [Flashcoders] as 3 help

2007-01-10 Thread eka
/flex/ EKA+ :) 2007/1/10, dan [EMAIL PROTECTED]: Does anyone know if macromedia is going to add the help files to the flash 9 IDE? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http

Re: [Flashcoders] help as3

2007-01-10 Thread eka
Hello :) read this tutorial : http://wiki.media-box.net/tutoriaux/flash/bibliotheque_flash_9 (in french) EKA+ :) 2007/1/10, dan [EMAIL PROTECTED]: Hi all How do you attach a moveclip from the library in as3 there isn't an attachMovie? 10x

Re: [Flashcoders] flash.geom package backport to player 6

2007-01-15 Thread eka
/ EKA+ :) 2007/1/13, Rákos Attila [EMAIL PROTECTED]: Hi, I'd like to use some scripts written for Flash Player 8 in an application targeted to player 6. The script uses flash.geom package which doesn't exist in player 6 (and 7), but as far as I see it doesn't contain anything

Re: [Flashcoders] Algo's to change the ordering of arrays

2007-01-17 Thread eka
Hello :) the algo to the zsorting can inspire you to find your algo : http://www.tweenpix.net/blog/index.php?q=grid+algo EKA+ :) 2007/1/17, Mike Mountain [EMAIL PROTECTED]: I'm looking for some simple algo's to change the ordering of an array which represents squares in a grid

Re: [Flashcoders] Q;3D vector based site...how done?

2007-01-18 Thread eka
of Andre Mitchelle : http://lab.andre-michelle.com/ All example can explain you how this web site is do. EKA+ :) 2007/1/18, [EMAIL PROTECTED] [EMAIL PROTECTED]: Ok, don't normally go 'oh' when seeing flash sites, but I like the novel way that vector graphics have been used within a 3d

Re: [Flashcoders] Q;3D vector based site...how done?

2007-01-18 Thread eka
Hello :) The warped text used the technik of Peter Hall ( http://www.peterjoel.com/blog/) with this tools to creates fx on a movieclip draw api :) EKA+ :) 2007/1/18, eka [EMAIL PROTECTED]: Hello :) i don't know the 3D engine used in this application but 1 - you can try to test

Re: [Flashcoders] Q;3D vector based site...how done?

2007-01-18 Thread eka
this library :) PS : sorry for my english... ;) EKA+ :) 2007/1/18, eka [EMAIL PROTECTED]: Hello :) The warped text used the technik of Peter Hall ( http://www.peterjoel.com/blog/) with this tools to creates fx on a movieclip draw api :) EKA+ :) 2007/1/18, eka [EMAIL PROTECTED]: Hello :) i

Re: [Flashcoders] Override _xscale and _yscale setter in AS2

2007-01-18 Thread eka
://vegas.riaforge.org/ NB 2 : the AbstractComponent class in LunAS with this hack over the enabled property : http://svn.riaforge.org/vegas/AS2/trunk/src/lunas/display/components/AbstractComponent.as EKA+ :) 2007/1/19, Patrick Matte | BLITZ [EMAIL PROTECTED]: In AS2, is it possible

  1   2   >