Re: [Flashcoders] AS3 Noise (Audio) Filter?

2013-05-24 Thread Karim Beyrouti
I have not seen anything that does that (how unhelpful was this !)… Having said that, this guy is a DSP specialist by the looks of it: http://gerrybeauregard.wordpress.com/2010/08/03/an-fft-in-as3/ maybe if you got in contact with him ? On 24 May 2013, at 15:20, Eric E. Dolecki

Re: [Flashcoders] Game physics programming needed.

2012-10-27 Thread Karim Beyrouti
I would also have a look at NAPE: https://github.com/deltaluca/nape . CDK can be quite slow in comparison to vector maths. Karim Beyrouti t: +44 (0) 7977 997 629 e: ka...@kurst.co.uk w: http://kurst.co.uk skype: karimbeyrouti 109 Timber Yard, Drysdale Street, Hoxton, London, N1 6ND On 27 Oct

[Flashcoders] Time adjusted / Framerate independent animation…

2012-10-26 Thread Karim Beyrouti
: http://kurst.co.uk/transfer/timecorrection/TimeCorrection.as I would love it if you can point out where I am going wrong... Best regards Karim Beyrouti t: +44 (0) 7977 997 629 e: ka...@kurst.co.uk w: http://kurst.co.uk skype: karimbeyrouti 109 Timber Yard, Drysdale Street, Hoxton, London, N1

Re: [Flashcoders] Time adjusted / Framerate independent animation…

2012-10-26 Thread Karim Beyrouti
-physics based animated objects/code to work the same way (i.e. the camera), and I am finding it a little difficult. Will try your solution - although it looks like it's for the other option (variable framerate)…. Thank you for helping…. Karim Beyrouti t: +44 (0) 7977 997 629 e: ka

Re: [Flashcoders] Time adjusted / Framerate independent animation…

2012-10-26 Thread Karim Beyrouti
Thank you! That make sense. Will integrate this into my code ( now looking at my camera class ) … This is quite important, as if there is any frame lag, physics and other objects go out of sync. Karim Beyrouti t: +44 (0) 7977 997 629 e: ka...@kurst.co.uk w: http://kurst.co.uk skype

Re: [Flashcoders] Time adjusted / Framerate independent animation…

2012-10-26 Thread Karim Beyrouti
spc.x|| ( spc.x + spc.width ) stage.stageWidth ) spcDir = -spcDir; t0 = getTimer(); } Karim Beyrouti t: +44 (0) 7977 997 629 e: ka...@kurst.co.uk w: http://kurst.co.uk skype: karimbeyrouti 109 Timber Yard, Drysdale Street, Hoxton, London, N1 6ND On 26 Oct 2012, at 17:07, Hans Wichman

[Flashcoders] Pure AS3 spark.components.List

2011-08-17 Thread Karim Beyrouti
Hello List ! Wondering if anyone is using any of the flex 'spark.components' in a pure AS3 Project ? If so, I am currently trying to get the 'spark.components.List' working, and it's just not showing any content from the data provider. Best Karim

Re: [Flashcoders] mx.logging package?

2011-08-02 Thread Karim Beyrouti
registration point ( white circle) is the centre of transformation - so if you rotate the symbol, or transform it (using transform tool), it will happen around the the registration point (white circle). You can also move that point using the transform tool. ( tiny cross hair) in movieClip

[Flashcoders] Webcam - Menu / Allow access not working

2011-07-26 Thread Karim Beyrouti
Hello Flashcoders, Well - the adobe settings panel to allow access to my webcam is not responding to mouse click - it shows up - and I can't click 'Allow' or 'Deny'. It just simple does not respond to keyboard or mouse events. Anyone seen this before / or know how to resolve this issue ?

[Flashcoders] FDT + Apk, adding extra files

2011-07-01 Thread Karim Beyrouti
Hello List !!! Well - almost weekend... and have a hopefully quick question. Do any of you know how to include files (in this case images) with an APK... so I can get the app to load them ?... Using FDT 4.5 Best Karim Beyrouti ___ Flashcoders

Re: [Flashcoders] FDT + Apk, adding extra files

2011-07-01 Thread Karim Beyrouti
Got it, in FDT; Just needed to add the folder or file path to the ANT file: arg value=${deploy.dir}/images/ / On 1 Jul 2011, at 18:43, Karim Beyrouti wrote: Hello List !!! Well - almost weekend... and have a hopefully quick question. Do any of you know how to include files

[Flashcoders] AIR + Google Maps = not working

