Re: [Flashcoders] Problem with .as files

2005-10-25 Thread Chris Hill
Yes, I've run into this before, and its very annoying. Is there any workaround that you found? I. Franklin wrote: Thank you very much for all your responses. I tried clearing the ASO files, but even then the problem persisted. The problem actually was this :

Re: [Flashcoders] FileReference class [Get path of a selected file]

2005-10-25 Thread Michael Bedar
The file browser window? On OSX i get a normal mac FB - resize and all... On Oct 25, 2005, at 1:52 AM, Michael Stuhr wrote: Muzak schrieb: Which makes it completly useless running from the local file system :/ (which was probably their intention) But why on earth does this have to

[Flashcoders] illegal URL-character?

2005-10-25 Thread Martin Klasson
Hi people. This might now be really flash-related, but it is though a part of the process and problems that can occur. I got files named like config{ip-to-local}.swf my concern is if the {}-characters in filenames on different servers does work? I have tested it on a w2k and a w2003 server

Re: [Flashcoders] FileReference class [Get path of a selected file]

2005-10-25 Thread Muzak
Can you elaborate on that: normal mac FB - resize and all (???) When using the following: import flash.net.FileReference; var listener:Object = new Object(); function onSelect (file:FileReference):Void { trace(file.name); }; var fileRef:FileReference = new FileReference();

Re: [Flashcoders] javascript function SetVariable doesn't work withFlash Player 8

2005-10-25 Thread Martin Wood
Stan Vassilev wrote: If you run this offline, make sure this file you test is in the trusted list. You gotta go to the advanced flash panel hosted on macromedia.com to do this. but surely therein lies a paradox. if i want to run it offline, you must first go online?

RE: [Flashcoders] OT: Flash player keeps 'downgrading' itself

2005-10-25 Thread Mike Mountain
More info: http://blog.fuelindustries.com/archives/000108.htm -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Mountain Sent: 25 October 2005 09:46 To: Flashcoders mailing list Subject: RE: [Flashcoders] OT: Flash player keeps 'downgrading'

RE: [Flashcoders] More than 1 font in textfield

2005-10-25 Thread Bernard Visscher
Hi Franto, Yes this is possible. You create a (few) textfield(s) that embeds alle needed fonts and bold/italic etc. Then you assign a stylesheet to the field you want to use with multiple fonts or just use: font face=font1Font1 test/fontfont face=font2bFont2 bold test/b/font Greetz, Bernard

Re: [Flashcoders] Problem with .as files

