Re: [Flashcoders] cs3 remoting...

2007-09-14 Thread eka
) ) : http://www.ekameleon.net/blog/index.php?2006/08/28/48--amf-class-mapping-difficile-en-as3 EKA+ :) 2007/9/14, Palmer, Jim [EMAIL PROTECTED]: If you're starting a new project in AS3 just use the NetConnection classes included... http://www.oscartrelles.com/archives

Re: [Flashcoders] AS2 Sound.stop()

2007-09-13 Thread eka
the online documentation : http://vegas.ekameleon.net/docs/andromeda/media/SoundLibrary.html Page project : http://code.google.com/p/vegas/ Install VEGAS with this SVN repository in osFlash : http://code.google.com/p/vegas/wiki/InstallVEGASwithSVN EKA+ :) 2007/9/12, Ian Thomas [EMAIL PROTECTED

Re: [Flashcoders] Traversing through Object goes backwards

2007-09-13 Thread eka
project : http://code.google.com/p/vegas/ Installation : http://code.google.com/p/vegas/wiki/InstallVEGASwithSVN EKA+ :) 2007/9/12, Andy Herrman [EMAIL PROTECTED]: Objects work pretty much like hashtables (from my understanding). Hashtables generally don't guarantee any kind of ordering

Re: [Flashcoders] variable scope

2007-09-09 Thread eka
class it's more easy to begin with the proxy model. EKA+ :) 2007/9/9, Lee Marshall [EMAIL PROTECTED]: I have just created a class 'ClassA' that loads an XML file.Within that class I have a public function that navigates through the XML and populates arrays with the XML content. I am now

Re: [Flashcoders] AS3 _url?

2007-09-05 Thread eka
Hello :) oops problem of keyboad :p In the AS2 Migration page : http://livedocs.adobe.com/flex/2/langref/migration.html You can read : _url Property[read-only] flash.display.Loader.contentLoaderInfohttp://livedocs.adobe.com/flex/2/langref/flash/display/Loader.html#contentLoaderInfo EKA

Re: [Flashcoders] AS3 _url?

2007-09-05 Thread eka
Hello :) In the AS2 Migration page : http://livedocs.adobe.com/flex/2/langref/migration.html You c 2007/9/4, eric e. dolecki [EMAIL PROTECTED]: _url has been removed from AS3. Trying to find its replacement... is there one? - eric ___

Re: [Flashcoders] AS3 Events, Delegates and passing parameters

2007-09-03 Thread eka
concept. Sorry for the POO notation.. i'm french and in french we write POO and not OOP ^_^ EKA+ :) 2007/9/2, Kerry Thompson [EMAIL PROTECTED]: EKA+ wrote: The event model concept it's not very for a newbee POO developper I understand your point, and agree. I must have been asleep

Re: [Flashcoders] Importing illustrator files

2007-09-02 Thread eka
Hello :) The best way... use FlashCS3 and Illustrator CS3 with a full compatibility and an import tools to import AI, EPS and PSD files in Flash and keep the TextField behaviours between all softwares. EKA+ :) 2007/9/2, Lee Marshall [EMAIL PROTECTED]: I am creating some vector based

Re: [Flashcoders] as3 code!!

2007-09-02 Thread eka
; public dynamic class Test extends Sprite { public function Test() { for (var i:uint = 0 ; i10 ; i++) { this[somevarname+i] = i; } trace( this.somevarname2 ) ; // 2 } } } EKA+ :) 2007/9/1, [p e r c e p

Re: [Flashcoders] AS3 Events, Delegates and passing parameters

2007-09-02 Thread eka
Hello :) it's not a problem ;) only a supplement to highlight this feature. For me i think the clone() method call alway in the dispatch event isn't the better fast solution to dispatch the events ... but it's an other story ;) EKA+ :) 2007/9/1, Muzak [EMAIL PROTECTED]: I don't see why

Re: [Flashcoders] AS3 Events, Delegates and passing parameters

2007-09-02 Thread eka
- The developpers who develop in AS3 and read the reference ;) For the 3 developpers the discussion about a problem or not it's always important :) The event model concept it's not very for a newbee POO developper and don't forget... we can't should be aware of all :) EKA+ :) 2007/9/2, T. Michael

Re: [Flashcoders] as3 code!!

2007-09-02 Thread eka
/docs/vegas/data/map/HashMap.html PS : You can use my AS3 opensource abstract data type (ADT) library in the vegas.data.* package : http://code.google.com/p/vegas/ EKA+ :) 2007/9/2, T. Michael Keesey [EMAIL PROTECTED]: On 9/1/07, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote: greetings

Re: [Flashcoders] AS3 Events, Delegates and passing parameters

