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
= 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
. 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
... 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
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
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
, 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
}
}
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
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
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
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
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
.
[/code]
EKA+ :)
2006/6/14, Mark Lapasa [EMAIL PROTECTED]:
///
// Inside Interface.as //
///
interface Interface
{
public function foo():Void;
}
///
// Inside ConcreteClass.as
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
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
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
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
/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
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
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
() {
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
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
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
( 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
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
!!!
}
}
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
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
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
/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
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
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
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
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
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
-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
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
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
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
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
, 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
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
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
?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
, 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
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
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
/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
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
/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
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
,
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
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
.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
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
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
{
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
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
( 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
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
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
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
/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
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
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
... 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
= 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
/ 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
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
/... 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
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
();
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
) ;
}
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
, 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
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
,
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
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
)
- 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
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
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
[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
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
) ;
service.gatewayUrl =
http://localhost/work/vegas/php/gateway.php; ;
service.serviceName = Test ;
service.methodName = getUser ;
service.params = [eka, 29,
http://www.ekameleon.net
= 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
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
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
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
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
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
;
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
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
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
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
/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
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
/
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
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
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
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
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
://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 - 100 of 195 matches
Mail list logo