Re: [Flashcoders] iOS picker component for AIR

2012-06-19 Thread Ivan Dembicki
Hi,

http://code.google.com/p/as3colorpicker/


-- 
Ivan Dembicki
http://realaxy.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] rotaion object

2011-08-18 Thread Ivan Dembicki
Math.atan2

2011/8/18 nasim h iranebah...@yahoo.com:
 how to rotate movieClip with mouse rotate on it , identify clockwise or 
 anticlockwise rotation ,
 ?
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
Ivan Dembicki
http://realaxy.com

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] How to utilize this code:public staticconst: Needhelp understanding...

2011-01-12 Thread Ivan Dembicki
Hello Merrill,

 This message w/attachments (message) is intended solely for the use of the 
 intended recipient(s) and may contain information that is privileged, 
 confidential or proprietary. [...]

- are you sure? this list is public.

-- 
Ivan Dembicki
http://realaxy.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Remove video sound

2010-12-11 Thread Ivan Dembicki
Stop it.

Отправлено с iPhone

11.12.2010, в 19:29, natalia Vikhtinskaya natavi.m...@gmail.com написал(а):

 Hi
 I have problem with video sound. It is AS2.
 Sound starts with this code
 var so:Sound;
 var vSound:MovieClip;
 

 vSound=theVideo.createEmptyMovieClip(vSound,theVideo.getNextHighestDepth());
vSound.attachAudio(ns);
so=new Sound(vSound);
so.setVolume(100);
 
 on close button
 clearVideo=function(){
theVideo.removeMovieClip();
vSound.removeMovieClip();
delete so;
 }
 
 Video removed but sound still plays. What is wrong?
 Thank you in advance.
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Actionscript 4?

2010-11-09 Thread Ivan Dembicki
Hello Merrill,

Look at DSL, metaprogramming, Jetbrains MPS and Realaxy

-- 
Ivan Dembicki
http://realaxy.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] what is realaxy video

2010-10-24 Thread Ivan Dembicki
Hello flashcoders,

short video about Object Builder language in RASE:
http://johnlindquist.com/2010/10/23/what-is-realaxy/

-- 
Ivan Dembicki
http://realaxy.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Realaxy Object Builder Language in Action

2010-10-17 Thread Ivan Dembicki
Hello flashcoders,

Realaxy ActionScript Editor beta 8 released.
Download:
http://www.realaxy.com/download/index?lang=en_US

Realaxy Object Builder Language in Action:
http://www.youtube.com/watch?v=fnst6UwqfJMhd=1

-- 
Ivan Dembicki
http://realaxy.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Pyramid Z

2010-10-04 Thread Ivan Dembicki
Hello Karl,

Quick example:

package {
  import flash.display.Sprite;
  import flash.events.Event;

  public class PyramyDepth extends Sprite {

private var holder : Sprite = new Sprite();

public function PyramyDepth() {
  super();
  initInstance();
}

private function initInstance() : void {
  y = 50;
  x = 300;
  addChild(holder);
  drawVisibleArea();
  addPhotos(100);

  addEventListener(Event.ENTER_FRAME, onEnterFrame);
}

private function onEnterFrame(event : Event) : void {
  holder.x -= mouseX / 100;
  dispatchEvent(new Event(Event.CHANGE));
}

private function addPhotos(num : Number) : void {
  var previous : AnyPhoto;
  for (var i : int = 0;i  num; i++) {
var anyPhoto : AnyPhoto = new AnyPhoto(this, previous);
holder.addChild(anyPhoto);
previous = anyPhoto;
  }
  holder.x = -holder.width / 2;
  dispatchEvent(new Event(Event.CHANGE));
}

private function drawVisibleArea() : void {
  graphics.lineStyle(0, 0);
  graphics.drawRect(-200, 0, 400, 60);

  graphics.moveTo(0, -100);
  graphics.lineTo(0, 100);
}
  }
}

import flash.display.Sprite;
import flash.events.Event;
import flash.geom.Point;

class AnyPhoto extends Sprite {

  private static var topPhoto : AnyPhoto;

  private var previous : AnyPhoto;
  private var next : AnyPhoto;
  private var point : Point = new Point();
  private var pyramyDepth : PyramyDepth;

  public function AnyPhoto(pyramyDepth : PyramyDepth, prev : AnyPhoto) {
super();
initInstance(pyramyDepth, prev);
  }

  private function initInstance(pyramyDepth : PyramyDepth, prev :
AnyPhoto) : void {
this.pyramyDepth = pyramyDepth;
pyramyDepth.addEventListener(Event.CHANGE, onChange);

graphics.lineStyle(0, 0);
graphics.beginFill(0xFF * Math.random());
graphics.drawRect(-50, -40, 100, 60);
y = 30;

previous = prev;
if (previous) {
  previous.next = this;
  setPosition();
}
  }

  private function setPosition() : void {
x = previous.x + previous.width / 2;
  }

  private function onChange(event : Event) : void {
point.x = 0;
point = localToGlobal(point);
point = pyramyDepth.globalToLocal(point);

var distance : Number = Math.abs(point.x);
visible = distance  (200 + 50);

if (!visible) {
  return;
}

var scale : Number = 1 - distance / 500;
scaleX = scaleY = scale;


if (distance  25) {
  resort();
}
  }

  private function resort() : void {
if (topPhoto == this) {
  return;
}
topPhoto = this;
parent.setChildIndex(this, parent.numChildren - 1);

if (next) {
  next.setNextIndex(parent.numChildren - 2);
}
if (previous) {
  previous.setPreviousIndex(parent.numChildren - 3);
}
  }

  private function setNextIndex(depth : int) : void {
parent.setChildIndex(this, depth);
if (next) {
  next.setNextIndex(depth - 1);
}
  }

  private function setPreviousIndex(depth : int) : void {
parent.setChildIndex(this, depth);
if (previous) {
  previous.setPreviousIndex(depth - 1);
}
  }
}


