[Flashcoders] Unicode and shared font

2006-08-17 Thread Pravin Ranjan
Hi, Im working on a multilingual application. I am using shared fonts. Its working very fine for english, german, french and chinese[In some fonts]. But now I need for russian and thai language. Problem is that...when I embed fontstextfield becomes blank for russian and thaiI ve also used

RE: [Flashcoders] OT: Flashmaps - anybody used it before?

2006-08-17 Thread Mike Mountain
There's also this free google map component: http://www.afcomponents.com/map_google/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Rorex Sent: 17 August 2006 04:48 To: Flashcoders mailing list Subject: Re: [Flashcoders] OT: Flashmaps -

RE: [Flashcoders] MovieClip loader IE Caching bug

2006-08-17 Thread Mike Mountain
OK I've narrowed it down to when IE is set to never check or automatic for page update checking in the settings - I can't believe there's so little information out there on such a serious bug. I had to completely scrap using the MovieClip Loader, fortunately there's a few AS2 conversions of qlod

Re: [Flashcoders] Play Sound Backwards or in Slow Motion during RunTime

2006-08-17 Thread Martin Wood
nice, follow the trail and you can get source code for doing audio DSP in flash 9 : http://www.flashcodersbrighton.org/wordpress/?p=9 I knew it would work :) Andy Makely wrote: On 8/11/06, Helmut Granda [EMAIL PROTECTED] wrote: Does anyone knows of a technique to play a sound backwards or

Re: [Flashcoders] passing variable through callback function

2006-08-17 Thread eric dolecki
I am going to assume that this[m+i] is a movieclip created/attached somewhere else. When its attached/created, give it an index number. Then you can use it later. this[m+i].indx = i; //then later in your showImages function... this[m+i].onPress = function() { var nIndex:Number = this.indx;

[Flashcoders] Load Order - bottom up / top down - maybe OT?

2006-08-17 Thread Miles Thompson
Never having had any formal Flash training I've wondered ... Why, when the Load Order in the publishing parameters is set Bottom Up does the .swf compile from top down? Why is this option even provided? Probably lost in the mists of Flash history, but if anyone knows why and the advantages,

Re: [Flashcoders] OT: Flashmaps - anybody used it before?

2006-08-17 Thread Matthew Ganz
i've been seriously considering using flashmaps for the last couple of weeks. a client of ours really likes the transitions from national-state-country levels as well as the drawing of the counties on the state. i have to say that i really liked it, too. it's a slick looking map component, no

[Flashcoders] Blur background html with flash overlay

2006-08-17 Thread Nick Weekes
Hi all, Im playing with a flash menu that Id like to dynamically show/hide from an html page. The overlay is not a problem using DIV and Z depth, but is there anyway of controlling the parent (background) html in a way similar to the Flex effect when showing dialog boxes etc, i.e. make the

Re: [Flashcoders] OT: Flashmaps - anybody used it before?

2006-08-17 Thread Matthew Ganz
i've been seriously considering using flashmaps for the last couple of weeks. a client of ours really likes the transitions from national-state-country levels as well as the drawing of the counties on the state. i have to say that i really liked it, too. it's a slick looking map component, no

[Flashcoders] How do I make a dynamically created input text box retain text formatting?

2006-08-17 Thread David Sharek
What am I doing wrong here? 1. Copy the code below into a new Flash file and test it. 2. The text in teh box should be selected 3. Try typing in your name 4. Notice that the text format is lost 5. How do I make a dynamically created input text box retain text formatting? //create

Re: [Flashcoders] Blur background html with flash overlay

2006-08-17 Thread eric dolecki
I say darken yes, blur no. You don't have the HTML as a bitmap source to blur, but you could overlay a large semi-transparent mc over the HTML (the .swf would need to be large enough to accommodate this). - e.d. On 8/17/06, Nick Weekes [EMAIL PROTECTED] wrote: Hi all, Im playing with a flash

Re: [Flashcoders] How do I make a dynamically created input text box retain text formatting?

2006-08-17 Thread eric dolecki
I believe all you need to do is to add this line: name_txt.setNewTextFormat( txt_style1 ); - e.d. On 8/17/06, David Sharek [EMAIL PROTECTED] wrote: What am I doing wrong here? 1. Copy the code below into a new Flash file and test it. 2. The text in teh box should be selected 3. Try

