Re: [Flashcoders] Why isn't my TextField multiline? AS2
Try \n or \r\n HTH/Christoffer Alistair Colling skrev: Thanks guys :) works perfectly. Now it seems my line returns (\r) aren't being recognised (they show up in the textfield). Anyone got any ideas whats going on? Cheers On 7 May 2008, at 18:19, Robert Leisle wrote: Hi Alistair, Try adding this to your code: tmpField.wordWrap = true; Hth, Bob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alistair Colling Sent: Wednesday, May 07, 2008 10:03 AM To: Flash Coders List Subject: [Flashcoders] Why isn't my TextField multiline? AS2 Hi there, thanks for checking this. I'm generating a textfield from within a custom class but I can't seem to make it multiline, I can see the border of the textfield is the right size my text only appears on the first line and also my carriage returns \r are having no effect. I've tried a number of options for properties of the textfield but I cant seem to get it to work. Any suggestions thankfully received this is taking lots of time for a simple thing! Cheers, Ali Here's the code from within my class: var oline:MovieClip = mainMC.monkey.bubble.outline var tmpBox:MovieClip = mainMC.monkey.bubble.createEmptyMovieClip (text_mc, 1); var tmpField:TextField = tmpBox.createTextField(my_txt, 1, oline._x, oline._y, oline._width, oline._height); tmpField.selectable = false; tmpField.border = true; tmpField.embedFonts = true; tmpField.type = dynamic; tmpField.multiline = true; tmpField.text = Q.monkeyStr; tmpField.setTextFormat(myM); ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Why isn't my TextField multiline? AS2
Thanks for your reply Chistoffer, I'm afraid it's still not working, the characters appear in my text field. Here's the code I am using to create the text format and textfield, maybe something here is screwing it up: var myM:TextFormat = new TextFormat(); myM.align = center; myM.font = Serifa Blk BT; myM.size = 20; myM.color = 0x00; myM.leading = -5; myM.letterSpacing = -1; //add text to boxes var oline:MovieClip = mainMC.monkey.bubble.outline var tmpBox:MovieClip = mainMC.monkey.bubble.createEmptyMovieClip (text_mc, 1); var tmpField:TextField = tmpBox.createTextField(my_txt, 1, oline._x, oline._y, oline._width, oline._height); tmpField.selectable = false; tmpField.border = true; tmpField.embedFonts = true; tmpField.type = dynamic; tmpField.multiline = true; tmpField.wordWrap = true; tmpField.text = Q.monkeyStr; tmpField.setTextFormat(myM); Any suggestions flashers? On 8 May 2008, at 10:06, Christoffer Enedahl wrote: Try \n or \r\n HTH/Christoffer Alistair Colling skrev: Thanks guys :) works perfectly. Now it seems my line returns (\r) aren't being recognised (they show up in the textfield). Anyone got any ideas whats going on? Cheers On 7 May 2008, at 18:19, Robert Leisle wrote: Hi Alistair, Try adding this to your code: tmpField.wordWrap = true; Hth, Bob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alistair Colling Sent: Wednesday, May 07, 2008 10:03 AM To: Flash Coders List Subject: [Flashcoders] Why isn't my TextField multiline? AS2 Hi there, thanks for checking this. I'm generating a textfield from within a custom class but I can't seem to make it multiline, I can see the border of the textfield is the right size my text only appears on the first line and also my carriage returns \r are having no effect. I've tried a number of options for properties of the textfield but I cant seem to get it to work. Any suggestions thankfully received this is taking lots of time for a simple thing! Cheers, Ali Here's the code from within my class: var oline:MovieClip = mainMC.monkey.bubble.outline var tmpBox:MovieClip = mainMC.monkey.bubble.createEmptyMovieClip (text_mc, 1); var tmpField:TextField = tmpBox.createTextField(my_txt, 1, oline._x, oline._y, oline._width, oline._height); tmpField.selectable = false; tmpField.border = true; tmpField.embedFonts = true; tmpField.type = dynamic; tmpField.multiline = true; tmpField.text = Q.monkeyStr; tmpField.setTextFormat(myM); ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Why isn't my TextField multiline? AS2
Thanks for your reply Chistoffer, I'm afraid it's still not working, the characters appear in my text field. Here's the code I am using to create the text format and textfield, maybe something here is screwing it up: var myM:TextFormat = new TextFormat(); myM.align = center; myM.font = Serifa Blk BT; myM.size = 20; myM.color = 0x00; myM.leading = -5; myM.letterSpacing = -1; //add text to boxes var oline:MovieClip = mainMC.monkey.bubble.outline var tmpBox:MovieClip = mainMC.monkey.bubble.createEmptyMovieClip (text_mc, 1); var tmpField:TextField = tmpBox.createTextField(my_txt, 1, oline._x, oline._y, oline._width, oline._height); tmpField.selectable = false; tmpField.border = true; tmpField.embedFonts = true; tmpField.type = dynamic; tmpField.multiline = true; tmpField.wordWrap = true; tmpField.text = Q.monkeyStr; tmpField.setTextFormat(myM); Any suggestions flashers? On 8 May 2008, at 10:06, Christoffer Enedahl wrote: Try \n or \r\n HTH/Christoffer Alistair Colling skrev: Thanks guys :) works perfectly. Now it seems my line returns (\r) aren't being recognised (they show up in the textfield). Anyone got any ideas whats going on? Cheers On 7 May 2008, at 18:19, Robert Leisle wrote: Hi Alistair, Try adding this to your code: tmpField.wordWrap = true; Hth, Bob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alistair Colling Sent: Wednesday, May 07, 2008 10:03 AM To: Flash Coders List Subject: [Flashcoders] Why isn't my TextField multiline? AS2 Hi there, thanks for checking this. I'm generating a textfield from within a custom class but I can't seem to make it multiline, I can see the border of the textfield is the right size my text only appears on the first line and also my carriage returns \r are having no effect. I've tried a number of options for properties of the textfield but I cant seem to get it to work. Any suggestions thankfully received this is taking lots of time for a simple thing! Cheers, Ali Here's the code from within my class: var oline:MovieClip = mainMC.monkey.bubble.outline var tmpBox:MovieClip = mainMC.monkey.bubble.createEmptyMovieClip (text_mc, 1); var tmpField:TextField = tmpBox.createTextField(my_txt, 1, oline._x, oline._y, oline._width, oline._height); tmpField.selectable = false; tmpField.border = true; tmpField.embedFonts = true; tmpField.type = dynamic; tmpField.multiline = true; tmpField.text = Q.monkeyStr; tmpField.setTextFormat(myM); ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Alistair Colling Interactive Developer FPP Brand Communications (Newcastle upon Tyne) The Courtyard Dinsdale Place Sandyford Newcastle upon Tyne NE2 1BD Telephone: +44 (0)191 261 6662 Fax: +44 (0)191 233 2511 This transmission is confidential and intended solely for the person or organisation to whom it is addressed. It may contain privileged and confidential information. If you are not the intended recipient, you should not copy, distribute or take any action in reliance on it. If you have received this transmission in error, please notify the sender at the e-mail address above. FPP Design Limited. Reg. Office: The Courtyard, Dinsdale Place, Sandyford, Newcastle upon Tyne NE2 1BD. Registered Number 3775564. Registered in England and Wales. Visit our website at http://www.fpp.net/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Why isn't my TextField multiline? AS2
Thanks guys :) works perfectly. Now it seems my line returns (\r) aren't being recognised (they show up in the textfield). Anyone got any ideas whats going on? Cheers On 7 May 2008, at 18:19, Robert Leisle wrote: Hi Alistair, Try adding this to your code: tmpField.wordWrap = true; Hth, Bob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alistair Colling Sent: Wednesday, May 07, 2008 10:03 AM To: Flash Coders List Subject: [Flashcoders] Why isn't my TextField multiline? AS2 Hi there, thanks for checking this. I'm generating a textfield from within a custom class but I can't seem to make it multiline, I can see the border of the textfield is the right size my text only appears on the first line and also my carriage returns \r are having no effect. I've tried a number of options for properties of the textfield but I cant seem to get it to work. Any suggestions thankfully received this is taking lots of time for a simple thing! Cheers, Ali Here's the code from within my class: var oline:MovieClip = mainMC.monkey.bubble.outline var tmpBox:MovieClip = mainMC.monkey.bubble.createEmptyMovieClip (text_mc, 1); var tmpField:TextField = tmpBox.createTextField(my_txt, 1, oline._x, oline._y, oline._width, oline._height); tmpField.selectable = false; tmpField.border = true; tmpField.embedFonts = true; tmpField.type = dynamic; tmpField.multiline = true; tmpField.text = Q.monkeyStr; tmpField.setTextFormat(myM); ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash Unicode issue (Latin extended Romanian chars)
I think someone with more experience in licenses and copyrights should reply to that... I don't think there shouldn't be any difference between embedding in the IDE and through ActionScript. I guess the resulting binary file is quite similar, and lets you do the same things with fonts. I didn't know about the difference between static and dynamic fields though. Interesting... Abe Fredrik Jönsson wrote: Thanks, this method was all new to me. How is embedding fonts like this viewed in terms of the type foundries' EULA? Does 'static embedding' and 'dynamic embedding' differ in terms of how the outlines are embedded? I have read that some type foundries make a difference between using their fonts in static text fields or dynamic text fields. /Fredrik On 6 May 2008, at 18:04, Abe Pazos wrote: Hi, I embed the font using a file like this: Tahoma.as package com.ourdomain.ui.fonts { import mx.core.FontAsset; [Embed(source=Tahoma.ttf, fontFamily=TahomaFont, mimeType=application/x-font-truetype, unicodeRange=U+0020-U+007E,U+00A1-U+017E)] public class Tahoma extends FontAsset { } } See the unicodeRange part (this works for countries like Poland). In some other file: Font.registerFont(Tahoma); Font.registerFont(TahomaBold); Font.registerFont(Comic); Font.registerFont(ComicBold); Then I use a font called TahomaFont. On the IDE even including the whole font did not seem to work for me, but when I specified characters like above it worked. Fredrik Jönsson wrote: I have run into problems with a flash project that needs to cover most european languages including Romanian, Slovenian, Slovakian etc. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] FPS limit of flash player inside browser?
On May 7, 2008, at 1:06 PM, Steven Sacks wrote: The fact of the matter is, running at a higher frame rate makes things look smoother. Period, end of statement. That's not an accurate generalization. Higher frame rate != smoother display in all cases. It matters for progressive elements (flash movies, games like Quake) but that statement is not applicable to other forms of media. If you take a time-based animation inside a 30fps movie and a 60 fps movie, the 60 fps version will look a lot smoother. In Flash yes. I just want to say for the record that this argument has absolutely nothing to do with braodcast/animation work. In the context of Flash, sure, it will look smoother. It's not an opinion, it's a fact. Fact for a limited set of time-based animation systems - primarily games and content like Flash that display progressive frames without motion blur. - jon Post • Central Visual FX | Animation | Interactive 170 Linden Oaks, Suite B | Rochester, NY | 14625 P: 585.385.1530 x273 | F: 585.218.9219 [EMAIL PROTECTED] | www.postcentral.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Why isn't my TextField multiline? AS2
I think the problem is that you're pulling your string from another text field. In that case, the characters are just characters, rather than control codes. This subset of your code works fine: var tmpField:TextField = this.createTextField(my_txt, 1, 0,0,100,100); tmpField.selectable = false; tmpField.border = true; tmpField.type = dynamic; tmpField.multiline = true; tmpField.wordWrap = true; tmpField.text = test\rtest; However, putting test\rtest in another text field, and then saying this: tmpField.text = other.text; shows the characters. If you have to pull text from another field, try using HTML and setting the .html of one field to the .html of another field. Rich http://www.LearningActionScript3.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Why isn't my TextField multiline? AS2
hmm, the string that is being targeted is held in a variable that is set from an xml file so should just be a regular string, i'll look into this tho. Thanks Rich On 8 May 2008, at 13:38, Rich Shupe wrote: I think the problem is that you're pulling your string from another text field. In that case, the characters are just characters, rather than control codes. This subset of your code works fine: var tmpField:TextField = this.createTextField(my_txt, 1, 0,0,100,100); tmpField.selectable = false; tmpField.border = true; tmpField.type = dynamic; tmpField.multiline = true; tmpField.wordWrap = true; tmpField.text = test\rtest; However, putting test\rtest in another text field, and then saying this: tmpField.text = other.text; shows the characters. If you have to pull text from another field, try using HTML and setting the .html of one field to the .html of another field. Rich http://www.LearningActionScript3.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Why isn't my TextField multiline? AS2
In that case, use HTML and br and/or try wrapping the content in a CDATA tag. On 5/8/08 8:52 AM, Alistair Colling wrote: hmm, the string that is being targeted is held in a variable that is set from an xml file so should just be a regular string, i'll look into this tho. Rich http://www.LearningActionScript3.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Retrieve The Web Link
Hi there, I embedded my SWF into HTML page, when I have launched the page on web, I would like to retrieve the URL. Any suggestion? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Re: Retrieve The Web Link
I am using AS2, thanks On Thu, May 8, 2008 at 9:47 AM, ACE Flash [EMAIL PROTECTED] wrote: Hi there, I embedded my SWF into HTML page, when I have launched the page on web, I would like to retrieve the URL. Any suggestion? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Re: Retrieve The Web Link
Emm.. _url? - Original Message - From: ACE Flash [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Thursday, May 08, 2008 3:48 PM Subject: [Flashcoders] Re: Retrieve The Web Link I am using AS2, thanks On Thu, May 8, 2008 at 9:47 AM, ACE Flash [EMAIL PROTECTED] wrote: Hi there, I embedded my SWF into HTML page, when I have launched the page on web, I would like to retrieve the URL. Any suggestion? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ NOD32 3086 (20080508) Informatie __ Dit bericht is gecontroleerd door het NOD32 Antivirus Systeem. http://www.nod32.nl ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] FPS limit of flash player inside browser?
The fact of the matter is, running at a higher frame rate makes things look smoother. Period, end of statement. No, in most cases, yes, but performace on some machines can actually cause it to drop frames and look even choppier than a lower framerate. It all depends on what kind of animation is occuring, what media elements are involved, and what the hardware of the end user's machine is like. Jason Merrill Bank of America Global Technology Operations LLD eTools Multimedia Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Re: Retrieve The Web Link
I got it, we could use this._url to retrieve the path. thanks On Thu, May 8, 2008 at 10:36 AM, Dennis - I Sioux [EMAIL PROTECTED] wrote: Emm.. _url? - Original Message - From: ACE Flash [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Thursday, May 08, 2008 3:48 PM Subject: [Flashcoders] Re: Retrieve The Web Link I am using AS2, thanks On Thu, May 8, 2008 at 9:47 AM, ACE Flash [EMAIL PROTECTED] wrote: Hi there, I embedded my SWF into HTML page, when I have launched the page on web, I would like to retrieve the URL. Any suggestion? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ NOD32 3086 (20080508) Informatie __ Dit bericht is gecontroleerd door het NOD32 Antivirus Systeem. http://www.nod32.nl ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Re: Retrieve The Web Link
Yes, but be aware that the _url property returns the url of the swf, not the url of the HTML that embeds it. You can strip the file name and get just the directory path, if that's what you're looking for, but that'd work only if your html and your swf are in the same folder. Cheers Juan Pablo Califano 2008/5/8, ACE Flash [EMAIL PROTECTED]: I got it, we could use this._url to retrieve the path. thanks On Thu, May 8, 2008 at 10:36 AM, Dennis - I Sioux [EMAIL PROTECTED] wrote: Emm.. _url? - Original Message - From: ACE Flash [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Thursday, May 08, 2008 3:48 PM Subject: [Flashcoders] Re: Retrieve The Web Link I am using AS2, thanks On Thu, May 8, 2008 at 9:47 AM, ACE Flash [EMAIL PROTECTED] wrote: Hi there, I embedded my SWF into HTML page, when I have launched the page on web, I would like to retrieve the URL. Any suggestion? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ NOD32 3086 (20080508) Informatie __ Dit bericht is gecontroleerd door het NOD32 Antivirus Systeem. http://www.nod32.nl ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Best AS3 MenuBar component for Flash CS3
Hello, I'm looking for recommendations for a menu bar component for Flash CS3. I'm looking for something which matches the graphic look of the other Adobe UI components. I'd also like something which is very flexible and doesn't need your whole UI to be part of its framework. I've been looking at the Yahoo Astra components (http://developer.yahoo.com/flash/astra-flash/) and they look pretty good but I'm having problems working out how to get fine control over them - for example how to I set a particular menu item to be checked? Any recommendations welcome - I'm interested in commercial as well as free products. Cheers Joe Joe Cutting Computer exhibits and installations www.joecutting.com 35 Hospital Fields Road, York, YO10 4DZ 01904 624681 As of 31st May 2007 we have another new office so please note our new address. Phone number and email stay the same. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] FPS limit of flash player inside browser?
I've only had a chance to glance at this thread, but it seems that most of the replies are leaning this way. I agree with what appears to be the majority sentiment, expressed most recently by Jason. Many things will cause performance to suffer with a higher frame rate. Injudicious use of bitmap caching, large looping tasks... pretty much anything that requires a heavy load every enter frame. The higher the frame rate, the more often those tasks have to execute, and the less time you're giving them to do the execution. My rule of thumb is, there's no rule of thumb. Try 12, 18, 24, 31, etc. Don't expect to get consistent real world experience higher than the 18-31 frame range. There are lots of test files out there, that show high FPS but not on every machine, etc. On 5/8/08 10:52 AM, Merrill, Jason wrote: No, in most cases, yes, but performace on some machines can actually cause it to drop frames and look even choppier than a lower framerate. It all depends on what kind of animation is occuring, what media elements are involved, and what the hardware of the end user's machine is like. Rich http://www.LearningActionScript3.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Best AS3 MenuBar component for Flash CS3
I've been pretty impressed with the Jumpeye components (www.jumpeyecomponents.com), but I'm not sure if the menu components come with a skin that looks like the other CS3 components. They're really easy to skin, though. Rich http://www.LearningActionScript3.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] [ANN] haXe Website
Hi, In case you missed it, a new website for haXe is now online on http://haxe.org If you don't know what haXe is about or didn't yet have time to check about it, don't hesitate to have a look ;) Best, Nicolas ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] AS3- Word Wrap for Dynamic DataGrid Cell Content
Does anybody have any code that sets the cells in a DataGrid so they display text content to automatically word wrap instead of displaying single line? This is for Flash CS3/ Actionscript 3. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Setting an AIR applications file types to default
Hi List, I'd like to set my AIR application to handle specific files, and the when i double click these file on my file system i want them to open with my AIR app. What i've done sofar is ajusted the descriptor xml to fit my needs for my files, mp3's in this case and want to use the setAsDefaultApplication() function. I'm using Flash CS3 for this. How ever when i use this function, my app does not behave accordingly. How do i use this function i've tried this: NativeApplication.setAsDefaultApplication(), stage.setAsDefaultApplication(), setAsDefaultApplication(). But notthing works. Please advise, Thanks, Sidney No virus found in this outgoing message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.23.10/1421 - Release Date: 07/05/2008 17:23 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] FPS limit of flash player inside browser?
Depends on the browser. Different browsers choke plugins in different ways. Two links: http://graphics-geek.blogspot.com/2008/04/off-bubblemark.html http://www.kaourantin.net/2006/05/frame-rates-in-flash-player.html Film is at 24fps... Disney animation, so compelling, was two-up, or twelve frames per second. Most of the bloated flash or flash cpu complaints out there are (I think) due to background ads with greedy framerates. It's best to be polite, and only take the processor cycles you really need. Others may be trying to use that processor too. But it's important to remember movies work well at 24fps because they capture slices of time and not static frames. An entire 1/24 of a second is present on each of those frames, while with computer graphics we have a moment frozen in time. Animation usually have lower framerates because of practical reasons: drawing too many keyframes would be an excruciating job. However, sometimes, when they want to achieve some better quality, they do push it over the top, and *then* combine back into the target framerate of 24fps; a good example is some parts of the animated movie Akira and specially Ghost in the Shell, where they created the original cut at 60fps or 120fps (!) and then frame blended back into 24 to give the impression it was a movie. Using more than 30fps on a flash movie gives a similar impression to our eye, although we're really limited to the display frequency as mentioned. So going over 60fps doesn't make much sense... but while I do agree it's best to be polite, thinking 24fps is everything we need on computer rendered graphics with no real motion blur is a myth. More framerate will give us a better result. Zeh ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [SPAM] Re: [Flashcoders] FPS limit of flash player inside browser?
Google flash magic framerate I have no idea if this still stands with the current Flash Player and the new VM, but there used to be magic framerates that worked better than +1 or -1 fps from those magic framerates, especially on the MAC. Those magic framerates all ended with 1: 21, 31, 41, etc.. http://www.brajeshwar.com/2004/magic-framerate/ This is something that goes way back (note the year in the url) so I'm not sure it still stands. Might be a good thing to find out actually.. Since this is a rather old trick I can't seem to dig up much relevant articles/threads on this. If someone knows of some old blog posts/list threads, please post. I currently use 31 fps both for Flash and Flex. regards, Muzak - Original Message - From: Zeh Fernando [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, May 08, 2008 10:27 PM Subject: [SPAM] Re: [Flashcoders] FPS limit of flash player inside browser? Depends on the browser. Different browsers choke plugins in different ways. Two links: http://graphics-geek.blogspot.com/2008/04/off-bubblemark.html http://www.kaourantin.net/2006/05/frame-rates-in-flash-player.html Film is at 24fps... Disney animation, so compelling, was two-up, or twelve frames per second. Most of the bloated flash or flash cpu complaints out there are (I think) due to background ads with greedy framerates. It's best to be polite, and only take the processor cycles you really need. Others may be trying to use that processor too. But it's important to remember movies work well at 24fps because they capture slices of time and not static frames. An entire 1/24 of a second is present on each of those frames, while with computer graphics we have a moment frozen in time. Animation usually have lower framerates because of practical reasons: drawing too many keyframes would be an excruciating job. However, sometimes, when they want to achieve some better quality, they do push it over the top, and *then* combine back into the target framerate of 24fps; a good example is some parts of the animated movie Akira and specially Ghost in the Shell, where they created the original cut at 60fps or 120fps (!) and then frame blended back into 24 to give the impression it was a movie. Using more than 30fps on a flash movie gives a similar impression to our eye, although we're really limited to the display frequency as mentioned. So going over 60fps doesn't make much sense... but while I do agree it's best to be polite, thinking 24fps is everything we need on computer rendered graphics with no real motion blur is a myth. More framerate will give us a better result. Zeh ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders