RE: [Flashcoders] Getting the selection
That's one of those slap on the forehead ones that getcha everytime! :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bart Wttewaall Sent: Monday, May 29, 2006 2:47 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Getting the selection It's because the button you click will have the focus. So you should return the focus on the textfield before you can get the Selection of the text. [as] underline_btn.addEventListener(click, mx.utils.Delegate.create(this, underline_check)); function underline_check(evt:Object):Void { Selection.setFocus(editdesc_txt); var startIndex:Number = Selection.getBeginIndex(); var endIndex:Number = Selection.getEndIndex(); var strToUnderline:String = editdesc_txt.text.substring(startIndex, endIndex); trace(String to Underline: +strToUnderline+|B:+Selection.getBeginIndex()+ |E: +Selection.getEndIndex()+ |C:+Selection.getCaretIndex()); editdesc_txt.replaceText(startIndex, endIndex, u+strToUnderline+/u); } [/as] 2006/5/29, [EMAIL PROTECTED] [EMAIL PROTECTED]: Can anyone tell me why this outputs -1 for every value? Could it be because the textfield looses focus when I click on the button component? I am trying to get the first and last position of the selected text in a dynamic textfield. Any pointers would be awesome! Outputs: String to Underline: |B: -1 |E: -1 |C: -1 var underline_check:Object = new Object(); underline_check.click = function(eventObj:Object) { var startIndex:Number = Selection.getBeginIndex(); var endIndex:Number = Selection.getEndIndex(); var strToUnderline:String = editdesc_txt.text.substring(startIndex, endIndex); trace(String to Underline: +strToUnderline + |B: +Selection.getBeginIndex()+ |E: +Selection.getEndIndex() + |C: +Selection.getCaretIndex()); editdesc_txt.replaceText(startIndex, endIndex, u+strToUnderline+/u); }; underline_btn.addEventListener(click, underline_check); Boots ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] hii
i want flashmx project whit source - Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail Beta. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: Re[4]: [Flashcoders] Shared fonts
Zarate, The 'Shared Fonts' problem is very funny ... you have got people sticking to solutions that aren't :)) and it gets back in time ... like a cycle, with the same answers again ;) I REALLY don't know why your solution never was approved ... it is the best out there, the BEST it has been working for me in the biggest project of all my times (300 +classes) with a charm and yes it is better than sharedfonts.com or bernard's solution BECAUSE it only uses 1 (ONE!) SWF ... anyway, who thought we needed TWO swfs in order to share something ??? ;) Cedric I don´t think he means that... at doesn´t make any sense for me. By the way, if you want to avoid using two files per font, take a look to this (french): http://www.v-i-a.net/blog/archives/43.html I did myself almost 2 years ago some RD to use just one file (spanish): http://www.zarate.tv/articulos/shared_fonts/index.php AFAIK, I´m not violating any license or copyright :D Cheers, On 5/29/06, Bernard Visscher [EMAIL PROTECTED] wrote: Hi Zarate, I don't know either ;) I think Ivan means the principle of my code and the priciple of the sharedfonts system They both use 2 swf's for loading the font. There can't be copyright on that, because that's the only way the flashplayer allows fonts to be dynamicaly loaded. And it's no secret code or something, just a player posibility.. Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Zárate Verzonden: maandag 29 mei 2006 23:13 Aan: Flashcoders mailing list Onderwerp: Re: Re[4]: [Flashcoders] Shared fonts Hi, Which copyright problems are we talking about? Maybe I´m missing something here. Cheers, On 5/29/06, Bernard Visscher [EMAIL PROTECTED] wrote: Well, I haven't had any difficulties.. And i've used it in many sites.. But if you say so ;) Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Iv Verzonden: maandag 29 mei 2006 21:31 Aan: Flashcoders mailing list Onderwerp: Re[4]: [Flashcoders] Shared fonts Hello Bernard, - and.. I'm sorry, but your code have imperfections. It's works, but you need support experiance with many languages and different situations for find a problems in your code. It's one more reason for use original solution. -- Ivan Dembicki __ __ [EMAIL PROTECTED] || http://www.design.ru ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Zárate ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Zárate ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: Re[4]: [Flashcoders] Shared fonts
Thanks Cedric :) However, I really don't care now which option is the best (but hey, thanks again :P), I just want to understand what Ivan means with: use solutions with dubious copyrights Seems a little bit of FUD, actually. It would be greatly appreciated further explanations. Cheers! On 5/30/06, Cedric Muller [EMAIL PROTECTED] wrote: Zarate, The 'Shared Fonts' problem is very funny ... you have got people sticking to solutions that aren't :)) and it gets back in time ... like a cycle, with the same answers again ;) I REALLY don't know why your solution never was approved ... it is the best out there, the BEST it has been working for me in the biggest project of all my times (300 +classes) with a charm and yes it is better than sharedfonts.com or bernard's solution BECAUSE it only uses 1 (ONE!) SWF ... anyway, who thought we needed TWO swfs in order to share something ??? ;) Cedric I don´t think he means that... at doesn´t make any sense for me. By the way, if you want to avoid using two files per font, take a look to this (french): http://www.v-i-a.net/blog/archives/43.html I did myself almost 2 years ago some RD to use just one file (spanish): http://www.zarate.tv/articulos/shared_fonts/index.php AFAIK, I´m not violating any license or copyright :D Cheers, On 5/29/06, Bernard Visscher [EMAIL PROTECTED] wrote: Hi Zarate, I don't know either ;) I think Ivan means the principle of my code and the priciple of the sharedfonts system They both use 2 swf's for loading the font. There can't be copyright on that, because that's the only way the flashplayer allows fonts to be dynamicaly loaded. And it's no secret code or something, just a player posibility.. Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Zárate Verzonden: maandag 29 mei 2006 23:13 Aan: Flashcoders mailing list Onderwerp: Re: Re[4]: [Flashcoders] Shared fonts Hi, Which copyright problems are we talking about? Maybe I´m missing something here. Cheers, On 5/29/06, Bernard Visscher [EMAIL PROTECTED] wrote: Well, I haven't had any difficulties.. And i've used it in many sites.. But if you say so ;) Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Iv Verzonden: maandag 29 mei 2006 21:31 Aan: Flashcoders mailing list Onderwerp: Re[4]: [Flashcoders] Shared fonts Hello Bernard, - and.. I'm sorry, but your code have imperfections. It's works, but you need support experiance with many languages and different situations for find a problems in your code. It's one more reason for use original solution. -- Ivan Dembicki __ __ [EMAIL PROTECTED] || http://www.design.ru ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Zárate ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Zárate ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig
[Flashcoders] Deafening silence on Unicode
Ok, I haven't had a lot of response to my various queries to this list about Unicode issues. Is that because no one here knows anything about it? I'd really appreciate some thoughts on this issue or pointers to any resources, as I'm currently embarking on a major project to completely revamp our software's localisation system and it's not something I want to go into blind. In particular, right now I'm trying to find a way to perform String.fromCharCode() operations using ANSI instead of Unicode, without switching the whole system over to ANSI (as I could do with System.useCodePage) Another issue I've noticed recently: The Flash docs (in the notes on System.useCodePage) talk about external text files being encoded 'as Unicode' but doesn't go into any details. It seems to mean UTF-8, judging by my tests, but can it also deal with UTF-16? UCS? Other encodings? Can it deal with Big-end/little-endian? If so, how does it go about working out which encoding to use to interpret a particular file? Best Danny ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: Re[4]: [Flashcoders] Shared fonts
ok, maybe it is the not the *best*, but it is definitely the one which narrows down the problem to ONE swf ... of course, erixtekila's solution is in the same verve: yours is Flash IDE, his is Open Source cedric Thanks Cedric :) However, I really don't care now which option is the best (but hey, thanks again :P), I just want to understand what Ivan means with: use solutions with dubious copyrights Seems a little bit of FUD, actually. It would be greatly appreciated further explanations. Cheers! On 5/30/06, Cedric Muller [EMAIL PROTECTED] wrote: Zarate, The 'Shared Fonts' problem is very funny ... you have got people sticking to solutions that aren't :)) and it gets back in time ... like a cycle, with the same answers again ;) I REALLY don't know why your solution never was approved ... it is the best out there, the BEST it has been working for me in the biggest project of all my times (300 +classes) with a charm and yes it is better than sharedfonts.com or bernard's solution BECAUSE it only uses 1 (ONE!) SWF ... anyway, who thought we needed TWO swfs in order to share something ??? ;) Cedric I don´t think he means that... at doesn´t make any sense for me. By the way, if you want to avoid using two files per font, take a look to this (french): http://www.v-i-a.net/blog/archives/43.html I did myself almost 2 years ago some RD to use just one file (spanish): http://www.zarate.tv/articulos/shared_fonts/index.php AFAIK, I´m not violating any license or copyright :D Cheers, On 5/29/06, Bernard Visscher [EMAIL PROTECTED] wrote: Hi Zarate, I don't know either ;) I think Ivan means the principle of my code and the priciple of the sharedfonts system They both use 2 swf's for loading the font. There can't be copyright on that, because that's the only way the flashplayer allows fonts to be dynamicaly loaded. And it's no secret code or something, just a player posibility.. Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Zárate Verzonden: maandag 29 mei 2006 23:13 Aan: Flashcoders mailing list Onderwerp: Re: Re[4]: [Flashcoders] Shared fonts Hi, Which copyright problems are we talking about? Maybe I´m missing something here. Cheers, On 5/29/06, Bernard Visscher [EMAIL PROTECTED] wrote: Well, I haven't had any difficulties.. And i've used it in many sites.. But if you say so ;) Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Iv Verzonden: maandag 29 mei 2006 21:31 Aan: Flashcoders mailing list Onderwerp: Re[4]: [Flashcoders] Shared fonts Hello Bernard, - and.. I'm sorry, but your code have imperfections. It's works, but you need support experiance with many languages and different situations for find a problems in your code. It's one more reason for use original solution. -- Ivan Dembicki __ __ [EMAIL PROTECTED] || http://www.design.ru ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Zárate ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Zárate ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com
Re[6]: [Flashcoders] Shared fonts
Hello Zбrate, Z I just want to understand what Ivan means with: Z use solutions with dubious copyrights - my congratulations. you have good and interesting solution. your OWN solution. Now I has seen it first time. I has experiments with self included libraries too but I used textfields for include fonts. Shared library mc was placed in second frame. In first frame I hase a code for avoid recursive shared libraries loading. In my case it was very difficult for understanding by users and hard for create and debug font libraries. I think you know and understand this problems very good. - In your articles I don't understand text, sorry, but I has found a link to sharedfonts.com and my name. Thank you. I'm glad if I made something for find you your solution. And again: it's your own solution. Thank you. -- Ivan Dembicki [EMAIL PROTECTED] || http://www.design.ru ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: Re[4]: [Flashcoders] Shared fonts
I agree that Zarates sollution with one swf is very nice! And will work in most cases. The only problem is that you are bound to the glyps Flash imports for a font-object. The workaround would be to create a swf with SWFMill so you can specify all glyps or use textfields then you can specify them yourself, but then you'll have to have two swf's. One for runtime export and one for runtime import, that's the case. Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Cedric Muller Verzonden: dinsdag 30 mei 2006 10:47 Aan: Flashcoders mailing list Onderwerp: Re: Re[4]: [Flashcoders] Shared fonts ok, maybe it is the not the *best*, but it is definitely the one which narrows down the problem to ONE swf ... of course, erixtekila's solution is in the same verve: yours is Flash IDE, his is Open Source cedric Thanks Cedric :) However, I really don't care now which option is the best (but hey, thanks again :P), I just want to understand what Ivan means with: use solutions with dubious copyrights Seems a little bit of FUD, actually. It would be greatly appreciated further explanations. Cheers! On 5/30/06, Cedric Muller [EMAIL PROTECTED] wrote: Zarate, The 'Shared Fonts' problem is very funny ... you have got people sticking to solutions that aren't :)) and it gets back in time ... like a cycle, with the same answers again ;) I REALLY don't know why your solution never was approved ... it is the best out there, the BEST it has been working for me in the biggest project of all my times (300 +classes) with a charm and yes it is better than sharedfonts.com or bernard's solution BECAUSE it only uses 1 (ONE!) SWF ... anyway, who thought we needed TWO swfs in order to share something ??? ;) Cedric I don´t think he means that... at doesn´t make any sense for me. By the way, if you want to avoid using two files per font, take a look to this (french): http://www.v-i-a.net/blog/archives/43.html I did myself almost 2 years ago some RD to use just one file (spanish): http://www.zarate.tv/articulos/shared_fonts/index.php AFAIK, I´m not violating any license or copyright :D Cheers, On 5/29/06, Bernard Visscher [EMAIL PROTECTED] wrote: Hi Zarate, I don't know either ;) I think Ivan means the principle of my code and the priciple of the sharedfonts system They both use 2 swf's for loading the font. There can't be copyright on that, because that's the only way the flashplayer allows fonts to be dynamicaly loaded. And it's no secret code or something, just a player posibility.. Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Zárate Verzonden: maandag 29 mei 2006 23:13 Aan: Flashcoders mailing list Onderwerp: Re: Re[4]: [Flashcoders] Shared fonts Hi, Which copyright problems are we talking about? Maybe I´m missing something here. Cheers, On 5/29/06, Bernard Visscher [EMAIL PROTECTED] wrote: Well, I haven't had any difficulties.. And i've used it in many sites.. But if you say so ;) Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Iv Verzonden: maandag 29 mei 2006 21:31 Aan: Flashcoders mailing list Onderwerp: Re[4]: [Flashcoders] Shared fonts Hello Bernard, - and.. I'm sorry, but your code have imperfections. It's works, but you need support experiance with many languages and different situations for find a problems in your code. It's one more reason for use original solution. -- Ivan Dembicki __ __ [EMAIL PROTECTED] || http://www.design.ru ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Zárate ___ Flashcoders@chattyfig.figleaf.com To change your
[Flashcoders] ICE Technology released iPush Flash API v2.0.1 to help real-time RIA development
Taipei, Taiwan – May 26, 2006 – ICE Technology Corp. officially released iPush Flash API v2.0.1. It enables real-time data distribution capability of Flash applications. “For supporting the development of real-time Rich Internet Application, we have provided iPush APIs, such as Java Class and ActiveX Control for a long time. From now on, Flash developers can use this iPush Flash API to take advantage of iPush Server in Flash applications. It provides another choice besides Macromedia Flash Media Server for real-time data distribution.” said Fred Chiang, Chief Marketing Officer of ICE Technology. iPush Server is a proven middleware for real-time data distribution, designed for serving massive concurrent connections. With its various APIs, different kind of client applications and devices, from server to mobile device, can participate in the same real-time service, subscribe-to-receive data in the way of server pushing. Enterprises and developers are paying close attention to Rich Internet Application now, because better user experience will bring in higher value from the net. Obviously, the speed of data update plays a significant factor in user experience of RIA. “The iPush Flash API is the first move of ICE Technology’s continuing contributions to Flash community. With it, Flash applications can leverage the high performance of iPush Server which achieves throughput of 105,000 messages per second on a entry-level PC host. Furthermore, a Flash application can bi-directionally communicate with applications on Linux, Windows, Java virtual machine, Pocket PC, Smart Phone, even embedded system. This presents another important feature - high accessibility of iPush Server.” said Fred Chiang. About ICE Technology Corporation Founded in April 2000, ICE Technology is a leading provider of real-time information distribution software and relative solutions for real-time services. ICE Technology delivers the most cost-effective information distribution server family, iPush Server, and provides solutions for various vertical markets’ needs, such as financial service, sports and gamming, mobile service, and industrial automation. Please visit http://www.icetechnology.com to get more information about ICE Technology. === iPush Server is a registered trademark of ICE Technology Corporation. All other trademarks contained herein are the property of their respective owners. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: Re[6]: [Flashcoders] Shared fonts
Hi Ivan, Your name and link to the Shared Font Manager are there because I looked at them before developing my own method. I thought (and still think) I should thank everyone that had tried to solve the problem before. What we use to know as previous work. Having said that, I really think you do not have any kind of copyright over the two-files-per-font approach. I mean, you're absolutely free to do/sell whatever you want (really happy to know you are still making money from it), but, IMHO, you cannot blame someone else for using a similar approach to solve the same problem. I cannot blame someone using my one-file-per-font approach as well. Cheers, On 5/30/06, Iv [EMAIL PROTECTED] wrote: Hello Zбrate, Z I just want to understand what Ivan means with: Z use solutions with dubious copyrights - my congratulations. you have good and interesting solution. your OWN solution. Now I has seen it first time. I has experiments with self included libraries too but I used textfields for include fonts. Shared library mc was placed in second frame. In first frame I hase a code for avoid recursive shared libraries loading. In my case it was very difficult for understanding by users and hard for create and debug font libraries. I think you know and understand this problems very good. - In your articles I don't understand text, sorry, but I has found a link to sharedfonts.com and my name. Thank you. I'm glad if I made something for find you your solution. And again: it's your own solution. Thank you. -- Ivan Dembicki [EMAIL PROTECTED] || http://www.design.ru ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Zárate ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re[8]: [Flashcoders] Shared fonts
Hello Zбrate, Z you cannot blame someone else for using a similar approach to solve Z the same problem. - similar and the same - is different things. Z I cannot blame someone using my one-file-per-font approach as well. - now yes. because you share it. But if you has invest a money to your own unique solution based on your discoveries I think you can expect from community respect for your interests. -- Ivan Dembicki [EMAIL PROTECTED] || http://www.design.ru ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] NumericStepper in CellRender disappears and gets 256 levels of recursion...
Hey all -- I'm using a NumericStepper in a CellRender and I'm getting some kind of weirdness when I'm clicking on it - it dissappears while I'm stepping up/down, and if I hold it down I get the '256 levels of recursion' happening in it. In the .as file I've got the change happenining in there - so obviously when I'm pressing it down it's always changing -- but where else should I do it? public function change() { listOwner.dataProvider.editField(getCellIndex().itemIndex, getDataLabel(), step.value); setValue(step.value, item, true); //listOwner.dispatchEvent({type:cellEdit}); //listOwner.dataProvider[getCellIndex().itemIndex][getDataLabel()] = step.value; } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] hii
I think you'd have to be a bit more specific khodam. Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Rønning Sent: 30 May 2006 12:37 To: Flashcoders mailing list Subject: Re: [Flashcoders] hii HAHAHAHAHA khodam khodesh wrote: i want flashmx project whit source - Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail Beta. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- - Andreas Rønning --- Flash guy Rayon Visual Concepts, Oslo, Norway --- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] hii
i want flashmx project whit source I want a Bacon sandwich with sauce... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] hii
_ _ _.-')))\\\ ///(((`-._ .-'\\|//`-. .'\:/`. .'\\\V///`. .'):(`. : /:\ .'\)\)\)\)\)\\\.///(/(/(/(/(/`. :\) \:/ (/: .'(/ \)`. :_: :) .' `. (: :))\)___.-' ''T`` `-.___(/((: :-O-O-O-O-O-O-O-O: '''I``` :O-O-O-O-O-O-O-O-: :*=*=*=*=*=*=*=*O: ```I''' ;O*=*=*=*=*=*=*=*: .'// __ :_ ``I'' _; __ \\`. :(( /##`. `-._.-' .'##\ )): __:\\)/# __\##) (##/__ #\(//:__ ( :))(# .' `. .' `. #)((: ) \ .'/ .'/~\ `. .' /~\`. \`. / ): .'.((O))..`. .'..((O)).`. :( ( :/\~/.../ \...\~/\: ) ): :( ( : : ) \:, .;/ `. ; : ; :/ \: : (__A___A__) : : ^ ^ ; `. ; : ___ : :/___\; `. //) /\_|_/\ (\\ ; :-/ /_\/_\/_\ \-; \ ) )___( ( ; !\/ \// :\ /: : `-. .-' : :`-. .-': : `-. .-' : ; `-.___.-' : _! `. .' `. .-' `-. _.-' `-._ .-' `-. Meph. On 5/30/06, Mike Mountain [EMAIL PROTECTED] wrote: i want flashmx project whit source I want a Bacon sandwich with sauce... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Re: USB Token etc
Hi, also ich benutze einen eToken von Aladdin, der ist wirklich sehr gut, und das schöne ist halt das man keinen Kartenleser oder ähnliche zusatz Hardware benötigt. Also ich meine zu Wissen das er noch nicht geknackt wurde, aber wie gesagt sicher bin ich mir da nicht. Auf jedenfall macht man es den leuten ziemlich schwer. http://aladdin.com/eToken/default.asp Wie teuer die dinger nun sind weiß ich leider nicht. Grüße, Johannes Steffen Brandemann schrieb: Hi, ich bin zur Zeit auf der Suche nach einer Möglichkeit meinen PGP-Schlüssel und noch andere sicher abzulegen. Dafür sind ja die SmartCards gedacht. Allerdings bräuchte ich dann auf der Arbeit, am Laptop und Zuhause so einen Kartenleser. Dacher dachte ich an so einen USB Token (oder wie die Dinger heißen). Hat damit jemand schon mal Erfahrung gemacht? Wie sicher sind die? Und gibt es (schon) bezahlbare? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] hii
Some people have too much time on their hands. Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of MBDI ICSC Rodrigo E. Curiel Salazar Sent: 30 May 2006 12:48 To: Flashcoders mailing list Subject: Re: [Flashcoders] hii _ _ _.-')))\\\ ///(((`-._ .-'\\|//`-. .'\:/`. .'\\\V///`. .'):(`. : /:\ .'\)\)\)\)\)\\\.///(/(/(/(/(/`. :\) \:/ (/: .'(/ \)`. :_: :) .' `. (: :))\)___.-' ''T`` `-.___(/((: :-O-O-O-O-O-O-O-O: '''I``` :O-O-O-O-O-O-O-O-: :*=*=*=*=*=*=*=*O: ```I''' ;O*=*=*=*=*=*=*=*: .'// __ :_ ``I'' _; __ \\`. :(( /##`. `-._.-' .'##\ )): __:\\)/# __\##) (##/__ #\(//:__ ( :))(# .' `. .' `. #)((: ) \ .'/ .'/~\ `. .' /~\`. \`. / ): .'.((O))..`. .'..((O)).`. :( ( :/\~/.../ \...\~/\: ) ): :( ( : : ) \:, .;/ `. ; : ; :/ \: : (__A___A__) : : ^ ^ ; `. ; : ___ : :/___\; `. //) /\_|_/\ (\\ ; :-/ /_\/_\/_\ \-; \ ) )___( ( ; !\/ \// :\ /: : `-. .-' : :`-. .-': : `-. .-' : ; `-.___.-' : _! `. .' `. .-' `-. _.-' `-._ .-' `-. Meph. On 5/30/06, Mike Mountain [EMAIL PROTECTED] wrote: i want flashmx project whit source I want a Bacon sandwich with sauce... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] hii
Jep, and they like Vampires ;D Johannes Lee McColl-Sylvester schrieb: Some people have too much time on their hands. Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of MBDI ICSC Rodrigo E. Curiel Salazar Sent: 30 May 2006 12:48 To: Flashcoders mailing list Subject: Re: [Flashcoders] hii _ _ _.-')))\\\ ///(((`-._ .-'\\|//`-. .'\:/`. .'\\\V///`. .'):(`. : /:\ .'\)\)\)\)\)\\\.///(/(/(/(/(/`. :\) \:/ (/: .'(/ \)`. :_: :) .' `. (: :))\)___.-' ''T`` `-.___(/((: :-O-O-O-O-O-O-O-O: '''I``` :O-O-O-O-O-O-O-O-: :*=*=*=*=*=*=*=*O: ```I''' ;O*=*=*=*=*=*=*=*: .'// __ :_ ``I'' _; __ \\`. :(( /##`. `-._.-' .'##\ )): __:\\)/# __\##) (##/__ #\(//:__ ( :))(# .' `. .' `. #)((: ) \ .'/ .'/~\ `. .' /~\`. \`. / ): .'.((O))..`. .'..((O)).`. :( ( :/\~/.../ \...\~/\: ) ): :( ( : : ) \:, .;/ `. ; : ; :/ \: : (__A___A__) : : ^ ^ ; `. ; : ___ : :/___\; `. //) /\_|_/\ (\\ ; :-/ /_\/_\/_\ \-; \ ) )___( ( ; !\/ \// :\ /: : `-. .-' : :`-. .-': : `-. .-' : ; `-.___.-' : _! `. .' `. .-' `-. _.-' `-._ .-' `-. Meph. On 5/30/06, Mike Mountain [EMAIL PROTECTED] wrote: i want flashmx project whit source I want a Bacon sandwich with sauce... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Deafening silence on Unicode
but can it also deal with UTF-16? UCS? Other encodings? Can it deal with Big-end/little-endian? If so, how does it go about working out which encoding to use to interpret a particular file? Flash Player 6 and later looks at BOM when reading text data. If it's 0xFE the data is treated as UTF-16BE, if it's 0xFF then UTF-16LE, and if there's no BOM it will be treated as UTF-8. I don't think Flash can handle any other encodings. Kenneth Kawamoto http://www.materiaprima.co.uk ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Get Original Variable's Name in Function?
Greetings all, Is it possible to retrieve the name of the variable passed into a function? For instance: function myFunct(str:String){ // GET ORIGINAL NAME of str? } var foo:String = ABC; var moo:String = DEF; myFunct(foo); myFunct(moo); In the above, how can myFunct know that the first call was sent 'foo' and the second call was sent 'moo'? Thanks, Doug Coning Senior Web Development Programmer FORUM Solutions, LLC This e-mail and any attachment(s) are intended for the specified recipient(s) only and are legally protected. If you have received this communication in error, please reply to sender's e-mail address with notification of the error and then destroy this message in all electronic and physical forms. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: Re[4]: [Flashcoders] Shared fonts
I agree that Zarates sollution with one swf is very nice! And will work in most cases. The only problem is that you are bound to the glyps Flash imports for a font-object. is this the only case ? The workaround would be to create a swf with SWFMill so you can specify all glyps or use textfields then you can specify them yourself, but then you'll have to have two swf's. One for runtime export and one for runtime import, that's the case. actually, you can, SWFmill and more: http://www.v-i-a.net/blog/archives/43.html http://www.deja-vue.net/blog/2006/05/26/as2-sharedfonts-datagrid- example-the-last-stand/#more-42 Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Cedric Muller Verzonden: dinsdag 30 mei 2006 10:47 Aan: Flashcoders mailing list Onderwerp: Re: Re[4]: [Flashcoders] Shared fonts ok, maybe it is the not the *best*, but it is definitely the one which narrows down the problem to ONE swf ... of course, erixtekila's solution is in the same verve: yours is Flash IDE, his is Open Source cedric Thanks Cedric :) However, I really don't care now which option is the best (but hey, thanks again :P), I just want to understand what Ivan means with: use solutions with dubious copyrights Seems a little bit of FUD, actually. It would be greatly appreciated further explanations. Cheers! On 5/30/06, Cedric Muller [EMAIL PROTECTED] wrote: Zarate, The 'Shared Fonts' problem is very funny ... you have got people sticking to solutions that aren't :)) and it gets back in time ... like a cycle, with the same answers again ;) I REALLY don't know why your solution never was approved ... it is the best out there, the BEST it has been working for me in the biggest project of all my times (300 +classes) with a charm and yes it is better than sharedfonts.com or bernard's solution BECAUSE it only uses 1 (ONE!) SWF ... anyway, who thought we needed TWO swfs in order to share something ??? ;) Cedric I don´t think he means that... at doesn´t make any sense for me. By the way, if you want to avoid using two files per font, take a look to this (french): http://www.v-i-a.net/blog/archives/43.html I did myself almost 2 years ago some RD to use just one file (spanish): http://www.zarate.tv/articulos/shared_fonts/index.php AFAIK, I´m not violating any license or copyright :D Cheers, On 5/29/06, Bernard Visscher [EMAIL PROTECTED] wrote: Hi Zarate, I don't know either ;) I think Ivan means the principle of my code and the priciple of the sharedfonts system They both use 2 swf's for loading the font. There can't be copyright on that, because that's the only way the flashplayer allows fonts to be dynamicaly loaded. And it's no secret code or something, just a player posibility.. Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Zárate Verzonden: maandag 29 mei 2006 23:13 Aan: Flashcoders mailing list Onderwerp: Re: Re[4]: [Flashcoders] Shared fonts Hi, Which copyright problems are we talking about? Maybe I´m missing something here. Cheers, On 5/29/06, Bernard Visscher [EMAIL PROTECTED] wrote: Well, I haven't had any difficulties.. And i've used it in many sites.. But if you say so ;) Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Iv Verzonden: maandag 29 mei 2006 21:31 Aan: Flashcoders mailing list Onderwerp: Re[4]: [Flashcoders] Shared fonts Hello Bernard, - and.. I'm sorry, but your code have imperfections. It's works, but you need support experiance with many languages and different situations for find a problems in your code. It's one more reason for use original solution. -- Ivan Dembicki __ __ [EMAIL PROTECTED] || http://www.design.ru ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Zárate ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Get Original Variable's Name in Function?
On 5/30/06, Doug Coning [EMAIL PROTECTED] wrote: function myFunct(str:String){ // GET ORIGINAL NAME of str? } var foo:String = ABC; var moo:String = DEF; myFunct(foo); myFunct(moo); In the above, how can myFunct know that the first call was sent 'foo' and the second call was sent 'moo'? I guess the easiest way is to pass a string reference: function myFunct(str:String, varName:String){ trace(varName+ has value of +str); } var foo:String = ABC; var moo:String = DEF; myFunct(foo, foo); myFunct(moo, moo); That probably isn't what you're trying to achieve though. What exactly are you trying to do? Tim ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Re: USB Token etc
I wouldn't use Alladin it is a piece of crap protection. Of course, you can use if you aren't serious about your protection. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] geturl:javascript is causing images to not display on IE
I was under the impression that getURL(javascript:) no longer worked in Flash 8. Is this incorrect? Geoff Stearns wrote: are you making the js call before the page is done loading? the browser might be treating is as an anchor click and stop loading the remaining items on the page (this is normal browser behavior) since you are using Flash 8, why not use ExternalInterface to make the call? in IE that will have the player use fscommand (basically) and i think your images will stop dissapearing. (or failing to load as the case may be) On May 28, 2006, at 9:50 PM, Phil Glatz wrote: I've been experiencing an intermittent problem with a getURL call back to a javascript function on the page calling an SWF. I'm using Flash 8, and testing on XP. With Firefox, there is no issue. With IE 6, I experience the problem about 80% of the time. This issue is that I have my SWF in a div, with some divs below it containing some gif images. When I flush the browser's cache, the images always display. After subsequent page refreshes (F5), the images usually don't appear (but sometimes do). I'm using the SWF to display some variable content, filling dynamic text fields from passed variables. I can also select from a number of fonts via a passed var. When the font changes, the div height needed to contain the stage changes. I created an actionscript function that passes the new calculated height back to the page via a javascript call: function resize() { if (allowResize == true) { h = Math.ceil(pBody._y+pBody._height)+10; getURL(javascript:setFlashHeight('wrapper','+h+');); } } The HTML page has the javascript function setFlashHeight() that resizes the enclosing division for the SWF, via DOM. Like I say, it all works fine with Firefox, and the HTML and CSS are both correct. I first suspected a DOM issue, but I later discovered that if I added a return statement as the first line of the javascript function, the problem persisted. If I comment out the getURL call in the actionscript, my disappearing image problem goes away. So it appears to be a Flash issue of some sort, which I'm not understanding. I've Googled around a bit and can't find anything remotely related to this problem. I'm on a tight project deadline and am about to send $99 to Macromedia for a support call. I thought I'd check with this wise group first to see if this rings any bells. Is this some sort of known issue with Flash/IE? Driving me nuts! thanks, Phil ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Which eventBroadcaster is most widely used and-or reccomended?
I'm looking at adding an EventBraodcaster to my project and was wondering if anyone was aware of which of the current classes out there was more reccomended for use in applications. Mani ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Get Original Variable's Name in Function?
Why would you need to know the variable name? It sounds like something has gone heinously wrong with your code if this need is popping up. Doug Coning wrote: Greetings all, Is it possible to retrieve the name of the variable passed into a function? For instance: function myFunct(str:String){ // GET ORIGINAL NAME of str? } var foo:String = ABC; var moo:String = DEF; myFunct(foo); myFunct(moo); In the above, how can myFunct know that the first call was sent 'foo' and the second call was sent 'moo'? Thanks, Doug Coning Senior Web Development Programmer FORUM Solutions, LLC This e-mail and any attachment(s) are intended for the specified recipient(s) only and are legally protected. If you have received this communication in error, please reply to sender's e-mail address with notification of the error and then destroy this message in all electronic and physical forms. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Get Original Variable's Name in Function?
If I understand you requirements, you are trying to work out where the data was passed to the function... your best bet is to use arguments.callee to work this out. Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Mark Hawley Sent: 30 May 2006 14:10 To: Flashcoders mailing list Subject: Re: [Flashcoders] Get Original Variable's Name in Function? Why would you need to know the variable name? It sounds like something has gone heinously wrong with your code if this need is popping up. Doug Coning wrote: Greetings all, Is it possible to retrieve the name of the variable passed into a function? For instance: function myFunct(str:String){ // GET ORIGINAL NAME of str? } var foo:String = ABC; var moo:String = DEF; myFunct(foo); myFunct(moo); In the above, how can myFunct know that the first call was sent 'foo' and the second call was sent 'moo'? Thanks, Doug Coning Senior Web Development Programmer FORUM Solutions, LLC This e-mail and any attachment(s) are intended for the specified recipient(s) only and are legally protected. If you have received this communication in error, please reply to sender's e-mail address with notification of the error and then destroy this message in all electronic and physical forms. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Get Original Variable's Name in Function?
I'm trying to create a _root level trace function where I can simply pass a variable to a protoype function and it prints out the variable name and value. Here is the pseudocode for what I want to do: MovieClip.prototype.TraceThis = function(str){ Trace(str.Name + : + str.Value); } var myVar:String = This is my value; TraceThis(myVar); Simple function that would save time when developing by allowing me to just pass a variable and it would spit out both the name and value without me always typing it out (trace(myVar = + myVar). I guess I'm lazy... Doug Coning Senior Web Development Programmer FORUM Solutions, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Tim Stickland Sent: Tuesday, May 30, 2006 8:57 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Get Original Variable's Name in Function? On 5/30/06, Doug Coning [EMAIL PROTECTED] wrote: function myFunct(str:String){ // GET ORIGINAL NAME of str? } var foo:String = ABC; var moo:String = DEF; myFunct(foo); myFunct(moo); In the above, how can myFunct know that the first call was sent 'foo' and the second call was sent 'moo'? I guess the easiest way is to pass a string reference: function myFunct(str:String, varName:String){ trace(varName+ has value of +str); } var foo:String = ABC; var moo:String = DEF; myFunct(foo, foo); myFunct(moo, moo); That probably isn't what you're trying to achieve though. What exactly are you trying to do? Tim ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com This e-mail and any attachment(s) are intended for the specified recipient(s) only and are legally protected. If you have received this communication in error, please reply to sender's e-mail address with notification of the error and then destroy this message in all electronic and physical forms. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Get Original Variable's Name in Function?
Nothing heinously wrong. See other post for how I'd like to be able to trace the original name of the variable for tracking purposes... Thanks, Doug Coning Senior Web Development Programmer FORUM Solutions, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of John Mark Hawley Sent: Tuesday, May 30, 2006 9:10 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Get Original Variable's Name in Function? Why would you need to know the variable name? It sounds like something has gone heinously wrong with your code if this need is popping up. Doug Coning wrote: Greetings all, Is it possible to retrieve the name of the variable passed into a function? For instance: function myFunct(str:String){ // GET ORIGINAL NAME of str? } var foo:String = ABC; var moo:String = DEF; myFunct(foo); myFunct(moo); In the above, how can myFunct know that the first call was sent 'foo' and the second call was sent 'moo'? Thanks, Doug Coning Senior Web Development Programmer FORUM Solutions, LLC This e-mail and any attachment(s) are intended for the specified recipient(s) only and are legally protected. If you have received this communication in error, please reply to sender's e-mail address with notification of the error and then destroy this message in all electronic and physical forms. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com This e-mail and any attachment(s) are intended for the specified recipient(s) only and are legally protected. If you have received this communication in error, please reply to sender's e-mail address with notification of the error and then destroy this message in all electronic and physical forms. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Get Original Variable's Name in Function?
The problem here is, if the variable is not constructed as the property of an object, then the name is not kept. For example: class MyClass { public var pvar:String = fine; public function MyClass() { var lvar:String = not fine; tracethis(lvar); tracethis(pvar); } } While pvar will have its name somewhere in the instanced objects, the lvar will not. This is because flash will drop the naming as its scope is at the function level and so is not important. Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Coning Sent: 30 May 2006 14:15 To: Flashcoders mailing list Subject: RE: [Flashcoders] Get Original Variable's Name in Function? Nothing heinously wrong. See other post for how I'd like to be able to trace the original name of the variable for tracking purposes... Thanks, Doug Coning Senior Web Development Programmer FORUM Solutions, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of John Mark Hawley Sent: Tuesday, May 30, 2006 9:10 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Get Original Variable's Name in Function? Why would you need to know the variable name? It sounds like something has gone heinously wrong with your code if this need is popping up. Doug Coning wrote: Greetings all, Is it possible to retrieve the name of the variable passed into a function? For instance: function myFunct(str:String){ // GET ORIGINAL NAME of str? } var foo:String = ABC; var moo:String = DEF; myFunct(foo); myFunct(moo); In the above, how can myFunct know that the first call was sent 'foo' and the second call was sent 'moo'? Thanks, Doug Coning Senior Web Development Programmer FORUM Solutions, LLC This e-mail and any attachment(s) are intended for the specified recipient(s) only and are legally protected. If you have received this communication in error, please reply to sender's e-mail address with notification of the error and then destroy this message in all electronic and physical forms. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com This e-mail and any attachment(s) are intended for the specified recipient(s) only and are legally protected. If you have received this communication in error, please reply to sender's e-mail address with notification of the error and then destroy this message in all electronic and physical forms. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Get Original Variable's Name in Function?
I thought I couldn't do it, but wanted to ask before ruling it out... Thanks! Doug Coning Senior Web Development Programmer FORUM Solutions, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Lee McColl-Sylvester Sent: Tuesday, May 30, 2006 9:32 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Get Original Variable's Name in Function? The problem here is, if the variable is not constructed as the property of an object, then the name is not kept. For example: class MyClass { public var pvar:String = fine; public function MyClass() { var lvar:String = not fine; tracethis(lvar); tracethis(pvar); } } While pvar will have its name somewhere in the instanced objects, the lvar will not. This is because flash will drop the naming as its scope is at the function level and so is not important. Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Coning Sent: 30 May 2006 14:15 To: Flashcoders mailing list Subject: RE: [Flashcoders] Get Original Variable's Name in Function? Nothing heinously wrong. See other post for how I'd like to be able to trace the original name of the variable for tracking purposes... Thanks, Doug Coning Senior Web Development Programmer FORUM Solutions, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of John Mark Hawley Sent: Tuesday, May 30, 2006 9:10 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Get Original Variable's Name in Function? Why would you need to know the variable name? It sounds like something has gone heinously wrong with your code if this need is popping up. Doug Coning wrote: Greetings all, Is it possible to retrieve the name of the variable passed into a function? For instance: function myFunct(str:String){ // GET ORIGINAL NAME of str? } var foo:String = ABC; var moo:String = DEF; myFunct(foo); myFunct(moo); In the above, how can myFunct know that the first call was sent 'foo' and the second call was sent 'moo'? Thanks, Doug Coning Senior Web Development Programmer FORUM Solutions, LLC This e-mail and any attachment(s) are intended for the specified recipient(s) only and are legally protected. If you have received this communication in error, please reply to sender's e-mail address with notification of the error and then destroy this message in all electronic and physical forms. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com This e-mail and any attachment(s) are intended for the specified recipient(s) only and are legally protected. If you have received this communication in error, please reply to sender's e-mail address with notification of the error and then destroy this message in all electronic and physical forms. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com This e-mail and any attachment(s) are intended for the specified recipient(s) only and are legally protected. If you have received this communication in error, please reply to sender's e-mail address with notification of the error and then destroy this message in all electronic and physical forms. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training
Re: Re[4]: [Flashcoders] Shared fonts
The workaround would be to create a swf with SWFMill so you can specify all glyps or use textfields then you can specify them yourself, but then you'll have to have two swf's. One for runtime export and one for runtime import, that's the case. actually, you can, SWFmill and more: http://www.v-i-a.net/blog/archives/43.html http://www.deja-vue.net/blog/2006/05/26/as2-sharedfonts-datagrid- example-the-last-stand/#more-42 I'll try to take time to translate my article soon. BTW, Mike's one is pretty good also. There is no revolution in this, just a trick. I think that since multi-tiers shared libraries was available (Flash 6, I presume), we were able to use a single swf that contains shared font glyphs. Only RD permitted to find the way. So kuddos to the pionneers : lv and zarate. Let's sum up a little : There are two solutions that use the same trick. The trick is to create a swf that referenced itself has a shared lib (importing AND exporting its own assets) After, you need to be sure to load that swf and wait for a frame in order to be able to use the glyphs. Unfortunatly, it seems that Flash 8 ide doesn't accept to link a swf to itself anymore. swfmill is really a good tool to do whatever you want (good swf knowledge needed) Last thing to note. In order to use shared fonts compiled for swf8, be sure to use the last snapshot of swfmill (unreleased til now) : http://iterative.org/swfmill/pre/ To end the discussion, I wasn't able to use the same trick for other types of assets (bitmap or vectors). If any pionneers feels the need to investigate further… --- erixtekila http://blog.v-i-a.net/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Which eventBroadcaster is most widely used and-or reccomended?
I just use AsBroadcaster, which is built into ActionScript. It seems to work okay. -Adam On 5/30/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: I'm looking at adding an EventBraodcaster to my project and was wondering if anyone was aware of which of the current classes out there was more reccomended for use in applications. Mani ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Which eventBroadcaster is most widely used and-or reccomended?
Hello :) you can try my EventDispatcher class in my VEGAS framework : http://www.osflash.org/vegas You can see ''vegas.events' package and all examples in the SVN's project :) src : http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/src/ (vegas/events) examples : http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/bin/test/vegas/events/(install framework first !) My Event model respect all W3C features ... More information about W3C : http://www.w3.org/TR/DOM-Level-2-Events/ and http://www.w3.org/TR/DOM-Level-2-Events/events.html You can use Bubbling events, Capturing events, FrontController ... and more :) EKA+ :) 2006/5/30, Manuel Saint-Victor [EMAIL PROTECTED]: I'm looking at adding an EventBraodcaster to my project and was wondering if anyone was aware of which of the current classes out there was more reccomended for use in applications. Mani ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Read up on XPATH
XPATH FLASH ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: Re[4]: [Flashcoders] Shared fonts
To end the discussion, I wasn't able to use the same trick for other types of assets (bitmap or vectors). If any pionneers feels the need to investigate further… I have used the same technique for sharing AS2 classes ... never tried with bitmaps or vectors though cedric___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Get Original Variable's Name in Function?
Is it possible to retrieve the name of the variable passed into a function? function myFunct(str:String):Void { for (var varName in this) { if (this[varName] == str) { trace(varName+: +str); } } } var foo:String = ABC; var moo:String = DEF; myFunct(foo); myFunct(moo); // Output foo: ABC moo: DEF OK, this is not really retrieving the name of the variable therefore cannot be trusted... Kenneth Kawamoto http://www.materiaprima.co.uk ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Get Original Variable's Name in Function?
??? That won't work, cus a) it still won't display correct names for local scope variables and b) what if you have two vars with the same value??? Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Kawamoto Sent: 30 May 2006 16:14 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Get Original Variable's Name in Function? Is it possible to retrieve the name of the variable passed into a function? function myFunct(str:String):Void { for (var varName in this) { if (this[varName] == str) { trace(varName+: +str); } } } var foo:String = ABC; var moo:String = DEF; myFunct(foo); myFunct(moo); // Output foo: ABC moo: DEF OK, this is not really retrieving the name of the variable therefore cannot be trusted... Kenneth Kawamoto http://www.materiaprima.co.uk ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Get Original Variable's Name in Function?
Also, the this[varName] assumes that the variable is a property of this, while local scope variables won't be. Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Kawamoto Sent: 30 May 2006 16:14 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Get Original Variable's Name in Function? Is it possible to retrieve the name of the variable passed into a function? function myFunct(str:String):Void { for (var varName in this) { if (this[varName] == str) { trace(varName+: +str); } } } var foo:String = ABC; var moo:String = DEF; myFunct(foo); myFunct(moo); // Output foo: ABC moo: DEF OK, this is not really retrieving the name of the variable therefore cannot be trusted... Kenneth Kawamoto http://www.materiaprima.co.uk ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Get Original Variable's Name in Function?
Yeah, cool. But for his purposes, try making a static class of that so it's handy and it won't fly because this changes scope. So not so good when writing other classes. A workaround? I suppose you could use #include to bring that in, or just add that code at the beginning of each file you work on. Neat idea though. I'm all for things that help me be both lazy and efficient. Jason Merrill Bank of America Learning Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Kenneth Kawamoto Sent: Tuesday, May 30, 2006 11:14 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Get Original Variable's Name in Function? Is it possible to retrieve the name of the variable passed into a function? function myFunct(str:String):Void { for (var varName in this) { if (this[varName] == str) { trace(varName+: +str); } } } var foo:String = ABC; var moo:String = DEF; myFunct(foo); myFunct(moo); // Output foo: ABC moo: DEF OK, this is not really retrieving the name of the variable therefore cannot be trusted... Kenneth Kawamoto http://www.materiaprima.co.uk ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Deafening silence on Unicode
but can it also deal with UTF-16? UCS? Other encodings? Can it deal with Big-end/little-endian? If so, how does it go about working out which encoding to use to interpret a particular file? Flash Player 6 and later looks at BOM when reading text data. If it's 0xFE the data is treated as UTF-16BE, if it's 0xFF then UTF-16LE, and if there's no BOM it will be treated as UTF-8. I don't think Flash can handle any other encodings. Thanks, that makes sense. So what about strings? If my swf has a string of, say, an aleph character, and it's embedded in Director, and it passes that string back to Director as the result of a function, how is it sent? How is the Unicode information stored and passed around? What I'm trying to avoid doing, but probably won't be able to, is having to translate all my Unicode strings into numerical arrays of UTF values before sending them out to Director, and vice versa. At the moment my process for reading text in via Director is: Director gets UTF-8 text from the server. It interprets this as a string of 256-bit characters (using ANSI and the system codepage) Director translates this into an array of integers using charToNum() Director sends this array to Flash Flash translates the integers back into a string using my own UTF-8 decoder function. This is ugly as all hell and I'm trying to simplify it if I can (although currently it's looking like I *may* be able to cut out the Director middleman altogether by getting Flash to talk to the server directly. I thought this wasn't going to be possible but it's looking like we may be able to do it after all) Danny ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Get Original Variable's Name in Function?
Also, the this[varName] assumes that the variable is a property of this, while local scope variables won't be. Yes, this will only work in the situation set in the original posters example. I said cannot be trusted because of that but should have stated clearly. Kenneth Kawamoto http://www.materiaprima.co.uk ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] relative path issue
To all those trying to test loading of data from relative paths locally, here's a little secret I've learned. At least with Flash 8, the Flash IDE stores the path of the last file opened and treats it like the server root. Let's say you have a local environment with two main directories, a source directory and a deploy directory. - source/ main.fla - subdirectory/ secondary.fla - deploy/ main.swf - subdirectory/ secondary.swf - xml/ data.xml The source file source/main.fla publishes to deploy/main.swf. The source file source/subdirectory/secondary.fla publishes to deploy/subdirectory/secondary.swf. Both main.swf and secondary.swf load an xml file from the path /xml/data.xml. If you open the file secondary.fla within the Flash IDE and test the movie using CTRL+ENTER, the published file secondary.swf will not be able to locate the file /xml/data.xml, because the FlashPlayer will search from the path source/subdirectory/. However, if you then open deploy/main.swf from within the Flash IDE, the opened file main.swf will be able to locate the file /xml/data.xml, because the FlashPlayer will search from the path deploy/, treating it as if it were a server root. Now if you switch tabs back to secondary.fla and test again using CTRL+ENTER, the published file secondary.swf will be able to locate the file /xml/data.xml, because the FlashPlayer will search from the path of the last file opened, deploy/. I hope someone finds this useful. It's been a real timesaver for me. I used to rely on branching for System.capabilities.playerType, but with more complex projects and directory structures it became unmanageable. Cheers, Michael ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Get Original Variable's Name in Function?
Lazy and efficient? They ruled out slaves long ago ;-) Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: 30 May 2006 16:15 To: Flashcoders mailing list Subject: RE: [Flashcoders] Get Original Variable's Name in Function? Yeah, cool. But for his purposes, try making a static class of that so it's handy and it won't fly because this changes scope. So not so good when writing other classes. A workaround? I suppose you could use #include to bring that in, or just add that code at the beginning of each file you work on. Neat idea though. I'm all for things that help me be both lazy and efficient. Jason Merrill Bank of America Learning Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Kenneth Kawamoto Sent: Tuesday, May 30, 2006 11:14 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Get Original Variable's Name in Function? Is it possible to retrieve the name of the variable passed into a function? function myFunct(str:String):Void { for (var varName in this) { if (this[varName] == str) { trace(varName+: +str); } } } var foo:String = ABC; var moo:String = DEF; myFunct(foo); myFunct(moo); // Output foo: ABC moo: DEF OK, this is not really retrieving the name of the variable therefore cannot be trusted... Kenneth Kawamoto http://www.materiaprima.co.uk ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] win32 and macOsX native API calls
Hi, I'm a newbie in Flash development and i would know if i can call win32 and macOsX native API calls into a swf file? Like with JNI layer of misc JVM? Thanks. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Deafening silence on Unicode
I *may* be able to cut out the Director middleman altogether by getting Flash to talk to the server directly. That's how I would do it, Danny. I am also waiting for Director 11 with Unicode, although no one actually said Director 11 will support Unicode - I am just hoping if I kept saying it will actually happen. I personally don't deal with any Unicode data in Director but only within embedded Flash. I know some people have done that though: go to Direct-L and post your question there. Kenneth Kawamoto http://www.materiaprima.co.uk ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Re: USB Token etc
And why you think Aladdin is a piece of crap protection? Johannes Weyert de Boer schrieb: I wouldn't use Alladin it is a piece of crap protection. Of course, you can use if you aren't serious about your protection. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Get Original Variable's Name in Function?
That won't work - for example: var foo:String = ABC; var moo:String = ABC; myFunct(foo); myFunct(moo); // Output foo: ABC foo: ABC On 5/30/06, Kenneth Kawamoto [EMAIL PROTECTED] wrote: Is it possible to retrieve the name of the variable passed into a function? function myFunct(str:String):Void { for (var varName in this) { if (this[varName] == str) { trace(varName+: +str); } } } var foo:String = ABC; var moo:String = DEF; myFunct(foo); myFunct(moo); // Output foo: ABC moo: DEF OK, this is not really retrieving the name of the variable therefore cannot be trusted... Kenneth Kawamoto http://www.materiaprima.co.uk ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Get Original Variable's Name in Function?
Er, we've worked that out already ;) Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: 30 May 2006 16:49 To: Flashcoders mailing list Subject: Re: [Flashcoders] Get Original Variable's Name in Function? That won't work - for example: var foo:String = ABC; var moo:String = ABC; myFunct(foo); myFunct(moo); // Output foo: ABC foo: ABC On 5/30/06, Kenneth Kawamoto [EMAIL PROTECTED] wrote: Is it possible to retrieve the name of the variable passed into a function? function myFunct(str:String):Void { for (var varName in this) { if (this[varName] == str) { trace(varName+: +str); } } } var foo:String = ABC; var moo:String = DEF; myFunct(foo); myFunct(moo); // Output foo: ABC moo: DEF OK, this is not really retrieving the name of the variable therefore cannot be trusted... Kenneth Kawamoto http://www.materiaprima.co.uk ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Get Original Variable's Name in Function?
Lee, Terribly sorry about that. I'll tell my email delivery system to be a bit faster next time, shall I..? If everyone were to wait to see whether someone else had already replied, nothing would ever get posted. Apologies if, for some reason, it's caused you a problem. Ian On 5/30/06, Lee McColl-Sylvester [EMAIL PROTECTED] wrote: Er, we've worked that out already ;) Lee ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: Re[4]: [Flashcoders] Shared fonts
To end the discussion, I wasn't able to use the same trick for other types of assets (bitmap or vectors). If any pionneers feels the need to investigate further. I have used the same technique for sharing AS2 classes ... never tried with bitmaps or vectors though With bitmaps you could use the bitmapdata to draw it in another movie. Lets say you have a movieclip which holds a logo (library name: companyLogo). In that movieclip, you'll have to have something like this as code: import flash.display.*; function attachMe(target:MovieClip, objectName:String){ var t:MovieClip = attachMovie(objectName,image,target.getNextHighestDepth(),{_x:5000,_y:5000 }); var b:BitmapData = new BitmapData(t._width, t._height,false,0x00); b.draw(t); t.unloadMovie(); target.attachBitmap(b,target.getNextHighestDepth()); delete b; } Now from another movie you load the holder (lets say holder.swf) And you can call: holder.attachMe(__myTargetClip,companyLogo); Bernard ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Deafening silence on Unicode
I *may* be able to cut out the Director middleman altogether by getting Flash to talk to the server directly. That's how I would do it, Danny. I'd have done it already if I thought I could ;) There's an awful lot of unhooking data from one place and putting it somewhere else in this project. I'm actually drawing UML diagrams, which I've *never* done before. I am also waiting for Director 11 with Unicode, although no one actually said Director 11 will support Unicode - I am just hoping if I kept saying it will actually happen. I'm pretty sure it will - there have been definite hints in that direction. Which is frustrating, because that'll make all the work I'm doing now pretty much redundant, sigh. Hooray for Macromedia's release date secrecy. I personally don't deal with any Unicode data in Director but only within embedded Flash. Yes, that's what we're trying to achieve at the moment. Unfortunately there's at least one place where that won't be possible, which is saving of external files, so in at least one place I'll have to jump through these hoops. But yes, it does look like in this particular instance I'll be able to avoid the problem. Danny ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Grab IP address
I want to develop a little Flash widget, with a character that 'read' some news. The news are loaded dynamically, like .mp3 files, and are 'generated' by a RSS feed, so they change continuously. The question is: given that I want provide the character with a simple lips move, there is a way to obtain - from a loaded .mp3 file - when the voice (the sound) is talkin' and when not, so I can start-and-stop the lips animation consequently? Maybe something about volume level... I need help for MX 2004 Pro, not 8. Any suggest (or tut, .fla and similar) will be very appreciate. * Enrico Tomaselli * web designer [EMAIL PROTECTED] http://www.metatad.it * Skype: MetaArt RSS: http://www.metatad.it/mnfeeder.php ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] obtain mp3 sound level (was: Grab IP address)
Sorry! I send the previous msg without change the object... :-( * Enrico Tomaselli * web designer [EMAIL PROTECTED] http://www.metatad.it * Skype: MetaArt RSS: http://www.metatad.it/mnfeeder.php ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Grab IP address
i don't see what this has got to do with IP addresses :P have a look at marmalade media's FlashAmp, swiftMp3(if it's still around), failing that use AS3... MetaArt wrote: I want to develop a little Flash widget, with a character that 'read' some news. The news are loaded dynamically, like .mp3 files, and are 'generated' by a RSS feed, so they change continuously. The question is: given that I want provide the character with a simple lips move, there is a way to obtain - from a loaded .mp3 file - when the voice (the sound) is talkin' and when not, so I can start-and-stop the lips animation consequently? Maybe something about volume level... I need help for MX 2004 Pro, not 8. Any suggest (or tut, .fla and similar) will be very appreciate. * Enrico Tomaselli * web designer [EMAIL PROTECTED] http://www.metatad.it * Skype: MetaArt RSS: http://www.metatad.it/mnfeeder.php ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- __ Tom Rhodes - Developer / Composer Wheelhouse Creative Ltd, 2 Albion Place, Hammersmith, London. W6 0QT Tel: 020 8748 4466 Fax: 020 8748 4850 www.wheelhousecreative.co.uk __ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] geturl:javascript is causing images to not display on IE
it still works fine - same as always. On May 30, 2006, at 8:58 AM, Christian wrote: I was under the impression that getURL(javascript:) no longer worked in Flash 8. Is this incorrect? Geoff Stearns wrote: are you making the js call before the page is done loading? the browser might be treating is as an anchor click and stop loading the remaining items on the page (this is normal browser behavior) since you are using Flash 8, why not use ExternalInterface to make the call? in IE that will have the player use fscommand (basically) and i think your images will stop dissapearing. (or failing to load as the case may be) On May 28, 2006, at 9:50 PM, Phil Glatz wrote: I've been experiencing an intermittent problem with a getURL call back to a javascript function on the page calling an SWF. I'm using Flash 8, and testing on XP. With Firefox, there is no issue. With IE 6, I experience the problem about 80% of the time. This issue is that I have my SWF in a div, with some divs below it containing some gif images. When I flush the browser's cache, the images always display. After subsequent page refreshes (F5), the images usually don't appear (but sometimes do). I'm using the SWF to display some variable content, filling dynamic text fields from passed variables. I can also select from a number of fonts via a passed var. When the font changes, the div height needed to contain the stage changes. I created an actionscript function that passes the new calculated height back to the page via a javascript call: function resize() { if (allowResize == true) { h = Math.ceil(pBody._y+pBody._height)+10; getURL(javascript:setFlashHeight('wrapper','+h+');); } } The HTML page has the javascript function setFlashHeight() that resizes the enclosing division for the SWF, via DOM. Like I say, it all works fine with Firefox, and the HTML and CSS are both correct. I first suspected a DOM issue, but I later discovered that if I added a return statement as the first line of the javascript function, the problem persisted. If I comment out the getURL call in the actionscript, my disappearing image problem goes away. So it appears to be a Flash issue of some sort, which I'm not understanding. I've Googled around a bit and can't find anything remotely related to this problem. I'm on a tight project deadline and am about to send $99 to Macromedia for a support call. I thought I'd check with this wise group first to see if this rings any bells. Is this some sort of known issue with Flash/IE? Driving me nuts! thanks, Phil ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Quotes in XML always require CDATA?
Does it HAVE to be a CDATA node in order to safely include double quotes in an XML file? Be nice if I could do the following, but it's obvious why it breaks: item title=This is my String with quotes/ I'm using iso-8859-1 encoding in the XML, but I think UTF would be OK too. I'm grabbing it with xfactorstudios Xpath. I guess I could look for single quotes and swap that out for double quotes, but that's not ideal. Thanks, Jason Merrill Bank of America Learning Technology Solutions ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Job Offer
Flash Programmer - at least 2 years experience in Flash coding / Action Script 2.0 - experiences with multilingual, database-driven projects - high level of initiative - fluent knowledge of German and English Sounds like you? Then join our tech team in Hamburg, Germany as soon as possible! Please contact [EMAIL PROTECTED] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Quotes in XML always require CDATA?
Does it HAVE to be a CDATA node in order to safely include double quotes in an XML file? Yes, to include any unescaped XML metacharacters, you must place them within a CDATA block. Be nice if I could do the following, but it's obvious why it breaks: item title=This is my String with quotes/ I'm using iso-8859-1 encoding in the XML, but I think UTF would be OK too. I'm grabbing it with xfactorstudios Xpath. I guess I could look for single quotes and swap that out for double quotes, but that's not ideal. Why not just escape the characters? item title=This is my quot;Stringquot; with quotes/ Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Quotes in XML always require CDATA?
Why not just escape the characters? item title=This is my quot;Stringquot; with quotes/ Good idea. Exactly what I was looking for. :) Jason Merrill Bank of America Learning Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Dave Watts Sent: Tuesday, May 30, 2006 1:25 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Quotes in XML always require CDATA? Does it HAVE to be a CDATA node in order to safely include double quotes in an XML file? Yes, to include any unescaped XML metacharacters, you must place them within a CDATA block. Be nice if I could do the following, but it's obvious why it breaks: item title=This is my String with quotes/ I'm using iso-8859-1 encoding in the XML, but I think UTF would be OK too. I'm grabbing it with xfactorstudios Xpath. I guess I could look for single quotes and swap that out for double quotes, but that's not ideal. Why not just escape the characters? item title=This is my quot;Stringquot; with quotes/ Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] geturl:javascript is causing images to not display on IE
Hrmmm... I'll have to throw up my test later as getURL:Javascript doesn't seem to work anymore. Most of the documentation i'm seeing out there is stating that any file published in flash 8 doesn't allow for the getURL(javascript) calls. Is there a security setting that needs to be in place for this to work? Geoff Stearns wrote: it still works fine - same as always. On May 30, 2006, at 8:58 AM, Christian wrote: I was under the impression that getURL(javascript:) no longer worked in Flash 8. Is this incorrect? Geoff Stearns wrote: are you making the js call before the page is done loading? the browser might be treating is as an anchor click and stop loading the remaining items on the page (this is normal browser behavior) since you are using Flash 8, why not use ExternalInterface to make the call? in IE that will have the player use fscommand (basically) and i think your images will stop dissapearing. (or failing to load as the case may be) On May 28, 2006, at 9:50 PM, Phil Glatz wrote: I've been experiencing an intermittent problem with a getURL call back to a javascript function on the page calling an SWF. I'm using Flash 8, and testing on XP. With Firefox, there is no issue. With IE 6, I experience the problem about 80% of the time. This issue is that I have my SWF in a div, with some divs below it containing some gif images. When I flush the browser's cache, the images always display. After subsequent page refreshes (F5), the images usually don't appear (but sometimes do). I'm using the SWF to display some variable content, filling dynamic text fields from passed variables. I can also select from a number of fonts via a passed var. When the font changes, the div height needed to contain the stage changes. I created an actionscript function that passes the new calculated height back to the page via a javascript call: function resize() { if (allowResize == true) { h = Math.ceil(pBody._y+pBody._height)+10; getURL(javascript:setFlashHeight('wrapper','+h+');); } } The HTML page has the javascript function setFlashHeight() that resizes the enclosing division for the SWF, via DOM. Like I say, it all works fine with Firefox, and the HTML and CSS are both correct. I first suspected a DOM issue, but I later discovered that if I added a return statement as the first line of the javascript function, the problem persisted. If I comment out the getURL call in the actionscript, my disappearing image problem goes away. So it appears to be a Flash issue of some sort, which I'm not understanding. I've Googled around a bit and can't find anything remotely related to this problem. I'm on a tight project deadline and am about to send $99 to Macromedia for a support call. I thought I'd check with this wise group first to see if this rings any bells. Is this some sort of known issue with Flash/IE? Driving me nuts! thanks, Phil ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] hii
Don't we all ... :) -Original Message- From: khodam khodesh [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 30, 2006 1:02 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] hii i want flashmx project whit source - Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail Beta. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] OnPress, transparent bitmaps
Hey list (I'm a new member), I used to do the following: - create a container clip (mc) - create a clip within mc to hold an image (mci) - create a clip within mc to hold an alpha mask (mca) - mci.setMask(mca) The result was that onPress, useHandCursor, etc. would only respond when rolling over the revealed portion of mc. Now, with Flash 8, I'm trying the following: - create a container clip (mc) - dynamically composite a bitmap with an alpha and attach it to mc This all displays beautifully, is faster, offers better performance, BUT - now onPress, useHandCursor, etc. respond when rolling over the complete clip (transparent pixels are not ignored). Is there a solution for this? I'm aware of the ability to hittest with bitmap objects, but that won't solve the problem of overlapping clips. I'm coming from a Director background - where setting the 'clip' (sprite) to Mask ink would solve the problem. I gather that's not quite how Flash does things. Ideas? Thanks in advance, r o b | Robert Gordon | The Article 19 Group Inc. | phone: 514.938.8512 | email: [EMAIL PROTECTED] | http://www.article19.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] OT- Flash Designer/Developer Needed Freelance
Hello All, I am looking for someone to help me with ongoing small animation/coding tasks in Flash. There would be a rather steady stream of work for the next month or so... Particularly I am hunting for someone who is very good (and quick) at producing nice motion graphics in Flash, I would like to pay a flat rate for each individual job, but that fee would be based on an estimate of around $30/hr. You must be located in the U.S. (Sorry, it's just too complicated tax-wise to work internationally now). I know this isn't thegravy train but I'm working with a client with rather shallow pockets, as I get work that pays more the $30 mentioned above could certainly go up. Please respond off-list at [EMAIL PROTECTED] Thanks! Dan Sherman ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] OnPress, transparent bitmaps
well.. you can dynamically set another MC to be the hitarea.. On May 30, 2006, at 2:36 PM, Robert Gordon wrote: Hey list (I'm a new member), I used to do the following: - create a container clip (mc) - create a clip within mc to hold an image (mci) - create a clip within mc to hold an alpha mask (mca) - mci.setMask(mca) The result was that onPress, useHandCursor, etc. would only respond when rolling over the revealed portion of mc. Now, with Flash 8, I'm trying the following: - create a container clip (mc) - dynamically composite a bitmap with an alpha and attach it to mc This all displays beautifully, is faster, offers better performance, BUT - now onPress, useHandCursor, etc. respond when rolling over the complete clip (transparent pixels are not ignored). Is there a solution for this? I'm aware of the ability to hittest with bitmap objects, but that won't solve the problem of overlapping clips. I'm coming from a Director background - where setting the 'clip' (sprite) to Mask ink would solve the problem. I gather that's not quite how Flash does things. Ideas? Thanks in advance, r o b | Robert Gordon | The Article 19 Group Inc. | phone: 514.938.8512 | email: [EMAIL PROTECTED] | http://www.article19.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] OnPress, transparent bitmaps
Bingo! Is there any overhead incurred if I hang the other MC (the one ot be used as the hitArea) off the MC of interest, but set its _visible property to false? I'm still getting my sense for what sucks cycles and what doesn't... Thanks Michael, r o b | Robert Gordon | The Article 19 Group Inc. | phone: 514.938.8512 | email: [EMAIL PROTECTED] | http://www.article19.com From: Michael Bedar [EMAIL PROTECTED] Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Date: Tue, 30 May 2006 14:57:58 -0400 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] OnPress, transparent bitmaps well.. you can dynamically set another MC to be the hitarea.. On May 30, 2006, at 2:36 PM, Robert Gordon wrote: Hey list (I'm a new member), I used to do the following: - create a container clip (mc) - create a clip within mc to hold an image (mci) - create a clip within mc to hold an alpha mask (mca) - mci.setMask(mca) The result was that onPress, useHandCursor, etc. would only respond when rolling over the revealed portion of mc. Now, with Flash 8, I'm trying the following: - create a container clip (mc) - dynamically composite a bitmap with an alpha and attach it to mc This all displays beautifully, is faster, offers better performance, BUT - now onPress, useHandCursor, etc. respond when rolling over the complete clip (transparent pixels are not ignored). Is there a solution for this? I'm aware of the ability to hittest with bitmap objects, but that won't solve the problem of overlapping clips. I'm coming from a Director background - where setting the 'clip' (sprite) to Mask ink would solve the problem. I gather that's not quite how Flash does things. Ideas? Thanks in advance, r o b | Robert Gordon | The Article 19 Group Inc. | phone: 514.938.8512 | email: [EMAIL PROTECTED] | http://www.article19.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Get Original Variable's Name in Function?
This isn't possible, because local vars typically (that is, in function2 which is used for class methods) become registers in the bytecode, i.e., the name you give a local var won't be included in your SWF *at all*, they are physically missing in the compiled SWF. The old function tag used named variables (getVariable, setVariable), but those string identifiers aren't accessible, either. You can have a look yourself, simply name a var something you don't use for a property anywhere (say, asdasd) and search it in the output of flasm or swfmill. It won't be there. As a simpler test, use a longer name and observe the file size not getting any bigger. Hth, Mark On 5/30/06, Doug Coning [EMAIL PROTECTED] wrote: Greetings all, Is it possible to retrieve the name of the variable passed into a function? For instance: function myFunct(str:String){ // GET ORIGINAL NAME of str? } var foo:String = ABC; var moo:String = DEF; myFunct(foo); myFunct(moo); In the above, how can myFunct know that the first call was sent 'foo' and the second call was sent 'moo'? Thanks, Doug Coning Senior Web Development Programmer FORUM Solutions, LLC This e-mail and any attachment(s) are intended for the specified recipient(s) only and are legally protected. If you have received this communication in error, please reply to sender's e-mail address with notification of the error and then destroy this message in all electronic and physical forms. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- http://snafoo.org/ key: 1BD689C0 (3801 6F51 4810 C674 1491 ADE7 D8F6 0203 1BD6 89C0) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] hii
I´ve just me a guy named Google... and he said he had plenty of flashmx project whit source lol On 5/30/06, Hindman, Jeff [EMAIL PROTECTED] wrote: Don't we all ... :) -Original Message- From: khodam khodesh [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 30, 2006 1:02 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] hii i want flashmx project whit source - Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail Beta. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Movie maker project questions.....
hey all, got a client that would like to have a video maker (basic video editor(something similar to http://www.redbullcopilot.com/ )) section added to an pre-built site. They want to be able to drag and drop a series of FLV clips onto an timeline like area, that could be rearranged , as well as control of of independent audio voice overs(same concept, drag and drop). Thats no problem, what I am not sure about is having all the clips play back in sync with the audio files. Keeping in mind this uses no streaming server, can anyone think of good way to get this all to play back smoothly? and please correct me if I am wrong, but doesnt flash uses different engines for rendering FLV vs MP3 vs timeline animation?. any and all comments are appreciated. Thanks AK ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Re: Flashcoders Digest, Vol 16, Issue 94
Is there a reason (preference or list policy) that I missed that calls for every email to be quoted in every response? I've never seen this before, so I wanted to ask. I've noticed that some posts have many, many repeated posts in quote form, including headers and footers, over and over again. Is that preferred? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Re: Flashcoders Digest, Vol 16, Issue 94
Is there a reason (preference or list policy) that I missed that calls for every email to be quoted in every response? I've never seen this before, so I wanted to ask. I've noticed that some posts have many, many repeated posts in quote form, including headers and footers, over and over again. Is that preferred? As the list administrator, I would very much prefer that you trim your posts as much as possible. However, we don't enforce this, so most people just hit reply. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] hii
I have been away for a week and after reading the stack of 1000 ish mails on this list I had yours is the funniest. I laughed for about 5 mins. Thanks Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of khodam khodesh Sent: 30 May 2006 09:02 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] hii i want flashmx project whit source - Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail Beta. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] self published.
Hi I have an idea for a self placed utility using Flash. Meaning I allow users to place this utility in their own domains - and I dont know where those domains are -- and my utility allows me real-time communications between their published file - and my servers. What kind of Flash security issues will i have to work around to get this to work on most or all domains? Is this possible? How? Best regards, TJ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: Re[4]: [Flashcoders] Shared fonts
With bitmaps you could use the bitmapdata to draw it in another movie. Yes, but Flash 8 only. Beautiful solution anyhow… --- erixtekila http://blog.v-i-a.net/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Shared font symbols, dynamic text fields, and Flash Player 7
I'm working on a site which uses shared font symbols in both static and dynamic text fields. In FP8, both work great. In FP7, only static text fields work. I'm wondering if anyone knows the secret trick to get dynamic ones to work as well. Things I've tried: - The SWF with the symbol exported is definitely loading before the SWF which is importing it - Embedding all characters in a dynamic textfield in the source SWF - Embedding all characters in a dynamic textfield in the target SWF - Setting embedFonts to true on the target textfield Any bright ideas? thanks, -josh ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] self published.
I might stand alone on this but these questions popped into my mind before I got to the second paragraph of your post: Why would I want an open channel of communication between my applications (swf's) and you? Why must your utility communicate with your servers? Why would you not create your utility and make it available via the exchange as a component instead? From: [EMAIL PROTECTED] on behalf of Thomas Marbois Sent: Tue 5/30/2006 7:40 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] self published. Hi I have an idea for a self placed utility using Flash. Meaning I allow users to place this utility in their own domains - and I dont know where those domains are -- and my utility allows me real-time communications between their published file - and my servers. What kind of Flash security issues will i have to work around to get this to work on most or all domains? Is this possible? How? Best regards, TJ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] hii
Yeah, this must be some kind of joke lol!! :D On 5/30/06, jim [EMAIL PROTECTED] wrote: I have been away for a week and after reading the stack of 1000 ish mails on this list I had yours is the funniest. I laughed for about 5 mins. Thanks Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of khodam khodesh Sent: 30 May 2006 09:02 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] hii i want flashmx project whit source - Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail Beta. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] self published.
Someone please correct me if I'm wrong, but it would be possible to make a connection between servers using LocalConnection. You'd have to ensure your client swf was assigned an id to authenticate their application to access the data. There would have to be a security model, in other words. Once again I've never done this so take my advice with a grain of salt, but I'm sure interesting things are possible if they are sophisticated enough to drop a crossdomain.xml to give you the ability to distribute components that interact with your data. In this case I have to say Flash would make a compelling choice for your idea. Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] self published.
ah, i think i am going to have to correct you mike. a LocalConnection is for allowint two swf's running in two separate windows on the same machine to talk to each other. On 5/30/06, Mike Britton [EMAIL PROTECTED] wrote: Someone please correct me if I'm wrong, but it would be possible to make a connection between servers using LocalConnection. You'd have to ensure your client swf was assigned an id to authenticate their application to access the data. There would have to be a security model, in other words. Once again I've never done this so take my advice with a grain of salt, but I'm sure interesting things are possible if they are sophisticated enough to drop a crossdomain.xml to give you the ability to distribute components that interact with your data. In this case I have to say Flash would make a compelling choice for your idea. Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] passing variable from email to flash
I'm not entirely sure if these are flash questions, but here goes... I have a couple of question in regards to passing variables from a link embedded in an email to a flash movie. 1. Is it possible to direct people to a specific frame of a flash movie from an email (i.e. if its one swf, can you put them to specific place on the time line). 2. Not knowing how the flash site is set up yet, is it possible to direct them to a specific place in the timeline and then dynamically load in another swf (let's say each page is its only swf being loaded into a main movie on the 10th frame) 3. Is it possible to pass variables by clicking a link in an email so that the system will know the people who come from the email link are members (all people clicking from the email will likely be members) 4. Do the above scenarios involve server side programming? Essentially we would like user to click from an email to a certain page on a flash site, where after a series of activities they would get the opportunity to perform an activity available to members only. If they come from the email link they will be members, but if they have come from a different part of the site, we won't know whether they are members or not. If they aren't, we would invite them to register to become members. If they are, then they can enter their email address and will be prompted for a password. Of course, we will then need to determine what happens when the email is forwarded, but that will be next for us to sort out. Any information or suggestions would be appreciated. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] self published.
socket server? On May 30, 2006, at 7:40 PM, Thomas Marbois wrote: Hi I have an idea for a self placed utility using Flash. Meaning I allow users to place this utility in their own domains - and I dont know where those domains are -- and my utility allows me real-time communications between their published file - and my servers. What kind of Flash security issues will i have to work around to get this to work on most or all domains? Is this possible? How? Best regards, TJ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] passing variable from email to flash
yes, just make your links like this: http://www.example.com/path/to/page.html?variable=value replace variable with the name of a variable you want, and 'value' with whatever value you want to pass. then, in your page.html when you embed the flash movie, you can grab the variable from the url string using javascript (or a server side language) and pass it into the flash movie using flashvars. if you use swfobject, it has a little utility that can grab vars from the url and pass them into the movie, so your embed code would look something like this: div id=flashcontent This text is replaced by the Flash movie. /div script type=text/javascript var so = new SWFObject(movie.swf, mymovie, 200, 100, 7, #336699); so.addVariable(variable1, value1); so.write(flashcontent); /script more info on the script: http://blog.deconcept.com/swfobject/ On May 30, 2006, at 9:06 PM, watch dog barking wrote: I'm not entirely sure if these are flash questions, but here goes... I have a couple of question in regards to passing variables from a link embedded in an email to a flash movie. 1. Is it possible to direct people to a specific frame of a flash movie from an email (i.e. if its one swf, can you put them to specific place on the time line). 2. Not knowing how the flash site is set up yet, is it possible to direct them to a specific place in the timeline and then dynamically load in another swf (let's say each page is its only swf being loaded into a main movie on the 10th frame) 3. Is it possible to pass variables by clicking a link in an email so that the system will know the people who come from the email link are members (all people clicking from the email will likely be members) 4. Do the above scenarios involve server side programming? Essentially we would like user to click from an email to a certain page on a flash site, where after a series of activities they would get the opportunity to perform an activity available to members only. If they come from the email link they will be members, but if they have come from a different part of the site, we won't know whether they are members or not. If they aren't, we would invite them to register to become members. If they are, then they can enter their email address and will be prompted for a password. Of course, we will then need to determine what happens when the email is forwarded, but that will be next for us to sort out. Any information or suggestions would be appreciated. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Shockwave files.
Does anyone know if there is a way to covert shockwave files into media files that can be viewed using windows media player? Can they be converted to streaming video files? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Shockwave files.
SWF files, right? Try FlashAnts' SWF2Video On 5/31/06, Mark Miller [EMAIL PROTECTED] wrote: Does anyone know if there is a way to covert shockwave files into media files that can be viewed using windows media player? Can they be converted to streaming video files? -- Ramon Miguel M. Tayag Managing Director Quirkworks ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Re: NumericStepper in CellRender disappears and gets 256 levels of recursion...
Curious - does anyone have a good example of a NumericStepper CellRender? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Shockwave files.
Does anyone know if there is a way to covert shockwave files into media files that can be viewed using windows media player? Can they be converted to streaming video files? If you have the original Director file you can export it as a Quicktime movie - but most Shockwave files are likely to be interactive in which case streaming makes no sense. But if it's a pure animation, you can do that then convert it to a Windows Media file. David ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Re: NumericStepper in CellRender disappears and gets 256 levels of recursion...
I triple dog dare someone to post a gallery of basic CellRenderers, especially a multiline text field one like the one I'm going to have to put together tomorrow amidst much cranking that no one has posted one online yet that I can find via Google...don't be a chicken, some person with more gumption than I... Really, CellRenderers are so annoying to put together if you don't fool around with DataGrids often, it would be a mammoth boon to have all the basic possible ones covered -- ComboBox, NumericStepper, RadioButton, CheckBox, etc. grimmwerks wrote: Curious - does anyone have a good example of a NumericStepper CellRender? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Shockwave files.
Converting shockwave files into video is a tricky process. If you use any kind of scripting to control the animation, you're likely to have problems. The only good way I know of is to hook a DV deck to a video output on your computer, if it has one. Then, play your shockwave full-screen while you record on the DV deck. There may be some slight quality loss in this process, depending on your hardware. Sometimes it's tricky to set up this kind of rig working, but if you have the user manual to your DV deck, it's not too hard. :) Once you've got the animation on DV, you need to import it back in as an AVI or Quicktime movie, and do your compression on that. -tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Miller Sent: Tuesday, May 30, 2006 10:43 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Shockwave files. Does anyone know if there is a way to covert shockwave files into media files that can be viewed using windows media player? Can they be converted to streaming video files? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] self published.
I think what Mike was getting at was that a SWF hosted on Server A could talk to a SWF hosted on Server B via LocalConnection, provided they were running simultaneously on the same client machine. SWF A could talk to Server A, SWF A could talk to SWF B, and then SWF B could talk to Server B - kind of a bucket brigade of data transfer. For this to work, there are some Flash Player security sandbox issues that you'll have to address. Check out LocalConnection.allowDomain and LocalConnection.allowInsecureDomain. -tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rich Rodecker Sent: Tuesday, May 30, 2006 9:03 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] self published. ah, i think i am going to have to correct you mike. a LocalConnection is for allowint two swf's running in two separate windows on the same machine to talk to each other. On 5/30/06, Mike Britton [EMAIL PROTECTED] wrote: Someone please correct me if I'm wrong, but it would be possible to make a connection between servers using LocalConnection. You'd have to ensure your client swf was assigned an id to authenticate their application to access the data. There would have to be a security model, in other words. Once again I've never done this so take my advice with a grain of salt, but I'm sure interesting things are possible if they are sophisticated enough to drop a crossdomain.xml to give you the ability to distribute components that interact with your data. In this case I have to say Flash would make a compelling choice for your idea. Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Re: NumericStepper in CellRender disappears and gets 256 levels of recursion...
There's a multiline CellRenderer in the Flash 8 documentation. http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/ html/wwhelp.htm?context=LiveDocs_Partsfile=3131.html (Or just search CellRenderer in the Help panel.) I made one based on this code and it worked fine, the only trick being setting the rowHeight of the component to the height of the largest row you need to display. -josh On May 30, 2006, at 9:35p, John Mark Hawley wrote: I triple dog dare someone to post a gallery of basic CellRenderers, especially a multiline text field one like the one I'm going to have to put together tomorrow amidst much cranking that no one has posted one online yet that I can find via Google...don't be a chicken, some person with more gumption than I... Really, CellRenderers are so annoying to put together if you don't fool around with DataGrids often, it would be a mammoth boon to have all the basic possible ones covered -- ComboBox, NumericStepper, RadioButton, CheckBox, etc. grimmwerks wrote: Curious - does anyone have a good example of a NumericStepper CellRender? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] remove html entities
Hi I need to display following html in my flash textfield. This include table tags and html entities(#39;). How to remove this? Any ideas descriptionbrtable border=0 width= valign=top cellpadding=2 cellspacing=7trtd width=80 align=center valign=topa href=http://news.google.co.in/news/url?sa=Tct=in/0i-0fd=Rurl=http://www.news14charlotte.com/content/sports/%3FArID%3D120741%26SecID%3D12cid=1106778913ei=rCB9RPiuNKbSaI7A9YwJ;img src=http://news.google.co.in/news?imgefp=K3aCpAskOEcJimgurl=images.news14charlotte.com/media/2006/5/29/images/0129-mavs.jpg width=79 height=58 alt= border=1brfont size=-2News 14 Charlotte/font/a/tdtd valign=topa href=http://news.google.co.in/news/url?sa=Tct=in/0-0fd=Rurl=http://msnbc.msn.com/id/13056581/cid=1106778913ei=rCB9RPiuNKbSaI7A9YwJ;bNowitzki struggles in Dallas#39; loss/b/abrfont size=-1font color=#6f6f6fbMSNBCnbsp;-/font nobr54 minutes ago/nobr/b/fontbrfont size=-1They don’t bang him. They don’t bump him. They play the run-and-gun game that suits the 7-footer’s skills. Nowitzki had averaged 28.7 points in his first seven games against the Suns this season, but b.../b /fontbrfont size=-1a href=http://news.google.co.in/news/url?sa=Tct=in/0-1fd=Rurl=http://www.forbes.com/home/feeds/ap/2006/05/30/ap2782221.htmlcid=1106778913ei=rCB9RPiuNKbSaI7A9YwJ;Suns Easily Handle Mavs in Game 5/a font size=-1 color=#6f6f6fnobrForbes/nobr/font/fontbrfont size=-1a href=http://news.google.co.in/news/url?sa=Tct=in/0-2fd=Rurl=http://www.usatoday.com/sports/scores106/106150/NBA703704.htmcid=1106778913ei=rCB9RPiuNKbSaI7A9YwJ;Mavericks-Suns Preview/a font size=-1 color=#6f6f6fnobrUSA Today/nobr/font/fontbrfont size=-1 class=pa href=http://news.google.co.in/news/url?sa=Tct=in/0-3fd=Rurl=http://www.nytimes.com/2006/05/31/sports/basketball/31suns.htmlcid=1106778913ei=rCB9RPiuNKbSaI7A9YwJ;nobrNew York Times/nobr/anbsp;- a href=http://news.google.co.in/news/url?sa=Tct=in/0-4fd=Rurl=http://abcnews.go.com/Sports/wireStory%3Fid%3D2022200cid=1106778913ei=rCB9RPiuNKbSaI7A9YwJ;nobrABC News/nobr/anbsp;- a href=http://news.google.co.in/news/url?sa=Tct=in/0-5fd=Rurl=http://seattlepi.nwsource.com/scorecard/nbanews.asp%3FarticleID%3D123629cid=1106778913ei=rCB9RPiuNKbSaI7A9YwJ;nobrSeattle Post Intelligencer/nobr/anbsp;- a href=http://news.google.co.in/news/url?sa=Tct=in/0-6fd=Rurl=http://www.hoopsworld.com/article_17547.shtmlcid=1106778913ei=rCB9RPiuNKbSaI7A9YwJ;nobrHoops World (subscription)/nobr/anbsp;- /fontfont class=p size=-1a class=p href=http://news.google.co.in/news?tab=wnned=inncl=http://msnbc.msn.com/id/13056581/hl=ennobrball 1,210 related/b/nobr/a/font/table/description Rishi -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.8.0/352 - Release Date: 5/30/2006 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com