Re: [Flashcoders] Caret position coords

2006-01-03 Thread Andreas Rønning
Except getTextExtent() is deprecated with no replacement since 8 O_o Why is that? - Andreas Kalle Thyselius, inlovewith wrote: i remember doing this a few years ago, using — a loop (filling the textfield) and autoSize=true to determine if there was a line break (you could determine this in

[Flashcoders] (no subject)

2006-01-03 Thread lieven.cardoen
Does anybody of you guys know if a replace like this is possible in eclipse : I have a number of files all with names like assessmentitem_15845.xml. In each of these files, I have to replace a number (always 14772) with 15845 (comes from name of file). thx Vriendelijke groeten,

[Flashcoders] Craig Swann

2006-01-03 Thread Weyert de Boer
Does anyone got some sort of contact details of Craig Swann? I would like to ask him something about his presentation he did at Spark last year. Only he ain't responding on [EMAIL PROTECTED] Maybe someone else on this know some better way to contact him? Yours, Weyert de Boer

Re: [Flashcoders] Flash Player 8.5 - Illegal Operation caused by ?

2006-01-03 Thread ryanm
Firefox 1.0.6 also reports many syntax errors: Source Code: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN This is just Firefox being particular about the html being what it says it is. You need to remove these doctype tags from the top of the page, because it will never be

Re: [Flashcoders] Flash Player 8.5 - Illegal Operation caused by ?

2006-01-03 Thread Michael Stuhr
ryanm schrieb: Firefox 1.0.6 also reports many syntax errors: Source Code: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN This is just Firefox being particular about the html being what it says it is. You need to remove these doctype tags from the top of the page, because it

Re: [Flashcoders] (no subject)

2006-01-03 Thread Sander
I have a number of files all with names like assessmentitem_15845.xml. In each of these files, I have to replace a number (always 14772) with 15845 (comes from name of file). Lieven, I'm using a batch rename tool on Mac, called R-name. renames patterns, add stuff, replaces extensions,...

[Flashcoders] Change layer/path of a MovieClip

2006-01-03 Thread Minase
Hi, I was hoping someone would be able to help me with a problem i've been fiddling with for a long time. I would have thought it's fairly common, but Googling and searching this ML archive has yeilded nothing, so... I have a fairly complex application using Flash which i wont bore you all with

Re: [Flashcoders] Flash Player 8.5 - Illegal Operation caused by ?

2006-01-03 Thread eric dolecki
Ok - I am working on fixing up those errors - but that still doesn't tell me what is bombing the 8.5 player yet. Perhaps after a rev that might go away or something. edolecki On 1/3/06, Michael Stuhr [EMAIL PROTECTED] wrote: ryanm schrieb: Firefox 1.0.6 also reports many syntax errors:

[Flashcoders] TextFormat constructor

2006-01-03 Thread Mendelsohn, Michael
Hi list... I thought you could instantiate a TextFormat object like this: var tf:TextFormat = new TextFormat(underline:true, color:0xFF); But that doesn't work as there's a compile error. Why? - MM ___ Flashcoders mailing list

[Flashcoders] a Flash coding question

2006-01-03 Thread Tom Sakell
Hello all: I've a pesky Flash question, and since it's a new Year, I'm going to move beyond lurker on this list. So. On my site, I use Flash news boxes: Scrolling text boxes that are populated by a TXT file outside the SWF file. They're easy to upload, assign to others, etc. The coding is simple

Re: [Flashcoders] a Flash coding question

2006-01-03 Thread Johannes Nel
set it to html text as well On 1/3/06, Tom Sakell [EMAIL PROTECTED] wrote: Hello all: I've a pesky Flash question, and since it's a new Year, I'm going to move beyond lurker on this list. So. On my site, I use Flash news boxes: Scrolling text boxes that are populated by a TXT file outside

Re: [Flashcoders] a Flash coding question

2006-01-03 Thread Miles Thompson
If necessary, feed XML with CDATA tag, on top of setting text field to htmlText. Miles At 10:07 AM 1/3/2006, Johannes Nel wrote: set it to html text as well On 1/3/06, Tom Sakell [EMAIL PROTECTED] wrote: Hello all: I've a pesky Flash question, and since it's a new Year, I'm going to move

Re: [Flashcoders] Flash Player 8.5 - Illegal Operation caused by ?

2006-01-03 Thread Michael Stuhr
eric dolecki schrieb: Ok - I am working on fixing up those errors - but that still doesn't tell me what is bombing the 8.5 player yet. Perhaps after a rev that might go away or something. err, sure it is not. just wanted to point out that there is a solution for the markup you may want to use.

RE: [Flashcoders] Change layer/path of a MovieClip

2006-01-03 Thread Johan Karlsson
Methods 1 and 2 is not possible. A movieclip can only be attached to a timeline inside the owning swf. One dirty fix would be to do the second load emidiatly after the module has loaded. Since that usually would mean it loading from the cache it would load to the next frame. And don't consider

[Flashcoders] Camera oddities

2006-01-03 Thread Weyert de Boer
Hello! I am playing with my new web camera in Flash 8. It works fine in Firefox (tried it with:http://www.macromedia.com/devnet/flash/articles/webcam_motion_print.html). Only when I used the included source files in Flash 8 nothing happens. It only popups the allow/deny popup

RE: [Flashcoders] Camera oddities

2006-01-03 Thread Robert A. Colvin
Make sure you check your global settings for flash8---http://www.macromedia.com/support/documentation/en/flashpl ayer/help/settings_manager02.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Weyert de Boer Sent: Tuesday, January 03, 2006 10:33 AM

Re: [Flashcoders] Change layer/path of a MovieClip

2006-01-03 Thread Michael Bedar
You cannot change the parent of a movieclip in Flash 8, although from what I understand about 8.5 this will be possible. If you want a movieclip on the root, why not make it there? tmp_mc=_root.attachMovie('blankClip', 'mc'+depth, depth); tmp_mc.loadMovie(moduleName+'.swf'); code to

Re: [Flashcoders] TextFormat constructor

2006-01-03 Thread Derek Vadneau
underline:true isn't valid, unless you are building an anonymous object. You can pass the values like this but they're not named. You have to pass the values in the order shown in the docs. It would have been a lot more useful if you could pass an object ... Derek Vadneau - Original

Re: [Flashcoders] Camera oddities

2006-01-03 Thread Weyert de Boer
Works now. No idea, what the problem was. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] recommended books on XML in Flash

2006-01-03 Thread Merrill, Jason
Whatever you do, don't buy Flash and XML: A Developers Guide by Dov Jacobsen and Jesse Jacobsen - Addison-Wesley Press - besides being Flash 5, the book sucks. You get the impression these guys are much more into XML than Flash. If they even use Flash at all in their professional lives.

[Flashcoders] Components development: collection item class problems

2006-01-03 Thread Michael Klishin
Hi, I'm developing a component and running into troubles with Collections. I'm consistently getting error that says collection items class is not found. If I just create an instance of that class in code in the same .FLA I see no errors. Furthermore if I start it all over compiler see no

RE: [Flashcoders] recommended books on XML in Flash

2006-01-03 Thread Merrill, Jason
Yes - I agree - I would actually recommend people learn to use something like XPATH in Flash - should be able to get enough help from their site and from this list. Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED]