2011-06-08 Thread Karim Beyrouti
Hello List - I am trying to get Google Maps working in an AIR app (for desktop). Currently I am not able to get the maps to initialise and work in an AIR application. Has anyone managed to get the googleMaps as3 component to work inside an AIR application ? Best Karim Beyrouti

Re: [Flashcoders] AIR + Google Maps = not working

2011-06-08 Thread Karim Beyrouti
Figured it out, in air you have to define a URL for the map component. i.e.: zoomMap.url= 'http://myWebsite.com' Cheers Karim On 8 Jun 2011, at 12:49, Karim Beyrouti wrote: Hello List - I am trying to get Google Maps working in an AIR app (for desktop). Currently I am

Re: [Flashcoders] Incubator updates

2011-06-06 Thread Karim Beyrouti
specifically, though I do hope they can bridge the gap a bit more. Kevin N. On 5/22/11 6:32 AM, Karim Beyrouti wrote: one observation here: Stage 3d / Molehill runs much much faster on a PC than a Mac. Recently loaded XP BootCamp, and some Away3D examples than ran at 2-3 FPS on OsX ran

Re: [Flashcoders] Incubator updates

2011-05-22 Thread Karim Beyrouti
one observation here: Stage 3d / Molehill runs much much faster on a PC than a Mac. Recently loaded XP BootCamp, and some Away3D examples than ran at 2-3 FPS on OsX ran at 30 FPS in XP on the same PC, well all examples were an order of magnitude faster in XP / Window. I know it's early

Re: [Flashcoders] F4V progressive download?

2011-04-02 Thread Karim Beyrouti
Also, might be the server's mime type is not configured for f4v? On 2 Apr 2011, at 03:06, Merrill, Jason jason.merr...@bankofamerica.com wrote: I believe F4V is for H.264 video, AAC or MP3 audio only. Could that be the reason? Jason Merrill Instructional Technology Architect Bank of

Re: [Flashcoders] RegExp Help

2011-03-13 Thread Karim Beyrouti
This is great - thanks for explaining, helps a lot. the original expression I posted works this tool : http://gskinner.com/RegExr I would love to know what magic Grant is using to get it working in his RegExp utility. Thank you Anthony. On 11 Mar 2011, at 23:42, Anthony Pace wrote: Hi

Re: [Flashcoders] RegExp Help

2011-03-13 Thread Karim Beyrouti
for this one, but am curious to know if it can be done with AS3 RegExp. Cheers Karim On 13 Mar 2011, at 09:27, Karim Beyrouti wrote: This is great - thanks for explaining, helps a lot. the original expression I posted works this tool : http://gskinner.com/RegExr I would love to know what

[Flashcoders] RegExp Help

2011-03-11 Thread Karim Beyrouti
Hello lovely list...I am trying to run a RegExp pattern on a String, and am not too sure why it's not working, and am not too sure why. Here is the code: var tStr: String= '/a:value -big=this -test:123 -test2=th_3' var r : RegExp= new RegExp(

[Flashcoders] OT: Adobe Air Marketplace

