RE: [Flashcoders] ComBox Box - Font Issues

2008-10-20 Thread Karim Beyrouti
- Font Issues Hi, Are you setting these values before or after you add the data? That may have a bearing. Have a look at this article: http://blogs.adobe.com/pdehaan/2008/03/using_embedded_fonts_with_the_3.html Which may / may not help? Glen T karim beyrouti w

Re: [Flashcoders] ComBox Box - Font Issues

2008-10-18 Thread karim beyrouti
cmb_mc.textField.setStyle("textFormat", tf); cmb_mc.textField.textField.defaultTextFormat = tf Regards Karim On 18 Oct 2008, at 18:14, karim beyrouti wrote: Hi Glen - thanks for the answer.. Yep - i remember that one - I tried this at first and sadly it did not work... howe

Re: [Flashcoders] ComBox Box - Font Issues

2008-10-18 Thread karim beyrouti
. hmmm... On 18 Oct 2008, at 17:38, Glen Pike wrote: Hi, Try putting a text field off the stage set and embed your chosen font into it - that used to do the trick with AS2. Glen karim beyrouti wrote: Hi list - I am using the flash CS3 components - and have hit a little snag

[Flashcoders] ComBox Box - Font Issues

2008-10-18 Thread karim beyrouti
bedFonts", true); cmb_mc.dropdown.setRendererStyle("textFormat", tf); cmb_mc.textField.setStyle("embedFonts", true); cmb_mc.textField.setStyle("textFor

RE: [Flashcoders] TextField - autoSize

2008-10-10 Thread Karim Beyrouti
Found the culprit: txt.wordWrap = true; all is fine if I remove that. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Karim Beyrouti Sent: 10 October 2008 15:17 To: 'Flash Coders List' Subject: RE: [Flashcoders] TextField - auto

RE: [Flashcoders] TextField - autoSize

2008-10-10 Thread Karim Beyrouti
:[EMAIL PROTECTED] On Behalf Of Karim Beyrouti Sent: 10 October 2008 14:49 To: 'Flash Coders List' Subject: [Flashcoders] TextField - autoSize Hi List, I seem to be having issues getting my textfield to autoResize - and I am sure this is just me being silly. This is my code

[Flashcoders] TextField - autoSize

2008-10-10 Thread Karim Beyrouti
Hi List, I seem to be having issues getting my textfield to autoResize - and I am sure this is just me being silly. This is my code: import flash.text.TextField; import flash.text.TextDisplayMode; import flash.text.TextFieldAutoSize; import flash.text.TextFormatAlign; import flash.text.StyleShee

RE: [Flashcoders] Advice on creating nodes on elastic

2008-10-03 Thread Karim Beyrouti
I started working on something similar, and converted some AS2 Code I found to AS3. It's not finished, or well commented - but should give you a good starting point: http://kurst.co.uk/transfer/GGear.rar . I was thinking of making this open source once I got further down the road, but want to con

RE: [Flashcoders] Perlin Noise / Displacement

2008-10-01 Thread Karim Beyrouti
tFlt); //Harsh threshold filtering... //bmp.threshold(bmp,bmp.rectangle,new Point(0, 0),"<",0x006f6f6f,0x,0x00FF); } Karim Beyrouti wrote: > Hello groovy list... > > I am trying to generate a chrome effect by applying a displacement map to > Bitm

[Flashcoders] Perlin Noise / Displacement

2008-09-30 Thread Karim Beyrouti
Hello groovy list... I am trying to generate a chrome effect by applying a displacement map to Bitmap. The Displacement map is generated from perlin noise, and the target is a single colour filled bitmap. However it's not working with the single colour filled bitmap (I think it's because there i

[Flashcoders] synchronize FLV with SWF

2008-09-02 Thread Karim Beyrouti
Hi All - I am synchronizing a loaded SWF with an FLV using the FLVPlayback component (AS3). I've got it quite close, but there is still some slight delay. I have this on a timer: var frame:Number = Math.round( content.totalFrames * ( ( FLVPlayer.playheadPercentage - .25 ) / 100 ) ); content.

RE: [Flashcoders] Insert breakpoints and run debuggerwithoutFlashCS3? - not an automatic reply..

2008-06-16 Thread Karim Beyrouti
] Insert breakpoints and run debuggerwithoutFlashCS3? - not an automatic reply.. Hey Karim, thanks for your tip. Will this work in AS3 too? Thanks, Ali On 16 Jun 2008, at 10:45, Karim Beyrouti wrote: > Hmmm... so, here is a little trick I used to use. In the _root of > your movie, make a

RE: [Flashcoders] Insert breakpoints and run debugger withoutFlashCS3? - not an automatic reply..