Re: [Flashcoders] Components development: collection item class problems

2006-01-03 Thread JesterXL
Ensure it's getting compiled in. Import is not enough. import mx.something.TheCollectionClass; private var dependCollection:TheCollectionClass; - Original Message - From: Michael Klishin [EMAIL PROTECTED] To: Flashcoders ML flashcoders@chattyfig.figleaf.com Sent: Tuesday, January 03,

[Flashcoders] RE: Flashcoders Digest, Vol 12, Issue 4

2006-01-03 Thread Tom Sakell
Johannes: Thanks for the excellent suggestion. I jumped back into my MX file and ... can't find the HTML button that used to be a simple click in older versions. Suggestions anyone? Thanks much. Message: 8 Date: Tue, 3 Jan 2006 09:07:28 -0500 From: Johannes Nel [EMAIL PROTECTED]

RE: [Flashcoders] recommended books on XML in Flash

2006-01-03 Thread Adrian Lynch
Thanks for that link. It's a good read. Ade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Sander Sent: 03 January 2006 17:53 To: Flashcoders mailing list Subject: Re: [Flashcoders] recommended books on XML in Flash Indeed: a good book on Xpath and

RE: [Flashcoders] RE: Flashcoders Digest, Vol 12, Issue 4

2006-01-03 Thread Henry @ Tonic
If you're in Flash 8, it's the button that looks like a pair of angle brackets. I should add, that if you *really* want to stick with text files, you could replace special characters with URLEncoded entities (like, %26 for ampersand) and it should work. But I wouldn't recommend it ;)