2011-03-09 Thread Karim Beyrouti
Sorry for the OT post - once again, i was just wondering what your experiences with the Adobe Air marketplace have been like: i have had another app for pending approval since 23 Jan (http://swfrenderer.kurst.co.uk/) - and it's still not approved. Adobe says it takes about 1-2 weeks days to

Re: [Flashcoders] Automatic quality toggle

2011-03-03 Thread Karim Beyrouti
I developed an AIR app to export SWF to PNG sequences: http://swfrenderer.kurst.co.uk We developed it because flash was skipping frames and animation was not overly smooth on CPU intensive movies (be it code or timeline). We also had a few issues with the CS5 PNG/Movie exporter. It works with

[Flashcoders] Flash CS5 - Component Live Preview Disapearing

2011-02-28 Thread Karim Beyrouti
Hello live... I am currently developing a component for Flash CS5 (AS3), I have stumbled on an issue where the live preview disappears leaving a blank space where the component should be. This only happens when the component is turned into a complied clip. It's there but not visible, which

Re: [Flashcoders] Flash CS5 - Component Live Preview Disapearing

2011-02-28 Thread Karim Beyrouti
Live Preview is linked to an external SWF, rather than embedded in your component (see your Component Definition dialog box). C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karim Beyrouti Sent

Re: [Flashcoders] FaceBook, Posting Data allowScriptAccess

2011-02-11 Thread Karim Beyrouti
to communicate with one another over ExternalInterface, and are also able to pull data from a data source. I'm using unFocus.SwfHTML to embed them though, not using any special FB api. Kevin N. On 2/4/2011 8:20 PM, Karim Beyrouti wrote: php script. The php is on the same server as the SWF

[Flashcoders] FaceBook, Posting Data allowScriptAccess

2011-02-04 Thread Karim Beyrouti
Hello list, I am currently trying to debug a SWF on FaceBook which is not posting data to back to a php script. The php is on the same server as the SWF. I am 99% sure that facebook setting the allowScriptAccess='never' parameter when embedding with FBML is what's causing the flash not to

Re: [Flashcoders] problem with adding two digits

2010-12-14 Thread Karim Beyrouti
It's an issue with floating point accuracy/calculations, Here is some info: http://joshblog.net/2007/01/30/flash-floating-point-number-errors/ saw more about it somewhere else... don't think it's an issue with the FP tho'. - Karim On 14 Dec 2010, at 15:15, tom rhodes wrote: same here

Re: [Flashcoders] Testing display object if its MovieClip or BitMap?

2010-12-02 Thread Karim Beyrouti
appreciate the help. :) On Wed, Dec 1, 2010 at 5:19 PM, Karim Beyrouti ka...@kurst.co.uk wrote: attached a class that does that, hope it helps... Doh! Looks like the Flash Coders List does not allow attachments! :( Do you have a server you could upload the AS file to? Maybe you could post

Re: [Flashcoders] Testing display object if its MovieClip or BitMap?

2010-12-01 Thread Karim Beyrouti
attached a class that does that, hope it helps... example : trace( ClassUtils.getFullClassPath( canvas ) ); // flash.display.Bitmap trace( ClassUtils.getSuperClass( canvas ) ); // flash.display.DisplayObject On 1 Dec 2010, at 23:40, Micky Hulse wrote: On Wed, Dec 1, 2010 at 3:25 PM,

Re: [Flashcoders] Normalising Numbers

2010-11-30 Thread Karim Beyrouti
len; i++) { result[i] = rangedToNormal(list[i],min,max); } return result; } Cheers Juan Pablo Califano 2010/11/29 Karim Beyrouti ka...@kurst.co.uk Hello FlashCoder... maybe it's because it's late but it's getting a little confusing, and google is not being friendly right now

Re: [Flashcoders] Normalising Numbers

2010-11-30 Thread Karim Beyrouti
++) { result[i] = rangedToNormal(list[i],min,max); } return result; } Cheers Juan Pablo Califano 2010/11/29 Karim Beyrouti ka...@kurst.co.uk Hello FlashCoder... maybe it's because it's late but it's getting a little confusing, and google is not being friendly right now

Re: [Flashcoders] Normalising Numbers

2010-11-30 Thread Karim Beyrouti
) } return result; } public function rangedToNormal( ranged : Number , min : Number , max : Number ) : Number { var rangeSize : Number = max - min; return (ranged - min) / rangeSize; } On 30 Nov 2010, at 11:25, Karim Beyrouti wrote: Wow

[Flashcoders] Normalising Numbers

2010-11-29 Thread Karim Beyrouti
Hello FlashCoder... maybe it's because it's late but it's getting a little confusing, and google is not being friendly right now. seems to works fine with positive numbers, however - i am trying to normalise a range of positive and negative numbers... ( code simplified not to find min and

[Flashcoders] ARgb to Rgb

2010-11-23 Thread Karim Beyrouti
Hello All, wondering if anyone has got the ARGB to RGB conversion conversion algorithm handy ? Thanks... - karim ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] ARgb to Rgb

2010-11-23 Thread Karim Beyrouti
wrote: Hi Karim, http://www.autohotkey.com/forum/topic45543.html 3rd link on google searching for ARGB to RGB conversion conversion algorithm. :) HTH, Best, Karl On Nov 23, 2010, at 5:37 AM, Karim Beyrouti wrote: Hello All, wondering if anyone has got the ARGB to RGB

Re: [Flashcoders] ARgb to Rgb

2010-11-23 Thread Karim Beyrouti
to rgb conversion class, or leave out class, I bet you'll find what your needing. Sry not much more help, I know about as much as you on the sub. Just google happy I guess.. Karl On Nov 23, 2010, at 6:02 AM, Karim Beyrouti wrote: Thanks Karl, had seen that one, but it slightly

[Flashcoders] getPixel32 - get alpha value

2010-11-03 Thread Karim Beyrouti
Hello All - anyone can point me in the right direction to get the alpha component of getPixel32 ? Thanks Karim ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] getPixel32 - get alpha value

2010-11-03 Thread Karim Beyrouti
Thanks Sidney - can't believe I missed it in the docs. - k On 3 Nov 2010, at 14:22, Sidney de Koning - Funky Monkey Studios wrote: Hi Karim, Something along the lines of this: var bmd:BitmapData = new BitmapData(80, 40, true, 0xFF44AACC); var pixelValue:uint = bmd.getPixel32(0, 0);

