Hello Йric,
http://www.dembicki.org/index-eng.html
try this:
http://www.dembicki.org/FreeSelector.as
http://www.dembicki.org/RectangularSelector.as
--
Ivan Dembicki
[EMAIL PROTECTED] |
Hello Rajat,
http://www.dembicki.org/GradientAndSafePalette.as
--
Ivan Dembicki
[EMAIL PROTECTED] ||
http://www.design.ru
___
Hello elibol,
Perhaps, you could use scaling BitmapData instance to the size of 1
pixel. The color of that pixel should be the mean color value of all
pixels in scaled BitmapData instance.
I would like to ask if anyone already have some sort method that
calculates which colour in a rectangle
Hello Luca,
LC Hi to all, how do I simulate a rope in ActionScript?
- try this:
/**
* author Ivan Dembicki,BR/
* version 1.0BR/
* Availability: ActionScript 1.0; Flash Player 6BR/
* usage example below the code
*/
class org.dembicki.ElasticCord {
// public variables
/**
Hello Lee,
http://www.sharedfonts.com/eng/faq.html#include
--
Ivan Dembicki
[EMAIL PROTECTED] ||
http://www.design.ru
___
Hello Magnus,
MA been searching (both in this list and on google) for a way to load an
MA swf at runtime (with embedded fonts) and access them font within the
MA mother clip.
MA Anyone knows if this is possible, and if so point me in the right direction?
http://www.sharedfonts.com
--
Ivan
Hello Martin,
MW i seek for color picker component (tried many, Illogiz, not
MW working in as2), please doeas anyone have some really good?
- try this:
http://www.dembicki.org/GradientAndSafePalette.as
--
Ivan Dembicki
Hello Flash,
FM I am not allowed to use Flash 8 for this project.
FM They want it published in Flash 6. From what I was reading the new
FM DepthManager class only works with Flash 8.
http://proto.layer51.com/d.aspx?f=834
use property below main code.
--
Ivan Dembicki
Hello,
example of pyramidal depth management:
MovieClip.prototype.addProperty(topDepth, function () {
var mc, mcd, d;
for (mcd in this) {
if ((mc=this[mcd])._name == mcd mc instanceof MovieClip mc._parent ==
this) {
return (d=this[mcd].getDepth()+1)1 ? 1 : d;
}
}
Hello Jason,
http://www.sharedfonts.com/eng/faq.html#include
--
Ivan Dembicki
[EMAIL PROTECTED] ||
http://www.design.ru
___
Hello Jason,
From reading that article, what is SFM?
- Shared Fonts Manager www.sharedfonts.com about it.
MJ Also, this is recommending using text fields placed off-stage which show
MJ all the characters? I wanted to just do this from a class and have
MJ minimal interaction with the .fla - the
Hello Jason,
http://www.sharedfonts.com/fonts.zip
--
Ivan Dembicki
[EMAIL PROTECTED] ||
http://www.design.ru
___
Hello Kirk,
KR Here's a non-technical question: what is your job title?
- Flasher
hehe
--
Ivan Dembicki
[EMAIL PROTECTED] ||
http://www.design.ru
Hello Jason,
http://www.sharedfonts.com/fonts.zip
MJ I tried that and couldn't get it to work. Thanks though.
- It's works. Tested.
Possible you haven't fonts used in example.
Just set your fonts in textfields and set embeded character set.
Look at registered array and trace your fonts
Hello Hypno,
HJ Is there a way to keep fonts in an external movie and load them
HJ dynamically into a movie when needed?
- yep. www.sharedfonts.com
--
Ivan Dembicki
[EMAIL PROTECTED] |
Hello Jason,
MJ Say clip A is the main _level0 clip where the _global.myVar is defined.
MJ Clip B is an external .swf references the _global myVar.
- http://www.sharedfonts.com/eng/faq.html
a bit about it read the first anhswer.
--
Ivan Dembicki
Hello Ramon,
RMMT I embedded all characters, for testing purposes.
- incorrect embedding.
read the article:
http://www.sharedfonts.com/eng/faq.html#include
--
Ivan Dembicki
[EMAIL PROTECTED] |
Hello,
I try convert this code to AS2 [...]
oops. my code is incorrect.
but main is not in my code.
main in principle: always use path to variables (or var declaration)
if you needn't scope missunderstanding.
--
Ivan Dembicki
Hello stone,
- yes. a little trick needed:
import mx.utils.Delegate;
class EmailForm extends MovieClip {
private var submit_btn:Button;
private var new_lv : LoadVars;
private var email : TextField;
// private var request_url : String = emailSubmit.php;
private var request_url :
Hello stone,
sl I'm etting an error on the class says it needs to be
sl external?
- wow! of course.
sl Is there a reason this works in AS1 and not AS2?
- possible I understand you incorrect...
--
Ivan Dembicki
[EMAIL
Hello Michael,
http://www.sharedfonts.com/eng/faq.html#include
--
Ivan Dembicki
[EMAIL PROTECTED] ||
http://www.design.ru
___
Hello artkast,
http://www.dembicki.org/GradientAndSafePalette.as
--
Ivan Dembicki
[EMAIL PROTECTED] ||
http://www.design.ru
___
Hello Bernard,
- thank you!
BV Last weeks/months I see more and more questions about shared fonts.
BV I've used the following for about a year now and it works for me.
BV The basic is the same as sharedfonts (2 swf's to load the fonts), I'm sorry
BV for all the people behind sharedfonts for
Hello Bernard,
- really it isn't a problem: SFM work principles was published many
times but sales not stopped yet.
Trere are many companies and peoples which can't allow himself to
use solutions with dubious copyrights.
Of course many companies and peoples don't think about it. In any
Hello Bernard,
BV In my opinion SFM is too old and can't be successfully used in
BV an FAME (or other) enviroment.
- SFM is AS2 class compatible for the most hard parser settings in FDT.
But for licensed users only :)
--
Ivan Dembicki
Hello Bernard,
- and.. I'm sorry, but your code have imperfections.
It's works, but you need support experiance with many languages and
different situations for find a problems in your code.
It's one more reason for use original solution.
--
Ivan Dembicki
Hello Zбrate,
Z I just want to understand what Ivan means with:
Z use solutions with dubious copyrights
- my congratulations. you have good and interesting solution.
your OWN solution. Now I has seen it first time.
I has experiments with self included libraries too but I used textfields
Hello Zбrate,
Z you cannot blame someone else for using a similar approach to solve
Z the same problem.
- similar and the same - is different things.
Z I cannot blame someone using my one-file-per-font approach as well.
- now yes. because you share it. But if you has invest a money to your own
Hello Joeri,
JvO We use font-family
JvO terms like MainFont, or BoldFont, and when letting the FontLoader
JvO parse the stylesheet, it replaces them with the actuall font name
JvO loaded linked with that identifier...
JvO So with just replacing the font libs, the entire site will have new fonts
Hello Marcelo,
http://www.sharedfonts.com/eng/faq.html#include
--
Ivan Dembicki
[EMAIL PROTECTED] ||
http://www.design.ru
___
Hello Marcelo,
- you need to separate problems.
in first step don't use sharing.
when your app will work fine you can
start sharing your fonts.
MdMS In sum, I╢ve been through a hard time trying to get this shared font thing
MdMS to work with TextFields. With v2 components I got it to work
Hello Marcelo,
MdMS The swf I╢m loading is a v7 swf and the host is v8. Could that be causing
MdMS some this issue?
http://www.sharedfonts.com/eng/faq.html
- a bit info about it in the first question.
--
Ivan Dembicki
Hello grimmwerks,
http://www.sharedfonts.com/eng/faq.html#include
--
Ivan Dembicki
[EMAIL PROTECTED] ||
http://www.design.ru
___
Hello Marlon,
- use allowDomain=always in html.
MH I have a dynamic text field where I create an html link based on a
MH couple of pieces of data.
MH Here's an example of the code for the link:
MH var aTag:String = p class = 'landing'a
MH
Hello Kurt,
about 2 years ago I did this:
http://www.sharedfonts.com/fla/as_highlight.fla
possible it can help you.
--
Ivan Dembicki
[EMAIL PROTECTED] ||
http://www.design.ru
Hello bitstreams,
bmc I have an unusual flash form project in that the hosting provider
bmc doesn't support ANY server side scripting.
- change your provider.
bmc My goal is to simply pass name value pairs from a form...
- SharedObject possible?
--
Ivan Dembicki
Hello Matt,
MM [...] You should have an in-depth knowledge of Flash and
MM Actionscript, with strong animation skills in terms of both code
MM driven and timeline-based motion animation.
- I'm looking for a job in London, and my technical skills are more
than efficient to meet all of the
Hello Ricardo,
RS Thanks, If I do that it works, but weight goes from 560Kbs to 7Mbs!!! I
RS can't do that :(
- don't change keyframe value to 1 and try next:
create bitmaps of every frame of your video
attach bitmaps in any sequence you need. for example backward...
--
Ivan Dembicki
Hello Stephen,
you can use stopAllSounds() function
Also sound object in flash always depended from movie clip and for
example volume works like _alpha in movie clips:
my_mc._alpha = 50;
//
var my_sound:Sound = new Sound(my_mc);
my_sound.setVolume(50);
both action will set value for all child
Hello Paul,
PS var vBoiler_Obj:Boiler = new Boiler(vBoilerRef);
- this line incorrect.
use create method
public static function create (this_mc:MovieClip, name:String, depth:Number,
init_obj:Object):Boiler {
var new_mc:MovieClip = this_mc.createEmptyMovieClip(name, depth);
var
- can I not simply
PS dynamically create the boiler movie clip path reference and pass it to the
PS boiler instance similar to how I passed the path to the Game class?
PS Thanks
PS Paul
PS -Original Message-
PS From: [EMAIL PROTECTED]
PS [mailto:[EMAIL PROTECTED] On Behalf Of Iv
PS Sent
Hello Paul,
opps. a little mistake.
replace game constructor:
private function Game() {
this.boilers = [];
}
--
Ivan Dembicki
__
[EMAIL PROTECTED] | http://www.artlebedev.ru | http://www.sharedfonts.com
Hello Paul,
PS And I want the boiler object to store unique properties for each of the
PS boilers.
- every boiler must create his own object for store his properties.
for example:
class BoilerStore {
public var _rotation:Number;
public var _x:Number;
public var
Hello Paul,
PS I am still curious though as to why I cannot dynamically create the boiler
PS movie clip reference and pass it to the boiler clip constructor - is this
PS not possible?
- it's possible.
private function Boiler () {
ref = this;
}
:)
you can't create movieclips using new
Hello Paul,
PS I was trying to create a Boiler object instance, not a movie clip.
- ok. now I understand.
--
Ivan Dembicki
__
[EMAIL PROTECTED] | http://www.artlebedev.ru | http://www.sharedfonts.com
Hello Jason,
public function getTriangleArea (a:Number, b:Number, c:Number):Number {
var p:Number = (a+b+c)/2;
return Math.sqrt(p*(p-a)*(p-b)*(p-c));
}
--
Ivan Dembicki
__
[EMAIL PROTECTED] | http://www.artlebedev.ru |
Hello,
TMK Actually, this does return NaN for some numbers, but it's pretty
TMK simple to realize why. For example, it returns NaN if you input side
TMK lengths of 1, 2, 4.
- it is not triangle.
--
Ivan Dembicki
Hello Berkay,
do not use Array.prototype.
you can change this code very quick:
function inArray (array:Array, what:Object):Boolean {
for( var a = 0; a this.length; a++ ) {
if( this[a] == what ) {
return true;
}else if(this[a] instanceof Array) {
return inArray(this[a],
Hello Berkay,
- this solution is step to next problems only.
BU its resolved by adding a ASSetPropFlags(Array.prototype, inArray, 1, 0);
BU code line after the declaration of the prototype
--
Ivan Dembicki
__
[EMAIL
Hello Eduardo,
var list_arr:Array = [12, 34, 21, 46, 52];
...
a++;
var search_str:String = |+a+|;
var list_str:String = |+list_arr.join(|)+|;
if (list_str.indexOf(search_str) == -1) {
// do something
}
EB given a list of numbers such as: (12, 34, 21, 46, 52 ... )
EB what would be the
[nList_array[i]] = true;
}
..
// check
a++
if (!nList_object[a]) {
// do something
}
--
good luck,
iv
CM Why not throw another option in the mix :)
CM I think this one is more efficient because it only loops through the
CM number array once at the beginning... but I'm
Hello John,
www.sharedfonts.com
JP ie : I have 5 fonts in the library that are importing runtime shared
JP swf's. what if, based on a variable passed into the main swf, only 1 of
JP these is needed.
--
Ivan Dembicki
Hello orangeflower,
http://www.sharedfont.com/eng/faq.html#include
ohc I'm sorry to do this and I'm sure someone has an explanation here, but I'm
ohc at my wit's end.
ohc I have an empty swf that is loading another swf with all of my views,
assets
ohc etc. I am creating
ohc a font symbol in
Hello Patrick,
PMB Anybody has any other idea ?
owerriding or watch of properties is impossible.
Don't use extending. Use composition:
class Test1 {
private var __mc:MovieClip;
public function Test1(mc:MovieClip){
this.__mc= mc
}
public function get _xscale ():Number {
return
Hello Zarate,
AS1-AS2 http://www.sharedfonts.com
in AS3 it's built in future.
Z My feature list would be:
Z - Clean, easy, official way to create a swf with one/various fonts.
Z - Being able to load at run-time that swf and easily apply those fonts
Z to any TextField.
Z - Being able to query
Hello Zarate,
2005 Apr 22
http://chattyfig.figleaf.com/pipermail/flashcoders/2005-April/137682.html
--
Ivan Dembicki
__
[EMAIL PROTECTED] | http://www.artlebedev.ru | http://www.sharedfonts.com
Hello,
Almost every programmer sets his own code highlighting style and gets
used to it to the point, that any other highlighting style makes it
more difficult for him to read the code.
Users of programming-related sites would be pleased to have a
possibility to set their own personal code
Hello Michael,
MS i wonder how much code can be highlighted without getting slow.
MS that is not meant to criticize your work, don't get me wrong.
- tons.
only css changed on the fly. no more.
everybudy can get full project from his browser cache if needed.
no any server side scripts.
--
Hello Jason,
I think a fiels standard of code html-formatting is needed.
In this case is it possible to do many tools used one standard.
In another case no one parser can't work properly.
For create standard and make it popular big members must use and
support it. I think it's possible and very
Hello Jon,
Hello Jon,
JB Problem 1 is that the tool is re-writing the HTML content of the
JB page, which I don't particularly like.
- one CSS only. I don't see any problem here.
JB It's a great thought, but Flash projects that take text input and
JB parse and display it with a user-customizable
Hello Jon,
In any case presence of field standard is much better than lack.
Developers can use and support it in his projects if standard defined.
--
Ivan Dembicki
[EMAIL PROTECTED] |
Hello Jon,
JB Problem 1 is that the tool is re-writing the HTML content of the
JB page, which I don't particularly like.
- one CSS only. I don't see any problem here.
JB It's a great thought, but Flash projects that take text input and
JB parse and display it with a user-customizable color space
Hello Roy,
http://www.conclave.ru
RP Nice to see the links that people are sharing @ best Flash projects. If
RP it's not too much OT, I'd be very interested in links that folks may have
RP to specifically art-oriented projects (e.g fine
RP art/conceptual/performance/installation type stuff).
Hello Andrew,
public function grabHTML():Void {
var html_data:LoadVars = new LoadVars();
var grabber = this;
html_data.onData = function():Void {
grabber.doSomething();
};
Hello Esther,
short article:
http://www.sharedfont.com/eng/faq.html#include
EF I'm using Flash 8 Proffessional.
EF I have created dynamic text with the authoring tool, embeded the font
EF outlines I want to use and created a font symbol in the library (with all
EF the options I need). The
Hello,
beta version of bezier.ru geom package:
http://www.bezier.ru/rus/AS2/sources/ru.bezier.zip
(now comments in russian only).
please send me private bugs and requests.
good luck,
iv
--
Ivan Dembicki
[EMAIL
Hello,
http://www.bezier.ru/marker/
- you can use it offline: swf only needed.
--
Ivan Dembicki
__
[EMAIL PROTECTED] | http://www.artlebedev.ru | http://www.sharedfonts.com
___
Hello,
oops.
I has found a bug.
page is removed.
I'm sorry.
I http://www.bezier.ru/marker/
I - you can use it offline: swf only needed.
--
Ivan Dembicki
__
[EMAIL PROTECTED] | http://www.artlebedev.ru |
Hello Andrew,
RA Piracy: The unauthorized reproduction or use of a copyrighted
RA book, [...]
- hmmm...
I understand reproduction rule, but use I don't understand.
Is libraries closed in your country?
Or you need special license to give your book to girlfriend?
Mistake of Omar is reproduction
I need a help !
I a working on application where i have a set of 10 buttons. I want that
when one of them is clicked the others disappear or do anything else that is
assigned to them. I cant figure out how to make each button to listen to
event of the others in a simple way
70 matches
Mail list logo