2008-06-16 Thread Karim Beyrouti
Hmmm... so, here is a little trick I used to use. In the _root of your movie, make a global function like; _global.breakPoint = function (){ var setBreakPointHere = null; } And send a break point ( using the IDE at: setBreakPointHere ); Then simply call that function wherever you wa

RE: [Flashcoders] Re: Is it possible to display "&" in the xml file

2008-06-12 Thread Karim Beyrouti
Or you could use CDATA tags in your XML: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Kawamoto Sent: 12 June 2008 15:31 To: Flash Coders List Subject: Re: [Flashcoders] Re: Is it possible to display "&" in the xml file Are you sure about that

RE: [Flashcoders] How do I remove methods of superclass in AS2?

2008-05-01 Thread Karim Beyrouti
Sadly - override is AS3 only ... not AS2... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: 01 May 2008 15:26 To: Flash Coders List Subject: RE: [Flashcoders] How do I remove methods of superclass in AS2? Override the functions inst

RE: [Flashcoders] How do I remove methods of superclass in AS2?

2008-05-01 Thread Karim Beyrouti
ine. Your help is appreciated :) Ali On 1 May 2008, at 12:44, Karim Beyrouti wrote: > How about: > > class Classes.NoAnswerBut extends Classes.AnswerBut{ > > function NoAnswerBut(){trace("NoAnswerBut created");} > > public function onPress()

RE: [Flashcoders] How do I remove methods of superclass in AS2?

2008-05-01 Thread Karim Beyrouti
How about: class Classes.NoAnswerBut extends Classes.AnswerBut{ function NoAnswerBut(){trace("NoAnswerBut created");} public function onPress(){}//no actions here public function onRelease(){}//no actions here } Another option is to override

RE: [Flashcoders] External Interface + Google Analytics + IE7

2008-02-29 Thread Karim Beyrouti
I know this is not what you are asking for, but I use a getURL command to call the tracking script: getURL("javascript:pageTracker._trackPageview('" + str + "');"); I have built two classes for google analytics 1 for the urchin tracking, and another for the gaTracker, Here are the links to the cla

RE: [Flashcoders] bitMapData - function optimization

2008-02-29 Thread Karim Beyrouti
Yeh - saw that a while ago, Hans got this in answer to a question I posted here a while ago. However, I just managed to get it working, and yeh - it's really fast. Thanks for the reminder... - karim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hans W

RE: [Flashcoders] bitMapData - function optimization

2008-02-28 Thread Karim Beyrouti
;Flash Coders List" Sent: Thursday, February 28, 2008 3:47 PM Subject: Re: [Flashcoders] bitMapData - function optimization > You could use the paletMap function or the threshold function of the > bitmapData object. Check the documentation for details. > > > Greetz Er

[Flashcoders] bitMapData - function optimization

2008-02-28 Thread Karim Beyrouti
Hello Hello, Just wondering if anyone has any tips or ideas on optimizing this function, as its really slow.. Basically, it creates an inverted alpha mask from a bitmap by going through every pixel in the bit map. Here is the function: private function createInvertedMask() {

RE: [Flashcoders] osX - ActionScript Editor

2008-01-22 Thread Karim Beyrouti
Aha - funny - but seriously. I can't seem to find the shortcut to toggle code folding on eclipse. . and just for the archives ( if they ever become searchable again ): FDT/Eclipse is definitely the way to go for cross platform dev tools, I am really getting used to this. - k -Original Messa

[Flashcoders] osX - ActionScript Editor

2008-01-17 Thread Karim Beyrouti
Hi All, I know this is an old topic. I am looking for a good As2 ( and maybe As3 ) editor for OS-X. for the moment I have found these: http://macromates.com/ - which has not got great reviews. http://www.jedit.org/ - I have tried SEPY but was unable to get it working.

[Flashcoders] Sorting Date Array...

2007-09-20 Thread Karim Beyrouti
Hi All, I am trying to sort a date array by hour:minute - and not the day/month. So far I have: function sortFnc(a, b):Number { if ( a.date.getHours() < b.date.getHours() ) { return -1; } else {

RE: [Flashcoders] DrawAPI - Curves

2007-08-13 Thread Karim Beyrouti
Got it, thank you so much for the pointers here is my sample code for this one: numberOfPoints = 25 xSpacing = Stage.width / numberOfPoints this.lineStyle( 5, 0x00, 100); this.moveTo( 0,Stage.height / 2 ); points = []; for ( var c = 0 ; c < numberOfPoints ; c ++ ) { yPo

RE: [Flashcoders] DrawAPI - Curves

2007-08-13 Thread Karim Beyrouti
ndex.php?s=catmullromspline Cheers, Ian On 8/13/07, Karim Beyrouti <[EMAIL PROTECTED]> wrote: > > Hi all... > > I am struggling a little drawing curves in flash. Say I have 25 randomish > points , and would like to join them up with a nice smooth curve. How > would > I

[Flashcoders] DrawAPI - Curves

2007-08-13 Thread Karim Beyrouti
Hi all... I am struggling a little drawing curves in flash. Say I have 25 randomish points , and would like to join them up with a nice smooth curve. How would I calculate the control points for the curve?... Here is a code sample: numberOfPoints = 25; xSpacing = Stage.width / numberOfPoints;

[Flashcoders] Dynamically setting properties...

2007-08-08 Thread Karim Beyrouti
Hi List, I am trying to add values to properties a classes, the classes properties are defined like this: function get isActive():Boolean{ return _isActive; } function set isActive( val:Boolean):Void{ _isActive= val; } so instead of douing this to add values to the class:

[Flashcoders] Drawing API

2007-07-25 Thread Karim Beyrouti
Hi There, Just on the off chance any of you can help - Does anyone have any resources, or knows a good example online to simulate slightly blotchy ink using the drawing API? Regards Karim No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Datab

RE: [Flashcoders] London flash developer

2007-05-08 Thread Karim Beyrouti
Ooops... that’s what you get when you hit reply to post a new email. we are looking for London based developers... details below... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Karim Beyrouti Sent: 08 May 2007 16:37 To: flashcoders

RE: [Flashcoders] toronto flash developer

2007-05-08 Thread Karim Beyrouti
Hi All - We are looking for London based freelance flash developers, who are comfortable with AS2 advanced action scripting, and integrating sites with web services. Please send CV's / samples of your work to: freelancers[at]2020london.co.uk No virus found in this outgoing message. Checke

RE: [Flashcoders] Flash controling "Z" with div layers

2007-03-28 Thread Karim Beyrouti
1) Make sure that the DIV that contains your flash content uses: position: absolute; 2) make sure that "wmode"="transparent" in your flash embed and object tag. ( I used SWFObject, so.addParam("wmode", "transparent"); worked a treat. If it helps - I have a sample here: h

RE: [Flashcoders] Text to MP3

2007-03-28 Thread Karim Beyrouti
Aha, I am trying to do the opposite (analyze an audio mp3 and turn it into voiceXML), using some kind of audio recognition tool... Anyway, back to the point - text to speech... I've just cepstral to convert text to an MP3 on the fly and load it back into flash... http://www.cepstral.com/ . You m

[Flashcoders] Flash Over HTML

2007-03-27 Thread Karim Beyrouti
Hi All, I am a bit stuck with this one - I am trying to get a flash menu to show over HTML. I am using swfObject, and have set so.addParam("wmode", "transparent"); I tried playing with the "z-index:" property in the CSS, to sort the layers accordingly - but have had no luck so f

RE: [Flashcoders] Flash Over HTML

2007-03-27 Thread Karim Beyrouti
ers] Flash Over HTML try wmode = opaque -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Karim Beyrouti Sent: Tuesday, March 27, 2007 7:37 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Flash Over HTML Hi All, I am a bit stuck with this

RE: [Flashcoders] Flash - using the back button

2007-03-16 Thread Karim Beyrouti
the back button Hi, I've been using SWFAddress (http://www.asual.com/swfaddress/), no tutorials needed really... Steven Karim Beyrouti wrote: >Hi All, > >I was just wondering what the best way to activate the browser's back button >for a Flash(8) app?... are there an

[Flashcoders] Flash - using the back button

2007-03-15 Thread Karim Beyrouti
Hi All, I was just wondering what the best way to activate the browser's back button for a Flash(8) app?... are there any up to date resources / tutorial about this?... Kind regards Karim -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.446 / Virus D

[Flashcoders] Embedding Flv in SWF

2007-03-08 Thread Karim Beyrouti
This file I am working with contains an Flv embedded that’s SWF. Do any of you know of any issues where loadOjb.getBytesLoaded() and loadOjb.getBytesTotal() do not report the correct size of the file? Nb. The flv is encoded using - on2 VBR - through sorenson squeeze? -- No virus found in this ou

RE: [Flashcoders] which Symbol?

2006-12-04 Thread karim beyrouti
ssName. If you add them to your own class, then you're done. Get the linkageID by calling Classname.symbolName; Of course you should use the same identifier that you set in your class. Bart 2006/12/4, karim beyrouti <[EMAIL PROTECTED]>: > Hi All... > > > I don't think

[Flashcoders] which Symbol?

2006-12-04 Thread karim beyrouti
Hi All... I don’t think this is possible, but just thought I'd ask if it's possible to get the linkageID of a symbol that a class is assigned to?.. Cheers - karim -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.15.2/559 - Rel

[Flashcoders] PDF's in flash

2006-10-04 Thread karim beyrouti
I remember seing a component, to output pdf's from flash... Anyone has the link to it?... Cheers Karim ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/fla

RE: [Flashcoders] Images in textFields..

2006-03-21 Thread Karim Beyrouti
March 2006 11:24 To: Flashcoders mailing list Subject: Re: [Flashcoders] Images in textFields.. for the seconf problem try this "" horizontal around space and vertical around space!!! Karim Beyrouti wrote: >Hello !... > >I am working with HTML and images in textField's, an

[Flashcoders] Masking Movieclips with BitmapData

2006-03-09 Thread Karim Beyrouti
Hi All, I am trying to mask an object on stage with a bitmapData Object that was generated from a movieclip. I am hopeing that this will enable me to use strokes to mask object.. Anyway, I've found an example online that will help me clone a movieclip, to a bitmap, and managed to keep the transpar

RE: [Flashcoders] casting string to bool

2006-03-03 Thread Karim Beyrouti
Or ... Just to be sure: myBool= ( myString.toLowerCase() == "true") - karim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Danny Kodicek Sent: 03 March 2006 14:51 To: Flashcoders mailing list Subject: Re: [Flashcoders] casting string to bool > how

RE: [Flashcoders] Images in textFields..

2006-02-28 Thread Karim Beyrouti
nal Message- >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of Karim Beyrouti >>Sent: Tuesday, February 28, 2006 11:09 AM >>To: 'Flashcoders mailing list' >>Subject: RE: [Flashcoders] Images in textFields.. >> >>I

RE: [Flashcoders] Images in textFields..

2006-02-28 Thread Karim Beyrouti
for a long time. Jason Merrill | E-Learning Solutions | icfconsulting.com >>-Original Message- >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of Karim Beyrouti >>Sent: Tuesday, February 28, 2006 8:06 AM >>To: '

RE: [Flashcoders] Images in textFields..

2006-02-28 Thread Karim Beyrouti
oblem On 28 Feb 2006, at 12:48, Karim Beyrouti wrote: >> >> I am working with HTML and images in textField's, and am wondering >> how one would keep images ( ) inline with the >> text? >> I am trying to have text on one line then the image on another line. >

RE: [Flashcoders] Images in textFields..

2006-02-28 Thread Karim Beyrouti
es in textFields.. Without trying it myself I can't answer your first question but for your second question, have you tried specifying the width and height attributes of your tags? This might prevent overlapping. e.g. On 2/28/06, Karim Beyrouti <[EMAIL PROTECTED]> wrote: > > Hello

RE: [Flashcoders] Images in textFields..

2006-02-28 Thread Karim Beyrouti
myself I can't answer your first question but for your second question, have you tried specifying the width and height attributes of your tags? This might prevent overlapping. e.g. On 2/28/06, Karim Beyrouti <[EMAIL PROTECTED]> wrote: > > Hello !... > > I am working

[Flashcoders] Images in textFields..

2006-02-28 Thread Karim Beyrouti
Hello !... I am working with HTML and images in textField's, and am wondering how one would keep images ( ) inline with the text? I am trying to have text on one line then the image on another line. Also Another problem I get with is that images overlap...its a bit anoying to say the least, a

[Flashcoders] RSS ...

2006-02-06 Thread Karim Beyrouti
Hello !! Just about to write an AS2 RSS Parser class, but before re-inventing the wheel, I was wondering if there is an open source Atom/RSS Parser class floating about. Lots of thanks... - karim ___ Flashcoders mailing list Flashcoders@chattyfig.fig

[Flashcoders] Mp3:: issues...

2005-12-14 Thread Karim Beyrouti
Hello ! We are using this software that generates mp3's, which i am loading into flash. The problem: flash makes a mess of decoding the audio. check it out: http://kurst.co.uk/wotw/cepstralTest/ http://kurst.co.uk/wotw/cepstralTest/audio.mp3 i think its because its encoded usi

RE: [Flashcoders] AI Personalities...

2005-11-30 Thread Karim Beyrouti
should have mentioned that this is for a simple Chat Bot -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Danny Kodicek Sent: 30 November 2005 16:08 To: Flashcoders mailing list Subject: Re: [Flashcoders] AI Personalities... > Anyone got any good lin

[Flashcoders] AI Personalities...

2005-11-30 Thread Karim Beyrouti
Anyone got any good links for building AI Personalities... ?... this one does not need to be too fancy... Thanks... Karim ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

<    1   2