Re: [Flashcoders] Embedding bitmap/pixel fonts with pure AS3

2008-12-11 Thread Ian Thomas
Your own code would be helpful... (to see how you're using it). But the normal issues about fonts not being displayed are: - The font is embedded as bold or italic, and you are displaying it as plain. Or vice versa. If you want to display a font as bold, you need to embed it as bold. - You

[Flashcoders] strange textfield behaviour in browser

2008-12-11 Thread laurent
Hi list, I made some form in my app and the textfields work fine on local from the flash ide. But when the site is in the browser the texfield don't recognise that the shift key is press. So on a french laptop you can't type numbers or @. This behavior is so strange that i don't know where to

Re: [Flashcoders] strange textfield behaviour in browser

2008-12-11 Thread Hans Wichman
Hi, does trapallkeys make any difference? greetz JC On Thu, Dec 11, 2008 at 11:05 AM, laurent [EMAIL PROTECTED] wrote: Hi list, I made some form in my app and the textfields work fine on local from the flash ide. But when the site is in the browser the texfield don't recognise that the

Re: [Flashcoders] strange textfield behaviour in browser

2008-12-11 Thread laurent
Hi JC, Thanks for the reply. Hm no effect. Actually I noticed this bug only on laptop running windows. My team member running all on mac, laptop and boxes did not notice this horrible bug :( L Hans Wichman a écrit : Hi, does trapallkeys make any difference? greetz JC On Thu, Dec 11, 2008

Re: [Flashcoders] effects theory? keeping processes low...

2008-12-11 Thread Pedro Kostelec
I think i once read that filters are improved to work better with number divisible with 4. Maybe it's the same with other stuff in as. On Wed, Dec 10, 2008 at 7:59 PM, Corban Baxter [EMAIL PROTECTED] wrote: Hey guys I am working on a fullscreen flash site. I am hoping to bring down the CPU

Re: [Flashcoders] colour and transform matrices

2008-12-11 Thread allandt bik-elliott (thefieldcomic.com)
thanks guys ^^ On Wed, Dec 10, 2008 at 12:31 PM, Vayu Robins [EMAIL PROTECTED] wrote: Dont know if this is what your looking for, but this guy does some nice work: http://blog.soulwire.co.uk/flash/actionscript-3/colourutils-bitmapdata-extra

Re: [Flashcoders] strange textfield behaviour in browser

2008-12-11 Thread allandt bik-elliott (thefieldcomic.com)
windows and mac machines handle fonts differently but it's usually macs that suffer problems as they need to have each weight and variation embedded separately - i didn't think windows suffered this problem? On Thu, Dec 11, 2008 at 11:38 AM, laurent [EMAIL PROTECTED] wrote: Hi JC, Thanks for

[Flashcoders] Probably a simple answer...

2008-12-11 Thread Lehr, Ross (N-SGIS)
This is probably too simple of a question to ask here, but I'm trying to get my head around this AS3 OOP thing. I'm playing with a simple AIR (built in Flash) web browser and I've hit a snag right off the bat. I have a document class that calls a class to build the HTMLLoader window. If I

RE: [Flashcoders] Probably a simple answer...

2008-12-11 Thread Lehr, Ross (N-SGIS)
Great.. thanks Ian. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: Thursday, December 11, 2008 8:12 AM To: Flash Coders List Subject: Re: [Flashcoders] Probably a simple answer... Hi Ross, The problem is this line: var

Re: [Flashcoders] Probably a simple answer...

2008-12-11 Thread Sidney de Koning
Hi Ross, when you create your variables, you forgot to set the identifier, public , private etc. Because else it scopes it default to , if i'm not mistaken. So now change that to (and its good practice to use an underscore for member variables); private var _mainBrowser:

Re: [Flashcoders] Probably a simple answer...

2008-12-11 Thread Ian Thomas
Hi Ross, The problem is this line: var mainBrowserWindow:HTMLLoader; It declares mainBrowserWindow as an HTMLLoader. But HTMLLoader (the class) doesn't have a urlToLoad function, so the compiler gets confused, not knowing mainBrowserWindow is really a BasicBrowserWindow. Replace with this:

Re: [Flashcoders] Embedding bitmap/pixel fonts with pure AS3

2008-12-11 Thread e319
It is a non-bold 8 pixel bitmap font. Here is my code. package { // Flash Packages import flash.display.Sprite; import flash.display.StageScaleMode; import flash.events.*; import flash.text.TextField; import flash.text.TextFormat; import

Re: [Flashcoders] Embedding bitmap/pixel fonts with pure AS3

2008-12-11 Thread Ian Thomas
I can't immediately see anything wrong with that - looks pretty straightforward to me. Maybe someone else will spot something obvious! But in the meantime, the only ideas I have are: - Are you _sure_ the original .ttf isn't set to bold or italic under the hood (even if it doesn't appear bold?).

Re: [Flashcoders] strange textfield behaviour in browser

2008-12-11 Thread Hans Wichman
Hi, ok I misunderstood the problem at first, thinking you were trying to detect shift keypress, but the whole textfield breaks... that is weird. Which browser are you testing it in? Does it break in all browsers? But plays fine in the IDE... any difference in player version? Are you using

RE: [Flashcoders] Probably a simple answer...

2008-12-11 Thread Lehr, Ross (N-SGIS)
Thanks Sid, it does help... Thanks for the additional advice as well. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sidney de Koning Sent: Thursday, December 11, 2008 8:22 AM To: Flash Coders List Subject: Re: [Flashcoders] Probably a simple answer...

Re: [Flashcoders] Probably a simple answer...

2008-12-11 Thread Sidney de Koning
No problem, thats why we are here :) Happy coding, Sid On Dec 11, 2008, at 3:12 PM, Lehr, Ross (N-SGIS) wrote: Thanks Sid, it does help... Thanks for the additional advice as well. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sidney de Koning

Re: [Flashcoders] strange textfield behaviour in browser

2008-12-11 Thread laurent
Hi, The weird thing is that upper case work, the player in browser get the SHIFT is pressed but does not want to apply it's effect on certain keyboard buttons. So fare we have seen the bug on firefox, IE, safari player 9 and 10 windows laptop with wmode = transparent hm I guess people

Re: SPAM-LOW: Re: [Flashcoders] Arabic flipping

2008-12-11 Thread Cedric Muller
Should be ok with FP10 TextLayout http://labs.adobe.com/technologies/textlayout/ I am off for some arabic UTF-8 xml tests this week-end. I will let you know what I come up with. Cedric Yes, I would've thought that when using UTF-8 it would go just fine? It's good to know. What about Flash

Re: [Flashcoders] strange textfield behaviour in browser

2008-12-11 Thread Hans Wichman
Hi, I can enter my email in the bottom textfield, win xp sp2, ie,player10. Ar you using a non english keyboard? And what happens when you turn wmode transparent off? greetz JC On Thu, Dec 11, 2008 at 3:46 PM, laurent [EMAIL PROTECTED] wrote: Hi, The weird thing is that upper case work, the

Re: [Flashcoders] asset versioncontrol (beginning to go OT:))

2008-12-11 Thread Hans Wichman
Hi Ian, ok thanks, are you using some kind of DTAP setup as well (development, test,acceptation, production) and if yes, could you shed some light on whether you tag beta releases, test versions etc? regards, Hans On Wed, Dec 10, 2008 at 11:04 PM, Ian Thomas [EMAIL PROTECTED] wrote: On Wed,

Re: [Flashcoders] asset versioncontrol (beginning to go OT:))

2008-12-11 Thread Ian Thomas
On Thu, Dec 11, 2008 at 3:14 PM, Hans Wichman [EMAIL PROTECTED] wrote: ok thanks, are you using some kind of DTAP setup as well (development, test,acceptation, production) and if yes, could you shed some light on whether you tag beta releases, test versions etc? Yes, we do tag alpha releases,

[Flashcoders] FLV and Sound issue

2008-12-11 Thread Jeff Fox
I am having an issue stopping sound playback using the Video player (Library - New Video) and Sound object in a AS2/Player 8 movie. Here is the code I am using to play the video and attach sound: BEGIN CODE- var videoPlayer:Video; var vSound:MovieClip; var so:Sound; nc = new

[Flashcoders] Re: AS2 cross-domain parent-child swf scripting

2008-12-11 Thread Ricky Blaha
So further testing showed the parent SWF can access ordinary variables and functions in the cross-domain child's SWF no problem... The problems I ran into earlier were due to the fact that I was attempting to have the parent SWF read directly from / write to a dynamic text field in the child SWF

Re: [Flashcoders] strange textfield behaviour in browser

2008-12-11 Thread laurent
!!!yes...wmode='normal' fixed it. do you know why ?? it was french keyboard thank you! L Hans Wichman a écrit : Hi, I can enter my email in the bottom textfield, win xp sp2, ie,player10. Ar you using a non english keyboard? And what happens when you turn wmode transparent off? greetz

Re: [Flashcoders] strange textfield behaviour in browser

2008-12-11 Thread Hans Wichman
http://bugs.adobe.com/jira/browse/FP-479 ;) At least I think that was it, lucky guess tbfh, but hey you've got to have luck sometimes now don't we :) On Thu, Dec 11, 2008 at 8:59 PM, laurent laur...@logiquefloue.org wrote: !!!yes...wmode='normal' fixed it. do you know why ?? it was

[Flashcoders] Status

2008-12-11 Thread Anthony Pace
Hi Chad, Just wondering what the status is and how your meeting went. Take care, Anthony Pace ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] memory optimization

2008-12-11 Thread Anthony Pace
Is there any way to force the GC to sweep through that works 100% of the time? Is there any way to release unused memory that is used by the player for rendering? Is there any way to get a list of all objects in memory? ___ Flashcoders mailing list

Re: [Flashcoders] memory optimization

2008-12-11 Thread Juan Pablo Califano
On forcing a GC cycle, you can check this out: http://www.craftymind.com/2008/04/09/kick-starting-the-garbage-collector-in-actionscript-3-with-air/ Basically, you have to call: flash.system.System.gc(); But the article points out a couple of gotchas. I'm not sure I understand your question