Re: [Flashcoders] DV cameras and flash

2006-01-03 Thread Sander
Weyert, Only my question is if it's possible to use a DV camera for the real installation instead of such webcam. On Mac, any video source is good. I have an old Hi8 camera hooked up to an analog Miro Motion DC30 card using a non-official OSX driver. My entire system sees it, so does

Re: [Flashcoders] DV cameras and flash

2006-01-03 Thread Weyert de Boer
Hi Sander, Thanks! This is great news can I say that when the camera works iMovie HD it will work with Flash too? I don't have such good quality camera at room at the moment, so I won't be able to test it out. Good reason to use my Apple too ;-) Yours, Weyert de Boer Weyert, Only my

Re: [Flashcoders] Flash Lite 2.0

2006-01-03 Thread JesterXL
It's actually free currently if you go through the checkout process, you'll see it subtracts the full price form the total, equaling $0. - Original Message - From: Joe Cutting [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, January 03, 2006 1:23 PM Subject:

RE: [Flashcoders] Flash Lite 2.0

2006-01-03 Thread Merrill, Jason
Wow, they're *selling* the player? Stupid move IMO. Also the store download page before you purchase says: This product is not refundable. The player is offered as is. And, you have to give them the serial number of the phone in order to buy the player. Perhaps for good reason, but some

Re: [Flashcoders] Flash Lite 2.0

2006-01-03 Thread JesterXL
This is an ld debate. I can't find the context weblog links but basically: - normal consumers wouldn't buy FlashLite from the Macromedia.com store. It would come pre-installed on their phones like Flash Lite 1.1 does already on some. - Macromedia has a different business model around

RE: [Flashcoders] Flash Lite 2.0

2006-01-03 Thread John Hattan
From: JesterXL [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 03, 2006 12:53 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Flash Lite 2.0 It's actually free currently if you go through the checkout process, you'll see it subtracts the full price form the total, equaling

Re: [Flashcoders] Flash Lite 2.0

2006-01-03 Thread Weyert de Boer
JesterXL wrote: This is an ld debate. I can't find the context weblog links but basically: - normal consumers wouldn't buy FlashLite from the Macromedia.com store. It would come pre-installed on their phones like Flash Lite 1.1 does already on some. - Macromedia has a different business

Re: [Flashcoders] Flash Lite 2.0

2006-01-03 Thread Weyert de Boer
Well, it works fine on my Nokia 6681. Are their any limitations about the amount of times your can redownload a product from the online store? Normally I buy my software at TechData to get a nice retail box for on the bookcloset. Hmm, time to fix my bluetooth on my Windows notebook...

Re: [Flashcoders] Flash Lite 2.0

2006-01-03 Thread John Dowdell
Merrill, Jason wrote: Wow, they're *selling* the player? Stupid move IMO. Well, we should always examine all possibilites, but somehow ;-) For you, use Labs. Like Jesse said, the download cost for developers is nullified at the Store, once you get the authoring kit. (I think the $10

Re: [Flashcoders] RE: Flashcoders Digest, Vol 12, Issue 4

2006-01-03 Thread Troy Rollins
On Jan 3, 2006, at 1:09 PM, Henry @ Tonic wrote: I should add, that if you *really* want to stick with text files, you could replace special characters with URLEncoded entities (like, %26 for ampersand) and it should work. But I wouldn't recommend it ;) How do you then deal with

RE: [Flashcoders] Print line numbers for AS file

2006-01-03 Thread tech
I just tried SEPY. While it does print the line numbers, it doesn't print the syntax color coding. You think this simple feature would have been included in Flash 8. Oh well. I remember downloading an extension for HomeSite+ that enables color coding for Actionscript. I'll try that. Thanks for

Re: [Flashcoders] Print line numbers for AS file

2006-01-03 Thread Weyert de Boer
tech wrote: I just tried SEPY. While it does print the line numbers, it doesn't print the syntax color coding. You think this simple feature would have been included in Flash 8. Oh well. I remember downloading an extension for HomeSite+ that enables color coding for Actionscript. I'll try

[Flashcoders] How does flash lite 2.0 handle network access

2006-01-03 Thread hank williams
If I want to progressively download an mp3 and then play it, or I just want to do an http access to grab some data does all of that work. Thanks Hank ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] How does flash lite 2.0 handle network access

2006-01-03 Thread Weyert de Boer
Hi Hank, Flash Lite has a limit on the number of network requests, meaning you can only do five per frame and a maximum of ten (was four in 1.1) connections at the same time. You should be aware that this means all requests including XML.load() or loadVariables etc. The support of mp3

Re: [Flashcoders] How does flash lite 2.0 handle network access

2006-01-03 Thread JesterXL
On the networking side, you need to have a data plan for your phone. I've got Media Net through Cingular which gives me text, multimedia messengeing, pop email, and web access. In Flash Lite 1.1, when doing a network request, it would throw a popup for the user, letting them know Flash needed

Re: [Flashcoders] How does flash lite 2.0 handle network access

2006-01-03 Thread Weyert de Boer
JesterXL wrote: On the networking side, you need to have a data plan for your phone. I've got Media Net through Cingular which gives me text, multimedia messengeing, pop email, and web access. Yes, it should work with a WAP plan/membership too. It worked until I switch networks. :-)

Re: [Flashcoders] How does flash lite 2.0 handle network access

2006-01-03 Thread hank williams
Weyert, I dont quite understand. I never use frames. So since all my code is always in the first frame does that mean that for the life of my app I could only make ten network calls no matter how long it was running? That would be incredible. If so does this make it impractical to check the

Re: [Flashcoders] How does flash lite 2.0 handle network access

2006-01-03 Thread JesterXL
You may not use frames, but Flash Player internally does. Do a function onEnterFrame, and you'll see what Weyert means. So, basically, if you do this: loadMovie(cow1.jpg); loadMovie(cow2.jpg); loadMovie(cow3.jpg); loadMovie(cow4.jpg); loadMovie(cow5.jpg); It'll work, but this:

Re: [Flashcoders] How does flash lite 2.0 handle network access

2006-01-03 Thread Weyert de Boer
Hi Hank, The Sound-class available and his loadSound and/or attachSound() methods, that means it supports progressive downloads, right? (Not sure at the moment I have the feeling I mixing terms, atm) Yours, Weyert de Boer ___ Flashcoders mailing

Re: [Flashcoders] How does flash lite 2.0 handle network access

2006-01-03 Thread hank williams
On 1/3/06, Weyert de Boer [EMAIL PROTECTED] wrote: Hi Hank, I dont quite understand. I never use frames. So since all my code is always in the first frame does that mean that for the life of my app I could only make ten network calls no matter how long it was running? That would be

Re: [Flashcoders] How does flash lite 2.0 handle network access

2006-01-03 Thread Weyert de Boer
Good explanation mate ;-) That's what we meant. hehe. I think I am gonna sleep, tomorrow is it the big lets hope the guys and girls in flashcoders know how I can make fix bitmapdata problem-day. :-) ___ Flashcoders mailing list