Re: [Flashcoders] How do I make a dynamically created input text boxretain text formatting?

2006-08-17 Thread Zeh Fernando
5. How do I make a dynamically created input text box retain text formatting? Try using .setNewTextFormat(), as .setTextFormat() only sets the current (existing) text. - Zeh ___ Flashcoders@chattyfig.figleaf.com To change your

RE: [Flashcoders] Blur background html with flash overlay

2006-08-17 Thread Nick Weekes
Ah yeah of course. Nice idea Eric, thanks dude. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eric dolecki Sent: 17 August 2006 16:13 To: Flashcoders mailing list Subject: Re: [Flashcoders] Blur background html with flash overlay I say darken yes,

[Flashcoders] Workaround for loadvars size limitation

2006-08-17 Thread Randy Tinfow
We wrote an app using the loadvars method to send data back and forth to a database. The app has been succesful, which means that we are pushing up against the limitation in the length of an html query string...64KB. We can't use Flash Remoting in this environment. Any suggestions on how to

[Flashcoders] Fonts in loaded movieclips

2006-08-17 Thread Michael Bedar
I know that shared fonts have been discussed to death, but I need a little clarification on this: I have a main movie, with Font symbols in the library, se to export. I am loading swf's into that movie.. should existing plain d- textfields in the subclips have access to the fonts in the

RE: [Flashcoders] Workaround for loadvars size limitation

2006-08-17 Thread Arva, Adrian
You have to write your own packet distribution system so that you can load a sequence of packets and stitch them together to get your data. Kind of messy but if you are limited not to use Flash Remoting... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [Flashcoders] Workaround for loadvars size limitation

2006-08-17 Thread Chris Hill
The limit on a querystring is not 64KB in browsers, its less than that in browsers: http://www.aspfaq.com/show.asp?id= Anyway, need more information: Are you using GET or POST? Are you limited to one or the other? I've found that you can overload the XML object within flash, and write

RE: [Flashcoders] MovieClip loader IE Caching bug

2006-08-17 Thread Ryan Potter
I ran into the same problem yesterday. Just looked all over for an as2 version of qload and I am not coming up with it. Would you mind posting a link? Thanks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Mountain Sent: Thursday, August 17, 2006

[Flashcoders] FlashDevelop telling me Video has no _visible field

2006-08-17 Thread Andreas Rønning
type error Video have no field _visible What gives? ___ 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

Re: [Flashcoders] MovieClip loader IE Caching bug

2006-08-17 Thread ben farrell
Does anyone know if this applies to Director hosted content as well? I had a Flash game that was hosted in Director. It used the movieclip loader to load external assets. When run in flash alone on my desktop, it work great. But then in Director, the events called when it finished loading

Re: [Flashcoders] Blur background html with flash overlay