Re: [Flashcoders] Flash to Powerpoint

2010-10-22 Thread Karim Beyrouti
You might be better off looking for php/powerpoint libs - either that - or you might be able to write an exporter using bytearray in AS3. But just guessing on that one. Good luck. On 22 Oct 2010, at 17:00, Matt S. wrote: Honestly, I dont know if you're going to find an easy way to do that.

Re: [Flashcoders] AIR 2 / 10.1 + Microphone

2010-10-02 Thread Karim Beyrouti
guess i should have mentioned that this project is all about music visualisation. On 2 Oct 2010, at 09:57, Henrik Andersson wrote: Trust me on this one, computeSpectrum is not useful for anything but music visualization. It provides no gurantees that it wont miss samples, in fact, it is

Re: [Flashcoders] AIR 2 / 10.1 + Microphone

2010-10-02 Thread Karim Beyrouti
://gerrybeauregard.wordpress.com/2010/08/06/real-time-spectrum-analysis/ It uses the microphone input and an FFT that I wrote. All the code is freely available for download. -Gerry On 2010-10-02 , at 17:55 , Karim Beyrouti wrote: guess i should have mentioned that this project is all about music visualisation

[Flashcoders] AIR 2 / 10.1 + Microphone

2010-10-01 Thread Karim Beyrouti
Wondering if the microphone - has a similar FFT output - like the one in 'computeSpectrum(ByteArray, FFTMode, stretchFactor )' . or would it just be best to wait for - SampleDataEvent - get the byteArray and read the values from there? Found this way of getting to the Mic sound data;

[Flashcoders] PureMVC or RoboLegs ?

2010-09-13 Thread Karim Beyrouti
Hi all, After having a few clients screaming for MVC capable developers - i am finally about to byte the bullet and learn an MVC framework. So, which framework is more popular - PureMVC, or RoboLegs? I guess that once you learn one, the other makes sense - if so - which would you recommend ?

Re: [Flashcoders] PureMVC or RobotLegs ?

2010-09-13 Thread Karim Beyrouti
...@chattyfig.figleaf.com] On Behalf Of Karim Beyrouti Sent: Monday, September 13, 2010 2:40 PM To: Flashcoders List Subject: [Flashcoders] PureMVC or RoboLegs ? Hi all, After having a few clients screaming for MVC capable developers - i am finally about to byte the bullet and learn an MVC

Re: [Flashcoders] PureMVC or RobotLegs ?

2010-09-13 Thread Karim Beyrouti
, that is. In practice I'm definitely finding RL faster to develop with (particularly with AS3 Signals), though with the caveat that handing off an RL project to a dev not familiar with it can spawn its own set of annoyances. --Matt On Mon, Sep 13, 2010 at 11:39 AM, Karim Beyrouti ka...@kurst.co.uk wrote

Re: [Flashcoders] PureMVC or RobotLegs ?

2010-09-13 Thread Karim Beyrouti
Thanks ! - that helps make the decision. On 13 Sep 2010, at 21:24, Jesse Warden wrote: What Matt Gitchell said. On Mon, Sep 13, 2010 at 4:19 PM, Karim Beyrouti ka...@kurst.co.uk wrote: Ah - yes, the cool icon must learn robotlegs... once you know an MVC framework - in theory i

Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps

2010-09-12 Thread Karim Beyrouti
found this method quite interesting: http://insideria.com/2010/08/advanced-blitting-bitmap-scrol.html not too sure it applies to mobile, but might help... On 12 Sep 2010, at 20:58, gamera wrote: make a benchmark and find out. On Sep 8, 2010, at 8:50 PM, Kevin Newman wrote: What is the

Re: [Flashcoders] Link text indexes in a TextField

2010-08-31 Thread Karim Beyrouti
I have textfield link detection in this class - https://code.google.com/p/kurstcode/source/browse/trunk/libs/com/kurst/utils/TextFieldUtils.as using it for link roll-over / roll-out events. And I think it could be extended to get the link's start/end position. Have a look at the

[Flashcoders] OT: FDT 4.0 M4

2010-08-19 Thread Karim Beyrouti
Hello list - Cannot sign up to bugs.powerflasher.com/jira - Captcha seems to be having problems. tried using Firefox / Chrome and Safary ( and on PC too ) - could not sign up to submit bug. Contacted the FDT team, but no reply yet... anyway thought i'd post it here - in case someone from