-- 
Ivan Dembicki
http://realaxy.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Pyramid Z

2010-10-04 Thread Ivan Dembicki
Hello Karl,

 I am very new to AS3. My code is currently in AS2.

- please forget AS2.

 Does this script also load the image? If so, where is that parameter set?

- no. It's just quick demo.


 Also, is there any way to not use onEnterFrame to accomplish this?
 I have found it to be a bit of a memory hog in situations like this.
 Would an internal loop work better for memory usage?

- no. Don't worry about it.
Just use AS3.


 On Oct 4, 2010, at 4:59 AM, Ivan Dembicki wrote:

 Hello Karl,

 Quick example:

 package {
  import flash.display.Sprite;
  import flash.events.Event;

  public class PyramyDepth extends Sprite {

    private var holder : Sprite = new Sprite();

    public function PyramyDepth() {
      super();
      initInstance();
    }

    private function initInstance() : void {
      y = 50;
      x = 300;
      addChild(holder);
      drawVisibleArea();
      addPhotos(100);

      addEventListener(Event.ENTER_FRAME, onEnterFrame);
    }

    private function onEnterFrame(event : Event) : void {
      holder.x -= mouseX / 100;
      dispatchEvent(new Event(Event.CHANGE));
    }

    private function addPhotos(num : Number) : void {
      var previous : AnyPhoto;
      for (var i : int = 0;i  num; i++) {
        var anyPhoto : AnyPhoto = new AnyPhoto(this, previous);
        holder.addChild(anyPhoto);
        previous = anyPhoto;
      }
      holder.x = -holder.width / 2;
      dispatchEvent(new Event(Event.CHANGE));
    }

    private function drawVisibleArea() : void {
      graphics.lineStyle(0, 0);
      graphics.drawRect(-200, 0, 400, 60);

      graphics.moveTo(0, -100);
      graphics.lineTo(0, 100);
    }
  }
 }

 import flash.display.Sprite;
 import flash.events.Event;
 import flash.geom.Point;

 class AnyPhoto extends Sprite {

  private static var topPhoto : AnyPhoto;

  private var previous : AnyPhoto;
  private var next : AnyPhoto;
  private var point : Point = new Point();
  private var pyramyDepth : PyramyDepth;

  public function AnyPhoto(pyramyDepth : PyramyDepth, prev : AnyPhoto) {
    super();
    initInstance(pyramyDepth, prev);
  }

  private function initInstance(pyramyDepth : PyramyDepth, prev :
 AnyPhoto) : void {
    this.pyramyDepth = pyramyDepth;
    pyramyDepth.addEventListener(Event.CHANGE, onChange);

    graphics.lineStyle(0, 0);
    graphics.beginFill(0xFF * Math.random());
    graphics.drawRect(-50, -40, 100, 60);
    y = 30;

    previous = prev;
    if (previous) {
      previous.next = this;
      setPosition();
    }
  }

  private function setPosition() : void {
    x = previous.x + previous.width / 2;
  }

  private function onChange(event : Event) : void {
    point.x = 0;
    point = localToGlobal(point);
    point = pyramyDepth.globalToLocal(point);

    var distance : Number = Math.abs(point.x);
    visible = distance  (200 + 50);

    if (!visible) {
      return;
    }

    var scale : Number = 1 - distance / 500;
    scaleX = scaleY = scale;


    if (distance  25) {
      resort();
    }
  }

  private function resort() : void {
    if (topPhoto == this) {
      return;
    }
    topPhoto = this;
    parent.setChildIndex(this, parent.numChildren - 1);

    if (next) {
      next.setNextIndex(parent.numChildren - 2);
    }
    if (previous) {
      previous.setPreviousIndex(parent.numChildren - 3);
    }
  }

  private function setNextIndex(depth : int) : void {
    parent.setChildIndex(this, depth);
    if (next) {
      next.setNextIndex(depth - 1);
    }
  }

  private function setPreviousIndex(depth : int) : void {
    parent.setChildIndex(this, depth);
    if (previous) {
      previous.setPreviousIndex(depth - 1);
    }
  }
 }


 --
 Ivan Dembicki
 http://realaxy.com
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Karl DeSaulniers
 Design Drumm
 http://designdrumm.com

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
Ivan Dembicki
http://realaxy.com

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Realaxy ActionScript Editor public beta

2010-06-25 Thread Ivan Dembicki
Hi Eric,

Realaxy Editor speed after migration to MPS 1.5 :
http://www.youtube.com/watch?v=UgpporwHGXQ
coming soon.

2010/6/9 Eric E. Dolecki edole...@gmail.com:
 It took 10 minutes to set up my 1st project and then was super slow allowing
 text entry. Not sure why.


-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Realaxy ActionScript Editor public beta

2010-06-17 Thread Ivan Dembicki
Hello, Steven,

I agree definitely with the point the video in its current state in
not always clear and it doesn't manage to fulfil its function.

If we talk about the dealing with metadata video you touched upon, its
goal was not to show the speedy performance, but to depict the error
tracking.
What the video shows is that in ordinary text editor it is quite easy
to make an error, while our editor provides you with the error
tracking daemon. Besides, this video does not tell that if refactoring
- renaming or moving a class to another package - takes place, a
developer won't have to search for and retype all the class string
occurrences. Without voiceover that is inevident, indeed.
We keep the video issue in mind and will definitely take remarks into
consideration.

If you have some voice to recommend us for voiceovering the screencast
with our texts, it would be helpful. And you will get some of our
gratitude :)

What about the editor itself, I'm pleased you compare it with the
current version of FDT - imho, the best AS editor nowadays.
But there are some details I would like to highlight.

FDT has been present on the market for a while, it's highly expectable
they've got not a single thousand of bug reports and future requests,
worked them over and the result can be witnessed today. The RASE is
not an exclusion meant interaction with users is vital: we need to
know their opinions, listen to their voice. That's just why this
public beta has been released. It's impossible to develop a software
product when you have no user feedback.