Re: [Flashcoders] How does flash lite 2.0 handle network access

2006-01-03 Thread hank williams
Yeah, that sounds right. But I dont know how you could play a sound if it doesnt support mp3. I wonder what the baseline assumption is for flash lite and whether you are supposed to be able to assume that the sound class works normally, by playing mp3s. Regards Hank On 1/3/06, Weyert de Boer

Re: [Flashcoders] DV cameras and flash

2006-01-03 Thread Sander
Weyert, can I say that when the camera works iMovie HD it will work with Flash too? I think iMovie is more restrictive, as it works only with DV camera's. iMovie wouldn't work with my analog source. Macrobe has this on their technote (seems to apply to Windows only): Video is captured

Re: [Flashcoders] How does flash lite 2.0 handle network access

2006-01-03 Thread Weyert de Boer
hank williams wrote: Yeah, that sounds right. But I dont know how you could play a sound if it doesnt support mp3. I wonder what the baseline assumption is for flash lite and whether you are supposed to be able to assume that the sound class works normally, by playing mp3s. The movie should just

Re: [Flashcoders] How does flash lite 2.0 handle network access

2006-01-03 Thread Weyert de Boer
Limits per frame: network requests = 5 simultaneous connections = 10 this all includes also local requests and Flahs Lite 2 only :) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] flash 8 file reference upload on macs