Re: [Flashcoders] A fast FFT in Flash?

2010-08-03 Thread Karim Beyrouti
Just a thought - try moving the variable declarations out of the loops: http://www.rozengain.com/blog/2007/05/01/some-actionscript-30-optimizations/ http://osflash.org/as3_speed_optimizations

[Flashcoders] FaceBook / Flash

2010-07-21 Thread Karim Beyrouti
Hi All, I am trying to add a SWF to a Facebook group, and wondering if you know of any good an recent tutorial or can advise on best method to do so... Muchos thanks - karim ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] OT: Adobe Air Marketplace

2010-07-19 Thread Karim Beyrouti
Thanks David, i moved this conversation to Air Tight list, and overall Marketplace feedback was quite positive ( well - there was not much feedback, but it was positive). I was just saying the same thing about a mobile 10.1 marketplace, which i think would be a good move forward. Also, my app

[Flashcoders] OT: Adobe Air Marketplace

2010-07-15 Thread Karim Beyrouti
Sorry for the OT post - however i was just wondering what your experiences with the Adobe Air marketplace have been like? I have added an item on there about two weeks ago, and it's still not approved. The Adobe site says it takes about 2-3 working days to approve apps - but have read reports

Re: [Flashcoders] OT: Adobe Air Marketplace

2010-07-15 Thread Karim Beyrouti
Will do - Thank you ... On 15 Jul 2010, at 17:11, Dave Watts wrote: Sorry for the OT post - however i was just wondering what your experiences with the Adobe Air marketplace have been like? If you don't get a good answer here, you might want to post on the AIR-Tight list - lots of Adobe

[Flashcoders] FullScreen - not working

2010-06-23 Thread Karim Beyrouti
Kinda feel silly with this question, I can't get fullscreen mode to work: URL: http://clients.kurst.co.uk/ycommaz/12 HTML contains - allowFullScreen:'true' - and the fullscreen code is: private function ToggleFullScreen(event : MenuEvent) : void {

Re: [Flashcoders] FullScreen - not working

2010-06-23 Thread Karim Beyrouti
of America associates) -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karim Beyrouti Sent: Wednesday, June 23, 2010 10:22 AM To: Flashcoders List Subject: [Flashcoders] FullScreen

Re: [Flashcoders] FullScreen - not working

2010-06-23 Thread Karim Beyrouti
= {}; params.wmode= opaque, params.menu = false; params.allowScriptAccess = 'always'; params.allowFullScreen = true; params.bgcolor = '#ff'; Ángel Ambrosio Interactive Developer angelambro...@gmail.com 2010/6/23 Karim Beyrouti ka...@kurst.co.uk Kinda feel silly with this question, I

Re: [Flashcoders] FullScreen - not working

2010-06-23 Thread Karim Beyrouti
from MouseEvent. Ángel Ambrosio Interactive Developer angelambro...@gmail.com 2010/6/23 Karim Beyrouti ka...@kurst.co.uk Cheers - however- it does not work Example with Boolean instead of string in param: http://clients.kurst.co.uk/ycommaz/13 - karim On 23 Jun 2010

Re: [Flashcoders] FullScreen - not working

2010-06-23 Thread Karim Beyrouti
param in boolean type and your MenuEvent class extending from MouseEvent. Ángel Ambrosio Interactive Developer angelambro...@gmail.com 2010/6/23 Karim Beyrouti ka...@kurst.co.uk Cheers - however- it does not work Example with Boolean instead of string in param: http

Re: [Flashcoders] FullScreen - not working

2010-06-23 Thread Karim Beyrouti
Fixed - forgot the a param in the SWFObject code: swfobject.embedSWF(YZLoader.swf, flashcontent, 100%, 100%, 10.0.0 , false, flashvars, params ); Again - Thanks for taking the time to reply ... Regards Karim Beyrouti On 23 Jun 2010, at 16:30, Karim Beyrouti wrote: also - just

[Flashcoders] HTML TextFields - 'A HREF' RollOvers..

2010-06-15 Thread Karim Beyrouti
Hi All - Wondering if there are any hacks to trigger a 'RollOver' script when hovering over a 'a href' link in an html textfield. Currently using TextEvent.LINK,to trigger links - but would like to show a tooltip on rollover (of that part of text). So far the only solution i can think of is

Re: [Flashcoders] HTML TextFields - 'A HREF' RollOvers..

2010-06-15 Thread Karim Beyrouti
coordinates? On 15/06/2010 13:24, Karim Beyrouti wrote: Hi All - Wondering if there are any hacks to trigger a 'RollOver' script when hovering over a 'a href' link in an html textfield. Currently using TextEvent.LINK,to trigger links - but would like to show a tooltip on rollover

