more for a
traditional behaving knob.
On Fri, Jan 16, 2009 at 3:06 PM, Patrick Matte|BLITZ wrote:
> http://www.bit-101.com/blog/?p=1337
>
>
> -Original Message-
> From: flashcoders-boun...@chattyfig.figleaf.com [mailto:
> flashcoders-boun...@chattyfig.figleaf.com] O
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
en't found a good way to do
it yet. If you 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
>
, param2 = null, ... 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.co
oders-boun...@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 getDefinitio
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 classR
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
r
lf 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 ro
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 - Los
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 - 310-551-020
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'
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 {
return
recursively
You may want to take 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 prop
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
Flashcoders@chattyfig.fig
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
ht
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
eturns false
is the same as this :
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
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 = Cl
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
F
, 2008 at 7:45 PM, Wagner Amaral <[EMAIL PROTECTED]> wrote:
> You can set the xmlDecl property:
>
> AS3:
> XMLDocument().xmlDecl = "";
>
> AS2:
> XML().xmlDecl = "";
>
>
>
>
> On Wed, Apr 2, 2008 at 7:06 PM, Patrick Matte | BLITZ <
>
t: Re: [Flashcoders] AIR - Insert header in XML file
Can't you inject that into your xml string?
myXml = "" + myXml;
Patrick Matte | BLITZ wrote:
> I'm saving an xml file with AIR, it works but how can I add version="1.0" enc
I'm saving an xml file with AIR, it works but how can I add at the top of the file?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
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?
Thanks Steven, I never really understood what a dictionary was myself, so
dictionary would be useful for something like this ?
dictionary = new Dictionary();
button1 = new Button()
dictionary[button1] = "http://www.google.com";;
button2 = new Button()
dictionary[button2] = "http://www.yahoo.com";
Subject: Re: [Flashcoders] RE: E4X Non sense !!! Need help
Patrick Matte | BLITZ wrote:
> I can't make it work... Even this didn't work..
>
>
>
>
>
>
>
>
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
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:
trace(xmlData.acce
I can't make it work... Even this didn't work..
trace(xmlData.accesscode.short.(@test == "S001"));
But this worked...
S001
2008 at 2:22 AM, Patrick 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 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] 9
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: flashcoders@chattyfig.figleaf.c
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:
http://chattyfig.figleaf.co
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 PROTECTE
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 PROTECTED
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
least it is in Flex 2.
>
> regards,
> Muzak
>
> - Original Message -----
> From: "Patrick Matte|BLITZ" <[EMAIL PROTECTED]>
> To:
> Sent: Tuesday, August 07, 2007 10:05 PM
> Subject: [Flashcoders] AS3 loader applicationDomain question
>
>
> I
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 loader:
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, 20
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
ok up: ApplicationDomain.getDefinition()
flash.system.ApplicationDomain
flash.system.LoaderContext.applicationDomain
regards,
Muzak
- Original Message -
From: "Patrick Matte|BLITZ" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, June 19, 2007 1:23 AM
Subject: RE: [Flashcoders] AS3
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();
loader.
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 GetDefinitionByNameEx
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;ihttp://chattyfig.figleaf.com/mailman/listinfo/flashcoder
but if I try to get a class definition for the content all I can 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
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);
loa
ug 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 thi
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
S
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 = myClip.attachM
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 se
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, po
ailto:[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.
i
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 dispatchEvent
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 sam
function onEnterFrame(){
var delta:Number = mc._x - oldX;
if(delta>0){
launching;
}
if(delta<0){
launching2;
}
oldX = mc._x;
}
BLITZ | Patrick Matte - 310-551-0200 x214
-Original Message-
From: [EMAIL PROTECTE
If you just wanna have some movieclips moving around in 3D space with
depth sorting, try my set of AS2 classes.
http://labs.blitzagency.com/?p=68
Theres a download link with the source for all the examples. The code is
not well documented but its pretty straight forward...
I'm working on the AS3
var bitmapdata:BitmapData = new
BitmapData(mc.width,mc.height,true,0x);
bitmapData.draw(mc);
BLITZ | Patrick Matte - 310-551-0200 x214
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of [p e r c
e p t i c o n]
Sent: Friday, February 02, 2007 10:50
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] Ove
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
ed" property... it's
> possible it's work with the _xscale property.
>
> NB 1 : Vegas project : http://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/l
project : http://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/Abs
tractComponent.as
EKA+ :)
2007/1/19, Patrick Matte | BLITZ <[EMAIL PROTECTED]>:
>
>
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
To
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
Brou
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 - www.blitzage
www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=581&threadid
=1086327&enterthread=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 w
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:
http://chattyfig.figleaf.com/mailman/lis
67 matches
Mail list logo