2006-01-03 Thread Ryan Matsikas
We've expeirenced this problem on a few occasions, the easy work around is to monitor the onProgress event and manually fire the complete event. Cheers, Ryan On 1/2/06, Adam Procter [EMAIL PROTECTED] wrote: Hello, Any body know or have seen this before ? Thanks Adam I have used the file

RE: [Flashcoders] Print line numbers for AS file

2006-01-03 Thread tech
I found an ActionScript parser for HomeSite at: http://be.nw.com.au/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of tech Sent: Tuesday, January 03, 2006 2:07 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Print line numbers for AS file I

Re: [Flashcoders] flash 8 file reference upload on macs

2006-01-03 Thread bryan.rice
On Jan 3, 2006, at 5:31 PM, Ryan Matsikas wrote: We've expeirenced this problem on a few occasions, the easy work around is to monitor the onProgress event and manually fire the complete event. Oddly enough, I have experienced the opposite and in found you can't rely on the onProgress

[Flashcoders] Extending the XML class

2006-01-03 Thread Rifled Cloaca
Hi! I'm new to AS2, and I'm trying to convert some old AS1 code to AS2. This code uses XML.prototype to add functionality to the XML class (which is based on the XMLNode class, but you knew that already). I'm creating a new class like this: dynamic class core.EXML extends XML { } This new XML

[Flashcoders] Actionscript 2.0 Class involving XML

2006-01-03 Thread Al Veldhuis
Hey Everyone, I am wondering if there is anyone out there who knows Actionscript 2.0 Classes and XML extremely well. I have an Open Source Actionscript 2.0 class that is used to parse an XML file into Flash. Currently this class is only capable of reading 1 recordset of data from a

Re: [Flashcoders] Actionscript 2.0 Class involving XML

2006-01-03 Thread Andy Johnston
Dunno if you have looked at this before but is very nice for dealing with xml in flash http://www.xfactorstudio.com/ActionScript/AS2/XPath/ Hey Everyone, I am wondering if there is anyone out there who knows Actionscript 2.0 Classes and XML extremely well. I have an Open Source

[Flashcoders] State Machine Implementation, anyone?

2006-01-03 Thread Aldo Bucchi
Hi flexies, Does anyone know of a good State Machine implementation in actionscript? One with history, concurrent states, joins, splits ( forks ), etc? I have used Kaye's ( www.flashsim.com ), ported part of Miro Samek's method based machine, modified a compiler (CHSM), and finally went half the

Re: [Flashcoders] Actionscript 2.0 Class involving XML

2006-01-03 Thread eric dolecki
Do you mean parse any dataSet of a specific structure? XPath might do the trick - either using the built-in or using xfactorstudio's XPath. edolecki On 1/3/06, Al Veldhuis [EMAIL PROTECTED] wrote: Hey Everyone, I am wondering if there is anyone out there who knows Actionscript 2.0 Classes