Re: [Flashcoders] HTML TextFields - 'A HREF' RollOvers..

2010-06-15 Thread Karim Beyrouti
) { var fmt:TextFormat = txt.getTextFormat (index, index + 1); if (fmt.url) url = fmt.url; } if (url) { // begin tooltip code } ktu On Tue, Jun 15, 2010 at 8:49 AM, Glen Pike g...@engineeredarts.co.ukwrote: Why not use the mouse coordinates? On 15/06/2010 13:24, Karim Beyrouti

Re: [Flashcoders] HTML TextFields - 'A HREF' RollOvers..

2010-06-15 Thread Karim Beyrouti
; tf.backgroundColor = 0x00FF; tf.x = pos.x + 5; tf.y = pos.y + 15; addChild(tf); } function removeTooltip ():void { var t:TextField = getChildByName(ToolTip) as TextField; if (t) removeChild(t); } On Tue, Jun 15, 2010 at 9:06 AM, Karim Beyrouti ka...@kurst.co.uk wrote

Re: [Flashcoders] HTML TextFields - 'A HREF' RollOvers..

2010-06-15 Thread Karim Beyrouti
Projects/a/p'; addChild(tf); Kevin N. On 6/15/10 8:24 AM, Karim Beyrouti wrote: Hi All - Wondering if there are any hacks to trigger a 'RollOver' script when hovering over a 'a href' link in an html textfield. Currently using TextEvent.LINK,to trigger links - but would like to show a tooltip

Re: [Flashcoders] HTML TextFields - 'A HREF' RollOvers..

2010-06-15 Thread Karim Beyrouti
trigger functions http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/text/TextField.html#htmlText Ktu On Tue, Jun 15, 2010 at 12:14 PM, Karim Beyrouti ka...@kurst.co.uk wrote: Yep... However I was trying to get roll overs to trigger a function. Am going to build a textfield roll over

Re: [Flashcoders] html in textfield

2010-06-15 Thread Karim Beyrouti
try trashing returns before setting the htmltext in your field: function trashReturns ( val:String , charToReplace:String = ) :String { return replaceChar( val, \r, charToReplace ) ; } function replaceChar( str : String, charToRemove : String ,

Re: [Flashcoders] HTML TextFields - 'A HREF' RollOvers..

2010-06-15 Thread Karim Beyrouti
, at 18:47, Karim Beyrouti wrote: TextEvents were a big improvement over asfunction (AS2 hack) - still - it would be nice if TextEvent had listeners for link rollovers / rollouts. I like the fact you can still get to the url through using textformat/getCharAtPoint. Tooltip data is stored

[Flashcoders] JPG Encoder - Issue: file may be truncated or incomplete

2010-06-14 Thread Karim Beyrouti
Hi All, I have a little bug with JPGs encoded through flash ( AIR app ). The application exports resized JPG's, which seem fine and display correctly in the browser - also all good when loaded back into flash. However when opening them with photoshop i get the following error :

Re: [Flashcoders] AIR - ByteArray to BitmapData

2010-06-10 Thread Karim Beyrouti
Thanks for your help - uploaded the finished code to the google SVN - so it's free for all... https://code.google.com/p/kurstcode/source/browse/trunk/libs/com/kurst/air/utils/ImageUtils.as Regards Karim On 24 May 2010, at 20:44, Karim Beyrouti wrote: Perfect - thank you for the extended

Re: [Flashcoders] AIR - ByteArray to BitmapData

2010-06-10 Thread Karim Beyrouti
... enjoy... - karim On 10 Jun 2010, at 23:01, Juan Pablo Califano wrote: No worries! And thanks for sharing. Cheers Juan Pablo Califano 2010/6/10 Karim Beyrouti ka...@kurst.co.uk Thanks for your help - uploaded the finished code to the google SVN - so it's free for all

Re: [Flashcoders] Question about approximate vowel detection in AS3

2010-06-04 Thread Karim Beyrouti
Yeh - not sure this will help however - a (very talented) colleague of mine worked on a simple speech recognition software for mobile - it was built to recognise about 20 commands with 90% success rate. His approach (in my simplistic terms) was: 1) get recordings / audio samples of the

[Flashcoders] AIR - ByteArray to BitmapData

2010-05-24 Thread Karim Beyrouti
Hi All do any of you how to convert a ByteArray (of a JPG) back into a BitmapData object? Actually - i just need to get the dimensions of the bitmap before trashing it. I know you can do 'myloader.loadBytes( byteArray )' - but i am avoiding that for now - as i just need to get the size of