It's been a month since the beginning of CBT, and in that course more
than fifty bugs were fixed. We would not know about them but from
users.

Besides, the code editing logic, suggested by the MPS, is absolutely
different from plain text editing, and there're no projects to learn
from, we can only gather developers' opinions.

But revolutionarity has its advantages, you know. RASE has features,
that can't be implemented by the FDT developers. I'm talking of
Language Oriented Programming. And the difference between LOP and OOP
is more or less the same as the difference between OOP and Procedural
Programming. It's a new programming paradigm, not to say more.
And AS developers will be the avantgarde of coders, who will make
these advantages work for them full power. They wouldn't need to send
future requests to Adobe and wait for AS4 for the time not
predictable. They will have the opportunity to extend the language on
their own. Adobe, on the other hand, if wishes will have language
extensions usage statistics and DSL for decisions on the milestones
for AS syntax evolution.
The same goes for code transformation features - they are so powerful
that, I suppose, neither we, nor the MPS developers do understand the
prospects upcoming and their influence on the coding world.

How is that saving me time? How is that worth $99?

Besides all beforewritten, our editor shows today what will become a
normal practice for AS coding tomorrow. Here is a short video from
John Lindquist:
http://dl.dropbox.com/u/132579/junk/realaxy-refactor-to-delegation.mp4
Could you show me another AS editor that is capable of doing such a
refactoring? You may point us not strictly on betas, a several-years
developing editor. Is there any?

To be honest, we've released the public beta not only cause we were
much asked to, well, we are itching to show the community the
prospects for AS developers.
We have not finished with the shortcut system. But we are so eager to
uncover the future today :)

The product is clearly still in early beta [...]

- yeah, sure. And if you look at this thread subject, that's just what
is written there. It is the first public beta release of the editor,
and we do not make a secret out of that :)
This is at the moment not just not the product to make its way in the
market, it's even not the product to implement any real projects with
it.
We are making our first steps and we need users' feedback badly.
So do we with financial support.

Thank you for you remarks!



2010/6/10 Steven Sacks flash...@stevensacks.net:
 You're going to have to provide a bullet point list of why I should choose
 Relaxy over FDT or FlashDevelop, because your website is working against
 you.

 I watched your videos and they didn't make any sense. No voiceover and lots
 of mistakes while making your screencasts don't make for a good sales pitch.

 For example, your Metadata autocomplete video doesn't make any sense
 whatsoever. It looks like you made tons of mistakes while you were doing it,
 as if even you didn't quite know how it worked. In the time it took you to
 make it work, I could have written multiple metadata lines by hand.

 How is that saving me time? How is that worth $99?

 Not to mention the logical fallacy of writing a static method to dispatch an
 event. You're not going to sell me an Actionscript editor when you don't
 even know the fundamental rules of writing Actionscript (static functions
 

[Flashcoders] Realaxy ActionScript Editor public beta

2010-06-09 Thread Ivan Dembicki
Hello flashCoders,

Realaxy ActionScript Editor public beta released.
http://realaxy.com

-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Realaxy ActionScript Editor public beta

2010-06-09 Thread Ivan Dembicki
Hello Bob,

 Is it beta or trial? All I'm seeing is trial and buy.

- yes, it's our mistake :)
will fixed soon

-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Realaxy ActionScript Editor public beta

2010-06-09 Thread Ivan Dembicki
Hello Eric,

- also I can recommend you restart editor after first launch.

 It took 10 minutes to set up my 1st project and then was super slow allowing
 text entry. Not sure why.

 On Wed, Jun 9, 2010 at 1:01 PM, allandt bik-elliott (thefieldcomic.com) 
 alla...@gmail.com wrote:

 interesting - thanks

 On 9 June 2010 16:42, Piers Cowburn m...@pierscowburn.com wrote:

  wow.
 
 
  On 9 Jun 2010, at 16:16, Ivan Dembicki wrote:
 
   Hello flashCoders,
  
   Realaxy ActionScript Editor public beta released.
   http://realaxy.com
  
   --
   iv
   http://www.bezier.ru
   http://bezier.googlecode.com
   ___
   Flashcoders mailing list
   Flashcoders@chattyfig.figleaf.com
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




 --
 http://ericd.net
 Interactive design and development
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Bezier curve arrows

2010-03-18 Thread Ivan Dembicki
Hello Paul,

 [...] how can I get the right angle to point it to?

very easy:

http://code.google.com/p/bezier/source/browse/trunk/bezier/src/flash/geom/Bezier.as
getTangentAngle method.

time parameter is 0 for start and 1 for end of bezier.

good luck!

-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Draw Outline Slowly

2010-03-03 Thread Ivan Dembicki
Hello Victor,

 Wait a minute! How's that work on curves? Can I scale that, too?

you have one way only: use Bezier package
http://bezier.googlecode.com

demo: http://bezier.ru/wp-content/uploads/2008/06/bezier.swf?demo=1


-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Draw Outline Slowly

2010-03-03 Thread Ivan Dembicki
Hello,

oops, incorrect demo
use 6 and 7 demo as example for end point calculation


-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] SharedObjects read / write crash

2010-03-01 Thread Ivan Dembicki
Hello Glen,

works fine for me:

[SWF] C:\FDT\AS\Tests\Main.swf - 2 947 bytes after decompression
[object Main] loading persisted value
[object Main] loaded value is 123
[object Main] saving value 123
result true


