Re: [Flashcoders] monitor outgoing http requests

2009-10-09 Thread Glen Pike
Hi, I have managed to use Policy File Logging for flash on Linux - you can set up your local mm.cfg file to enable this and pipe out stuff to a log file - this might help you see what is being requested and denied. There are some useful instructions here:

Re: [Flashcoders] monitor outgoing http requests

2009-10-09 Thread John McCormack
I like Charles too. It's easy to use, it saved me time and it's worth every penny. John Chris Foster wrote: I like using 'Charles' - an HTTP sniffer from http://xk72.com/ C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com

[Flashcoders] Calculate stringWidth() for a TextField.text

2009-10-09 Thread Alexander Farber
Hello, how do you please find out the width of a string in a TextField? I have a Sprite representing a comic bubble (my code available at http://pastebin.com/m6d9f4087 ) and use a TextField with TextFieldAutoSize.LEFT there to accomodate the text. I would like to shrink the TextField's width

Re: [Flashcoders] as3 to iphone app

2009-10-09 Thread Alexander Farber
On Thu, Oct 8, 2009 at 3:09 PM, Merrill, Jason jason.merr...@bankofamerica.com wrote: The following native device APIs and functionality are supported: MultiTouch Screen Orientation Saving images to Photo Library Accelerometer Geo-location Cut / Copy / Paste More info here:

Re: [Flashcoders] Calculate stringWidth() for a TextField.text

2009-10-09 Thread Glen Pike
Hi, You can get the text metrics - |flash.text.TextField.getLineMetrics()| Have a look in the docs about this class it's quite useful. Watch out for the obligatory 2px gutter around your text.. Glen Alexander Farber wrote: Hello, how do you please find out the width of a string

Re: [Flashcoders] monitor outgoing http requests

2009-10-09 Thread Alexander Farber
I use WireShark ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Printing HTML in AIR HTML control?

2009-10-09 Thread Eric E. Dolecki
I have an HTML component in an AIR app. I load a page into it, but how can I print the contents of that page? I've tried this which works, but my page is cropped strangely (I get the top left corner of the page - clipping contents to the right and I don't come close to getting the whole page):

Re: [Flashcoders] Calculate stringWidth() for a TextField.text

2009-10-09 Thread Alexander Farber
Hello Glen, On Fri, Oct 9, 2009 at 2:51 PM, Glen Pike g...@engineeredarts.co.uk wrote: You can get the text metrics - |flash.text.TextField.getLineMetrics()| Have a look in the docs about this class it's quite useful. Watch out for the obligatory 2px gutter around your text.. Alexander

Re: [Flashcoders] Calculate stringWidth() for a TextField.text

2009-10-09 Thread Glen Pike
You need to use a fixed width for the text field rather than autosize and you can also use the textWidth / textHeight on TextField. Maybe if you set the width to a maximum first, add your text, then if the text is too long, square your text field off a little. I am sorry, text metrics may

Re: [Flashcoders] as3 to iphone app

2009-10-09 Thread Greg Ligierko
I wonder if Flash local connection in iPhone's environment could be faked similarly like in this example (using Win32 API): http://osflash.org/localconnection Allowing bidirectional messages between Flash and a native iPhone application could be (a tricky and still limited) overcome to the

Re: [Flashcoders] Calculate stringWidth() for a TextField.text

2009-10-09 Thread Alexander Farber
Thank you Glen, both of your replies have been helpful ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] monitor outgoing http requests

2009-10-09 Thread Latcho
Charles nice... If it not crashes and then leaves you with altered (non cleaned up) LAN / IE proxy settings so you can't connect to the net anymore... figure that. Wireshark all the way. It even decrypts AMF0 data. For the peolple whom never use wireshark... choose an interface from the