http://www.bit-101.com/blog/?p=1337
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Eric E. Dolecki
Sent: Friday, January 16, 2009 11:51 AM
To: Flash Coders List
Subject: [Flashcoders] AS3 Nice Knob(s)
I
more for a
traditional behaving knob.
On Fri, Jan 16, 2009 at 3:06 PM, Patrick Matte|BLITZ pma...@blitzagency.com
wrote:
http://www.bit-101.com/blog/?p=1337
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com [mailto:
flashcoders-boun...@chattyfig.figleaf.com
figure something out, be sure to let me know!
Cheers,
Nate
On Thu, Jan 8, 2009 at 9:39 PM, Patrick Matte | BLITZ
pma...@blitzagency.com wrote:
That wouldn't help, I'm writing a class that can create any kind of objects
and pass any number of argument to that object at instantiation
I need to create objects using getDefinition and pass parameter to the
constructor but the problem is that the number of parameters can be different.
I tried using apply like this but I can't make it work.
var classReference:Object = getDefinitionByName(className);
var object:Object = new
...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Patrick
Matte|BLITZ
Sent: Thursday, January 08, 2009 7:19 PM
To: Flash Coders List
Subject: [Flashcoders] create object with getDefinition and pass parameters
using apply ?
I need to create objects using getDefinition and pass
, ... param6 = null){
}
}
or just use the rest (...) parameter
class myClass{
public function myClass(...args){
for(var i:uint = 0; i args.length; i++){
trace(args[i]);
}
}
}
On Thu, Jan 8, 2009 at 10:36 PM, Patrick Matte | BLITZ
pma...@blitzagency.com wrote:
Well for now
I missed the first part of this thread but I'd like to add that when you create
an interface for a class, all your public properties should be getters and
setters.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of allandt
bik-elliott (thefieldcomic.com)
I'm experimenting with the SoundChannel in Flash CS3.
On SOUND_COMPLETE, the position of the channel is always smaller than the
length of the sound.
Shouldn't these be the same values? Anybody knows what's going on?
My sounds are wav files in the library, compressed in mp3 or uncompressed, the
I'm rounding up a list of websites with public API that flash can interact with.
I have :
Yahoo maps
Flickr
Youtube
Weather.com
Do you know any other?
Patrick Matte
Interactive Director
Ph: 310-551-0200 x214
Fax: 310-551-0022
[EMAIL PROTECTED]
BLITZ - 3415 S Sepulveda Bl, Ste 500 -
Of Eric E. Dolecki
Sent: Friday, August 08, 2008 5:07 PM
To: Flash Coders List
Subject: Re: [Flashcoders] websites with public APIs available from flash
What about webservices
Sent from my iPod
On Aug 8, 2008, at 6:44 PM, Patrick Matte | BLITZ [EMAIL PROTECTED]
wrote:
I'm rounding up a list
I've had that problem also when one item was missing from the library. This can
happen when you use a class from an fla into another fla and that class is
referencing a library item in the other fla but you forgot to copy that item in
your new fla's library.
BLITZ | Patrick Matte -
I've always admired Colin Moock, but after reading those 9 points, I'm not sure
he still has all that credibility anymore...
1. The removal of on()/onClipEvent() from Flash CS3 makes creating
simple interactivity hard.
Who would want to add an onClipEvent on a movieclip anymore? I haven't
It may not be relevant to your problem and you probably know this already but
when you use trace, the output is the result of the toString method of the
object you are tracing. And you can override toString to output whatever you
want.
override public function toString():String {
Is it possible to trace all the properties of a class with AS3? I kwow it works
on dynamic properties on Object or Array...
My class is like a tree and I want to see if the tree is built correctly.
___
Flashcoders mailing list
a look at flash.utils.describeType()
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/utils/package.html#describeType()
On Thu, Jun 26, 2008 at 3:43 PM, Patrick Matte | BLITZ
[EMAIL PROTECTED] wrote:
Is it possible to trace all the properties of a class with AS3? I kwow it
works
Has anybody else been experiencing problems with flash player 8 using wmode
with Firefox 3?
Can't click on any of the flash buttons, using flash player 8 r42.
No problem with Firefox 2.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
Ah ok, the reason it wasn't working was that I was casting ClassReference as
Class instead of Object... Now this works.
var ClassReference:Object = getDefinitionByName(Test) as Object;
var bool:Boolean = ClassReference.parse(false); //would return false;
BLITZ | Patrick Matte - 310-551-0200
Does anybody know if it's possible to call a static method of a reference to a
class created with getDefinitionByName without actually creating an instance of
the object?
Something like this simple example:
var ClassReference:Class = getDefinitionByName(Test) as Class;
var bool:Boolean =
= Test.parse(false); // returns false
BLITZ | Patrick Matte - 310-551-0200 x214
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Patrick
Matte|BLITZ
Sent: Monday, June 23, 2008 7:17 PM
To: Flash Coders List
Subject: [Flashcoders] calling public static
Hi, I get a security error in my AIR app when I try to draw a video that's on
my computer to a BitmapData. How can I fix this?
Is it because I'm using a self-signed certificate?
Should I buy a certificate form Verisign?
___
Flashcoders mailing list
I'm saving an xml file with AIR, it works but how can I add ?xml version=1.0
encoding=UTF-8? at the top of the file?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
, Apr 2, 2008 at 7:45 PM, Wagner Amaral [EMAIL PROTECTED] wrote:
You can set the xmlDecl property:
AS3:
XMLDocument().xmlDecl = ?xml version=1.0 encoding=utf-8?;
AS2:
XML().xmlDecl = ?xml version=1.0 encoding=utf-8?;
On Wed, Apr 2, 2008 at 7:06 PM, Patrick Matte | BLITZ
[EMAIL
: [Flashcoders] AIR - Insert header in XML file
Can't you inject that into your xml string?
myXml = ?xml version=1.0 encoding=UTF-8? + myXml;
Patrick Matte | BLITZ wrote:
I'm saving an xml file with AIR, it works but how can I add ?xml
version=1.0 encoding=UTF-8? at the top of the file
You know on a PC when you mouseOver the sides of a window, the mouse changes to
an arrow that means you can resize the window. Is there any to get the mouse to
change like that when the AIR window in set to transparent? Or it is only a
feature of the NativeWindow on PC?
Matte | BLITZ
[EMAIL PROTECTED] wrote:
The only way I have been able to use a singleton across loaded swfs in AS3
is if it was first referenced in the main swf.
Any other singleton I use that are not referenced in the main swf work
only within the swf they are contained into.
Is this a normal
I can't make it work... Even this didn't work..
root
accesscode id=S001
short test=S001/
short test=S002/
/accesscode
accesscode id=S000
short test=uyiy/
short test=fgds/
/accesscode
/root
Nice!
BLITZ | Patrick Matte - 310-551-0200 x214
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Kawamoto
Sent: Friday, February 15, 2008 3:28 PM
To: Flash Coders List
Subject: Re: [Flashcoders] E4X Non sense !!! Need help
Try:
Is there any way to get anti-aliased fonts in an AIR application without using
textfield.embedFonts = true ?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Subject: Re: [Flashcoders] RE: E4X Non sense !!! Need help
Patrick Matte | BLITZ wrote:
I can't make it work... Even this didn't work..
root
accesscode id=S001
short test=S001/
short test=S002/
/accesscode
accesscode id=S000
The only way I have been able to use a singleton across loaded swfs in AS3 is
if it was first referenced in the main swf.
Any other singleton I use that are not referenced in the main swf work only
within the swf they are contained into.
Is this a normal behavior in AS3 ? Does it have anything
9-slice scaling
http://www.sephiroth.it/tutorials/flashPHP/scale9/
BLITZ | Patrick Matte - 310-551-0200 x214
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Sinning
Sent: Thursday, January 03, 2008 10:42 AM
To: Flash Coders
Subject: [Flashcoders]
Yeah that distortion feels like a papervision plane with not enough triangles
BLITZ | Patrick Matte - 310-551-0200 x214
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carl Welch
Sent: Sunday, September 16, 2007 7:49 PM
To:
In the AS3 class MouseEvent, what is the use for ROLL_OVER and ROLL_OUT?
They seem to be the same as MOUSE_OVER and MOUSE_OUT...
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
But isn't there a small glitch in the song between each loop because of the
mp3 compression? I thought the only way to get rid of the glitch was to export
every sound as a swf.
BLITZ | Patrick Matte - 310-551-0200 x214
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
Why don't you just attach the class to your movieclip in the library ?
Right-click on the movieclip in the library, click on linkage,
write a linkage id in the class field and write the path to your class in the
base class field.
Example
Class : BlueCircle
BaseClass : project.shapes.Circle
You
I think there's an unload method on Loader, try that.
Or else, create a SoundChannel for your sound instead of putting it on the
timeline and stop it when you remove the loader.
BLITZ | Patrick Matte - 310-551-0200 x214
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
Is this supposed to work?
Right now flash IDE crashes everytime when it reaches the line: var instance =
new ClassReference();
I just want to add the loader.content to the stage instead of the whole loader
instance and I thought that would work..
function load():void{
var
it is in Flex 2.
regards,
Muzak
- Original Message -
From: Patrick Matte|BLITZ [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Tuesday, August 07, 2007 10:05 PM
Subject: [Flashcoders] AS3 loader applicationDomain question
Is this supposed to work?
Right now flash IDE
I've noticed that too when I was using frames. Try using seconds instead of
frames.
Or use Tweener. http://code.google.com/p/tweener/
BLITZ | Patrick Matte - 310-551-0200 x214
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of asai
Sent: Monday, July 09,
Hi fellas, I have a swf that's loaded inside another one. The container swf
calls the transitionIn function in the loaded swf. In AS2, I used to put this
in the loaded swf:
if(this == _root){
transitionIn();
}
That way I could test my swf in the flash IDE independently from the parent
Hey fellows, in AS3 how can I create class instances from a list of classes
names. Take for example something like this:
import Circle;
import Square;
import Triangle;
var list:Array = new Array(Circle,Square,Triangle);
for(var i=0;ilist.length;i++){
var class = new list[i]();
}
But using getDefinitionByName, can you find a class that's inside a loaded swf?
Like in this example, Test is a class inside test.swf but I get an Error #1065:
Variable Test is not defined. But it works fine if I call getDefinitionByName
from within test.swf
public function
Using getDefinitionByName, can you find a class that's inside a loaded swf?
Like in this example, Test is a class inside test.swf.
public function GetDefinitionByNameExample() {
var request:URLRequest = new URLRequest(test.swf);
var loader:Loader = new Loader();
: ApplicationDomain.getDefinition()
flash.system.ApplicationDomain
flash.system.LoaderContext.applicationDomain
regards,
Muzak
- Original Message -
From: Patrick Matte|BLITZ [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Tuesday, June 19, 2007 1:23 AM
Subject: RE
get is
MovieClip and I can't figure out how to create new instances of the that
loaded content without running another loader
Not sure if that helps you any or not.
Rob
On Wed, 06 Jun 2007 22:59:33 -0400, Patrick Matte|BLITZ
[EMAIL PROTECTED] wrote:
Is there a way a change the name of the Loader
Is there a way a change the name of the Loader content property. I'd like to
call addChild() on the content instead of the Loader itself. Like this :
loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.INIT, loaderInit);
var request:URLRequest = new URLRequest(pageSource);
Yes I've noticed that too, same thing here.
http://labs.blitzagency.com/?p=315
BLITZ | Patrick Matte - 310-551-0200 x214
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adam Mark
Sent: Monday, June 04, 2007 7:34 AM
To: flashcoders@chattyfig.figleaf.com
in AS3?
Patrick Matte|BLITZ schrieb:
Yes I've noticed that too, same thing here.
it seems you're not exactly correct here:
to me it seems like when sthe scrolling container reaches maxScroll, the
flashplugin seems to fire the scroll event (back) to the browser.
at least this is what it seems to me
var myClass:MyClass = myClip.attachMovie(linkage, name,
depth).init(args);
That code will fire an error like this :
Type mismatch in assignment statement: found MovieClip where MyClass is
required.
If you want to typecast your movieclip, I think you need to do :
var mc:MovieClip =
A quadratic curve is made of 3 points.
The first point is beginning of the curve, the second point creates the
curve between the first and last point.
This will place mc exactly on the middle of the curve
mc._x = bezierQuadratic(0.5, point1.x, point2.x, point3.x);
mc._y = bezierQuadratic(0.5,
x214
-Original Message-
From: Patrick Matte | BLITZ
Sent: Wednesday, April 25, 2007 4:04 PM
To: 'flashcoders@chattyfig.figleaf.com'
Subject: RE: [Flashcoders] Curves question for math gurus
A quadratic curve is made of 3 points.
The first point is beginning of the curve, the second point
Try this class. Put new ApplicationClass(this); on the first frame of
the timeline.
import mx.events.EventDispatcher;
class ApplicationClass extends MovieClip{
public var addEventListener:Function;
public var removeEventListener:Function;
private var
:[EMAIL PROTECTED] On Behalf Of Patrick
Matte | BLITZ
Sent: Tuesday, April 24, 2007 7:09 PM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Class for movie - best practice question
Try this class. Put new ApplicationClass(this); on the first frame of
the timeline.
import
Why not use a bevel filter?
BLITZ | Patrick Matte - 310-551-0200 x214
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul V.
Sent: Monday, April 02, 2007 2:38 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] scale 9?
I ran into the
function onEnterFrame(){
var delta:Number = mc._x - oldX;
if(delta0){
launching;
}
if(delta0){
launching2;
}
oldX = mc._x;
}
BLITZ | Patrick Matte - 310-551-0200 x214
-Original Message-
From: [EMAIL
Now that is pretty clever ! Exactly what I need. Thanks !
BLITZ | Patrick Matte - 310-551-0200 x214
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Iv
Sent: Thursday, January 18, 2007 8:28 PM
To: Flashcoders mailing list
Subject: Re[2]: [Flashcoders]
In AS2, is it possible to override the _xscale and _yscale setter in a
subclass of MovieClip ?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
that instead of having the actual clip scale, a
smooth bimapData would be drawn at the new scale.
BLITZ | Patrick Matte - 310-551-0200 x214
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Patrick
Matte | BLITZ
Sent: Thursday, January 18, 2007 3:33 PM
2 : the AbstractComponent class in LunAS with this hack over the
enabled
property :
http://svn.riaforge.org/vegas/AS2/trunk/src/lunas/display/components/Abs
tractComponent.as
EKA+ :)
2007/1/19, Patrick Matte | BLITZ [EMAIL PROTECTED]:
In AS2, is it possible to override the _xscale
with this hack over the
enabled property :
http://svn.riaforge.org/vegas/AS2/trunk/src/lunas/display/comp
onents/AbstractComponent.as
EKA+ :)
2007/1/19, Patrick Matte | BLITZ [EMAIL PROTECTED]:
In AS2, is it possible to override the _xscale and _yscale
setter in a
subclass
Anybody has any other idea ?
BLITZ | Patrick Matte - 310-551-0200 x214
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Patrick
Matte | BLITZ
Sent: Thursday, January 18, 2007 4:19 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Override
Hi, is it possible to mx.transition.Tween a Matrix to another Matrix ?
Patrick Matte
Senior Flash Technical Lead
Ph: 310-551-0200 x214
Fax: 310-551-0022
[EMAIL PROTECTED]
BLITZ - 3415 South Sepulveda Boulevard, Suite 500 - Los Angeles, CA
90034 -
?catid=581threadid
=1086327enterthread=y#4069271
hth,
g
On 12/19/06, Patrick Matte | BLITZ [EMAIL PROTECTED] wrote:
Does anybody know if the new AS3 sound object in flash 9 will still be
limited to playing only 8 sounds at a time ?
___
Flashcoders
Does anybody know if the new AS3 sound object in flash 9 will still be
limited to playing only 8 sounds at a time ?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
64 matches
Mail list logo