F
protocol 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]
[mai
... Try
the examples in AS2/trunk/bin/test/util/... 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
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 colo
" + who + " with the value : " + x) ;
}
var ui:MyUIObject = new MyUIObject();
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 (chil
" with the value : " + x) ;
}
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 so
ooops... ui.addListener(this) ; is no necessary now in your test in my last
message;)
the
2006/11/30, eka <[EMAIL PROTECTED]>:
Hello :)
you can but a good event model use AsBroadcaster or other system to
dispatch the events :) In my personnal AS2 OpenSource framework i use a
event
, 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
- use 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 thi
his } ) ;
... my framework implement 3 event models.. but the
vegas.events.EventDispatcher is more complete... with EventListener, Event,
EventTarget interface etc..
EKA+ :)
2006/11/30, Matthias Dittgen <[EMAIL PROTECTED]>:
You guys are right, I have mixed two questions into one:
1: propertie
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.setSomethi
ocal variables with a var in a method is remove by the Garbage
collector at the end of the call function.
EKA+ :)
2006/12/1, Yehia Shouman <[EMAIL PROTECTED]>:
function Square(){}
Square.prototype=new MovieClip();
Square.prototype.changeColorTo=function (clr:Number)
{
var tempClr
layer-8.html(english)
- http://www.adobe.com/devnet/flashplayer/articles/fp8_performance.html(english)
- http://www.informit.com/guides/content.asp?g=flash&seqNum=344&rl=1(english)
- http://www.gskinner.com/blog/archives/2006/09/garbage_collect.html (search
the key work Garbage collector in this blog)
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
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
"[Loader]" ;
}
/**
* Internal method to test the result
*/
private function _test( success:Boolean )
{
trace("> " + this + " test : " + success);
trace("> " + this + " xml : " + x ) ;
// continue your t
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
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 qu
script
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
me = "Test" ;
service.methodName = "getUser" ;
service.params = ["eka", 30,
"http://www.ekameleon.net";] ;
// o Launch Service
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.
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/0
i/InstallVEGASwithSVN
Read 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 corre
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 startin
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 ?
:)
EK
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:Numbe
result = copy[len] ;
}
time = getTimer() - time ;
trace( "while(--len -(-1)) speed : " + time + " ms") ;
break ;
}
}
}
for speed : 329 ms
while(len--) speed : 305 ms
while(--len > -1) speed : 324 ms
while(--le
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 wou
, 0, 200, 20) ;
field.autoSize = true ;
field.border = true ;
field.setNewTextFormat( format ) ;
field.html = true ;
field.htmlText = 'Link' ;
You can use TextField.StyleSheet to apply a css style in your fields etc
Read the actionscript reference with the words TextField and asfunction :)
EK
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 PROTEC
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
. 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 re
ation :) 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 cla
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
ion/sounds/ 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
(englis
"start : " + sBegin ) ; // start : 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 pro
dar.MINUTE , 50 ) ;
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 <
( 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
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 n
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 op
.html
You can see my AS2 opensource template AST'r .. in the sources of the
project you can see my personal usage of my Framework.. in this context 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.
implement a
little or big 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 pro
.. 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 her
{
trace(arguments) ;
}
var f2 = function( )
{
f1.apply(this, arguments) ;
}
f2(1, 2, 3) ;
EKA+ :)
2007/7/18, Swapnil Dubey <[EMAIL PROTECTED]>:
Hi all,
I want to implement an function funcA that takes a variable list of
arguments, and passes on that list to another function
.push( parent.name ) ;
parent = parent.parent ;
if (parent.name == null)
{
break ;
}
}
parents.reverse() ;
return parents.join( "." ) ;
}
}
but it's not the better solutio
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]>:
function()
{
Stage["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
( 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
:)
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?
>
> thank
///
Read the documentation of Flash with the Function class 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 varie
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 h
ate 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 pro
to use VEGAS
with an client/server(FMS) 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.
>
>
in your loop
var name:String = "key" + i ;
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
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
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]>:
>
>
public function Test()
{
for (var i:uint = 0 ; i<10 ; i++)
{
this["somevarname"+i] = i;
}
trace( this.somevarname2 ) ; // 2
}
}
}
EKA+ :)
2007/9/1, [p e r c e p t i c o n] <[EMAIL PROTECTED]>:
>
&
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]>
.
3 - 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 :)
E
/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 PR
native
tools use more OOP 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
> > developpe
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.contentLoaderInfo<http://livedocs.adobe.com/flex/2/langref/flash/display/Loader.html#contentLoaderInfo>
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
> ___
> F
s is more complete ... but the Adobe 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
t; Press Key.SPACE to disable/enable the library.") ;
trace("> Press Key.UP to start the sound_1 sound.") ;
trace("> Press Key.DOWN to start the sound_2 sound.") ;
See the online documentation :
http://vegas.ekameleon.net/docs/andromeda/media/SoundLibrary.html
Page p
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 g
SGard) )
:
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...
>
> ht
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 m
TRAC : http://live.burrrn.com/wiki/VEGAS
now for the custom object's serialization you can use EDEN :
http://live.burrrn.com/wiki/eden
EKA+ :)
2006/5/25, Merrill, Jason <[EMAIL PROTECTED]>:
You mean the Class type then - for a custom class, I think you would
have to create a property t
'MyClass'
var package:String = ConstructorUtil.getPackage(instance) ;
trace("class package : " + package) ; // output : 'myPackage'
var path:String = ConstructorUtil.getPath(instance) ;
trace("class path : " + path) ; // output : 'myPackage.MyConstructor'
[/
class each time. 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
#x27;s FAN... 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 <[EMA
pour activer ou 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 <[EMAI
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
ts, Capturing events, 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
et:test_mc } ;
dispatchEvent ( e ) ; // test 2
}
}
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 EventDispatc
n do a constant 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"],
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 :) (rea
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 metho
test3 - scope is a MovieClip with "mc" this instance's 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 <
interface.
[/code]
EKA+ :)
2006/6/14, Mark Lapasa <[EMAIL PROTECTED]>:
///
// Inside "Interface.as" //
///
interface Interface
{
public function foo():Void;
}
///
/
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:
>
Clip ;
// -o Public 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
est2 in MyClass constructor") ;
}
}
EKA+ :)
2006/6/15, André Goliath <[EMAIL PROTECTED]>:
Sorry, I ment
That should always be the first line in constructors of inherited classes,
not the first line of the class itself...
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMA
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 an
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 possib
vsdude.com/osflash/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(Construc
artResizing ;
// -o TEST
var listener = {} ;
listener.onStartResize = function () {
trace("start resize") ;
}
listener.onStopResize = function () {
trace("stop resize") ;
}
StageResizer.addListener(listener) ;
EKA+ :)
2006/6/29, Matt Bennett <[EMAIL PROTECT
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.
ovieClip ) {
trace("Click : " + who) ;
}
Key.addListener(this) ;
onKeyDown = function () {
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. L
ass MainClass {
public function 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 the
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
__
public function testSingleton2()
{
trace( Singleton.testconst );
trace( Singleton.testvar );
trace( Singleton.testMethod() );
}
}
}
Thanks Zwetan for this good solution.
EKA+ :)
2006/7/10, Weyert de Bo
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.
Hello :)
example in AS1 :
var listButton = ["item1", "item2", "item3", "item4] ;
var l:Number = listButton.length ;
var action = function ( ) {
var id:Number = this.index ;
switch( id ) {
case 0 :
trace("press the button : " + id) ;
!!!
}
}
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
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:
_
Hello :)
with a for..each or for..in on your object !
Can you show me your AS3 code please ?
EKA+ :)
2006/7/11, Chris McFadyen aka Grayson Carlyle <[EMAIL PROTECTED]>:
Merci,
(and I'd continue in French, but I'm far better at understanding it than
writing it)
However, this
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 reall
e_thread/thread/544f79b0b223b15a/e2b2527f81678da7?lnk=st&q=constructeur+AS3&rnum=1#e2b2527f81678da7
PS : sorry for my english ^_^
EKA+ :)
2006/7/11, Weyert de Boer <[EMAIL PROTECTED]>:
Why is it removed?
___
Flashcoders@chattyf
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. Mic
101 - 200 of 207 matches
Mail list logo