Re: [Flashcoders] Drawing dotted lines

2005-12-21 Thread Iv
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] |

Re: [Flashcoders] lightweight flash7 color picker?

2006-01-11 Thread Iv
Hello Rajat, http://www.dembicki.org/GradientAndSafePalette.as -- Ivan Dembicki [EMAIL PROTECTED] || http://www.design.ru ___

Re[2]: [Flashcoders] Detecting the dominating colour in a rectangle of a bitmap

2006-01-12 Thread Iv
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

Re: [Flashcoders] Simulating a rope

2006-02-20 Thread Iv
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 /**

Re: [Flashcoders] Exporting embeded fonts on frame other than 1

2006-02-21 Thread Iv
Hello Lee, http://www.sharedfonts.com/eng/faq.html#include -- Ivan Dembicki [EMAIL PROTECTED] || http://www.design.ru ___

Re: [Flashcoders] loading swf with embedded fonts.

2006-02-28 Thread Iv
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

Re: [Flashcoders] FP8 AS2 color picker and comboBox

2006-03-07 Thread Iv
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

Re[2]: [Flashcoders] RE: getDepth: highest depth, middle depth, lowest depth

2006-03-09 Thread Iv
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

Re[2]: [Flashcoders] RE: getDepth: highest depth, middle depth, lowest depth

2006-03-09 Thread Iv
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; } }

Re: [Flashcoders] Can't reference a library font from inside a static class (?)

2006-03-10 Thread Iv
Hello Jason, http://www.sharedfonts.com/eng/faq.html#include -- Ivan Dembicki [EMAIL PROTECTED] || http://www.design.ru ___

Re[2]: [Flashcoders] Can't reference a library font from inside a staticclass (?)

2006-03-10 Thread Iv
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

Re[4]: [Flashcoders] Can't reference a library font from inside astaticclass (?)

2006-03-10 Thread Iv
Hello Jason, http://www.sharedfonts.com/fonts.zip -- Ivan Dembicki [EMAIL PROTECTED] || http://www.design.ru ___

Re: [Flashcoders] What's your job title?

2006-03-10 Thread Iv
Hello Kirk, KR Here's a non-technical question: what is your job title? - Flasher hehe -- Ivan Dembicki [EMAIL PROTECTED] || http://www.design.ru

Re[6]: [Flashcoders] Can't reference a library font from insideastaticclass (?)

2006-03-10 Thread Iv
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

Re: [Flashcoders] Help with shared library fonts

2006-03-14 Thread Iv
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] |

Re: [Flashcoders] _global is _global or what?

2006-03-21 Thread Iv
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

Re: [Flashcoders] Problem: Bold, italic, normal text style in a dynamic textfield

2006-03-21 Thread Iv
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] |

Re[3]: [Flashcoders] AS2 Vs. AS1

2006-03-21 Thread Iv
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

Re[5]: [Flashcoders] AS2 Vs. AS1

2006-03-21 Thread Iv
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 :

Re[7]: [Flashcoders] AS2 Vs. AS1

2006-03-21 Thread Iv
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

Re: [Flashcoders] Linked font from class

2006-04-10 Thread Iv
Hello Michael, http://www.sharedfonts.com/eng/faq.html#include -- Ivan Dembicki [EMAIL PROTECTED] || http://www.design.ru ___

Re: [Flashcoders] Accessing the Color Picker in an application.

2006-04-24 Thread Iv
Hello artkast, http://www.dembicki.org/GradientAndSafePalette.as -- Ivan Dembicki [EMAIL PROTECTED] || http://www.design.ru ___

Re: [Flashcoders] Shared fonts

2006-05-29 Thread Iv
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

Re[2]: [Flashcoders] Shared fonts

2006-05-29 Thread Iv
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

Re[4]: [Flashcoders] Shared fonts

2006-05-29 Thread Iv
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

Re[4]: [Flashcoders] Shared fonts

2006-05-29 Thread Iv
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

Re[6]: [Flashcoders] Shared fonts

2006-05-30 Thread Iv
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

Re[8]: [Flashcoders] Shared fonts

2006-05-30 Thread Iv
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

Re[6]: [Flashcoders] Shared fonts

2006-05-31 Thread Iv
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

Re: [Flashcoders] Shared Fonts puzzle (hell)

2006-07-05 Thread Iv
Hello Marcelo, http://www.sharedfonts.com/eng/faq.html#include -- Ivan Dembicki [EMAIL PROTECTED] || http://www.design.ru ___

Re: [Flashcoders] Shared Fonts puzzle (hell)

2006-07-05 Thread Iv
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

Re[2]: [Flashcoders] Shared Fonts puzzle (hell)

2006-07-05 Thread Iv
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

Re: [Flashcoders] help with embedded fonts...

2006-07-11 Thread Iv
Hello grimmwerks, http://www.sharedfonts.com/eng/faq.html#include -- Ivan Dembicki [EMAIL PROTECTED] || http://www.design.ru ___

Re: [Flashcoders] htmlText javascript link being ignored in Safari

2006-09-18 Thread Iv
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

Re: [Flashcoders] search and replace keywords in textbox with CSS, asfunction.

2006-09-21 Thread Iv
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

Re: [Flashcoders] Q: passing flash form data with NO server side scripting

2006-09-27 Thread Iv
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

Re: [Flashcoders] LONDON: SENIOR FLASH ROLE

2006-09-27 Thread Iv
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

Re[2]: [Flashcoders] Playing video backwards kills my CPU

2006-10-10 Thread Iv
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

Re: [Flashcoders] Global sound control ...

2006-10-11 Thread Iv
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

Re: [Flashcoders] Create movieclip path within a class

2006-12-03 Thread Iv
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

Re[2]: [Flashcoders] Create movieclip path within a class

2006-12-03 Thread Iv
- 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

Re[2]: [Flashcoders] Create movieclip path within a class

2006-12-03 Thread Iv
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

Re[2]: [Flashcoders] Create movieclip path within a class

2006-12-03 Thread Iv
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

Re[4]: [Flashcoders] Create movieclip path within a class

2006-12-03 Thread Iv
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

Re[6]: [Flashcoders] Create movieclip path within a class

2006-12-03 Thread Iv
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

Re: [Flashcoders] Area of a triangle using perimiter values only

2006-12-14 Thread Iv
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 |

Re[2]: [Flashcoders] Area of a triangle using perimiter values only

2006-12-14 Thread Iv
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

Re: [Flashcoders] MC Tween Problem - Urgent

2006-12-15 Thread Iv
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],

Re[2]: [Flashcoders] MC Tween Problem - Urgent

2006-12-15 Thread Iv
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

Re: [Flashcoders] if logical operator

2006-12-20 Thread Iv
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

Re[2]: [Flashcoders] if logical operator

2006-12-20 Thread Iv
[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

Re: [Flashcoders] dynamic runtime sharing Q

2006-12-21 Thread Iv
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

Re: [Flashcoders] createTextField and embedding fonts

2007-01-09 Thread Iv
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

Re[2]: [Flashcoders] Override _xscale and _yscale setter in AS2

2007-01-18 Thread Iv
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

Re[2]: [Flashcoders] finding out which fonts are embedded in aswfatruntime?

2007-02-07 Thread Iv
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

Re[2]: [Flashcoders] finding out which fonts are embedded in aswfatruntime?

2007-02-07 Thread Iv
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

[Flashcoders] syntax highlighting

2007-02-07 Thread Iv
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

Re[2]: [Flashcoders] syntax highlighting

2007-02-07 Thread Iv
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. --

Re[2]: [Flashcoders] syntax highlighting

2007-02-07 Thread Iv
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

Re[4]: [Flashcoders] syntax highlighting

2007-02-07 Thread Iv
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

Re[4]: [Flashcoders] syntax highlighting

2007-02-07 Thread Iv
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] |

Re[4]: [Flashcoders] syntax highlighting

2007-02-07 Thread Iv
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

Re: [Flashcoders] Art oriented uses/examples of Flash

2007-02-14 Thread Iv
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).

Re: [Flashcoders] Problem with cascading functions within a class

2007-02-14 Thread Iv
Hello Andrew, public function grabHTML():Void { var html_data:LoadVars = new LoadVars(); var grabber = this; html_data.onData = function():Void { grabber.doSomething(); };

Re: [Flashcoders]problem with embeded fonts

2007-02-19 Thread Iv
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

[Flashcoders] ru.bezier geom package beta

2007-02-26 Thread Iv
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

[Flashcoders] ActionScript syntax highlighter

2007-02-28 Thread Iv
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 ___

Re: [Flashcoders] ActionScript syntax highlighter

2007-03-01 Thread Iv
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 |

Re[2]: [Flashcoders] OT: Pirated Books

2007-03-02 Thread Iv
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

[Flashcoders] making a set of dynamically loaded buttons to listen to each other

2009-02-21 Thread Michael Iv
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