2005-10-25 Thread eugen pflüger
maybe namespaces would help?! class com.domain.className {} Am 25.10.2005 um 09:00 schrieb I. Franklin: What I do is, while compiling the swfs, I make sure that I have the latest .as files(all other developers' .as files also who collborate on the same project) in my system. Other

Re: [Flashcoders] Measuring the height of a dynamically created text field.

2005-10-25 Thread David Lochhead
Thanks guys. If only I had known about the getTextExtent() method before! Back to school for me! Thanks again, Dave On 10/24/05, Michael Klishin [EMAIL PROTECTED] wrote: David Lochhead wrote: This outputs 16 for the height and 300 for the width. The actual height of the textfield, via

Re: AW: [Flashcoders] AS3.0 only projects + flex framework

2005-10-25 Thread Weyert de Boer
Hi Spike, Specifically, you need to launch the file by clicking on the debug button in Eclipse rather than just browsing to the file. Yes, after following the tutorial for AS only project, I have set a breakpoint on a trace() and then hit the debug button. Nothing really happens neither

Re: AW: [Flashcoders] AS3.0 only projects + flex framework

2005-10-25 Thread Spike
When you say Nothing really happens, what exactly does happen? Does the browser open the file? Do you get an error? Spike On 10/25/05, Weyert de Boer [EMAIL PROTECTED] wrote: Hi Spike, Specifically, you need to launch the file by clicking on the debug button in Eclipse rather than just

Re: AW: [Flashcoders] AS3.0 only projects + flex framework

2005-10-25 Thread Weyert de Boer
Spike wrote: When you say Nothing really happens, what exactly does happen? Does the browser open the file? Yes, the browser opens. After that it keeps trying to accesss www.macromedia.com in the browser (Firefox) in the status bar. Earlier I got a window asking where the debugger is. Not

RE: [Flashcoders] full browser flash + vertical html scrollbar

2005-10-25 Thread Nick Weekes
Why not use separate swf's and html pages, one for the scaled stuff (set publish settings at 100% html size for height and width), and then another with publish settings of Match Movie for the scrollable text (using the scrollbar component)? Cheers, Nick -Original Message- From: [EMAIL

Re: AW: [Flashcoders] AS3.0 only projects + flex framework

2005-10-25 Thread Spike
Can you post the code for the file you are trying to debug? It sounds like the debugger is probably running, but the line where you have set the breakpoint isn't being executed. Spike On 10/25/05, Weyert de Boer [EMAIL PROTECTED] wrote: Spike wrote: When you say Nothing really happens, what

RE: [Flashcoders] Modifying Tree components highlight

2005-10-25 Thread Mark Mulhollam
Claudia, I think you can get there by doing something like the following. The tricky part is figuring out the relationship of the other node to highlight to the node you are presently selecting. Here I just highlighted two nodes down the tree. Note that the tree only considers open nodes in

Re: [Flashcoders] full browser flash + vertical html scrollbar

2005-10-25 Thread Mike Britton
Another solution would be a three-pronged approach: have a fullscreen swf that loads in another swf containing a ScrollPane component at 0,0. Pass Stage.width and Stage.height to the swf containing the ScrollPane (to resize it), and load in the content (your site). This would give you all the

[Flashcoders] Shortcut keys in debug mode (Flash IDE)

2005-10-25 Thread Nick Weekes
Hi all, Are there any keyboard shortcuts for the debug options (Step Over/Step Into etc) for the Flash 8 IDE? Cheers, Nick ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Tween not working in AS

2005-10-25 Thread Mendelsohn, Michael
Don't know if it matters, but I always assign the Tweens to a var name. That way, you can refer to them later, with onMotionFinished, etc. - MM -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Bedar Sent: Tuesday, October 25, 2005 3:35 AM To:

RE: [Flashcoders] More then once

2005-10-25 Thread Alistair Miller
I haven't had that problem -Original Message- From: John Giotta [mailto:[EMAIL PROTECTED] Sent: 25 October 2005 13:50 To: Flashcoders mailing list Subject: [Flashcoders] More then once Is it just me or anyone else receiving multiple instances of the same emails? For example, I've

RE: [Flashcoders] More then once

2005-10-25 Thread Alistair Miller
I haven't had that problem -Original Message- From: John Giotta [mailto:[EMAIL PROTECTED] Sent: 25 October 2005 13:50 To: Flashcoders mailing list Subject: [Flashcoders] More then once Is it just me or anyone else receiving multiple instances of the same emails? For example, I've

[Flashcoders] Can't Install Debug Flash Player

2005-10-25 Thread JesterXL
Not sure in what order this happened, but I cannot install the Flash Player 8 debug player, and the Flash Player 7 Debug player for IE (ActiveX) is not allowing FlexBuilder 1.5 to debug. I re-installed the FlexBuilder2 alpha today and that's when my troubles started. I installed Flash Player 8.5

[Flashcoders] What's This Mean?

2005-10-25 Thread jleonard
I have just separated out my as code into different pages. The init.as page is now showing this error where before it worked fine. Any help greatly appreciated... **Error** C:\Documents and Settings\PC2005\My Documents\flash player\init.as: Line 5: ActionScript 2.0 class scripts may

RE: [Flashcoders] Can't Install Debug Flash Player

2005-10-25 Thread Hauwert, Ralph
I'm using Kewbee's plugin switcher to solve this. It works like a charm. Install the Flex Builder 2 ide. Open up kewbee, and the player will be copied to the kewbee folder automatically. Ralph. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL

[Flashcoders] Multilanguage sites

2005-10-25 Thread daniel clarke
I've been approached to put together a site which will ultimately have 10 language variations (some of which dont use the latin alphabet). Were thinking XML driven content for a start, but what are the major pitfals to look out for when putting a multilanguage site togehter. I've done some top

[Flashcoders] serialize object

2005-10-25 Thread Florian Metzger - Neodelight
i want to serialize the shared object and dump it into a text file and later deserialze the shared object from that text file. does anybody have a script or class for that ? if not, i'll write one... does anybody else need stuff like that ? flow motion

[Flashcoders] Email on behalf of

2005-10-25 Thread Tracy Rice
In my inbox (outlook) I see all of our names displayed. I know how to do that (my name [EMAIL PROTECTED]). But I'm trying to duplicate what is displayed in the From field when you open the email ([EMAIL PROTECTED] on behalf of My Name [EMAIL PROTECTED]). I'm sending variables from flash to a

Re: [Flashcoders] What's This Mean?

2005-10-25 Thread James O'Reilly
It all depends on how you use the .as files. You can either INCLUDE them or IMPORT them. You import classes and include external code. The error you're getting like is a result of importing your script instead of including it. Try using include: #include yourscript.as Notice no semicolon

RE: [Flashcoders] Can't Install Debug Flash Player

2005-10-25 Thread Hauwert, Ralph
Sorry, that wasn't a very complete post; here's the link : http://www.kewbee.de/FlashPluginSwitcher/ It will take you some time to download all old players and set it up, but when you get it running, it's really a charm to work and test with. Ralph. -Original Message- From: [EMAIL

Re: [Flashcoders] What's This Mean?

2005-10-25 Thread Chris Hill
Yes, working with your AS in an external editor is much better than having it haphazardly placed in a bunch of different clips. But if you just want to place your internal code into an external file there are a couple things to know: If you just want to include your code into flash, you use

[Flashcoders] AS3 and Flex if you are in NYC

2005-10-25 Thread Jean-Charles Carelli
If you are in New York city, don't miss tonight's FlashCodersNY.org meeting. This will be the first in a series of sessions that cover AS3 and Flex. To learn more about our study group goto: http://flashcodersny.org/? page_id=13 PLEASE reply with any questions off list. Best,

Re: [Flashcoders] Can't Install Debug Flash Player

2005-10-25 Thread JesterXL
My problem arises when I uinstall Flex Builder 2. IE has Flash Player 8, but can't install the debug player. I've tried the solutions from the following threads, all to no avail: http://www.northcode.com/forums/showthread.php?threadid=6024

Re: [Flashcoders] LocalConnection in Flex 2

2005-10-25 Thread John Giotta
I heard it isn't implemented yet. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] What's This Mean?

2005-10-25 Thread g.wygonik
are you using #include or import to pull in your external .AS file? if you JUST have code in your .AS file, you need to use #include: #include init.as if you have full class code, then you use import: import init; // which resides in init.as sounds like you're using import when you should be

[Flashcoders] OK to ask about X Factor Studio here?

2005-10-25 Thread Miles Thompson
Is it OK to ask an XPath / X Factor Studio question here? Miles Thompson ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] remove an attached movie?