2007-09-01 Thread eka
Hello :) The events are cloned the second time in the dispatchEvent method. My article about this problem in french : http://www.ekameleon.net/blog/index.php?2007/08/25/75--as3-event-class-and-the-clone-method EKA+ :) 2007/9/1, T. Michael Keesey [EMAIL PROTECTED]: On 8/31/07, Mark Carolin

Re: [Flashcoders] Iterator question

2007-08-31 Thread eka
) application EKA+ :) 2007/8/31, Austin Kottke [EMAIL PROTECTED]: Hey eka, In the vegas framework there is a mention of #ASTr'O. It says it does templates however I dont understand what you mean here. Can you elaborate with a code example? Best, Austin eka wrote: Hello :) You can

Re: [Flashcoders] creating variable names dynamically in AS3

2007-08-31 Thread eka
; map.put( key, value ) ; } trace( map.get( 'key2' ) ) ; trace( map.containsKey('key3') ) ; trace( map.isEmpty() ) ; // etc.. EKA+ :) 2007/8/30, Geografiek [EMAIL PROTECTED]: Hi, In AS2 in a for loop I would create a variable dynamically with: var this[nsPrefix + NS]:Namespace = new Namespace

Re: [Flashcoders] Iterator question

2007-08-30 Thread eka
and vegas.data.map packages ;) EKA+ :) 2007/8/27, Andy Herrman [EMAIL PROTECTED]: Why not use a hashtable instead of an array? Give your elements all unique IDs (you could even just do an incrementing integer). A hashtable would give you faster lookup (don't have to iterate over the array

Re: [Flashcoders] Dynamically Loading Sound Files from external SWFs

2007-08-30 Thread eka
is the astro package : http://astr.googlecode.com/svn/trunk/AS2/trunk/src/astro/ 3-2 The more complete template is the eGallery example : http://astr.googlecode.com/svn/trunk/AS2/trunk/examples/egallery/trunk/ EKA+ :) 2007/8/29, Shawn Steward [EMAIL PROTECTED]: I have a project that has one main

Re: [Flashcoders] sending array items as function parameters

2007-08-22 Thread eka
and this two methods call and apply. You can read too the arguments definition. EKA+ :) 2007/8/22, Tom Huynen [EMAIL PROTECTED]: Another question... I have an array that varies in length: var myArray:Array = [item0, item1, item2, etc]; And I have a few functions that require a different

Re: [Flashcoders] EventDispatcher and Delegate not working in flash develop...

2007-07-30 Thread eka
:) EKA+ :) 2007/7/30, Omar Fouad [EMAIL PROTECTED]: Um using flash develop to write some as2 classes.. The problem is that apparently mtasc is not compiling mx packages. I set the useMx option to true and i get the same result. what can i do? thanks -- Omar M. Fouad - Digital Emotions

Re: [Flashcoders] Q:optimizing a Calendar app

2007-07-29 Thread eka
( app ) ; PS : My HashMap implementation in AS3 in VEGAS is based over the Dictionnary class. EKA+ :) 2007/7/29, Steven Sacks [EMAIL PROTECTED]: Apologies for not being clearer. I did not intend for you to use new Date().getTime() literally. What I meant was events[new Date(year, month

Re: [Flashcoders] Full screen mode.. How?

2007-07-27 Thread eka
[displayState] = normal ; } In AS3 you can read : http://drawk.wordpress.com/2007/06/12/howto-using-the-contextmenu-in-as3-with-fullscreen-mode-as-a-sample/ EKA+ :) 2007/7/27, Omar Fouad [EMAIL PROTECTED]: How can i make flash in a browser to show up in full screen like the youtube videos and here http

Re: [Flashcoders] AS3 instantiating a new class object from a string value

2007-07-26 Thread eka
Hello :) in AS3 to instanciate an object with only this class name (String) you can use the flash.utils.getDefinitionByName() method : http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/utils/package.html#getDefinitionByName() EKA+ :) 2007/7/26, JOR [EMAIL PROTECTED]: How

Re: [Flashcoders] AS3 - how do i find the path to where a MC belongs?

2007-07-24 Thread eka
( parent.name ) ; parent = parent.parent ; if (parent.name == null) { break ; } } parents.reverse() ; return parents.join( . ) ; } } but it's not the better solution lol eKA+ :) 2007/7

Re: [Flashcoders] Global Error Handler

2007-07-14 Thread eka
.. you can find in my SVN repository the FlashInspector and the SOS consoles : http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/tools/ EKA+ :) 2007/7/14, Hans Wichman [EMAIL PROTECTED]: Hi, yes I have set up some kind of global mechanism for AS2. You can find it here http

Re: [Flashcoders] Application Structure - Flash Remoting MovieClipLoader