Re: [Flashcoders] swfObject, flashVars, loaded swf

2010-05-24 Thread Karim Beyrouti
how you pass the flash vars to flash depends on the version of SWFObject you are using - however - from flash - you can access the variable like so (as3): stage.loaderInfo.parameters.myflashparam However - you might need to make sure the swf has been 'AddedToStage' - k On 24 May 2010, at

Re: [Flashcoders] AIR - ByteArray to BitmapData

2010-05-24 Thread Karim Beyrouti
= data.readUnsignedShort(); trace(w,h); } } Cheers Juan Pablo Califano 2010/5/24 Karim Beyrouti ka...@kurst.co.uk Hi All do any of you how to convert a ByteArray (of a JPG) back into a BitmapData object? Actually - i just need to get the dimensions of the bitmap before trashing it. I know you can do

[Flashcoders] AIR - AS3 Badge

2010-05-11 Thread Karim Beyrouti
Hi All, I've not been able to find anything on this one, and am wondering if there is an AS3 AIR installer badge - so i can embed it in a flash site? Thanks Karim ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] Error #2101 - String passed to URLVariables.decode() ... must be URL encoded...

2010-02-10 Thread Karim Beyrouti
Hello List - I am using 'URLLoader' to get some data from the server and get an error: Error: Error #2101: The String passed to URLVariables.decode() must be a URL-encoded query string containing name/value pairs. The dataFormat is set to : URLLoaderDataFormat.VARIABLES; The Data source

[Flashcoders] Resizing Bitmap - Preserving Alpha

2009-08-23 Thread Karim Beyrouti
Hi All - I have this code that resizes a bitmap, which works very well. However - it does not preserve the alpha channel. I am not sure where i am going wrong: public static function resizeBitmap( originalBitmap : Bitmap , scaleFactor : Number ) : BitmapData{ var

[Flashcoders] Re: Resizing Bitmap - Preserving Alpha

2009-08-23 Thread Karim Beyrouti
On 23 Aug 2009, at 16:56, Karim Beyrouti wrote: Hi All - I have this code that resizes a bitmap, which works very well. However - it does not preserve the alpha channel. I am not sure where i am going wrong: public static function resizeBitmap( originalBitmap : Bitmap , scaleFactor : Number

Re: [Flashcoders] Image loader problem

2009-07-26 Thread Karim Beyrouti
I went for bulkloader over making my own queued loader - as it has so many tested features. Here is a little code to help get you started ( if you need it )... Instantiate the loader... code // New Bulk Loader imgLoader = new BulkLoader( 'NameOfLoaderInstance');

[Flashcoders] FDT SVN + Code Assist

2009-02-14 Thread Karim Beyrouti
Hello All, I am using eclipse SVN with FDT - and for the most part it really works a treat. However, I am getting all the SVN paths appearing in my code hinting. Do you know a way to get code assist to ignore svn paths? Regards Karim ___

Re: [Flashcoders] FDT SVN + Code Assist

2009-02-14 Thread Karim Beyrouti
choose the item filters and select the .svn files. PS : you use Subclipse ? for me the best solution in eclipse to work with SVN EKA + :) 2009/2/14 Karim Beyrouti ka...@kurst.co.uk Hello All, I am using eclipse SVN with FDT - and for the most part it really works a treat. However, I am

Re: [Flashcoders] Controlling Sound in the timeline - AS3

2008-11-15 Thread karim beyrouti
thanks... On 14 Nov 2008, at 21:30, Kenneth Kawamoto wrote: Shouldn't it be more like: var stfm:SoundTransform = theMC.soundTransform; stfm.volume = 0; theMC.soundTransform = stfm; Kenneth Kawamoto http://www.materiaprima.co.uk/ Karim Beyrouti wrote: Hi ! Another simple AS3 question - well

[Flashcoders] Controlling Sound in the timeline - AS3

2008-11-14 Thread Karim Beyrouti
Hi ! Another simple AS3 question - well at least I hope so. I am trying to set the volume of a sound that has been embedded in the 'root' timeline of a loaded movieclip (as3). So I tried: Themc.soundTransform.volume = 0; But nothing happened - no mute or anything in AS2 we used

RE: [Flashcoders] ComboBox + Custom Cursor , AS3

2008-11-13 Thread Karim Beyrouti
content including the combo box to the content pane and the cursor to the cursor pane. I can't say for sure if the combo box will still display on top but may be worth a shot if you're big on freeing up resources. On Wed, Nov 12, 2008 at 5:47 PM, karim beyrouti [EMAIL PROTECTED] wrote: Perfect

RE: [Flashcoders] ComboBox + Custom Cursor , AS3

2008-11-12 Thread Karim Beyrouti
CursorManager or adding the cursor in some other way? Peter On Wed, Nov 12, 2008 at 12:42 PM, Karim Beyrouti [EMAIL PROTECTED] wrote: Hello All - I am a little stumped by this one. I am using a custom cursor ( added to the stage ), one of my loaded SWF's has a drop down comboBox

[Flashcoders] ComboBox + Custom Cursor , AS3

2008-11-12 Thread Karim Beyrouti
Karim Beyrouti ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] ComboBox + Custom Cursor , AS3