2010/3/1 Glen Pike g...@engineeredarts.co.uk:
 Hi Guys,

   I am having a problem using SharedObjects on Gentoo - kernel 2.6.29 that
 does not seem to appear in 2.6.30, but I want to make sure it is not because
 of some setting on my machine.

   We run FlashPlayer from the command line, but still seem to be governed by
 the FlashPlayer settings, which have been applied using the browser and
 the Settings Panel SWF.

   Problem is the following code in testPersistence() seems to kill the
 FlashPlayer with a segfault in one of the libc libraries on my machine.
  Because we are using cloned disks, I am a bit wary that the settings for FP
 may be screwed, or a permissions error may be occurring.

   I just wanted to know if anyone else has seen this at all - I have googled
 and jira'd but no luck at the moment.

   Cheers

   Glen
 public class Persistence {
       protected static var _instance:Persistence;
             public function Persistence() {
           if (null != _instance) {
               throw Error(Cannot have more than one instance of
 Persistence);
           }
           _instance = this;
       }
             public static function getInstance():Persistence {
           if (null == _instance) {
               _instance = new Persistence( );
           }
           return _instance;
       }
       public static function saveValue(name:String, value:*):Boolean {
           var so:SharedObject = SharedObject.getLocal(interface_app);
                     if (null == so) {
               return false;
           }
           try {
               so.data[name] = value;
           }catch (e:Error) {
               trace(Persistence::saveValue exception  + e);
           }
           var res:String = so.flush();
           if (SharedObjectFlushStatus.FLUSHED == res) {
               return true;
           } else {
               return false;
           }
       }
             public static function loadValue(name:String):* {
           var so:SharedObject = SharedObject.getLocal(interface_app);
           if (null == so) {
               return null;
           }
           var value:*;
           try {
               value =  so.data[name];
           } catch (e:Error) {
               trace(Persistence::loadValue exception  + e);
           }
           if (undefined == value) {
               value = null;
           }
           return value;
       }
   }
 }

 function testPersistence():void {
   try {
               trace(this, loading persisted value);
               var testing:Object = Persistence.loadValue(testing);
               trace(this, loaded value is  + testing);
               trace(this, saving value 123);
               //The following line triggers a SEGFAULT
               var result:Boolean = Persistence.saveValue(testing, 123);
               trace(result  + result);
           } catch (e:Error) {
               trace(there was an error  + e);
           }
 }
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] drawing lines

2010-02-25 Thread Ivan Dembicki
Hello,

http://bezier.ru/wp-content/uploads/2008/06/bezier.swf?demo=9
http://code.google.com/p/bezier/


-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Realaxy ActionScript Editor: XML+E4X

2009-12-27 Thread Ivan Dembicki
Hello Flashcoders,

screencast: http://www.vimeo.com/8405505

-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Realaxy ActionScript Editor: XML Demo

2009-12-22 Thread Ivan Dembicki
Hello,

working with XML: http://vimeo.com/8216219

beta coming soon

-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Who uses Adobe Flex?

2009-11-19 Thread Ivan Dembicki
Hello Sid,

 Damn... 1k USD... and there are all the taxes... more than I get in 1 month
 (yeah, Brazil pays too low)

http://www.cleoag.ru/2009/11/12/langenfew-secret-videos-langenlangru-langru/
50 EU

-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] new AS Editor, few secret videos

2009-11-19 Thread Ivan Dembicki
Hello FlashCoders,

http://www.cleoag.ru/2009/11/12/langenfew-secret-videos-langenlangru-langru/


-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] new AS Editor, few secret videos

2009-11-19 Thread Ivan Dembicki
Hello Ian,

 http://code.google.com/p/minibuilder/

Realaxy Editor is an editor of fundamentally different level.
This is a new level of code editing tools regardless of programming
language. No one has such editor yet.
This editor is based on JetBrains MPS and will support tons of
refactorings, very smart errors highlight (I hope, ALL compile errors
will be highlighted in the editor), possibility of creating language
extentions (look at the example here: http://vimeo.com/7503735 - how
do you like enums in AS?) and many other revolutionary features.
It's not a toy. It's an editor for all AS/Flex programmers for next
3-4 and more years.

-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] new AS Editor, few secret videos

2009-11-19 Thread Ivan Dembicki
Hello Merrill,

A little bit about LOP:
http://www.onboard.jetbrains.com/is1/articles/04/10/lop/

-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] new AS Editor, few secret videos

2009-11-19 Thread Ivan Dembicki
Hello Merrill

 [...] When/where will this be made available?
- ~ 1 month for beta

 Is it opensource?

- yes. Not from release, but in result it's will opensource.


-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AS2 XML Question

2009-11-05 Thread Ivan Dembicki
Hello Karl,

many examples:
http://proto.layer51.com/l.aspx?p=19

-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Dynamic motion path

2009-10-02 Thread Ivan Dembicki
Hello Karl,

http://bezier.ru/wp-content/uploads/2008/06/bezier.swf?demo=7
http://code.google.com/p/bezier/


-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] mathematics of an elipse

2009-06-18 Thread Ivan Dembicki
Hello Charles,

You can build many ellipses through your points.
More data needed for ellipse unique define.

Also you can see old bezier classes
http://bezier.googlecode.com/files/ru.bezier.zip
Ellipse class especially.

good luck!

-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Problem with footer fixed to bottom of page

2009-05-21 Thread Ivan Dembicki
Hello Jonathan,

stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;

-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] What's the dollar symbol for?

2009-05-05 Thread Ivan Dembicki
Hello,

http://opensource.adobe.com/wiki/display/flexsdk/Coding+Conventions#CodingConventions-Property(variableandgetter%2Fsetter)names

and you can find other $ symbols in this document.

-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] drag along custom path

2009-02-26 Thread Ivan Dembicki
Hello,

http://bezier.ru/wp-content/uploads/2008/06/bezier.swf?demo=2

Package and demo sources: http://bezier.googlecode.com/

-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] registering Enter key along with mouse event

2009-01-22 Thread Ivan Dembicki
Hello Michael,

Menu: Control - Disable Keyboard Shortcuts

-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Drawing a continuous curved line through n points in AS1 or AS2 (Catmull-Rom splines?)

2008-11-15 Thread Ivan Dembicki
Hello matt,