2007-07-12 Thread eka
application... EKA+ :) 2007/7/12, Richard Mueller [EMAIL PROTECTED]: Well, the past 24 hours have been interesting to say the least. I've never really written a class, yet I know a lot about them and understand them for the most part. Before starting the project, I knew I was going to run

Re: [Flashcoders] Fullscreen problem

2007-07-06 Thread eka
Hello :) no solution for the moment for your problem :) The fullscreen mod disabled the input fields.. Adobe implement this restriction but i don't know why ? EKA+ :) 2007/7/6, Izaias / Grafikonstruct [EMAIL PROTECTED]: Hi everyone! I have created a website with fullscreen option, using

Re: [Flashcoders] Controllingt he volume of multiple sound objects at the same time

2007-07-06 Thread eka
i use an external file of config to defines all sounds and i load an external sound to shared the sounds of the the application http://code.google.com/p/astr/ EKA+ :) 2007/7/6, Rákos Attila [EMAIL PROTECTED]: Sound objects associated with the same movie clip share their properties (volume

Re: [Flashcoders] Problems opening windows in Flash 8 w/Java Script...

2007-07-03 Thread eka
Hello :) in flash8 you must use the ExternalInterface class :) if ( ExternalInterface.available ) { ExternalInterface.call( openWindow , params ) ; } EKA+ :) 2007/7/3, Jay Carlson [EMAIL PROTECTED]: so I've been working on a new flash project that opens new windows to display

Re: [Flashcoders] Stopping a Movie Clip animation

2007-06-24 Thread eka
( this.totalFrames, this.stop) ; // not tested ! } } } Article about this method : http://www.flashguru.co.uk/undocumented-actionscript-3/ An example of use : http://jeanphiblog.media-box.net/dotclear/index.php?2006/11/24/230-flash-9-addframescript-fonction-non-documentee EKA+ :) 2007/6/24

Re: [Flashcoders] How can we sum to dates???

2007-06-16 Thread eka
: Jun 14 2007 11:30:00 trace( finish : + sFinish ) ; // finish : Jun 14 2007 12:20:00 EKA+ :) var end:Calendar = Calendar.add( begin , Calendar.MINUTES 2007/6/16, Amandeep Singh [EMAIL PROTECTED]: Hi everyone, I got stuck in a problem. What i need is to sum to dates. Let say

Re: [Flashcoders] How can we sum to dates???

2007-06-16 Thread eka
) ; var sBegin:String = begin.format(MM dd hh:nn:ss) ; var sFinish:String = end.format(MM dd hh:nn:ss) ; trace( start : + sBegin ) ; trace( finish : + sFinish ) ; It's more easy now ;) EKA+ :) 2007/6/16, eka [EMAIL PROTECTED]: Hello :) if you have 2 minutes : 1 - install

Re: [Flashcoders] AS2: Multilanguage-Listener

2007-06-12 Thread eka
/ in a application based with VEGAS. EKA+ :) 2007/6/12, Cristo @ cryzto.ch [EMAIL PROTECTED]: Hi everybody I'm working on a multilanguage configurator and want to update every textareas, labels etc. by clicking on one of the available lang-buttons (english, german, spanish ect.). My configurator

Re: [Flashcoders] Private var not accessible?

2007-06-08 Thread eka
Hello :) more information about vegas in the projects page : - http://code.google.com/p/vegas/ And you can see the event model tutorials in this page : http://code.google.com/p/vegas/wiki/VegasTutorialsEvents EKA+ :) 2007/6/8, JOR [EMAIL PROTECTED]: Oh cool, I never saw the VEGAS framework

Re: [Flashcoders] Private var not accessible?

2007-06-07 Thread eka
Hello :) you must use the second notation of the method : var delay = _global.setTimeout( this, delayedFunc, 1000 ); EKA+ :) 2007/6/7, eric e. dolecki [EMAIL PROTECTED]: I have a simple class and I can't access a private var after using setTimeout... I typed this up to show whats happening

Re: [Flashcoders] IE7 Crashing on FileReference.download()

2007-06-07 Thread eka
.. not the download :( Same problem with all FP9 version and the FP8 :( And i don't know why ? EKA+ :) 2007/6/7, Joshua Buhler [EMAIL PROTECTED]: I've actually had her uninstall/install the FP 3 times now, with no luck. I've found a few forum posts which have a list of registry items to tweak

Re: [Flashcoders] Private var not accessible?

2007-06-07 Thread eka
:) I prefere the dom2/3 of the W3C event model to manage my intervals too ;) EKA+ :) 2007/6/8, JOR [EMAIL PROTECTED]: Eka, was right about the notation being the problem but I thought I would mention something small I noticed. You declare delay as a private property of the class

Re: [Flashcoders] survival off eventlisteners on class instance redeclaration?