2005-10-25 Thread lists
Hi there - I have some code in which I attach a movie from my library. this.attachMovie(level1Mc, l1_mc, 10); Now depending on button presses, there are other movies attached and replacing previous ones... so what I am wondering, is there a way to clear a level? So for example when i click a

RE: [Flashcoders] serialize object

2005-10-25 Thread Shaw, Matt
Take a look at the XML-RPC standard. It could give you some ideas for serializing object hierarchies into text. It only supports common data types since it supposed to transcend languages, but you could build in some smarter class instantiation. http://xmlrpc.com

Re: [Flashcoders] More then once

2005-10-25 Thread David Rorex
I got two copies of alistair's email as well. I'm just assuming it's an incorrectly configured or dumb email client. -David R On 10/25/05, Cedric Muller [EMAIL PROTECTED] wrote: but I received this message twice!! Cedric I haven't had that problem -Original Message- From:

Re: [Flashcoders] What's This Mean?

2005-10-25 Thread Kent Humphrey
James O'Reilly wrote: It all depends on how you use the .as files. You can either INCLUDE them or IMPORT them. You import classes and include external code. The error you're getting like is a result of importing your script instead of including it. Try using include: #include

Re: [Flashcoders] Can't Install Debug Flash Player

2005-10-25 Thread JesterXL
Already did that. Additionally, Flash Plugin Switcher does not come with the Flash 8 debug, just the regular player. - Original Message - From: John Giotta [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Tuesday, October 25, 2005 11:17 AM Subject:

Re: [Flashcoders] LocalConnection in Flex 2

2005-10-25 Thread Muzak
LOL, I didn't do a thing.. just copy/paste from the docs ;-) Well, I did test it though.. Muzak - Original Message - From: Spike [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, October 26, 2005 12:08 AM Subject: Re: [Flashcoders]

Re: [Flashcoders] LocalConnection in Flex 2

2005-10-25 Thread Spike
That's kinda funny, I copied mine directly from the docs for the LocalConnection class. The only bits I changed were to display a text field rather than using trace to output info. Where in the docs did you find the example you posted? Spike On 10/25/05, Muzak [EMAIL PROTECTED] wrote: LOL, I

Re: [Flashcoders] LocalConnection in Flex 2

2005-10-25 Thread Spike
Never mind, Found the code for your example under Communicating with the Browser in the Developing Flex Apps part of the docs. Spike On 10/25/05, Spike [EMAIL PROTECTED] wrote: That's kinda funny, I copied mine directly from the docs for the LocalConnection class. The only bits I changed

Re: [Flashcoders] Multilanguage sites

2005-10-25 Thread ryanm
Make sure you encode your XML as UTF-8, if possible, write a good schema for your data format (this is not easy) and if file size is a serious consideration(which it always is), Keep in mind that you can use compression on your XML, pretty much all browsers support it. ryanm

[Flashcoders] imports available to entire flash file

2005-10-25 Thread lists
Is there a way to import certain classes for use throughout the entire flash file? Or do I need to import for each timeline? :: Dustin :: ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] targets driving me insane