look at
http://bezier.googlecode.com/files/ru.bezier.zip


-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] pythagoras question

2008-08-31 Thread Ivan Dembicki
Hello,

 Yes, but then you still have the problem that a two pixel line is not a
 great hit area for drawn line. [...]

- also you can draw 5 pixel transparent line.
like this:
http://bezier.ru/wp-content/uploads/2008/06/bezier.swf?demo=3

-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] working out a point on a squiggly line

2008-08-20 Thread Ivan Dembicki
Hello allandt,

http://bezier.googlecode.com
and especially
http://bezier.ru/wp-content/uploads/2008/06/bezier.swf?demo=3

-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Drawing an arc with curveTo

2008-08-04 Thread Ivan Dembicki
Hello Alias,

http://bezier.googlecode.com
you need Bezier.setPoint method
http://bezier.ru/wp-content/uploads/2008/06/bezier.swf?demo=3
You can approximate circle arc using quadratic bezier - minimal
number of curves for one circle is 8.

Advanced drawing methods in Macromedia Flash MX:
http://www.adobe.com/devnet/flash/articles/adv_draw_methods.html

Also you can look at AS1 library at layer51, for example:
http://proto.layer51.com/d.aspx?f=388

Also I can add usage examples to Bezier package
just I need to know what exactly you need.

-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] as3 class libraries

2008-07-16 Thread Ivan Dembicki
Hello,


 3D:
 Papervision 3D
 Away 3D

http://alternativaplatform.com/en/

Geometry:
http://bezier.googlecode.com


-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] calculating distance between two points

2008-03-11 Thread Ivan Dembicki
Or you can use new revolutionary Point.distance(pt1, pt2);

-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] ASDocDesktop - Easy documentation generation

2008-03-06 Thread Ivan Dembicki
Hello,

Ihave bad english and I can write comments
in Russian only and my code looks like this:
http://bezier.googlecode.com/svn/trunk/bezier/src/flash/geom/Bezier.as

I have a question: is anybody know asdoc tool
supported possibilities:
- user defined tags
  for example @language @translator etc
- multilingual content


good luck,
-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] positioning along bezier curve

2008-03-04 Thread Ivan Dembicki
Hello Keith

 is there a way to calculate a point midway along the curve?
 private function findPointOnCurve(p1x:Number, p1y:Number, cx:Number,

- this method can return midway along the curve if
bezier curve is symmetrical only.

finding point on curve by time iterator is very different thing than finding
point by distance along the curve. It is difficult calculation using bisection
of Newton algorithm:
http://bezier.googlecode.com/svn/trunk/bezier/src/flash/geom/Bezier.as
look at getTimeByDistance

possible way using Bezier class:

var myBezier:Bezier = new Bezier(.);
var midwayTime:Number = myBezier.getTimeByDistance(myBezier.length/2);
var midwayPoint:Point = myBezier.getPoint(midwayTime);

also analog of findPointOnCurve is presented in Bezier class as
getPoint method.


good luck!

-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Lightweight Collision for Platform Game

2008-03-04 Thread Ivan Dembicki
Hello,

http://www.harveycartel.org/metanet/tutorials.html

-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] positioning along bezier curve

2008-03-03 Thread Ivan Dembicki
Hello Merrill

-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] positioning along bezier curve

2008-03-03 Thread Ivan Dembicki
Hello Merrill,

I think my previous answer is shortest correct
answer in this list :)

-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] positioning along bezier curve

2008-03-03 Thread Ivan Dembicki
Merrill, hello again

please look at this link:
http://bezier.googlecode.com
this link also in my sign.

if you can't find needed example in demo
http://flash-ripper.com/tests/bezier.ru/demo/test.swf
please explain what you need exactly


--
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Looking for Expaning menu along a curved path

2008-02-22 Thread Ivan Dembicki
Hello Norman,

You can see example of moving point along curved path here:
http://flash-ripper.com/tests/bezier.ru/demo/test.swf
(6 and 7 example)

Sourcecode here:
http://code.google.com/p/bezier/source/checkout

I hope it can help you.

-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] send email from project on local machine

2008-02-06 Thread Ivan Dembicki
Hello Bassam,

File - Publish settings - Flash -
Local playback security - Access netwoork only

-- 
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Resizing a background image only.And keeping aspectratio.

2008-02-03 Thread Ivan Dembicki
Hello

oops

private function onAddedToStage(e:Event=null):void {
 onStageResize();
}
private function onStageResize(e:Event=null):void {
 picture_mc.width = stage.stageWidth;
 picture_mc.height = stage.stageHeight;
 picture_mc.scaleX = picture_mc.scaleY =
 Math.max (picture_mc.scaleX, picture_mc.scaleY);
}

-- 
iv
http://www.bezier.ru
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Resizing a background image only.And keeping aspectratio.

2008-02-03 Thread Ivan Dembicki
Hello

private function onAddedToStage(e:Event=null):void {
  private function onStageResize();
}
private function onStageResize(e:Event=null):void {
  picture_mc.width = stage.stageWidth;
  picture_mc.height = stage.stageHeight;
  picture_mc.scaleX = picture_mc.scaleY =
  Math.max (picture_mc.scaleX, picture_mc.scaleY);
}


-- 
iv
http://www.bezier.ru
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Resizing a background image only.And keeping aspectratio.

2008-02-03 Thread Ivan Dembicki
Hello

oops again :)

private function onAddedToStage(e:Event):void {
  onStageResize();
}
private function onStageResize(e:Event=null):void {
  picture_mc.width = stage.stageWidth;
  picture_mc.height = stage.stageHeight;
  picture_mc.scaleX = picture_mc.scaleY =
  Math.min(picture_mc.scaleX, picture_mc.scaleY);
}


-- 
iv
http://www.bezier.ru
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] division operand

2007-08-14 Thread Ivan Dembicki
Hello,