2007-06-02 Thread eka
is a property of the instance. PS : you can use the event model in AS2 or AS3 or SSAS(JS) of my openSource framework VEGAS : http://code.google.com/p/vegas/wiki/VegasTutorialsEvents To install VEGAS : http://code.google.com/p/vegas/wiki/InstallVEGASwithSVN EKA+ :) 2007/6/1, Latcho [EMAIL PROTECTED

Re: [Flashcoders] AS2: capturing a href=link/a events?

2007-05-16 Thread eka
; field.border = true ; field.setNewTextFormat( format ) ; field.html = true ; field.htmlText = 'a href=asfunction:myMethod,param1,param2Link/a' ; You can use TextField.StyleSheet to apply a css style in your fields etc Read the actionscript reference with the words TextField and asfunction :) EKA

Re: [Flashcoders] compiling swf without flash

2007-05-15 Thread eka
Hello :) you can use http://swfmill.org/ and http://www.mtasc.org/ to do it :) EKA+ :) 2007/5/15, Bas Quentin // Byontik [EMAIL PROTECTED]: I would like to know if you know a solution for the following problem.. I just would like to know if it's possible and what tools you would use.. I

Re: [Flashcoders] Quick syntax q: how to write a function that can receive an undefined number of parameters

2007-05-11 Thread eka
Hello :) you don't limit your while loop instruction ? while ( --i -1) { } EKA+ :) 2007/5/11, Steven Sacks [EMAIL PROTECTED]: Even more optimized public static function center():Void { var targetClip:MovieClip = MovieClip(arguments.shift()); centerX:Number = targetClip._x

Re: [Flashcoders] Quick syntax q: how to write a function that canreceive an undefined number of parameters

2007-05-11 Thread eka
; trace( while(--len -(-1)) speed : + time + ms) ; break ; } } } for speed : 329 ms while(len--) speed : 305 ms while(--len -1) speed : 324 ms while(--len -(-1)) speed : 418 ms Thanks :) EKA+ :) 2007/5/11, Steven Sacks [EMAIL PROTECTED]: I think he was pointing out

Re: [Flashcoders] Question on removeEventListener and Delegate callback

2007-05-07 Thread eka
the tutorials about the W3C event model : http://code.google.com/p/vegas/wiki/VegasTutorialsEvents For me .. it's more easy with this implementation. eKA+ :) 2007/5/7, Jiri Heitlager | dadata.org [EMAIL PROTECTED]: I was wondering if I am doing something correctly when adding listeners to objects. My

Re: [Flashcoders] Question on removeEventListener and Delegatecallback

2007-05-07 Thread eka
:) For the moment i finish the final version of the AS2 library. EKA+ :) 2007/5/7, Ken Rogers [EMAIL PROTECTED]: Hi Eka! I have been secretly becoming addicted to VEGAS. I guess It isn't secret anymore :P I wanted to ask you if it was alright to use VEGAS for a commercial project I am starting this week

Re: [Flashcoders] Question on removeEventListener and Delegatecallback

2007-05-07 Thread eka
Hello :) i you want.. you can show the source code of my last opensource project AST'r : http://code.google.com/p/astr/ This project is a laboratory to implements application templates based on VEGAS :) This project can help you to use VEGAS in your commercial project ? :) EKA+ :) 2007/5/7

Re: Re: [Flashcoders] LoadVars array.length problem

2007-05-05 Thread eka
data.txt you can write an array with the Javascript notation : [ 1 , 2 , true, hello world , { prop1 : value1, prop2 : value2 } , 0xFF ] To install my framework you can read this page : http://code.google.com/p/vegas/wiki/InstallVEGASwithSVN More easy... more speed :) EKA+ :) 2007/5/5

Re: [Flashcoders] remoting with as3 (not flex)

2007-05-05 Thread eka
; service.methodName = getUser ; service.params = [eka, 30, http://www.ekameleon.net;] ; // o Launch Service service.trigger

Re: [Flashcoders] LoadVars array.length problem

2007-05-05 Thread eka
Hello :) It's more easy to use JSON ? Xml is more difficult in AS2 ? EKA+ :) 2007/5/5, Muzak [EMAIL PROTECTED]: Dump the textfile idea and use XML instead, which is far better suited for stuff like menu's. ?xml version=1.0 encoding=UTF-8 ? menu item label=about us / item label

Re: [Flashcoders] remoting with as3 (not flex)

2007-05-05 Thread eka
Ok thanks.. the tortoiseSVN download link is changed : http://tortoisesvn.net/downloads i have modify the link in my tutorial :) EKA+ :) 2007/5/5, Leandro Amano [EMAIL PROTECTED]: The url download not found: http://tortoisesvn.tigris.org/download.html :( Leandro Amano On 5/5/07, eka [EMAIL

