[Flashcoders] letter spacing on input text

2007-08-07 Thread ilteris kaplan
Dear Flashcoders, I have stumbled across an interesting issue when I was looking for different ways of creating an input box. The way I chose, is because it's the simplest one is to crete it on the authoring time. The path that I followed was simple, I Created three textboxes, converted

[Flashcoders] textfield woes.

2007-08-06 Thread ilteris kaplan
Hello List, Very basic question. Basically I created a new font in my flash library and put this code in the timeline. this.createTextField(mytext, this.getNextHighestDepth(), 10, 100, 300, 200); mytext.multiline = false; mytext.type = input; mytext.embedFonts = true; mytext.restrict =

Re: [Flashcoders] textfield woes.

2007-08-06 Thread ilteris kaplan
://www.adobe.com/support/flash/action_scripts/ actionscript_dictionary/actionscript_dictionary762.html -- Jim Palmer ! Mammoth Web Operations -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of ilteris kaplan Sent: Monday, August 06, 2007 3:33 PM To: Flashcoders

[Flashcoders] object Arrays

2007-07-26 Thread ilteris kaplan
Hello All, Basically I am trying to create a object which I can pass to my array and then access some properties of this object. Only problem is, I am trying to achieve this in a class. Basically I declared my array as a class variable and then instantiated it in my constructor function

[Flashcoders] bitmapData copypixels()

2007-07-25 Thread ilteris kaplan
Hey Flashcoders, I am creating an empty movieclip and loading an image to it. Then I am basically copying this movieclip into a bitmap. The reason I am doing this is, in the next step I am slicing up the bitmap into different pieces. I think my question is, am I doing an additional step

[Flashcoders] bitmapData object placing.

2007-07-23 Thread ilteris kaplan
Hello FlashCoders, I am loading an image into a MC and then copying this into a bitmapData object and then creating multiple bitmap objects in order to copy various parts of this image. What I am wondering is, in order to display those slices on the screen in different locations I can

Re: [Flashcoders] [as3] colorTransform

2007-04-10 Thread ilteris kaplan
Thanks Petro. It's interesting that if I set the this line _sprite.graphics.beginFill(0xFF); it doesn't work but if I set it like _sprite.graphics.beginFill(0xAABBCC); it works. Does anyone has any idea why? On 4/10/07, Petro Bochan [EMAIL PROTECTED] wrote: ilteris kaplan Hello

[Flashcoders] [as3]setting kerning of a dynamic text

2007-04-10 Thread ilteris kaplan
Hello Everyone, For those missed my previous fonts, I could able to load some font symbols from an flash 8 swf by the help of [Embed(source='din.swf', symbol='dinBold' )] etc. Now what I am wondering if there is anyway to set the kerning of the dynamic font we are using in flash? I remember

[Flashcoders] Re: [as3]setting kerning of a dynamic text

2007-04-10 Thread ilteris kaplan
); } This basically doesn't work. Can someone help me figure out why? best, ilteris On Apr 10, 2007, at 1:38 PM, ilteris kaplan wrote: Hello Everyone, For those missed my previous fonts, I could able to load some font symbols from an flash 8 swf by the help of [Embed(source='din.swf

Re: [Flashcoders] [as3] mouseEvents are not triggering

2007-04-09 Thread ilteris kaplan
Thanks Atila, I am totally new to programming in as3 and I am trying to make sense :) I though it would be a good idea to keep the mouseEvents on the main class file along with everything but as you said I moved it from there to particleManager and it solved my problem. thanks. On 4/9/07,

[Flashcoders] [as3] using stage.stageWidth property in a constructor

2007-04-09 Thread ilteris kaplan
Hello Flash Folks, I am trying to access stage.stageWidth property in order to be able to give certain x,y values to my objects when they are created. So when I went ahead tried to use stage.stageWidth by just tracing like trace(stage.stageWidth); this causing flash player 9 to throw an

[Flashcoders] [as3] embedded fonts from external swfs.

2007-04-09 Thread ilteris kaplan
Hello Flashcoders, I am working on a project where I need to embed multiple typefaces in my AS3 project. Here is what I got so far. I could happened to open my flash 8 and create multiple font symbols and add a linkage and check them to export them for actionscript. Then I put that file in

[Flashcoders] [as3] colorTransform

2007-04-09 Thread ilteris kaplan
Hello flashcoders, Once again, And after this I am not going to bother you for a while, I am trying to do basic colorTransform in as3. I am following docs from different places and the way I set i up is below: Unfortunately, I am missing something here. I would appreciate any advices

[Flashcoders] [as3] mouseEvents are not triggering

2007-04-08 Thread ilteris kaplan
Hello All, I am having a difficulty using mouseEvents in AS3.0 with Flex Builder. When I test a basic example it works fine but my setup is different. It is like this: I do have some circles which is controlled by particleManager class. Basically Iam adding particleManager with addChild

[Flashcoders] [as3] addchild()

2007-04-07 Thread ilteris kaplan
Hello Dear Flashcoders, I am trying to create a particle system in AS3 in flex builder 2. so my structure is like this: I do have a main class of the program, I do have Circle class and I do have CircleManager class which handles all initialization and declarations about circle objects.

[Flashcoders] timeline function call from inside of a class

2006-08-16 Thread ilteris kaplan
and please enlighten me if I am missing something! as a code example: in my _root.main : function foo() { trace(foo); } and in my class I am trying to access this function by; _root.main.foo(); *** is this doable? thanks in advance ilteris kaplan

Re: [Flashcoders] timeline function call from inside of a class

2006-08-16 Thread ilteris kaplan
yep, it looks like it exists, my problem is somewhere else probably. thanks!! On Aug 16, at 6:58 PM, Daniel Too wrote: This is definitely doable. when you run _root.main.foo() does _root.main exist? ilteris kaplan wrote: Hi List, I am trying to call a function I have created

[Flashcoders] private property doesn't get called?

2006-08-14 Thread ilteris kaplan
Hello I am having a really strange problem here. I have a boolean property in my class and I am trying to set its value to true as it should be, but it looks like it didn't get even instantiated in the class. Briefly in my class first sendVar method gets call from outside and pass two

[Flashcoders] delegate and proxy

2006-08-14 Thread ilteris kaplan
Hello List, I am trying to pass a parameter to my function with the help of delegate or proxy but I couldn't succeed in both :( I have read http://www.person13.com/articles/proxy/Proxy.htm but still couldn't quite figure out how I should do it. Honestly I begin to feel like dumb four in

[Flashcoders] delegating inside a tween class

2006-08-13 Thread ilteris kaplan
Dear List, I am trying to use tween's onMotionFinished method in order to make use of this, only when I try to call it normally (see closeCanvas method below) and trace(mc) it traces undefined. So when I tried to delegate onMotionFinished, I stumbled accross another problem. This time

Re: [Flashcoders] delegating inside a tween class

2006-08-13 Thread ilteris kaplan
, mx.transitions.easing.Strong.easeOut, 0, 673, 3, true); tween1.onMotionFinished = mx.utils.Delegate.create(this, mcMotionFinished); } Helen ilteris kaplan wrote: Dear List, I am trying to use tween's onMotionFinished method in order to make use of this, only when I try to call it normally (see closeCanvas