This also might be ready made solution to use:
http://www.mediaverk.lv/asd/#polygon
2008/11/15 Ivan Dembicki [EMAIL PROTECTED]
Hello matt,
look at
http://bezier.googlecode.com/files/ru.bezier.zip
--
iv
http://www.bezier.ru
http://bezier.googlecode.com
Create simgle clas definition which holds functionality of your selection
state and add several instances of same class to stage
2007/3/11, Andrei Thomaz [EMAIL PROTECTED]:
hello list,
With AS2, I could associate the same class with several movieclips. This
was
useful, for example, to create
Hey people!
I'm trying to make some pretty simple UI component in Flex and it seems like
I'm missing something.
I think I've read everything I could but I cannt find what is it I'm
missing, maybe someone on this list knows wheres the problem.
So what I am doing is:
1. I create some pretty simple
of America
Learning Organizational Effectiveness
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Janis
Radins
Sent: Wednesday, January 10, 2007 12:37 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Some AS3 components troubles
Hey people
Hey ppl!
I know this is a little of offtopic but still my problem is connected with
Flash and AS.
I'm trying to connect flash to data from postgres with amfphp and somehow it
just doesnt work.
Amfphp is returning results as expected but as soon as I try to pass data
from postgres it just dies
Check whteher your point is iniside boundries by something like this:
if(point.x rect.minX point.x rect.maxX point.y rect.minY
point.Y rect.maxY)
guess something like that should work.
2006/12/21, Oliver Müller [EMAIL PROTECTED]:
Hi all,
I'm looking for a mathematic way to check if a
Hey ppl!
I was wondering if anyone managed to find Mark Anders source files from
FOTB.
I've been googlin quite a lot and no result.
During hes session about Flex components Mark did promised that he will make
them avilable online. Hopefully he didnt lie! :)
regards
Jānis
Where are you getting your sound object from?
2006/11/29, Leo Burd [EMAIL PROTECTED]:
Hello Robert,
Thanks so much for your message!
My problem is creating an MP3 file out of a Sound object, not the other
way
around... do you have any suggestions on how to do that?
Best,
Leo
-
PROTECTED]:
- From a microphone input...
.L.
- Original Message -
From: Janis Radins [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, November 29, 2006 10:34 AM
Subject: Re: [Flashcoders] How to send Audio objects as MP3 via XML-RPC?
Where
btw, not long time ago i heard some person on efnet #actionscript complaning
that FMS and red5 are saving FLV's encoded with sorensen which he claimed is
unconvertable to any alternative format.
2006/11/29, Robert r. Sanders [EMAIL PROTECTED]:
Ah, ok, that makes things clearer.
First, look at
That code is so retard, get moving away from flash 4 syntax, it's 2006 out
there!
Try this:
line._y += 4;
line.duplicateMovieClip(tope+t, t);
t++;
if(line._y 75) {
stop();
}
And frame loops are bad fasion btw. Use SomeMovieClip.onEnterFrame or
setInterval() for timed loop.
One more thing is
or you could use something like this class of myne
http://www.mediaverk.lv/asd/com/jR/Math/ColorTween.as to get all color steps
and afterwards apply that color in timed loop.
Like var colors:Array = com.jR.Math.ColorTween.getColorArray([StartColor,
endColor], numberOfSteps);
and applying that
this:
4951245,6133970,7316439,8499164,9681633,10864358,12046827,13229552,14412021,15594746
from going from a blue to white:
[0x4B8CCD,0xFF]
??
On 11/22/06, Janis Radins [EMAIL PROTECTED] wrote:
or you could use something like this class of myne
http://www.mediaverk.lv/asd/com/jR/Math/ColorTween.as to get all color
steps
and afterwards
last value of output is the one before final value hence 0xFF isnt
included
wrote this calss for quite a while ago and really dont even remember was
this something intentional or I just forghot about final value
anyways thats bug only if you're not aware of it
2006/11/22, Martin
using setRGB, so I did this:
var decToHex = 0x + toWhite[nWhiteCount].toString(16).toUpperCase();
which is basically working instead of tweaking and setting text formats
On 11/22/06, Janis Radins [EMAIL PROTECTED] wrote:
those values are decimal representation of hex color values
you can
seee www.mediaverk.lv/asd thats not ready made solution but it sure provides
all API needed to implement it
2006/11/22, eric dolecki [EMAIL PROTECTED]:
Q: Has anyone seen a dynamic pie chart component that allows one to add
slices with code, remove them with code, and also allows one to click
a file or
wherever you do on the server side?
You can show a indeterminate progress bar. When result come back remove
It.
On 11/13/06, Yehia Shouman [EMAIL PROTECTED] wrote:
If there's a way for the server people to add a content header with
content
length, it might work
On 11/13/06, Janis
Hey!
I'm in a process of exploring why my remoting data feeds get slow somtimes.
Therefore i installed Service Capture and started to look what it does and
found out that there are blank requests before real request with proper
data.
I believe this might confuse my app, since any data request
.
regards,
Muzak
- Original Message -
From: Janis Radins [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, November 14, 2006 12:29 PM
Subject: [Flashcoders] Remoting blank requests
Hey!
I'm in a process of exploring why my remoting data
hye ppl!
I'm in a situation that remoting calls get slow at some point for users with
slow connection, hence client asked for loading progress display.
As far as i know there is no sutch thing as bytesLoaded /total for remoting
calls, I just serched help docs and that only confirmed that.
I
this is old bug of flash
in flash8 it's not that present tho i guess I've seen it few times
anyways, simple touching that property before actual use helps. as simpel as
trace(txt._height) make textfield report correct value
2006/11/13, Muzak [EMAIL PROTECTED]:
Create a second textfield
just force them to execute some registration code on first frame of theyr
movie and pass instance which will accept all those calls according to
predefined communication interface
2006/11/8, Ricardo Sánchez [EMAIL PROTECTED]:
Hi!
Where I work we are about to begin a pretty big project
No you cannt access curve data throught AS.
Only thing thats possible would be to save all drawing activity in memory
for later reproduction.
That wouldnt be that hard actually.
2006/11/7, Ben [EMAIL PROTECTED]:
Hi Flashcoders
is it possible to write ActionScript code to gain access to
or:
http://www.gskinner.com/blog/archives/54.html
Jason Merrill
Bank of America
Learning Organization Effectiveness - Technology Solutions
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Janis Radins
Sent: Tuesday, October 31
Somehow when i set wmode=transparent to flash object all buttons start to
behave in some strange way, calling onRollOver/onRollOut on wrong moments.
Anyone knows what exactly is going on and why, or how to prevent this?
I've noticed this long time ago.
Janis
Interfce main purpose is to define communication methods for some kind of
object.
Pls be so kind and tell me what in a hell private properties have to do with
external objects which what to communicate with instance implementing
particular interface?
Static mighe be usefull, but then again,
that is not what is happening here.
try this:
class TestClass1 {
public function TestClass1() {
trace(TestClass1 TestClass1 TestClass1 );
}
}
class TestClass2 extends TestClass1 {
private static var instance:TestClass2 = null;
public static function get smething():TestClass2 {
check out www.mediaverk.lv/asd it might give you just what you need
2006/10/20, Guntur N. Sarwohadi [EMAIL PROTECTED]:
Hello David,
You can use flash drawing API. You might use just 2 drawing methods:
moveTo(x,y) moves a pointer from where you want to start drawing from
and
curveTo(cpx,
I'm not realy sure I understand what exactly you are up to, but if youre
interesting in zooming specifics maybe one of my lil experiments migth help
you.
I made this just for fun a while ago, take a look and maybe it can help you:
http://www.mediaverk.lv/trash/zoom.html
yes you can pass that interval ID
you can do something like this:
var intContainer:Object = new Object();
intContainer.interval = setInterval(someFun, 50, intContainer);
in this case intContainer will be to first argument of that functon and
you'll be able to refference it anytime as
.
greetz
JC
On 10/11/06, Janis Radins [EMAIL PROTECTED] wrote:
Hey ppl!
I have made some pretty nice printR function (
www.mediaverk.lv/asd/com/jR/Utils.as) it's working pretty well and i'm
thinking of new features.
One good feature would be to use ASSetPropFlags in order to show private
Hey ppl!
I have made some pretty nice printR function (
www.mediaverk.lv/asd/com/jR/Utils.as) it's working pretty well and i'm
thinking of new features.
One good feature would be to use ASSetPropFlags in order to show private
properties and that could be done relatively easy.
Thought the problem
Masking with elements made up by drawing API works 100%, ive done it many
times.
What is it that doesnt work for you?
2006/9/15, Merrill, Jason [EMAIL PROTECTED]:
Is it not possible to mask a clip into which you draw things using
the drawing API?
I'm not totally sure about masking, but in
You could do that witht those classe www.mediaverk.lv/asd
Arrow would be a laine or thin rectangle with triangle on begining or end
2006/8/11, Ravi Marella [EMAIL PROTECTED]:
Really sorry:(
The code is intended for drawing elliptical orbits not arrows...sorry
again :( :(
best regards
that is because attachMovie returns MovieClip.
First of all dont forghet to extend MovieClip in those classes.
A simple workaround would be:
var myPlayer:player = player (myWorld.attachMovie(playerID, playerMC,
10,{_y:220}));
2006/8/1, Martin Weiser [EMAIL PROTECTED]:
Hello,
i got little
Brightness of color can be found in quite easy way.
If we have decimal representation of RGB brightness in percents will be
100*(((R+G+B)/3)/255)
Color brightness represents position of particular color in color tween from
0xFF at 0 position The base color at position 127.5 and 0x0 at 255.
Hello people!
I'm trying ot get size of FLV file server-side using php, searched list
archive and web but found no results.
I know that this data should be somewhere in first bytes of file does anyone
know where exactly?
tnx in advance
___
no there is no way
improts are executed at compile time all you can do is to define which class
to use depending on player version
2006/6/5, Christian [EMAIL PROTECTED]:
Hey Guys,
So i'm in the process of writing a class that does a lot of JavaScript
handling. The tricky part is, I want to
Meybe this http://www.mediaverk.lv/asd/#ellipse can help you.
2006/6/1, mike cann [EMAIL PROTECTED]:
Hi,
There are probably better examples if you googled around a while but I
found
these usefull:
http://www.nuran.org/ (Click closed spline on the right hand side)
that is exacly how I am doing this
and i dont see any reason why you shouldnt be doing same ;)
comeClass {
private static var instances:Array = null;
public function comeClass(){
if(instances == null){
instances = new Array();
}
instances.push(this)
}
}
2006/4/6, Manuel Saint-Victor [EMAIL
new String instance is created by simple var myString:String = new String()
with no arguments.
though this might be quite a bug, once i tried new Object(a) that leaded
to total crash of flash ide that finished not only with restrating flash
but i had to reinstall it.
2006/4/4, Fumio Nonaka
flashVars are loaded before first frame, get vars start to in first frame
2006/3/22, Robert Chyko [EMAIL PROTECTED]:
You can use them right away.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Manuel
Saint-Victor
Sent: Wednesday, March 22, 2006
createTextField() returns refference to textfield object only since flash 8
2006/3/21, Arul Prasad [EMAIL PROTECTED]:
var dtd;
var spa;
var spa1;
var dt = 0;
while (dt=99) {
dtd = var+dt;
spa = dt*5;
spa1 = (dt*15)+45;
_root.createTextField(dtd, dt, 0, spa1, 100, 15);
use textField.setNewTextFormat()
2006/3/20, Danny Kodicek [EMAIL PROTECTED]:
I've got a textField I'm trying to use for input text and I'd like to be
able to style it. Unfortunately, the htmlText is being automatically set
to
this:
TEXTFORMAT LEADING=2P ALIGN=LEFTFONT FACE=Arial SIZE=12
guess the very default routine to deal with cache should do
smthn.loadImage(webCamImg.jpg?dummy=+new Date()*1)
2006/3/15, Bo Parker [EMAIL PROTECTED]:
I have a client that has webcams that are sending images via ftp to a
folder every 15 seconds to a static link and overwriting the previous
Guess this should do:
public static function cloneObject(object:Object):Object {
var __return:Object = new Object();
for(var i:String in object){
__return[i] = object[i];
}
return __return;
}
2006/3/15, Merrill, Jason [EMAIL PROTECTED]:
If done it
I'm a fraid that is impossible
2006/3/12, Ken Fine [EMAIL PROTECTED]:
Hi all,
Can anyone tell me if there's a manageable way to embed font data in an
LSO
(Flash local shared object) such that it can be stored on the user's
machine
and used by a movie?
Or, perhaps someone can
just read file size on server-side and pass it along image urls
2006/3/12, Sascha Balkau [EMAIL PROTECTED]:
Hi Adrian,
thanks for the idea but this approach will not work in my case because the
images are loaded sequencially. If one image is finished loading, my class
starts loading the
Get my ColorTween class at www.mediaverk.lv/asd/com/jR/Math/ColorTween.as
Then do the simple thing:
import com.jR.Math.ColorTween;
var midColor:Number = new ColorTween([0xFF, 0xFF]).getPoint(255/2);
trace(0x+midColor.toString(16))
2006/3/10, Joakim Carlgren [EMAIL PROTECTED]:
Whats the
just use setTextFormat(startIndex, endIndex, _fmt), it will produce html
code that can be extracted from htmlText
2006/3/10, Flash guru [EMAIL PROTECTED]:
Have you thought of using css to do your formatting.
___
Flashcoders@chattyfig.figleaf.com
To
you're wellcome
2006/3/10, Joakim Carlgren [EMAIL PROTECTED]:
Thanks Janis...works great. Will take a closer look later.
Kindly
Joakim Carlgren
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Janis
Radins
Sent: den 10 mars 2006 15:17
get real, Flash HTML tag support is way too weak to display any even most
simple one web page
2006/3/8, Johannes Boyne [EMAIL PROTECTED]:
But do you really want ActiveX in your Flash?! I think, it isn't in a
SandBox like Flash or Java, so it is dangerous, right? And there, from
my point of
Finally I have my drawing classes ready.
They might need some minor modifications but in general they are doing what
I was planning.
You can get em at www.mediaverk.lv/asd
Everyone is wellcome to share ideas on what could be improved.
2006/2/22, Peter O'Brien [EMAIL PROTECTED]:
I can't testify
you should better use
var word_mc:MovieClip = clip_to_copy.duplicateMovieClip(clipid + i, i)
tho that shouldnt
2006/3/3, Danny Kodicek [EMAIL PROTECTED]:
BUT if I change the line 'var word_mc:MovieClip' to just 'var word_mc',
ie remove the type definition
It works, so why if I define the
array clone is done quite easy.
see this:
var old_array:Array = new Array(1, 2, 3, 4);
var new_array:Array = old_array.concat();
new_array.shift();
trace(old_array+ : +new_array);
2006/3/3, eric dolecki [EMAIL PROTECTED]:
I agree with Michael...
import mx.utils.ObjectCopy;
obj = new
sorry for duplicating, didnt noticed Ryan allready told same thing for other
Array prototype that does the same
2006/3/3, eric dolecki [EMAIL PROTECTED]:
Here is the trace for your code BTW:
1,2,3,4 : 2,3,4
On 3/3/06, Janis Radins [EMAIL PROTECTED] wrote:
array clone is done quite
there are 2 duplicateMovieClip functions
first one is global function second one is prototype of MovieClip class
2006/3/3, Danny Kodicek [EMAIL PROTECTED]:
you should better use
var word_mc:MovieClip = clip_to_copy.duplicateMovieClip(clipid + i, i)
Does that work now? Last time I checked,
it seems that matrix of form {a, b, c, d, e, f, g, h, i} is capable of doing
this job
i found matrix implementation that allows this kindof manipulations at
http://www.flashadvisor.com/forum/viewtopic.php?t=380start=0 and seems that
after transfering ti to AS2 and slight modifications it might
I've done JS resize for www.pastkartes.lv and i thnk it works good and looks
good too
2006/2/23, Josh McDonald [EMAIL PROTECTED]:
I've got to say that the first link is much nicer than the resize the
flash solution they've got here, so perhaps it's not so bad an idea.
And the second link,
Hello people!
Just noticed that beginGradientFill matrix r property doesn't have any
effect on radial fills.
That might be my mistake as well, though i tested it with MM sample code and
still no luck.
this.createEmptyMovieClip(gradient_mc, this.getNextHighestDepth());
with (gradient_mc) {
I'm pretty close to make it to version 1.0 of my drawing classes atm, untill
that happens you can contact me offlist if youre interested in earlyer
versions
2006/2/22, Luca Candela [EMAIL PROTECTED]:
Hi, does anyone knows if there are nice a well built drawing classes (for
free) to use in
Tnx Scott!
Looks very mutch like what I've been looking for.
2006/2/17, Scott Mathieson [EMAIL PROTECTED]:
enterprise architect http://www.sparxsystems.com.au/products/ea.html
actionscript support straight of the box
On Friday 17 February 2006 06:54, Janis Radins wrote:
Hye ppl
it claims that it can.
tho i didnt found how :)
2006/2/17, Jim Kremens [EMAIL PROTECTED]:
actionscript support straight of the box
Can it do reverse engineering with Actionscript?
Jim Kremens
___
Flashcoders@chattyfig.figleaf.com
To change your
Hye ppl!
I've been searching for decent AS2 UML tool but had no luck.
Could anyone share theyr good expieriences of some UML tools well suited for
AS2 ?
PS
Yes I've seen Grant Skinner Gmodeler, idea is good but it's still way too
raw.
___
I've made sutch class long time ago.
MovieClip.beginGradientFill() does that.
2006/1/20, Andrew Widdowson [EMAIL PROTECTED]:
Hi there,
If you want a real rainbow gradient, consider translating the
fortran code found at the following page, which contains a routine for
approximating R/G/B
Hey ppl!
I just lounched first project which runs on amfphp 1.0 and I've encountered
a problem - when flash app is accessed on web it is getting extremely slow
on data transfers.
Simple call for few kb data takes 5-10 seconds.
Otherwise everything is allright, and its very fast when lounched
I guess it's as simple as using unicode font. Best of all use device fonts.
2005/12/16, Devendran I [EMAIL PROTECTED]:
Any how
Thank you guys..
I'll do it. If u Know any other Simple way to get Unicode input please
let me know.
Thanks,
Regards,
Devendran.I
8ball
not getting?
Dimitrios
- Original Message -
From: Janis Radins [EMAIL PROTECTED]
To: Flashcoders@chattyfig.figleaf.com
Sent: Wednesday, November 30, 2005 3:24 PM
Subject: [Flashcoders] lil OOP question
hey ppl
I'm wondering is there a way to chech wether some class function
exists
youre talking about CSS tooltip using browser propertys or tooltip
created in flash envoirment?
2005/11/30, eric dolecki [EMAIL PROTECTED]:
Im working on something where I would like to generate css tooltips out of
above a flash container... does anyone have a working example or code of
some
.
var b = new myButton();
b._x = 200; -- won't work
Janis Radins [EMAIL PROTECTED] wrote: I'm doing this all the time I've
made tonns of different inputs fro
diferent projects and finally I am planing to code some fullscale AS2
only UI collection.
Thats done like this:
class myButton
I'm doing this all the time I've made tonns of different inputs fro
diferent projects and finally I am planing to code some fullscale AS2
only UI collection.
Thats done like this:
class myButton {
private var mc:MovieClip;
function myButton(host:MovieClip, level:Number){
mc=
CSS works only inside browser window, you cannt have to fullscreen
without resizing window to that size.
So only option is to use JS window.open(... fullscreen=1 ...)
Popup blockers can be tricked, btw
2005/11/20, af a [EMAIL PROTECTED]:
Hello,
First of all, thanks to
document.all doesnt exist in w3c specifications there for FF doesnt
know about it
use document.getElementById instead, and it will work in both browsers
2005/11/15, [EMAIL PROTECTED] [EMAIL PROTECTED]:
i guess you could try moving it to -1000px or something like that. might
be a work around at
I tried to resize DIV instead of OBJECT but still no luck
2005/11/14, John Giotta [EMAIL PROTECTED]:
I've done this with a DIV tag wrapping the Flash Embed code.
Simply change the css constraints on the DIV tag and make the width
and height of the embed 100%.
Hey folks!
I have here flash page which is ment to change it's size dynamcally
through JS calls but somehow I cannt manage to get it bug free on
anything else than FireFox.
The idea is that I have flash movie with:
[AS]
Stage.scaleMode = noScale;
Stage.align = TL;
[/AS]
initaly set to width and
Does everyone received my post as bunch of '? ?
2005/11/10, [EMAIL PROTECTED] [EMAIL PROTECTED]:
您发给我的信件已经收到。
网易163邮箱--专业电子邮局,2000M超大空间,支持超大附件,全国唯一24小时客户服务。
欢迎您来注册使用。网易126邮箱:http://www.126.com
___
76 matches
Mail list logo