http://sharedfonts.com/eng/faq.html#include
[q]
I highly recommend you to input the desired glyphs into text field
before writing them to Include these characters: box by pressing
Auto Fill. There is a simple reason for that: font can have these
glyphs missing. If you do not see a glyph after inserting it into text
field, that will show you that the chosen font doesn't include such
symbol. If you input the glyphs directly into Include these
characters: string, you will see the symbols there, but you will not
have them in the compiled swf file, and will spend some time trying to
guess the reason.
[/q]



 I have this
 operand=÷;
 item.text=operand+ +String(i);
 trace(item.text) /// ÷ 1
 but I don't see that operand in text area.
 text area: not html, Arial, all embedded
 text area HTML: the same I see operand in trace but I don't see on the screen

 Any idea?

 2007/8/14, Cedric Muller [EMAIL PROTECTED]:
  Hello,
 
  You mean that you just need this 'convention' for display purposes ?
 
  var str = 10 / 2=;
  trace(str); //  outputs: 10 / 2=
  str = str.split(/).join(÷);
  trace(str); //  outputs: 10 ÷ 2=
 
  hth,
  Cedric
 
   10 / 2= I need 10 ÷ 2 =
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com



-- 
iv
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] DrawAPI - Curves

2007-08-13 Thread Ivan Dembicki
Hello,

http://sharedfonts.com/dembicki_org/path/vawes-eng.html

-- 
iv
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Coding a circular preloader

2007-08-06 Thread Ivan Dembicki
Hello Omar,

try this:
http://proto.layer51.com/d.aspx?f=388


-- 
iv
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Coding a circular preloader

2007-08-06 Thread Ivan Dembicki
Hello Omar,

possible... it's very old example.
try at this:

function drawSegment(target, rx, ry, x, y, sgm, s1, s2) {
var rad = Math.PI/180;
if (!s1 and !s2 or s1 == s2) {
var grad = 360;
var segm = grad/sgm;
var x1 = rx+x;
var y1 = y;
target.moveTo(x1, y1);
} else {
s1s2 ? s1 -= 360 : ;
var x1 = rx*Math.cos(s1*rad)+x;
var y1 = ry*Math.sin(s1*rad)+y;
var grad = s2-s1;
var segm = grad/sgm;
target.moveTo(x, y);
target.lineTo(x1, y1);
}
for (var s = segm+s1; s(grad+.1+s1); s += segm) {
var x2 = rx*Math.cos((s-segm/2)*rad)+x;
var y2 = ry*Math.sin((s-segm/2)*rad)+y;
var x3 = rx*Math.cos(s*rad)+x;
var y3 = ry*Math.sin(s*rad)+y;
// begin tnx 2 Robert Penner
var cx = 2*x2-.5*(x1+x3);
var cy = 2*y2-.5*(y1+y3);
target.curveTo(cx, cy, x3, y3);
// end tnx 2 Robert Penner :)
x1 = x3;
y1 = y3;
}
if (grad != 360) {
target.lineTo(x, y);
}
};


_root.onEnterFrame = function() {
_root.clear();
_root.lineStyle(0);
_root.beginFill(0xFF);
a= a||0
b=b||0
a=360 ? a -= 360 : a += 2;
b=360 ? b -= 360 : b += 3;
drawSegment(_root, 150, 100, 200, 250, 8, a, b);
_root.endFill();
_root.lineStyle(0);
_root.beginFill(0xFF00FF);
drawSegment(_root, 150, 100, 200, 200, 8, a, b);
_root.endFill();
};



-- 
iv
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] AS2 Shared Fonts and dynamically created textFields

2007-07-23 Thread Ivan Dembicki

Hello Michael,

- my english is bad but I will try.
I think a fonts inside shared libraries have different realisation
than movies in libraries.
Previously if font is shared than this font have something like
property I'm shared and can be used outside his movie.
Second difference is garbage collector behaviour for fonts:
if some font don't used this font will not removed if any
TextFormat object have his name (not link!).

This behaviour isn't documented because it's incorrect realisation.
Correct realisation must work like all other libraries objects.

I hope my english is understandable.

Good luck!
--
iv

2007/7/23, Michael Ypes [EMAIL PROTECTED]:

Hey Ivan,

Now your code is free :) Can you quickly confirm how you embedded the fonts at 
runtime without embedding the shared library at author time. I have done it 
based on something similar to yours but by someone else on flash coders. Is it 
because it is embedded into the external flash file which you are loading that 
it becomes available to the main movie. I hope this makes sense. Anyhow that is 
how I have got it to work but I don't know why it works as there is no 
documentation on this. I would really appreciate an insight to this just so 
that I can understand the logic behind it.

Cheers

M

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ivan Dembicki
Sent: 22 July 2007 22:03
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] AS2 Shared Fonts and dynamically created textFields

Hello,

Many materials about fonts sharing is here:
www.sharedfonts.com

PS:
Now SFM is free and sharedfonts.com domain is for sale.

Good luck!


2007/7/22, pedr browne [EMAIL PROTECTED]:
 Hello,

 I have a swf using a shared font. The font works fine in static or dynamic
 textFields created at author time, but does not work with dynamically
 created textFields. I am setting embedFonts = true. The dynamically created
 textfield's text property traces out the text I've set to it, but does not
 show the text.

 Can anyone help?

 Thanks

 --
 +44 (0) 788 0600 363 | +44 (0) 127 3208 079
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com



--
iv
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
iv
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] AS2 Shared Fonts and dynamically created textFields

2007-07-22 Thread Ivan Dembicki

Hello,

Many materials about fonts sharing is here:
www.sharedfonts.com

PS:
Now SFM is free and sharedfonts.com domain is for sale.

Good luck!


2007/7/22, pedr browne [EMAIL PROTECTED]:

Hello,

I have a swf using a shared font. The font works fine in static or dynamic
textFields created at author time, but does not work with dynamically
created textFields. I am setting embedFonts = true. The dynamically created
textfield's text property traces out the text I've set to it, but does not
show the text.

