RE: [Flashcoders] Highligting words in a textField

2010-08-16 Thread Cor
myTextfield.htmlText = This is line 1.BRThis is line 2 with Bsome bold text/B. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of ktt Sent: maandag 16 augustus 2010 0:26 To: Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] Highligting words in a textField

2010-08-16 Thread ktt
Thank you for reply. I use setTextFormat, but the parsing of textfield's lines content is quite tricky. I can extract text with getLineText, but having problems accesing a word's indexOf. Regrds, Ktt --- On Mon, 8/16/10, Henrik Andersson he...@henke37.cjb.net wrote: From: Henrik Andersson

Re: [Flashcoders] Highligting words in a textField

2010-08-16 Thread Karl DeSaulniers
Hey Ktt, I found this, but it is AS2 I think. You might be able to convert to AS3 if you really need to. var format1_fmt:TextFormat = new TextFormat(); format1_fmt.font = Arial; var format2_fmt:TextFormat = new TextFormat(); format2_fmt.font = Courier; format2_fmt.color = 0xFF;

Re: [Flashcoders] Highligting words in a textField

2010-08-16 Thread Karl DeSaulniers
I did a google for dynamically highlighted words AS2 so maybe try dynamically highlighted words AS3 oops, well anyway.. GL Karl On Aug 16, 2010, at 1:35 AM, ktt wrote: Thank you for reply. I use setTextFormat, but the parsing of textfield's lines content is quite tricky. I can extract

RE: [Flashcoders] Highligting words in a textField

2010-08-16 Thread Benny
Maybe if you could give a sample text and the words that should be highlighted we can advise you better. But in a nutshell I would use one or more RegExp if the words you are looking for are only a few different ones. If there are many or there is a complex syntax that needs to be analyzed then

Re: [Flashcoders] Photo-realistic 3d in as3

2010-08-16 Thread Kerry Thompson
Mika wrote: For an upcoming project, I will need to dwelwe in the 3d world of flash. I am in the stage of choosing the engine. If you were to keep as sole paramater the best photo realistic render, to display products (very little animation, mostly rotate around), what engine would you

[Flashcoders] image issue

2010-08-16 Thread Lehr, Theodore
I have an image that is getting blurred a bit - is there anyway to prevent this - I want it to be sharp ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] image issue

2010-08-16 Thread Henrik Andersson
Lehr, Theodore wrote: I have an image that is getting blurred a bit - is there anyway to prevent this - I want it to be sharp Turn off smoothing. Display it at no higher resolution than the same resolution that it is stored. Make a non blurred image.

RE: [Flashcoders] image issue

2010-08-16 Thread Lehr, Theodore
smoothing is off I tried to fool around with the jpeg quality in the publish settings - but that did not seem to impact it when I look at the properties - the image looks fine in the preview window... it is when the movie is published... From:

Re: [Flashcoders] image issue

2010-08-16 Thread Glen Pike
Hi, That sounds like your compression settings for the image maybe overriding the SWF ones. Right click the image in the Flash IDE library to check the compression settings for that image? HTH Glen On 16/08/2010 13:49, Lehr, Theodore wrote: smoothing is off I tried

Re: [Flashcoders] image issue

2010-08-16 Thread Matt Perkins
Make sure its on the stage at even x and y positions, no decimal places. That's gotten me a few times. -- Matt Perkins - http://www.nudoru.com On Aug 16, 2010, at 8:49 AM, Lehr, Theodore ted_l...@federal.dell.com wrote: smoothing is off I tried to fool around with the jpeg

RE: [Flashcoders] image issue

2010-08-16 Thread Lehr, Theodore
I think that was it! thanks From: flashcoders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Matt Perkins [nudoru.m...@gmail.com] Sent: Monday, August 16, 2010 9:09 AM To: Flash Coders List Subject: Re:

[Flashcoders] free fdt pure from facebook group

2010-08-16 Thread allandt bik-elliott (thefieldcomic.com)
hi guys i'm just doing this myself but it seems that powerflasher is giving away fdt pure until the end of the month. It's a bit like the way adobe was giving flexbuilder away during the flashbuilder beta and the way drug dealers give away a free sample to get you hooked from the site: *Sign-up

Re: RE: [Flashcoders] image issue

2010-08-16 Thread Nathan Mynarcik
Is your image on exact pixels? Make sure the x and y are not on decimals but whole numbers. On Aug 16, 2010 8:49 AM, Lehr, Theodore ted_l...@federal.dell.com wrote: smoothing is off I tried to fool around with the jpeg quality in the publish settings - but that did not seem to impact it

RE: [Flashcoders] Facebook API GetPhotos not working

2010-08-16 Thread David Hunter
Thanks for the suggestion Steven. I've spent a week trying to work with Facebook and the best I have managed is an AIR app using the actionscript-facebook api with AIR CONNECT. I can successfully log in and allow extended permissions and upload a picture from a webcam. I'm reasonably happy

[Flashcoders] Saving MC as image

2010-08-16 Thread Lehr, Theodore
I am finding some tutorials for saving a mc as an image - using com.adobe.images.JPGEncoder --- What I am finding seems to show that you need some type of server-side code to actually save the image locally (php, ...) Is there a way to do it all just in Flash?

[Flashcoders] AS2.0 - Parsing special HTML characters in CDATA - onLoad vs onData