2008-11-12 Thread Karim Beyrouti
, AS3 Are you using CursorManager or adding the cursor in some other way? Peter On Wed, Nov 12, 2008 at 12:42 PM, Karim Beyrouti [EMAIL PROTECTED] wrote: Hello All - I am a little stumped by this one. I am using a custom cursor ( added to the stage ), one of my loaded SWF's has a drop down

Re: [Flashcoders] ComboBox + Custom Cursor , AS3

2008-11-12 Thread karim beyrouti
Perfect - thank you ! it seems a little odd that the ComboBox adds the List to the stage and not one of its own children. Maybe memory/resource managment. h. On 12 Nov 2008, at 16:26, Keith Reinfeld wrote: Karim, Try adding the following line of code to your MOUSE_MOVE event

[Flashcoders] Text field - input caret..

2008-11-07 Thread Karim Beyrouti
Hi groovy list... just wondering how I move the input caret to end of a textfield in as3? Regards Karim ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Text field - input caret..

2008-11-07 Thread Karim Beyrouti
, myTextField.length); Regards, -Keith http://keithreinfeld.home.comcast.net -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Karim Beyrouti Sent: Friday, November 07, 2008 8:37 AM To: 'Flash Coders List' Subject: [Flashcoders] Text field - input

[Flashcoders] MP4

2008-11-04 Thread Karim Beyrouti
Hello ! - just wondering what is the lowest version of flash that plays MP4?... Kind regards Karim ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] MP4

2008-11-04 Thread Karim Beyrouti
. MovieStar Kenneth Kawamoto http://www.materiaprima.co.uk/ Karim Beyrouti wrote: Hello ! - just wondering what is the lowest version of flash that plays MP4?... Kind regards Karim ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http

RE: [Flashcoders] ComboBox not dropping down in browser?

2008-10-31 Thread Karim Beyrouti
The problem with the drop down not working could be you removing some needed assets from the styling MovieClips. I suggest if you need to remove some bits of components you just test a lot and try to set the alpha to 0 from the palette if you need to remove something... As for the fonts - I had

RE: [Flashcoders] AS3 - Checking if a Function Exists

2008-10-28 Thread Karim Beyrouti
This is great - thank you -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: 28 October 2008 08:46 To: Flash Coders List Subject: Re: [Flashcoders] AS3 - Checking if a Function Exists Method: public static function

[Flashcoders] AS3 - Checking if a Function Exists

2008-10-27 Thread Karim Beyrouti
Hello Group - This should be really easy. I am trying to find out how to check if a function exists or not in AS3 - I tried this: code If ( currentSection.refresh != null ) { currentSection.refresh(); } /code But I get ReferenceError: Error #1069: Property

[Flashcoders] FLVPlayback - Buffering

2008-10-21 Thread Karim Beyrouti
Hello groovy list... I can't seem to find a property for buffering percentage in the FLVPlayback component - there must be something as there is a bufferingBar property. any thoughts? Kind regards Karim ___ Flashcoders mailing list

RE: [Flashcoders] FLVPlayback - Buffering

2008-10-21 Thread Karim Beyrouti
Coders List Subject: Re: [Flashcoders] FLVPlayback - Buffering Let me get this: you want to set the buffer or just get its percentage? If so, you expect a percentage from what? If you want to change the buffer length, try bufferTime. Leandro Ferreira On Tue, Oct 21, 2008 at 10:14 AM, Karim

RE: [Flashcoders] ComBox Box - Font Issues

2008-10-20 Thread Karim Beyrouti
? 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 wrote: Hi Glen - thanks for the answer.. Yep - i remember that one - I tried this at first

[Flashcoders] ComBox Box - Font Issues

2008-10-18 Thread karim beyrouti
); cmb_mc.dropdown.setRendererStyle(textFormat, tf); cmb_mc.textField.setStyle(embedFonts, true); cmb_mc.textField.setStyle(textFormat, tf); /code Kind regards Karim Beyrouti

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

  1   2   >