Can anyone help?

Thanks

--
+44 (0) 788 0600 363 | +44 (0) 127 3208 079
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
iv
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] AS2: LocalConnection as broadcaster?

2007-07-19 Thread Ivan Dembicki

Hello David,


this is not final decision, just to show the idea.

== root =

import as.Test;
new Test();


== as.Test.as ===
import as.MultiLocalConnection;

class as.Test {

   private var test1_lc : MultiLocalConnection;
   private var test2_lc : MultiLocalConnection;
   private var test3_lc : MultiLocalConnection;
   private var test4_lc : MultiLocalConnection;

   public function Test() {
   this.init();
   }

   private function init() : Void {

   this.test1_lc = new MultiLocalConnection();
   this.test2_lc = new MultiLocalConnection();
   this.test3_lc = new MultiLocalConnection();
   this.test4_lc = new MultiLocalConnection();

   this.test1_lc.onTest = function () {
   trace(test1_lc.onTest(+arguments+));
   };
   this.test2_lc.onTest = function () {
   trace(test2_lc.onTest(+arguments+));
   };

   this.test1_lc.connect(test);
   this.test2_lc.connect(test);

   this.test3_lc.send(test, onTest, [test, 1,
third param]);
   this.test4_lc.send(test, onTest, [test, 2,
third param]); // this send isn't work - thie same frame

   Mouse.addListener(this);
   }

   private function onMouseUp ():Void {
   this.test4_lc.send(test, onTest, [test, 2,
third param]); // this send isn't work
   }

}

== class as.MultiLocalConnection 
import mx.utils.Delegate;

dynamic class as.MultiLocalConnection {

   private var local_connection:LocalConnection;
   private var uid:String;

   public function MultiLocalConnection(Void) {
   this.init();
   }

   private function init() : Void {
   this.local_connection = new LocalConnection();
   this.local_connection[onMessage]  =
Delegate.create(this, this.onMessage);
   this.uid = new Date().getTime()+_+random(1);
   }

   public function connect (connectionName:String):Boolean {
   this.addMultiListener(connectionName);
   var connect_to:String = connectionName+this.uid;
   return this.local_connection.connect(connect_to);
   }

   public function send (connectionName:String,
methodName:String, args:Object):Boolean {
   var listeners_so:SharedObject =
SharedObject.getLocal(connectionName);
   var listeners_str:String = listeners_so.data[connectionName];
   var listeners:Array = listeners_str.split(|);
   // remove all connections
   listeners_so.data[connectionName] = ;

   args = [connectionName, methodName, args];
   args = args.toString();
   for (var i:Number=0, len:Number=listeners.length; ilen; i++) {
   var listener_uid:String = listeners[i];
   if (listener_uid.length) {
   var connection_name:String =
connectionName+listener_uid;

this.local_connection.send(connection_name, onMessage, args);
   }
   }
   return true;
   }

   private function onMessage (args:String):Void {
   var args_array:Array = args.split(,);
   var connectionName:String = +args_array.shift();
   var methodName:String = +args_array.shift();

   // reset if is available
   this.addMultiListener(connectionName);

   var method:Function = this[methodName];
   if (!method) {
   return;
   }
   method.call(this, args_array.join(,));
   }

   private function addMultiListener (connectionName:String):Void {
   var listeners_so:SharedObject =
SharedObject.getLocal(connectionName);
   var listeners_str:String = listeners_so.data[connectionName];
   var listeners:Array = listeners_str.split(|);
   if (!listeners.length) {
   listeners = [];
   }
   for (var i:Number=0, len:Number=listeners.length; ilen; i++) {
   var listener_uid:String = listeners[i];
   if (listener_uid == this.uid) {
   listeners.splice(i, 1);
   i--;
   }
   }
   listeners.push(this.uid);
   listeners_so.data[connectionName] = listeners.join(|);
   }

}

=

--
Ivan Dembicki
__
[EMAIL PROTECTED] | http://www.artlebedev.ru | http://www.sharedfonts.com

Re: [Flashcoders] Curves question for math gurus

2007-05-02 Thread Ivan Dembicki

Hello,


Thank you, I redid my whole thing using your classes!
Really super, more flexibility + less code !
Is there any doc online ?


http://www.bezier.ru/eng/AS2/ru/bezier/geom/Bezier.html

--
iv
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Curves question for math gurus

2007-04-26 Thread Ivan Dembicki

Hello leolea


I'm trying to figure out a way to have objects snap to this curved line. I
would distribute them over the _x axis, and I need a formula to get their _y
position on the curved line.


- you need to find an intersections between 2D Bezier curve and vertical lines.
Uou can use our geom package for it:
http://www.bezier.ru/rus/AS2/sources/ru.bezier.zip

good luck!

--
iv
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Curves question for math gurus

2007-04-26 Thread Ivan Dembicki

Hello,

a little demo:
http://www.bezier.ru/tmp/answer_demo/

--
iv
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Curves question for math gurus

2007-04-26 Thread Ivan Dembicki

Leolea,


Is there any doc online ?

- now in russian only. translation in progress.

--
iv
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Crossdomain Syntax Highlighter

2007-04-04 Thread Ivan Dembicki
Hello,

I'm working on the Syntax Highlighter pilot project.
I want to offer it as a part of Google Code Search service or as a
parallel separate service, so I sent a few mails to Google team;
absolutely no feedback followed. May be someone among flashcoders has
a contact in Google, so he could retrieve a bit of a feedback?

To see the project running (for now, PC only; latest versions of IE,
FF and Opera) open the following links in different browser windows,
and tile them on your screen to see both:
http://syntaxhighlighter.artlebedev.com/ActionScript2.html
- settings manager
http://bezier.ru/SyntaxHighlighter/ -sample page

Try setting highlight options and see them being applied to the code
sample. 

