RE: [Flashcoders] Strange characters added to file whensaving fromFlex/AIR using fileStream

2009-07-03 Thread Cor
OK, thank you! Kind regards Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Muzak Sent: zaterdag 4 juli 2009 0:19 To: Flash Coders List Subject: Re: [Flashcoders] Strange characters added to file whens

Re: [Flashcoders] problems accessing a MovieClip / display list issue

2009-07-03 Thread Ktu
Just a thought, try doing getChildByName("icone"); What it looks like, is that there is no member variable in the MenuItem class called icone. You can't call object.child by using the name property of the child. The bt_title does, because probably you have defined in the MenuItem class a variable

Re: [Flashcoders] problem with code

2009-07-03 Thread Karl DeSaulniers
Thanks Glen. Karl Sent from losPhone On Jul 3, 2009, at 12:41 PM, Glen Pike wrote: Hi, Google - the main protaganist in SEO is now able to crawl Flash sites and extract text. I did hear that recently this included dynamic text, but I am not sure how "good" this is. Using SWFAd

Re: [Flashcoders] Strange characters added to file whensaving fromFlex/AIR using fileStream

2009-07-03 Thread Muzak
You mean writing to disk? That's AIR only. regards, Muzak - Original Message - From: "Cor" To: "'Flash Coders List'" Sent: Friday, July 03, 2009 3:21 PM Subject: RE: [Flashcoders] Strange characters added to file whensaving fromFlex/AIR using fileStream Muzak, Is this also possi

[Flashcoders] problems accessing a MovieClip / display list issue

2009-07-03 Thread Isaac Alves
Problems trying to access a MovieClip that contains a dynamically loaded image, inside dynamically created menu items. I hope the code is self explanatory ! function mouseOverItem(e:Event):void { var item:MenuItem = e.target as MenuItem; trace (item.getChildAt(3).name); trace (item.getChildAt(3)

Re: [Flashcoders] problem with code

2009-07-03 Thread Glen Pike
Hi, Google - the main protaganist in SEO is now able to crawl Flash sites and extract text. I did hear that recently this included dynamic text, but I am not sure how "good" this is. Using SWFAddress gives you a nice way to allow people to bookmark your URL's, it does not necessarily

RE: [Flashcoders] Strange characters added to file when saving fromFlex/AIR using fileStream

2009-07-03 Thread Cor
Muzak, Is this also possible from Flash?? And if so: How? Kind regards Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Muzak Sent: vrijdag 3 juli 2009 14:48 To: Flash Coders List Subject: Re: [Flashco

Re: [Flashcoders] setTimeout / clearTimeout

2009-07-03 Thread Glen Pike
Perfect, thank you very much. Muzak wrote: You may have to use _global.setTimeout() and _global.clearTimeout() regards, Muzak - Original Message - From: "Glen Pike" To: "Flash Coders List" Sent: Friday, July 03, 2009 2:02 PM Subject: [Flashcoders] setTimeout / clearTimeout Hi,

RE: [Flashcoders] Strange characters added to file when savingfromFlex/AIR using fileStream

2009-07-03 Thread Cheetham, Marcus
writeUTFBytes works perfectly. thanks for the help. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Muzak Sent: 03 July 2009 13:48 To: Flash Coders List Subject: Re: [Flashcoders] Strange characters added

Re: [Flashcoders] Strange characters added to file when saving fromFlex/AIR using fileStream

2009-07-03 Thread Muzak
Use FileStream.writeUTFBytes() var xml:XML = burger 3.95 fries 1.45 ; var str:String = '' + File.lineEnding; str += xml.toXMLString(); var fs:FileStream = new FileStr

Re: [Flashcoders] setTimeout / clearTimeout

2009-07-03 Thread -whispers-
not sure...maybe because setTimeout() was an undocumented function?? - Original Message - From: Glen Pike To: Flash Coders List Sent: Friday, July 03, 2009 7:02 AM Subject: [Flashcoders] setTimeout / clearTimeout Hi, I have some old AS2 stuff where I have used setTim

Re: [Flashcoders] setTimeout / clearTimeout

2009-07-03 Thread Muzak
You may have to use _global.setTimeout() and _global.clearTimeout() regards, Muzak - Original Message - From: "Glen Pike" To: "Flash Coders List" Sent: Friday, July 03, 2009 2:02 PM Subject: [Flashcoders] setTimeout / clearTimeout Hi, I have some old AS2 stuff where I have use

[Flashcoders] setTimeout / clearTimeout

2009-07-03 Thread Glen Pike
Hi, I have some old AS2 stuff where I have used setTimeout and clearTimeout in timeline script no problem, but as soon as I try to use these in a class I am getting compiler errors saying the functions are not defined. Any reason this would happen? Compiling for Flash 8 AS2 with a mi

Re: [Flashcoders] Strange characters added to file when saving from AIR using fileStream

2009-07-03 Thread Kenneth Kawamoto
I may be wrong but that could be BOM? If you use writeUTF() and open the resulting file in a Unicode editor do you still see it? Kenneth Kawamoto http://www.materiaprima.co.uk/ Cheetham, Marcus wrote: I'm using fileStream to save a text file. This works OK, but introduces some strange characte

[Flashcoders] Strange characters added to file when saving from Flex/AIR using fileStream

2009-07-03 Thread Cheetham, Marcus
I'm using fileStream to save a text file. This works OK, but introduces some strange characters at the beginning of the saved text. I'm saving XML data. I've kept this as an XML object and also converted it to string first -- same thing always happens. Any idea how I can get rid of these characte

Re: [Flashcoders] Creating Fonts dynamically

2009-07-03 Thread Sumeet Kumar
Thanks for the reply, I forgot to mention, i need this for ActionScript 2.0 and for a standalone application. Thanks Again - Original Message - From: "Glen Pike" To: "Flash Coders List" Sent: Friday, July 03, 2009 3:46 PM Subject: Re: [Flashcoders] Creating Fonts dynamically Jus

Re: [Flashcoders] Creating Fonts dynamically

2009-07-03 Thread Glen Pike
Just a suggestion - could you compile them into library swfs that you load at runtime if you had the flash compiler running on the server (perhaps)? The idea would be to dynamically generate an ActionScript file that uses the [Embed] command then compile this into a SWF with the name you want

[Flashcoders] Creating Fonts dynamically

2009-07-03 Thread Sumeet Kumar
Hi All, Is there any way by which i can create the fonts dynamically i.e. i want to create fonts files dynamically without using Flash IDE. Is there any method or workaround by which i can do this? Thanks in Advance Sumeet ___ Flashcoders mailing list