Re: [Flashcoders] AS2: Design Pattern: event based or pointer? from model or controller?

2007-05-04 Thread eka
an opensource example to implements with Vegas a full application with a global FrontController, MVC , config and localization model etc... This project is in alpha version but explain the event implementation of VEGAS. EKA+ :) 2007/5/3, sebastian [EMAIL PROTECTED]: Hello folks, My next question

Re: [Flashcoders] How to call a global method like trace--not the class method?

2007-04-28 Thread eka
to debug your application : Debug.trace( hello world ) ; or _global.WRITE( hello world ) ; EKA+ :) 2007/4/28, Douglas Pearson [EMAIL PROTECTED]: We have a class used in a lot of code that has a trace method in it: class Debug { public function trace(str:String):void { .. } } Now we'd

Re: [Flashcoders] Q: Best tool for AS3 development

2007-04-25 Thread eka
Hello :) For me... i wait FDT3 - http://www.powerflasher.com/fdt/forum/viewtopic.php?t=801 EKA+ :) 2007/4/25, Eric E. Dolecki [EMAIL PROTECTED]: I like Flex Builder and I know many who like FlashDevelop as well. The AS editor in Flash CS3 is improved, but I don't like coding in it as much

Re: [Flashcoders] Why does this work?!

2007-04-17 Thread eka
: { break; } default : { cs = ConnectionState.NOT_CONNECTED ; } } this._connectionState = cs ; } EKA+ :) 2007/4/17, Andy Herrman [EMAIL PROTECTED]: I just realized that there are a number of switch statements

Re: [Flashcoders] Delegate.create() not working in flash develop.....

2007-04-10 Thread eka
/InstallVEGASwithSVN - Tutorials about event model with VEGAS : http://code.google.com/p/vegas/wiki/VegasTutorialsEvents - Tutorial about the vegas.events.Delegate class in VEGAS : http://code.google.com/p/vegas/wiki/VegasTutorialsEvents_delegate EKA+ :) 2007/4/10, Omar Fouad [EMAIL PROTECTED]: Hi list, I

Re: [Flashcoders] Recommended frameworks

2007-04-09 Thread eka
/osflash/vegas/ link... you can find all examples in the directory AS2/bin/test My Framework use buRRRn libraries like Core2 ( http://code.google.com/p/core2/) - ASTuce(unit tests) ( http://code.google.com/p/astuce/ ) - eden (http://code.google.com/p/edenrr/) EKA+ :) 2007/4/9, Nik Derewianka

Re: [Flashcoders] Constructors in AS2 SWFs not being called when loaded by AS3

2007-04-07 Thread eka
article about this : http://www.envrac.org/index.php/2006/07/07/98-as3-avm1-et-avm2 You can too read the article about the ApplicationDomain : http://livedocs.adobe.com/flex/2/langref/flash/system/ApplicationDomain.html EKA+ :) 2007/4/7, Michael Mudge [EMAIL PROTECTED]: I've got an AS 2.0

Re: [Flashcoders] Enumerating properties from outside an instance.

2007-04-05 Thread eka
/InstallVEGASwithSVN EKA+ :) 2007/4/6, David Ngo [EMAIL PROTECTED]: If you're looking to iterate through a nested object(s), then you have to create a nested loop: function loopMe(target:Object):Void { trace('-- looping through: ' + target + '--'); for (var s:String

Re: [Flashcoders] eolas fix for IE7

2007-04-03 Thread eka
Hello :) you use the last version of SWFObject ? (1.5) http://blog.deconcept.com/swfobject/ EKA+ :) 2007/4/3, Adrian Lynch [EMAIL PROTECTED]: I'm using it and it works. Got any code to have a look at. Maybe you're using it differently. Adrian -Original Message- From: [EMAIL

Re: [Flashcoders] Events for custom classes?

2007-04-03 Thread eka
BasicEvent(MY_EVENT1, this) ) ; trace(---) ; EventDispatcher.getInstance().dispatchEvent( new BasicEvent(MY_EVENT2, this) ) ; For me it's the best solution to use an event model AS2 like AS3 ! EKA+ :) 2007/4/3, David Ngo [EMAIL PROTECTED]: You'll need a reference of the dispatching class in your

Re: [Flashcoders] MovieClip prototype

2007-03-29 Thread eka
= MyButton.prototype ; // change the prototype scope of the visual instance mc MyButton.call(mc) ; // launch the constructor of the MyButton class over the visual instance. mc.addListener( listener ) ; // EKA+ :) 2007/3/28, Matheus Araujo [EMAIL PROTECTED]: Hello coders... I'm trying to create

Re: [Flashcoders] MovieClip prototype

2007-03-29 Thread eka
in your library with the link parameters of the symbol. EKA+ :) 2007/3/29, Matheus Araujo [EMAIL PROTECTED]: It worked... but just for the mc instance... I have lots of MCs working as buttons on my movie and I don't want to call the function on each button... I need to have a listener

Re: [Flashcoders] How to find yesterday?

2007-03-27 Thread eka
extends the Date class... EKA+ :) 2007/3/27, eka [EMAIL PROTECTED]: hello :) try this : var d:Date = new Date() ; var oneDayInMS:Number = 1000*60*60*24 ; var timestamp:Number = d.valueOf() ; var yesteday:Date = new Date( timestamp - oneDayInMS ) ; trace( d + : + yesteday ) ; EKA

Re: [Flashcoders] How to find yesterday?

2007-03-27 Thread eka
hello :) try this : var d:Date = new Date() ; var oneDayInMS:Number = 1000*60*60*24 ; var timestamp:Number = d.valueOf() ; var yesteday:Date = new Date( timestamp - oneDayInMS ) ; trace( d + : + yesteday ) ; EKA+ :) 2007/3/27, natalia Vikhtinskaya [EMAIL PROTECTED]: I am looking

Re: [Flashcoders] timer question

2007-03-25 Thread eka
seconds) ; EKA+ :) 2007/3/23, Gustavo Duenas [EMAIL PROTECTED]: Hi, I'm trying to launch an event using a timer so far the code for trace something is this: var now = new Date(); var seconds:Number = now.getSeconds(); trace(seconds); var newSeconds: Number = seconds+10; if ( seconds

Re: [Flashcoders] Localization issue with XML

2007-03-20 Thread eka
/deploy/locale/localize_fr.eden The Eden format is a format based on ECMAScript and ActionScript notation ! You must create a empty UTF8 text file and creates inside an easy object :) For me this method is better like XML and this CDATA ;) EKA+ :) 2007/3/20, Steven Sacks | BLITZ [EMAIL PROTECTED

Re: [Flashcoders] JSON issues with Flash Lite 2.1

2007-03-15 Thread eka
Hello :) i don't coding with Flash Lite 2.1 but you can try my JSON implementation in my openSource framework : http://vegas.riaforge.org/ http://svn.riaforge.org/vegas/AS2/trunk/src/vegas/string/JSON.as EKA+ :) 2007/3/15, Pete Thomas [EMAIL PROTECTED]: Hi Guys Has anyone out there managed

Re: [Flashcoders] How to read variables from file into an array.

2007-03-09 Thread eka
) For me ... the xml is really a no-ECMAScript solution to use external datas with Flash ;) EKA+ :) 2007/3/9, Merrill, Jason [EMAIL PROTECTED]: Why not using JSON? I haven't used it yet but this seems like a good opportunity from the examples I've studied. Because JSON is Javascript and more

Re: [Flashcoders] sortable map structure

2007-03-01 Thread eka
implementation of the TreeMap java class but this work is in progress... when the AS2 version will be finished, i think write the AS3 and SSAS version If you read the source code of my ArrayMap class .. you can extend the methods and sort the values EKA+ :) 2007/3/1, Davor Bauk [EMAIL PROTECTED

Re: [Flashcoders] sortable map structure

2007-03-01 Thread eka
Hello :) My vegas.data.map.HashMap AS3 version is based on the Dictionnary object but you can't sort the values and the keys of the map with this object. EKA+ :) 2007/3/1, Wagner Amaral [EMAIL PROTECTED]: Maybe you're looking for the Dictionary Object? http://www.gskinner.com/blog/archives

Re: [Flashcoders] load jpg/gif to player 6 AS1?

2007-02-19 Thread eka
hello :) in the FP6 and you can load gif or png... you must use PHP to transform the picture server side : http://www.quasimondo.com/archives/000407.php EKA+ :) 2007/2/19, Arseniy Shklyaev [EMAIL PROTECTED]: loadMovie(../widegames/scrnshots/bladeofinnocence.gif, screenshot);flashcoders

Re: [Flashcoders] Linked library in loaded swf file

2007-02-19 Thread eka
sounds, movieclips etc... EKA+ :) 2007/2/19, Coffield, Jim [EMAIL PROTECTED]: Hi, I have a flash movie that under various circumstances loads external .swf flies. Is it possible to access the library of the loaded .swf file. I have some sound files in the library of the loaded .swf file

Re: [Flashcoders] Re: _lockroot resetting

2007-02-17 Thread eka
Hello :) you can try _root._lockroot = true ; ? EKA+ :) 2007/2/17, Hans Wichman [EMAIL PROTECTED]: So, any ideas anyone? This 'feature' kinda messes up the whole system atm ... thanks in advance JC On 2/14/07, Hans Wichman [EMAIL PROTECTED] wrote: Hi, in an application I am working

Re: [Flashcoders] Action Script editor