What you see as the highlight sample for ActionScript 2 code. The 
highlight model is defined by an XML file, and adding models for other 
languages is pretty easy. 

Please note: these pages reside in different domains and are opened in 
different browser windows (that also could be the windows of different 
browsers). 

Developers are used to their favorite IDE and to the way it highlights 
the code. This project is about enabling them to set the code 
highlight style for the web sites they visit. Once a developer sets 
his highlight preferences on Syntax Highlighter settings page, he will 
see them applied to all the sites that support Syntax Highlighter 
system. 

The web masters get the clean and simple way of publishing source code 
(see sample page source code). 

If Google starts a service like that, this code highlight mechanics 
will soon become a web publishing standard and software manufacturers 
will support it (this would be especially useful for JavaDoc 
generators and code editors). 

Thus Google Code Search service gets promoted by all the sites, that 
support Syntax Highlighter. 
What's more, owing to this highlighting standard, Google Code Search 
will get the possibility to easily detect the source programming 
language and license type. I'm planning to implement license type 
setting for webmaster who uses Syntax Highlighting system. 

The pilot project was created to merely show that such a system is 
possible and may run seamlessly. For now the system is missing some 
features including: 
-   saving named user presets 
-   named presets ratings 
-   default presets for various languages 
-   statistics and counters 
-   exporting/importing of presets 
-   toolbar design management (including icon sets) 
-   and others 

Should you have any questions concerning Syntax Highlighter system, 
please contact me. 


Thank you!

-- 
Ivan Dembicki 
__ 
http://www.artlebedev.ru | http://www.sharedfonts.com | http://www.bezier.ru 




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Embedding fonts for different langauges

2007-03-29 Thread Ivan Dembicki
Hello Michael,

http://www.sharedfonts.com

MY I am making a multi lingual flash app and want to separate the fonts out
MY into shared librarys and just load them in dependant on the locale. Does
MY anyone know or can point me in the right direction as to which fonts belong
MY to which language in the font embedding in flash. 

MY For example, if I were to do Armenian for instance, would I still need to
MY embed the Uppercase, Lowercase, etc.

MY Is there a definitive list as to which character sets need to be embedded
MY for any particular language.

MY Any ideas or links welcome???

MY Cheers

MY Michael Ypes

MY ___
MY Flashcoders@chattyfig.figleaf.com
MY To change your subscription options or search the archive:
MY http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

MY Brought to you by Fig Leaf Software
MY Premier Authorized Adobe Consulting and Training
MY http://www.figleaf.com
MY http://training.figleaf.com

-- 
Ivan Dembicki
__
[EMAIL PROTECTED] | http://www.artlebedev.ru | http://www.sharedfonts.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Localization issue with XML

2007-03-21 Thread Ivan Dembicki
Hello Steven,

SSB XML header is
SSB ?xml version=1.0 encoding=UTF-8 ?
- this string is ignored by AS XML parser.
  is your really file saved as UTF-8?


-- 
Ivan Dembicki
__
[EMAIL PROTECTED] | http://www.artlebedev.ru | http://www.sharedfonts.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re[2]: [Flashcoders] Localization issue with XML

2007-03-21 Thread Ivan Dembicki
Hello Mans,

MA The XML file is saved as UTF-8 encoding from notepad.
- yes. here is his problem. 100%


-- 
Ivan Dembicki
__
[EMAIL PROTECTED] | http://www.artlebedev.ru | http://www.sharedfonts.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re[2]: [Flashcoders] is flash still alive?

2007-03-13 Thread Ivan Dembicki
Hello Nick,

Could you please tell me...
I'm searching for a job in UK.
I have good experiance (from 2000), large portfolio and known
projects. But now I'm in Moscow and I have dirty English.
As a consequence my resume is not considered by job agencies.
Is there any way to find an employer directly skipping the agency
stage?


NG Flash contracting in London is booming at the moment, has been for that
NG last year and a bit. If you are good and know Flash insideout, code AS1
NG and 2, then you'll have no problems.


NG Cheers


NG Nick

NG David Mendels wrote:
 Hi,

 Flash is booming.  Flash and Flex complement each other and have helped
 expand the community to new folks, not Flex has not replaced Flash.

 Rumor has it that a major new release of the Flash authoring tool is due
 soon:
 http://arstechnica.com/journals/apple.ars/2007/03/05/adobe-confirms-cs3-
 launch-date

 -David
 Adobe 

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of ottocid
 Sent: Monday, March 12, 2007 6:52 PM
 To: Flashcoders mailing list
 Subject: [Flashcoders] is flash still alive?

 This may sound a stupid question.

 But I've been away from flash developing for one year. And I need to
 know if there is still the same request of flash actionscript
 programmers of last year of flash is becoming obsolete, in favour of
 Flex or simply in favour of classical html/serverside applications,
 that are google friendly / accessible etc...

 In next months I will leave italy to go in London searching for a job,
 and I need to know if being a STRONG actionscript developer is still a
 good reference.

 Thanks in advance

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training http://www.figleaf.com
 http://training.figleaf.com
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com


   




NG ___
NG Flashcoders@chattyfig.figleaf.com
NG To change your subscription options or search the archive:
NG http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

NG Brought to you by Fig Leaf Software
NG Premier Authorized Adobe Consulting and Training
NG http://www.figleaf.com
NG http://training.figleaf.com

-- 
Ivan Dembicki
__
[EMAIL PROTECTED] | http://www.artlebedev.ru | http://www.sharedfonts.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re[2]: [Flashcoders] is flash still alive?

2007-03-13 Thread Ivan Dembicki
Hello Nick,

- Thank you!

NG this is going off topic really but I'd just email the london 
NG agencies directly. They may want to work with you but most stuff needs
NG to be done onsite in their studio for various reasons.

-- 
Ivan Dembicki
__
[EMAIL PROTECTED] | http://www.artlebedev.ru | http://www.sharedfonts.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com