2006-08-17 Thread Michel Scoz
or maybe use a javascript to change/replace the body style with another one, with a different background... using a preloaded image. michel. - Original Message - From: eric dolecki [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, August

[Flashcoders] Question about __constructor__

2006-08-17 Thread Helmut Granda
Hello, Could any soul out there help me understand why the __constructor__ and __proto__ are used in the following code: class Application { public static var instance:Application; private function Application(createdBy) { createdBy.__proto__ = this.__proto__;

Re: [Flashcoders] Question about __constructor__

2006-08-17 Thread erixtekila
Could any soul out there help me understand why the __constructor__ and __proto__ are used in the following code: Check this out : http://www.quantumwave.com/flash/inheritance.html And join the rebel alliance :P (very old private joke, ask others) --- erixtekila http://blog.v-i-a.net/

[Flashcoders] Help Getting Size of Text Dynamically

2006-08-17 Thread Aaron Roberson
I am creating a dynamic drop down menu using XML and I am having trouble spacing out each menu item. Is there a way of determing the size of the text in each xml node? Thanks for your help, Aaron P.S. This menu is based on a tutorial at kirupa.com. Here is the XML: ?xml version=1.0

RE: [Flashcoders] Help Getting Size of Text Dynamically

2006-08-17 Thread Merrill, Jason
XML is actually not relevant to the question here. Only the text string you get from it is. Once the text string is in a TextField, you should just be able to use the TextField.textWidth property. Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions

Re: [Flashcoders] Help Getting Size of Text Dynamically

2006-08-17 Thread Aaron Roberson
I'm half way there... I figured out how to resize the movie clip based on the length of the text being loaded from the name attribute of the xml node. I added the following line to my code: curr_item.name.autoSize = left; Now I need to figure out how to make the spacing between each menu item

Re: [Flashcoders] Help Getting Size of Text Dynamically

2006-08-17 Thread Aaron Roberson
Jason, I used textfield.autoSize = left which seems to fix half of my problem. Maybe I can use textfield.textWidth to fix the other half - which is to get the menu items to be evenly spaced from one another and not spaced on a static value. I post back... Aaron P.S. That textfield is name.

Re: [Flashcoders] Help Getting Size of Text Dynamically

2006-08-17 Thread Aaron Roberson
Elena, Option 2 is exactly the track I am currently taking! I am having a hard time adjusting the width of the movie clip based on the length of the text after setting it to auto size. Can you help? Here is my code: for (var i=0; inode_xml.childNodes.length; i++) { // movieclip for each menu

Re: [Flashcoders] Help Getting Size of Text Dynamically

2006-08-17 Thread Aaron Roberson
Elena, Option 2 is exactly the track I am currently taking! I am having a hard time adjusting the width of the movie clip based on the length of the text after setting it to auto size. Can you help? Here is my code: for (var i=0; inode_xml.childNodes.length; i++) { // movieclip for each menu

Re: [Flashcoders] Blur background html with flash overlay

2006-08-17 Thread Maximilian Reuss
you could also implement a use of the lightbox Javascript. http://www.huddletogether.com/projects/lightbox/ this places an layer above the content. max am Donnerstag, 17. August 2006 um 21:14 schrieben Sie: or maybe use a javascript to change/replace the body style with another one, with a

Re: [Flashcoders] Help Getting Size of Text Dynamically

2006-08-17 Thread John VanHorn
there are many ways to do the spacing. if your mc is sized after the width of the textfield, just add the witdh of the mc to its _x plus the 15px for spacing to get the _x of the next mc. On 8/17/06, Aaron Roberson [EMAIL PROTECTED] wrote: I'm half way there... I figured out how to resize the

Re: [Flashcoders] Help Getting Size of Text Dynamically

2006-08-17 Thread Aaron Roberson
John, That is what I am trying to do but it's not working for some reason. Can you detect any problem or give me a suggestion with the following code: for (var i=0; inode_xml.childNodes.length; i++) { // movieclip for each menu item curr_item =

RE: [Flashcoders] Help Getting Size of Text Dynamically

2006-08-17 Thread Ryan Potter
Hey Aaron. The problem that I can see is that you are setting the x to the x of the current item, hence you are setting it to its own width. If you are trying to space them across the screen horizontally you need to get the x and width of the last clip. Another way to do it is to get the width

Re: [Flashcoders] Help Getting Size of Text Dynamically

2006-08-17 Thread Aaron Roberson
Ryan, I went with option number 1 and it is working like a champ. I did change one little thing: last_item = curr_menu[item+i-1+_mc]; to last_item = curr_menu[item+(i-1)+_mc]; But it works wonderfully now. Thank you all for your help! -Aaron On 8/17/06, Ryan Potter [EMAIL PROTECTED] wrote:

[Flashcoders] Flash 7,8,9 , AS 2 and 3 - clarify the situation

2006-08-17 Thread GregoryN
Hello Flashcoders, I'm a bit confused with waterfall of all these new terms :-). Can't find all answers at the Adobe site so far... As far as I can judge, current Flash version is 8, but - on product and Version Penetration pages it's 8 - latest Flash Player offered is v.9 - you're discussing

Re: [Flashcoders] Flash 7,8,9 , AS 2 and 3 - clarify the situation

2006-08-17 Thread Claus Wahlers
Gregory, The latest Flash IDE is the Flash 8 IDE. The latest Flash Player is Flash Player 9. The Flash 9 IDE is currently in public alpha test, and can be downloaded from http://labs.adobe.com/ (You need a valid Flash 8 IDE serial number to run it though). The new IDE is expected to be