2007-02-17 Thread eka
Hello :) flashDevelop work in Mac ? For me the best Flash Editor is Eclipse + FDT but fdt is free only if you develop an OpenSource projet... EKA+ :) 2007/2/17, dr.ache [EMAIL PROTECTED]: Hi Pedr. My editor of choice is FlashDevelop[www.flashdevelop.org]. Its absolutely easy to install

Re: [Flashcoders] Re: for...in property access replacement in AS3?

2007-02-16 Thread eka
a dynamic class to enumerate the content with for..in and not use public var declaration of the properties ! EKA+ :) 2007/2/16, Matt Garland [EMAIL PROTECTED]: Thanks Mike, you are the man. I didn't use setPropertyIsEnumerable, because adding that for every property would be as much typing

Re: [Flashcoders] Flash 9 standalone - no fullscreen on Linux

2007-02-15 Thread eka
Hello :) Can you explain the code use to create a fullscreen mode in linux ? In you web HTML page do you use the property allowFullScreen with the true value ? EKA+ :) 2007/2/15, August Gresens [EMAIL PROTECTED]: Hello We're developing a kiosk that needs to run on Linux full screen

Re: [Flashcoders] Anyone hate flash 9 already?

2007-02-13 Thread eka
Hello :) Flash 9 ? or AS3 ? Flash 9 is only in alpha version... We can't hate Flash9 because don't exist lol AS3 is the best solution for the moment to develop web richmedia application for me ! But we can't compare FP9, flash9 and AS3 ... EKA+ :) 2007/2/13, Arseniy Shklyaev [EMAIL

Re: [Flashcoders] Loading images directly to BitmapData in AS2?

2007-02-13 Thread eka
Hello :) you must load with loadMovie or MovieClipLoader you external picture ... not solution in AS2 to load a dynamic picture in the BitmapData class only. EKA+ :) 2007/2/13, Henry Cooke [EMAIL PROTECTED]: Hey all, It it possible to load an image (PNG/JPG) directly into memory or (even

Re: [Flashcoders] Adding a function to the String prototype

2007-02-13 Thread eka
the Adobe class and the Core2 class. eKA+ :) 2007/2/13, Pete Miller [EMAIL PROTECTED]: I thought this was as easy as: String.prototype.traceFoo = function():Void { trace(foo); } var s:String = new String(); s.traceFoo(); But that results in an error, There is no method

Re: [Flashcoders] extends MovieClip

2007-02-04 Thread eka
/util/factory/ You can use the composition pattern and not the extend pattern to control a movieclip... in my framework you can use the DisplayObject AS2 class in the asgard.display package. EKA+ :) 2007/2/4, David Cohn [EMAIL PROTECTED]: Hey all, Is it possible to use a class extends MovieClip

Re: [Flashcoders] sort 2d array

2007-02-01 Thread eka
] ) { return -1 ; } else if (a[1] b[1] ) { return 1 ; } else { return 0 ; } } trace(myArray) ; myArray.sort( compare ) ; trace(myArray) ; I think the Actionscript in FP8 or FP9 really speed ! EKA+ :) 2007/2/1, [EMAIL PROTECTED] [EMAIL

Re: [Flashcoders] JSON vs. XML for CDROM configuration

2007-01-30 Thread eka
page : http://download.burrrn.com/ EKA+ :) 2007/1/30, Paul Steven [EMAIL PROTECTED]: Thanks Ian for the useful advice. I would appreciate your thoughts and indeed the thoughts of anyone else, on my use of a config file for this project. Not sure if a config file is the best solution for what I

Re: [Flashcoders] - dynamic content for flash paper?

2007-01-30 Thread eka
dynamic documents the best way is a dynamic flipbook : http://www.page-flip.com/?c=12kw=book-flipgclid=COi63uqViYoCFR8OZwod6gv9eQ EKA+ :) eKA+ :) 2007/1/30, nelson ramirez [EMAIL PROTECTED]: Yeah I normally do the same. but sometimes there are issues with the safari browser on macs. Plus , i

Re: [Flashcoders] - dynamic content for flash paper?

2007-01-30 Thread eka
=1551903488172905143 For me with this tools you can create HTML/AJAX/AS3/FLEX/PDF projects in Linux/OSX/Windows with all tools to creates rich media application. EKA+ :) 2007/1/30, Merrill, Jason [EMAIL PROTECTED]: Flash paper is dead... Apollo is the next big project of Adobe and replace for me FlashPaper

Re: [Flashcoders] - dynamic content for flash paper?

2007-01-30 Thread eka
comment. EKA+ :) 2007/1/31, Merrill, Jason [EMAIL PROTECTED]: About apollo : read : LOL. I think you need to read those very links you sent. Apollo targets operating systems (Windows and Mac), not browsers. People using browsers will not use Apollo in the browser. Apollo is a desktop app