2005-10-25 Thread Liu, Kai M
Just go through your code again and identified the problem. You should get undefined in the 2nd lot of traces. Because your l2Product_mc is created ONLY when l1_mc.product_btn is pressed. However, this.l2Product_mc.mens_btn.onPress = function():Void established before l2Product_mc is created.

[Flashcoders] ActionScript and sockets

2005-10-25 Thread Weyert de Boer
Hello! I have been playing with the new Socket class for binary sockets. The current code ain't talking to binary yet. It's just doing a simple HTTP Request which /seems/ work. Please don't look at the code or implementation that's really smelly. Anyone already able to use buttons or

[Flashcoders] RE: Multilanguage sites

2005-10-25 Thread Benjamin Durin
My advice: DO NOT use different character sets. Stick with Unicode (UTF-8). My games in Flash are in French, English and Chinese. Flash handles Unicode natively so I have the different translations in one single file (they are small games so it doesn't take much space). Our database handles

Re: [Flashcoders] serialize object

2005-10-25 Thread Campbell Anderson
Depends if your using as3it has it built in :o) Cam On 10/25/05, Florian Metzger - Neodelight [EMAIL PROTECTED] wrote: i want to serialize the shared object and dump it into a text file and later deserialze the shared object from that text file. does anybody have a script or class for