2010-08-16 Thread Greg Ligierko
Hi everyone, It is a bit outdated topic of AS2.0. I just wonder if somebody can explain me why onLoad and (inderectly) onData produces different CDATA node values. I lost a lot of time trying to figure this out, searching the Web did not help much... Let's consider an XML file source:

RE: [Flashcoders] Trigonometry Problem

2010-08-16 Thread Merrill, Jason
have the items align into a circle at the nearest point, *keeping the same angle* I'm not sure what that means exactly, but check out Point.polar() Jason Merrill Instructional Technology Architect Bank of America Global Learning Join the Bank of America Flash Platform Community and

Re: [Flashcoders] Saving MC as image

2010-08-16 Thread Henrik Andersson
Lehr, Theodore wrote: server-side code ... save the image locally I hope that you see the issue here. Just use a FileRefference instead. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] Trigonometry Problem

2010-08-16 Thread Patrick Matte
I always refer to this for all my trigonometry needs http://www.actionscript.org/resources/articles/155/1/trigonometry-and-flash/ Page1.html From: Merrill, Jason jason.merr...@bankofamerica.com Reply-To: Flash Coders List flashcoders@chattyfig.figleaf.com Date: Mon, 16 Aug 2010 12:57:22

Re: [Flashcoders] Photo-realistic 3d in as3

2010-08-16 Thread mika
I plan to target FP10, but I have a 3d designer doing the modelling work, so i will need to import models. The app is part of a large project, and I want it to be able to grow overtime. A solid engine is hence required. The models will range from soccer balls, rugby ball, hand ball ... to shirts,

Re: [Flashcoders] Saving MC as image

2010-08-16 Thread Taka Kojima
Like Henrik says, just use FileReference. http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/ On Mon, Aug 16, 2010 at 10:01 AM, Henrik Andersson he...@henke37.cjb.netwrote: Lehr, Theodore wrote: server-side code ... save the image

RE: [Flashcoders] Photo-realistic 3d in as3

2010-08-16 Thread Merrill, Jason
Then you should probably narrow it down between Away3D and Papervision3D. Adobe is announcing 3D support for the Flash player at Max in October it sounds like, but that's a ways off. I know Papervision3D can do what you're asking. Jason Merrill Instructional Technology Architect Bank of

Re: [Flashcoders] Photo-realistic 3d in as3

2010-08-16 Thread Taka Kojima
I would like to point out that photo realistic 3d in Flash is not exactly possible. Especially, seeing as this is your first 3D project, I feel obligated to inform you of this. Most of the better looking 3D sites done with Flash, use a mix of PaperVision and optical illusions of rendered

Re: [Flashcoders] Photo-realistic 3d in as3

2010-08-16 Thread mika
Thats the path I will probably take. Havent found any valuable usability/features comparisons between sandy3d and away3d tho. As for papervision, this http://www.unitzeroone.com/blog/2009/09/28/goodbye-papervision/ sounds like away3d is the one to keep. I read Thibault Imbert thoughts about FP11

Re: [Flashcoders] Photo-realistic 3d in as3

2010-08-16 Thread Kerry Thompson
Mika wrote: I plan to target FP10, but I have a 3d designer doing the modelling work, so i will need to import models. The app is part of a large project, and I want it to be able to grow overtime. A solid engine is hence required. The models will range from soccer balls, rugby ball, hand

RE: [Flashcoders] Photo-realistic 3d in as3

2010-08-16 Thread Merrill, Jason
As for papervision, this http://www.unitzeroone.com/blog/2009/09/28/goodbye-papervision/ sounds like away3d is the one to keep. Possibly, given the Papervision3D team has changed and lately doesn't seem to be doing much development, but that post, from almost a full year ago, was just about one

Re: [Flashcoders] Photo-realistic 3d in as3

2010-08-16 Thread Karl DeSaulniers
Hi, I guess I'll chime in one more time and say Swift 3D is a very powerful tool for flash 3d. Swift was built to integrate to flash and it also will let you import your 3DSMAX files (and many other formats including Papervision3D support) into it. But I believe, but don't quote me, that

RE: [Flashcoders] Photo-realistic 3d in as3

2010-08-16 Thread Merrill, Jason
Swift was built to integrate to flash and Regarding that, depending on what kind of rotation you require, Swift3D might work. But know a few things about that: 1) Swift 3D, as one of the export options, exports to Papervision3D, so it will look as good as things rendered with Papervision3D

RE: [Flashcoders] Saving MC as image

2010-08-16 Thread Lehr, Theodore
Thanks - that is doing the trick... One issue: I am doing: var file:FileReference = new FileReference(); var jpgSrc:BitmapData = new MitmapData(mc.width, mc.height); jpgSrc.draw(mc); var jpgEncoder:JPGEncoder = new JPGEncoder(85); var jpgStream:ByteArray = jpgEncoder.encode(jpgSource);

Re: [Flashcoders] Photo-realistic 3d in as3

2010-08-16 Thread Karl DeSaulniers
I believe it will let you, in swift, create an interactive animation utilizing the vectors of your polys and integrate AS code to control it, but it is output to a swf file like Jason was saying. It has been a while, but I saw a example that had a wire frame with graphics on it that was

Re: [Flashcoders] Photo-realistic 3d in as3

2010-08-16 Thread Peter B
On 17 August 2010 07:31, Karl DeSaulniers k...@designdrumm.com wrote: I believe it will let you, in swift, create an interactive animation utilizing the vectors of your polys and integrate AS code to control it, Swift is just generating the polygon ,odel and textures. In order to add