Re: [Flashcoders] HTML Rendering Code ?

2007-01-29 Thread eka
Hello :) If you can wait between 6 and 12 months... Apollo the project of Adobe can display HTML pages in a MovieClip :) EKA+ :) 2007/1/29, vipin chandran [EMAIL PROTECTED]: Hi All, I am in search for a good and faast html or xhtml rendering engine for using in my project. I have tried

Re: [Flashcoders] math simple operation

2007-01-27 Thread eka
, example : import vegas.util.NumberUtil ; var result = Number(NumberUtil.toFixed(9.3 - 9, 1)) ; trace(result) ; // 0.3 var result = Number(NumberUtil.toFixed(100.3-100, 1)) ; trace(result) ; // 0.3 EKA+ :) 2007/1/27, ntasky [EMAIL PROTECTED]: Hi, I'm kind of disapointed : trace (1.3-1) // traces

Re: [Flashcoders] problem moving an object

2007-01-26 Thread eka
:) The tween class is the work of robertpenner : http://www.robertpenner.com EKA+ :) 2007/1/26, Gustavo Duenas [EMAIL PROTECTED]: hi, this is code: this.onEnterFrame = function(){ if (this.myLoader._x eq this.myLoader._x-1){ delete onEnterFrame

Re: [Flashcoders] Shorhand for if statement without else statement

2007-01-26 Thread eka
if you use the cond?true:false operator to return a true value... you can use directly the condition with the object. if ( myObject ) { trace(myObject exist !!!) ; } myObject is true if is defined and false if is undefined. EKA+ :) 2007/1/26, Helmut Granda [EMAIL PROTECTED]: does anybody

Re: [Flashcoders] Shorhand for if statement without else statement

2007-01-26 Thread eka
Hello :) warning with the Boolean( o ) if your object is a number... the Boolean(0) is false but : var n = 0 ; trace(Boolean(n)) ; // false When you test a number the isNaN(n) is better i think :) EKA+ :) 2007/1/26, Helmut Granda [EMAIL PROTECTED]: thanks everyone for your comments, yes

Re: RE: [Flashcoders] how to tell if you're running in the ide

2007-01-26 Thread eka
() ) { // initialize log model } else { // do nothing ! } EKA+ :) 2007/1/26, John Mark Hawley [EMAIL PROTECTED]: You can also set up your code along these lines: var inTestMovie:Boolean = false; trace( inTestMovie = true ); if (inTestMovie) { // do wacky test movie stuff } else

Re: [Flashcoders] Shorhand for if statement without else statement

2007-01-26 Thread eka
Hello :) In FDT for example : cond ? methodA() : methodB() failed :) The operator cond ? true : false is used to return a value but isn't really the good solution to launch method i think :) EKA+ :) 2007/1/26, Steven Sacks | BLITZ [EMAIL PROTECTED]: does anybody knows if there is any

Re: [Flashcoders] AS 2 Logging Library

2007-01-25 Thread eka
and FDT compatible. EKA+ :) 2007/1/25, Andy Herrman [EMAIL PROTECTED]: I'm looking for a good logging library compatible with Flash 7 along the lines of log4j. I found this one, which looks exactly like what I want: http://code.audiofarm.de/Logger/ but it won't build with MTASC (works fine

Re: [Flashcoders] AS 2 Logging Library

2007-01-25 Thread eka
VEGAS in your applications ;) EKA+ :) 2007/1/25, Andy Herrman [EMAIL PROTECTED]: I looked at VEGAS actually, but wasn't sure whether I could use it. I'm not really clear on how the Mozilla license handles linking. Specifically, if I don't modify any of the VEGAS code and simply use its classes

Re: [Flashcoders] AS 2 Logging Library

2007-01-25 Thread eka
, eka [EMAIL PROTECTED] wrote: Hello :) With my licence you can do commercial, free application etc. You can use an other licence with my framework and your work keep this licence ;) For me openSource if open ... the objective is to considerate my work and the time passed to implement

Re: [Flashcoders] Multi-dimensional array problems in classes

2007-01-22 Thread eka
Hello :) If you can compile your code in AS2 you can use my openSource framework VEGAS and this ADT package (vegas.data) ... you can find in this library all JAVA collections (Collection, Map, Iterator, List, Queue...) i think you can find good tools for you problem :) 1 - go in the project pa:

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

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

2007-01-18 Thread eka
if you overrides the properties the problem is to keep the resize effect on the movieclip ? EKA+ :) 2007/1/19, Thomas Fowler [EMAIL PROTECTED]: Why not just make a getter and setter called XScale and a getter and setter called YScale in your subclass each returning and setting

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

  1   2   >