Re: [Flashcoders] fullscreen security issue?

2009-11-24 Thread Ian Thomas
Hi Michael, No, FULL_SCREEN doesn't prevent mouse clicks; it just prevents most keypresses (but still allows cursor keys, space, enter etc.). HTH, Ian On Tue, Nov 24, 2009 at 8:56 PM, Mendelsohn, Michael michael.mendels...@fmglobal.com wrote: Hi list... I'm trying to set my swf (in a

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-19 Thread Ian Thomas
The Flex SDK is free, Flex Builder 3 (the current version) is $249 Ian On Thu, Nov 19, 2009 at 8:40 AM, Sid Ferreira sid@gmail.com wrote: Does Flex costs all that? I think flash/flex is no option :s It's too expensive to brazillian market :p On Wed, Nov 18, 2009 at 23:09, Paul

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-19 Thread Ian Thomas
I suggest you look at the website: http://www.adobe.com/products/flash/ On Thu, Nov 19, 2009 at 9:01 AM, Sid Ferreira sid@gmail.com wrote: And Adobe Flash? On Thu, Nov 19, 2009 at 06:47, Ian Thomas i...@eirias.net wrote: The Flex SDK is free, Flex Builder 3 (the current version

Re: [Flashcoders] new AS Editor, few secret videos

2009-11-19 Thread Ian Thomas
Thanks, Ivan - it'll be interesting to see the full version of this! There's also: http://code.google.com/p/minibuilder/ :-) Ian On Thu, Nov 19, 2009 at 1:13 PM, Ivan Dembicki ivan.dembi...@gmail.com wrote: Hello FlashCoders,

Re: [Flashcoders] new AS Editor, few secret videos

2009-11-19 Thread Ian Thomas
Fantastic - I used JetBrains IntelliJ IDE about 7 years ago, and it was the best Java IDE I've ever come across. Ian On Thu, Nov 19, 2009 at 2:13 PM, Ivan Dembicki ivan.dembi...@gmail.com wrote: Hello Ian, http://code.google.com/p/minibuilder/ Realaxy Editor is an editor of fundamentally

Re: [Flashcoders] AS3 mouseUpOutside not working, yuck!

2009-11-19 Thread Ian Thomas
Henrik, Setting mouseChildren=false on an InteractiveObject/Sprite is much easier. The children no longer react to or originate mouse events. HTH, Ian On Thu, Nov 19, 2009 at 9:00 PM, Henrik Andersson he...@henke37.cjb.net wrote: Whenever I need to work with a reference to a leaf node, I

Re: [Flashcoders] Swfs not loading in FF on PC

2009-11-19 Thread Ian Thomas
Joe, wmode=transparent is notoriously bugged, particularly on Firefox. Adobe themselves advise against using it. Ian On Thu, Nov 19, 2009 at 8:54 PM, Joe Minkiewicz joe.min...@gmail.com wrote: I run into this issue a lot (I may have even posted here before asking for help about it). Has

Re: [Flashcoders] AS3 mouseUpOutside not working, yuck!

2009-11-19 Thread Ian Thomas
What? mouseChildren=false always works, whether the job is simple or not. That's what it was designed for! Ian On Thu, Nov 19, 2009 at 9:19 PM, Henrik Andersson he...@henke37.cjb.net wrote: Ian Thomas wrote: Henrik,    Setting mouseChildren=false on an InteractiveObject/Sprite is much

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Ian Thomas
On Wed, Nov 18, 2009 at 2:40 PM, Henrik Andersson he...@henke37.cjb.net wrote: My opinion: I think that Flash is better for anything that isn't strictly code only, and that is more or less all projects, since it's quite boring to design graphics using code. The upcoming code completion in

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Ian Thomas
On Wed, Nov 18, 2009 at 3:32 PM, Henrik Andersson he...@henke37.cjb.net wrote: You seem to ignore the components that Flash does ship with. We can fight about whose components are the best, but I am not interested in that. Neither am I. I also never claimed that they where rivals, I see them

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Ian Thomas
I'd just like to add: - I use Flash for some projects. - I use the Flex SDK + Flash for other projects. It's simply about choosing the right tool for the job. Getting back to the original poster's question, as Giro has demonstrated with his samples, yes there are good sites written in Flex, and

Re: [Flashcoders] one class listening for another classes dispatchedevent

2009-11-17 Thread Ian Thomas
On Tue, Nov 17, 2009 at 8:06 PM, Henrik Andersson he...@henke37.cjb.net wrote: Tight coupling can be an issue, if the coupled components shouldn't be coupled. It is not an issue at all if they more or less couldn't work without something doing the job of the other and few if any replacement

Re: [Flashcoders] one class listening for another classes dispatchedevent

2009-11-17 Thread Ian Thomas
give a better example :-) Ian On Tue, Nov 17, 2009 at 8:34 PM, Henrik Andersson he...@henke37.cjb.net wrote: Ian Thomas wrote: In which case they're actually one component, conceptually - if the dependencies are really that inextricable. :o) Two sub modules in a webbrowser is a http client

Re: [Flashcoders] one class listening for another classes dispatchedevent

2009-11-17 Thread Ian Thomas
Sorry, we're way off topic here. :-D I'll shut up. Ian On Tue, Nov 17, 2009 at 9:05 PM, Mendelsohn, Michael michael.mendels...@fmglobal.com wrote: Alright, since I asked the question, I'm piping in.  I just finished a project that became immensely complicated precisely because I eventually

Re: [Flashcoders] RegExp question

2009-11-05 Thread Ian Thomas
Hi Michael, Firstly, I'm not quite sure your expression is right - it says g _or_ 1 or 2 or 3 as the first character, whereas your sample starts with a g then a 1. But anyway - what you need to do is to test for the beginning and end of the string. In regular expressions, you do this with the

Re: [Flashcoders] Recommended method for copying CDROM app to application folder on Mac

2009-10-30 Thread Ian Thomas
Paul, The 'traditional' Mac way of doing this is to make the user drag the files into their Application folder for a simple, self-contained app. (Assuming you're using a projector) ideally, your additional four .swf files should be bundled inside your .app folder i.e. all your user sees when he

Re: [Flashcoders] Colorizing Vector Drawn Image

2009-10-30 Thread Ian Thomas
If you just want to change the colour of the entire T-shirt, take a look at the class: flash.geom.ColorTransform (accessed via displayObject.transform.colorTransform) or look at doing it via a filter: flash.filters.ColorMatrixFilter If you want to colour the individual segments of the shirt

Re: [Flashcoders] as3 to iphone app

2009-10-29 Thread Ian Thomas
On Thu, Oct 29, 2009 at 3:48 AM, Kerry Thompson al...@cyberiantiger.biz wrote: don't swfs compiled from c run faster in the plugin than ones compiled in actionscript? i thought i read that I don't know of a way to compile a swf from C, or any machine-language compiler. I'm not quite sure

Re: [Flashcoders] mac projector

2009-10-28 Thread Ian Thomas
Latcho, Glen, It's the 'Contents/Resources' folder. So if you main movie does (for example): loader.load(new URLRequest(movie2.swf), new LoaderContext(false, ApplicationDomain.currentDomain)); It will load the movie at: myApp.app/Contents/Resources/movie2.swf (I've just checked our Mac

Re: [Flashcoders] Website in an application

2009-10-27 Thread Ian Thomas
Hi John, I'd take a look at AIR. It allows you to drop in real HTML components (using the WebKit engine, the same thing that Safari uses) controlled from a Flash application. HTH, Ian On Tue, Oct 27, 2009 at 7:27 PM, John R. Sweeney Jr jr.swee...@comcast.net wrote: Howdy List, My client

Re: [Flashcoders] Any issues to be concerned about with Snow Leopard

2009-10-23 Thread Ian Thomas
Hi Paul, It's always worth a test! Snow Leopard has some significant differences from Leopard under the hood, but Apple are very good at backwards compatibility. If you're not doing anything unusual, you should be okay. But if you're prepared to put the app up on an FTP site or

Re: [Flashcoders] Printing Canvas

2009-10-23 Thread Ian Thomas
Hi Kevin, To set what's going to the printer to fit: Get the print pageWidth/pageHeight from the PrintJob object (after calling start()). Use the scaleX, scaleY of the clip you are printing to make it fit within that pageWidth/pageHeight. Call addPage(), passing the clip. Call

Re: [Flashcoders] Printing Canvas

2009-10-23 Thread Ian Thomas
You could take a bitmap copy (BitmapData.draw()). Alternatively, you could just rescale the original, print, then scale back again... Ian On Fri, Oct 23, 2009 at 5:48 PM, Kevin Holleran kdaw...@gmail.com wrote: How can a copy the display object into another so that I can manipulate the coped

Re: [Flashcoders] Printing Canvas

2009-10-23 Thread Ian Thomas
Try copying using BitmapData, not ByteArray. Take a visual snapshot, not an object snapshot. Ian On Fri, Oct 23, 2009 at 6:03 PM, Kevin Holleran kdaw...@gmail.com wrote: On Fri, Oct 23, 2009 at 12:48 PM, Kevin Holleran kdaw...@gmail.com wrote: How can a copy the display object into another so

Re: [Flashcoders] Printing Canvas

2009-10-23 Thread Ian Thomas
Karl, It'll work in either AS2 or AS3. Ian On Fri, Oct 23, 2009 at 9:41 PM, Karl DeSaulniers k...@designdrumm.com wrote: Hi Ian, Is this an AS3 examlpe, or can that be done in AS2? Karl Sent from losPhone On Oct 23, 2009, at 11:33 AM, Ian Thomas i...@eirias.net wrote: Hi Kevin

Re: [Flashcoders] Creating Cross-Platform CDROM

2009-10-22 Thread Ian Thomas
We use James Walker's Hybrid CD Construction Kit on the Mac: http://www.jwwalker.com/pages/hybrid-cd.html HTH, Ian On Thu, Oct 22, 2009 at 7:52 AM, Paul Steven paul_ste...@btinternet.com wrote: Been a long time since I have had to make a cross platform CDROM, or even a CDROM at all to be

Re: [Flashcoders] Creating Cross-Platform CDROM

2009-10-22 Thread Ian Thomas
I may have misunderstood Paul's requirements. Paul - if you want to make all files on the disk visible to both platforms, just normally burning a disk on Windows or Mac should be fine (as Karl suggests). If you want _different_ files to appear to each platform, look at something like the Hybrid

Re: [Flashcoders] Creating Cross-Platform CDROM

2009-10-22 Thread Ian Thomas
-Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ian Thomas Sent: donderdag 22 oktober 2009 9:29 To: Flash Coders List Subject: Re: [Flashcoders] Creating Cross-Platform CDROM We use James Walker's Hybrid CD

Re: [Flashcoders] Creating Cross-Platform CDROM

2009-10-22 Thread Ian Thomas
On Thu, Oct 22, 2009 at 9:09 AM, Paul Steven paul_ste...@btinternet.com wrote: Ian, assuming there is a different executable file for both mac and pc, does this mean that both would be visible on both platforms? Just using standard burning options, yes. Which isn't necessarily a problem, as

Re: [Flashcoders] Creating Cross-Platform CDROM

2009-10-22 Thread Ian Thomas
Of Ian Thomas Sent: 22 October 2009 08:36 To: Flash Coders List Subject: Re: [Flashcoders] Creating Cross-Platform CDROM I may have misunderstood Paul's requirements. Paul - if you want to make all files on the disk visible to both platforms, just normally burning a disk on Windows or Mac

Re: [Flashcoders] [MEMORY LEAK]

2009-10-01 Thread Ian Thomas
Just out of interest - why are you recreating the Loader() and re-adding the listeners each time? It should work if you just create the Loader once, add the listeners once - then every time you call load() with a new URLRequest, you'll get new progress and complete events. Might help with your

Re: [Flashcoders] FOTB

2009-09-25 Thread Ian Thomas
Most interesting, to me, was the new features in AIR 2.0. More specifically: - Being able to package native code - Being able to create .DMG and .EXE files - Being able to detect when pluggable storage devices (USB sticks etc.) are plugged into the system Ian On Thu, Sep 24, 2009 at 3:51 PM,

Re: [Flashcoders] Loading local files with query strings

2009-09-14 Thread Ian Thomas
Don't use query strings? Seriously - local file names on files systems don't take query strings. You don't have any files called C:\windows\test.exe?id=33, do you? To make a query string work, you need to route the call through an HTTP server. Sounds like you're trying to avoid caching? But I'm

Re: [Flashcoders] letter spacing changes when animating text fields

2009-09-13 Thread Ian Thomas
Firstly make sure that the text is an embedded font. Secondly make sure that the antialias type is set to 'for animation' rather than 'for readability'. HTH, Ian On Sun, Sep 13, 2009 at 6:29 PM, Tom Huynen tomhuy...@gmail.com wrote: Hi, I'm trying to animate a sprite containing several

Re: [Flashcoders] RE: Rather urgent advice on how to track the cause of a crash

2009-09-06 Thread Ian Thomas
Sounds like a good idea. Sometimes movies just corrupt - copying and pasting is a good answer. (Save and Compact can sometimes sort out those sort of bugs too...) Ian On Sun, Sep 6, 2009 at 9:29 PM, Paul Stevenpaul_ste...@btinternet.com wrote: Got rid of font problem by cutting and pasting all

Re: [Flashcoders] Rather urgent advice on how to track the cause of a crash

2009-09-05 Thread Ian Thomas
to be possible. Cheers Paul -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ian Thomas Sent: 04 September 2009 19:22 To: Flash Coders List Subject: Re: [Flashcoders] Rather urgent advice on how to track

Re: [Flashcoders] Rather urgent advice on how to track the cause of a crash

2009-09-05 Thread Ian Thomas
...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ian Thomas Sent: 05 September 2009 16:49 To: Flash Coders List Subject: Re: [Flashcoders] Rather urgent advice on how to track the cause of a crash You may not be using Bitmap functions - but any filters etc

Re: [Flashcoders] Rather urgent advice on how to track the cause of a crash

2009-09-04 Thread Ian Thomas
On Fri, Sep 4, 2009 at 6:16 PM, Paul Stevenpaul_ste...@btinternet.com wrote: The game is basically a top down flying game with a scrolling background (JPG 5120 X 4320). The flash movie is published at 1600 x 1200 30 FPS. It includes an embedded FLV video on the Splash screen which is

Re: [Flashcoders] fullscreen weirdness

2009-09-03 Thread Ian Thomas
Joe, What code are you using to do the fullscreen switch? Again, I'm getting problems with the Chrome version - so if it's not your embedding causing the problems, it must be somewhere in your AS code... Ian On Wed, Sep 2, 2009 at 6:01 PM, Joe Cuttingj...@joecutting.com wrote: You're

Re: [Flashcoders] fullscreen weirdness (solution)

2009-09-03 Thread Ian Thomas
On Thu, Sep 3, 2009 at 4:35 PM, Joe Cuttingj...@joecutting.com wrote: Ian reported problems with the Javascript version and Chrome. I'd be interested to hear if anyone else has problems with one or the other. Both versions now work fine with latest Chrome, Firefox, Safari and with IE7 - that

Re: [Flashcoders] 1120: Access of undefined property

2009-09-03 Thread Ian Thomas
Because your function is static. Either make your var static too: public static var counter:int=0; or make your function non-static. I'm sure you can Google static/non-static class members, but in short, anything that's non-static is only available from within a class instance (i.e. someone

Re: [Flashcoders] Problem understanding Class heirarchy issue

2009-09-02 Thread Ian Thomas
I'm sorry, Steven, that's just not true. Test out the following code: package { public class A { public function A() { trace(A Constructor); } } } package { public class B extends A {

Re: [Flashcoders] Fullscreen wierdness

2009-09-02 Thread Ian Thomas
You're definitely doing something peculiar - in Chrome, after I click to go fullscreen on your movie, nothing is clickable at all! I have to press Esc to get out of full screen. In Firefox it seems to work okay. Looking at the HTML source, you've got some very complicated Flash and browser

Re: [Flashcoders] Error when trying to embed a font

2009-08-31 Thread Ian Thomas
You could try directly referencing the TTF or OTF file with the 'source' argument instead of using the 'systemFont' argument: [Embed( source=/Path/To/FontFile.TTF, HTH, Ian On Mon, Aug 31, 2009 at 1:31 PM, Andrew Murphyamur...@delvinia.com wrote: Good morning.  (Well.. it's morning here

Re: [Flashcoders] Error when trying to embed a font

2009-08-31 Thread Ian Thomas
d'en aviser l'émetteur et d'en détruire le contenu sans le communiquer a d'autres ou le reproduire. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ian Thomas Sent: Monday, August 31, 2009 12:35 PM

Re: [Flashcoders] empty XML Attributes..

2009-08-26 Thread Ian Thomas
On Wed, Aug 26, 2009 at 12:27 PM, Glen Pikeg...@engineeredarts.co.uk wrote: Aha, I see now - bit of a waste of code too. Yeah, I agree, it's overly verbose. And who's bright idea was it to use length for Strings and Arrays, but length() for XML / e4x? It's because in E4X: someNode.length

Re: [Flashcoders] CLICK event not getting fired

2009-08-18 Thread Ian Thomas
Anna, Whether it's MouseEvent or Event makes no difference - since the MouseEvent class is derived from Event, either will do unless you actually want to access properties/methods defined only in MouseEvent. Sajid, As Latcho says, you need something graphical to click on. You could use the

Re: [Flashcoders] actionscript 3 block rationale

2009-08-18 Thread Ian Thomas
JC, AS3 has no block scope. Whenever you write 'var x' inside a method, that declaration (effectively) gets moved to the 'top' of the method. So at a compiler level, this: private function _demo():void { for (var i:Number = 0; i 10;i++) { //evil stuff here } for (var i:Number = 0;

Re: [Flashcoders] How to add a DisplayObject into a container without using addChild() method.

2009-08-18 Thread Ian Thomas
On Tue, Aug 18, 2009 at 4:20 PM, Dave Wattsdwa...@figleaf.com wrote: Again, I'm not saying there's anything wrong with implicit Boolean evaluation, I just think it's a mistake to believe it's inherently superior to an explicit, slightly longer Boolean expression, to the point of telling

Re: [Flashcoders] mac vs pc

2009-08-18 Thread Ian Thomas
One for which you shouldn't call the setter unless you're wearing a lead apron and goggles. ;-) Ian On Tue, Aug 18, 2009 at 3:52 PM, Merrill, Jasonjason.merr...@bankofamerica.com wrote: Document the classes and atomic properties. What's an atomic property? Jason Merrill

Re: [Flashcoders] How to loop an ANT task(s)?

2009-08-13 Thread Ian Thomas
taskdef resource=net/sf/antcontrib/antlib.xml/ but get this error [taskdef] Could not load definitions from resource net/sf/antcontrib/antlib.xml. It could not be found. Any ideas? I'm running 1.7.x cheers, MaTT On Wed, Aug 12, 2009 at 10:45 PM, Ian Thomas i...@eirias.net wrote: Hi

Re: [Flashcoders] Runtime assets

2009-08-12 Thread Ian Thomas
Yes, it's absolutely possible. You'll need to look into ApplicationDomains (flash.system.ApplicationDomain) and getDefinition()/hasDefinition(). As long as the 3rd SWF has access to or shares the ApplicationDomain that the library SWF is in, everything should be fine. HTH, Ian On Wed, Aug

Re: [Flashcoders] OT - bizarre Adobe pricing

2009-08-10 Thread Ian Thomas
Yeah - it's not an anomaly, always been the way. It's crazy. :-) Costs more for download than to have shipped, boxed product. A real incentive to reduce carbon emissions by saving on transport and production, isn't it? :-D Ian On Mon, Aug 10, 2009 at 11:10 AM, Glen Pikeg...@engineeredarts.co.uk

Re: [Flashcoders] OT - bizarre Adobe pricing

2009-08-10 Thread Ian Thomas
Good point. :-D On Mon, Aug 10, 2009 at 11:28 AM, Glen Pikeg...@engineeredarts.co.uk wrote: product. A real incentive to reduce carbon emissions by saving on transport and production, isn't it? :-D From what I have seen of Vista's random high CPU usage, it might be more carbon-efficient

Re: [Flashcoders] what is the current 3D best-practice?

2009-08-10 Thread Ian Thomas
Hello Sebastien, Were it me, I'd go for either Papervision or Away3D. I absolutely wouldn't do it from scratch. There's already a lot of time and effort been spent on these projects, so why reinvent the wheel? Both certainly support 'skinning from images' (texturing). Morphing I am

Re: [Flashcoders] OT - bizarre Adobe pricing

2009-08-09 Thread Ian Thomas
I've given up on trying to figure out Adobe pricing. The last time I queried the ridiculous difference between US and UK prices the quotes I had were: - It costs more to keep UK support staff: Well, I'm sorry about that, but I never use your UK support staff - besides, I give other people support

Re: [Flashcoders] bookmarking a dynamic flash page

2009-08-06 Thread Ian Thomas
Andrew - check out SWFAddress: http://www.asual.com/swfaddress/ HTH, Ian On Thu, Aug 6, 2009 at 12:49 PM, Andrew Sinningand...@learningware.com wrote: How could I let the user bookmark the current state of a dynamic flash page?  I know how to save the current state of the movie and then

Re: [Flashcoders] MVC and Event Architecture

2009-08-04 Thread Ian Thomas
On Tue, Aug 4, 2009 at 4:24 PM, Dave Wattsdwa...@figleaf.com wrote: The real point is that to call public methods, you have to know about the object whose method you want to call and you need to know about the method itself. When you broadcast an event, you don't need to know whose listening,

Re: [Flashcoders] swf not loading in Firefox on Windows

2009-08-03 Thread Ian Thomas
Adblockers? We've had that problem in the past, where people have installed 3rdparty over-aggressive adblockers which mean that Flash will just not load. Ian On Mon, Aug 3, 2009 at 4:02 PM, Joe Minkiewiczjoe.min...@gmail.com wrote: Hey Everyone,   Have any of you encountered a problem where

Re: [Flashcoders] other lists for compiler design, assembly, and machine code?

2009-08-03 Thread Ian Thomas
You could do worse than take a look at the sources for both MTASC and haXe. MTASC is a compiler for AS2. http://mtasc.org/ haXe is a compiler for... uh... haXe. But haXe is a very AS3-like language (it has its roots in AS). http://haxe.org/ Both are written by Nicolas Cannasse. Both are

Re: [Flashcoders] Dancing characters...

2009-07-22 Thread Ian Thomas
Also - have you got those text fields set to anti-alias for animation? If not, you should - anti-alias for readability can cause odd effects for moving text. HTH, Ian On Wed, Jul 22, 2009 at 4:44 PM, Ruy Adornor...@lesite.ca wrote: Hello Sander, Nice to see you around here, I saw in

Re: [Flashcoders] XML tranformation help

2009-06-24 Thread Ian Thomas
if(modulesList[0]..subsection.(@title==contentRowItem2.Subsection).topics.length() 1) would have done it. (It's worth pointing out that length() is a method rather than a property - that bit my a few times when I started with e4x...) Ian On Wed, Jun 24, 2009 at 2:08 AM, Merrill,

Re: [Flashcoders] XML tranformation help

2009-06-23 Thread Ian Thomas
Hi Jason, Surely it's because you're creating a new topics node each time? With this line: modulesList[0]..subsection.(@title==contentRowItem2.Subsection).topics = new XML(topics /); I suspect you should only create the new topics/ node when there isn't one there already... HTH, Ian

Re: [Flashcoders] wrapper recommendation

2009-06-15 Thread Ian Thomas
Northcode's SWFStudio consistently gets the best reviews. HTH, Ian On Mon, Jun 15, 2009 at 2:48 PM, Mendelsohn, Michaelmichael.mendels...@fmglobal.com wrote: Hi list... Can anyone recommend the best wrapper for a Flash projector?  All I need to do is open pdfs in Acrobat (not a browser,

Re: [Flashcoders] Projector Serial Number protection

2009-06-06 Thread Ian Thomas
You could try Northcode's SWFStudio. http://www.northcode.com/ Ian On Sat, Jun 6, 2009 at 6:07 PM, Ktuktu_fl...@cataclysmicrewind.com wrote: I think the only other options are AIR, and Titaniumhttp://titaniumapp.com/ On Sat, Jun 6, 2009 at 7:00 AM, Kevin Bath ke...@flowdigital.co.uk wrote:

Re: [Flashcoders] Projector Serial Number protection

2009-05-27 Thread Ian Thomas
Likewise (I seem to keep saying this) I have had a number of serious problems with Zinc over the years, and our company has had to migrate away from it. Ian On Wed, May 27, 2009 at 1:07 AM, Muzak p.ginnebe...@telenet.be wrote: Careful with buying Zinc if you don't already have a license. As of

Re: [Flashcoders] anti-aliasing

2009-05-18 Thread Ian Thomas
A quick thought, Anthony... why reinvent the wheel? Why not use Flash's built-in graphics.moveTo()/graphics.lineTo() etc. to draw _vector_ lines into a Sprite (which will therefore be nicely antialiased by Flash), then capture the results as a bitmap and paste them into whatever BitmapData you

Re: [Flashcoders] anti-aliasing

2009-05-18 Thread Ian Thomas
, outside of regular applications in as3, there are a lot of reasons to know this well, and graphics applications that would be impossible by relying on what is built in. Ian Thomas wrote: A quick thought, Anthony... why reinvent the wheel? Why not use Flash's built-in graphics.moveTo

Re: [Flashcoders] Automated builds - your experiences?

2009-05-12 Thread Ian Thomas
, Ian Thomas i...@eirias.net wrote: Have you considered switching to MTASC instead of using the Flash IDE to compile? It would make your life a lot easier... Ian On Tue, May 12, 2009 at 12:06 PM, Alias Cummins al...@proalias.com wrote: Hi guys, I'm currently consulting on a project which

Re: [Flashcoders] Automated builds - your experiences?

2009-05-12 Thread Ian Thomas
Have you considered switching to MTASC instead of using the Flash IDE to compile? It would make your life a lot easier... Ian On Tue, May 12, 2009 at 12:06 PM, Alias Cummins al...@proalias.com wrote: Hi guys, I'm currently consulting on a project which involves setting up an automated build

Re: [Flashcoders] RegEx

2009-05-10 Thread Ian Thomas
Match and replace work fine for me outside of AIR. Ian On Sat, May 9, 2009 at 11:54 PM, Anthony Pace anthony.p...@utoronto.ca wrote: I am reading the documentation, and it says that match and replace are only for air 1.0 and they have that nasty trilobal air logo. What the heck  If that

Re: [Flashcoders] mxmlc include classes , possible???

2009-04-29 Thread Ian Thomas
-includes com.mycompany.MyClass com.mycompany.MyOtherClass HTH, Ian On Wed, Apr 29, 2009 at 3:40 PM, Jiri jiriheitla...@googlemail.com wrote: Hello list, Is it possible to force the mxmlc compiler to include certain classes so they can be instantiated at runtime. So I dont have to put an

Re: [Flashcoders] Conditional statement in [Embed(source=... tag

2009-04-28 Thread Ian Thomas
It does accept conditionals, sort of, using the mxmlc -define tag. I blogged about it somewhere (hunts around). Aha! http://code.awenmedia.com/node/34 HTH, Ian On Tue, Apr 28, 2009 at 8:41 PM, Merrill, Jason jason.merr...@bankofamerica.com wrote: I don't believe you can do

Re: [Flashcoders] Feasibility of xml file for high score data storage

2009-04-22 Thread Ian Thomas
Go for a database. Access by multiple users is what they are designed for. Don't make life hard for yourself. :-) Ian On Wed, Apr 22, 2009 at 11:57 AM, Paul Steven paul_ste...@btinternet.com wrote: I was considering using an xml file to store high score data for a game. It is quite possible

Re: [Flashcoders] Benefits of as3 - to the client

2009-04-22 Thread Ian Thomas
On Wed, Apr 22, 2009 at 4:17 PM, Kerry Thompson al...@cyberiantiger.biz wrote: Fabio Pinatti wrote: A question I was wondering here. A client of mine has a website built with as2. And I explained him I work now with as3, but he asked what the real benefits for him, to convert his project to

Re: [Flashcoders] Loading string data in a file from a server

2009-04-21 Thread Ian Thomas
Hi Sid, It might be worth using a web traffic proxy such as Charles to make sure that your AIR app is issuing a sensible HTTP request to the web server i.e. that the thing you have which works in the browser is actually the same as the request issued by the AIR app. I'm not sure this can be a

Re: [Flashcoders] Just a quick one

2009-04-17 Thread Ian Thomas
myLoader.contentLoaderInfo.width myLoader.contentLoaderInfo.height HTH, Ian On Fri, Apr 17, 2009 at 6:09 AM, Karl DeSaulniers k...@designdrumm.com wrote: Hello all, Quick question. I am using a loader class to load some preview images and I am trying to make a couple of variables eq the

Re: [Flashcoders] Just a quick one

2009-04-17 Thread Ian Thomas
On Fri, Apr 17, 2009 at 5:11 PM, Karl DeSaulniers k...@designdrumm.com wrote: I am using martijndevsser ImageLoader Sent from losPhone On Apr 17, 2009, at 4:41 AM, Ian Thomas i...@eirias.net wrote: Let's try that again - perhaps I wasn't clear. I'm assuming - from your first email

Re: [Flashcoders] Access objects in embedded swf

2009-04-15 Thread Ian Thomas
Dave, Try: portfolio.x = 0; portfolio.y = 0; var child:DisplayObject=portfolio.getChildByName(a1); child.x=150; HTH, Ian On Wed, Apr 15, 2009 at 1:14 PM, Dav d...@funkdaweb.com wrote: Hi guys! I'm having a problem accessing movieclips within an embedded SWF. Here is some code: ...

Re: [Flashcoders] Access objects in embedded swf

2009-04-15 Thread Ian Thomas
15, 2009 at 1:49 PM, Dav d...@funkdaweb.com wrote: No luck :( -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ian Thomas Sent: 15 April 2009 13:36 To: Flash Coders List Subject: Re: [Flashcoders] Access

Re: [Flashcoders] How to smooth bitmap?

2009-04-13 Thread Ian Thomas
Alternatively, just copy the bitmap and smooth it: http://code.awenmedia.com/node/27 HTH, Ian On Sat, Apr 11, 2009 at 3:16 PM, Pavel Repkin pavel.rep...@gmail.com wrote: Hey! I have a bitmap image loaded from external site (Facebook user avatar). Its size is 50x50 pixels and it looks

Re: [Flashcoders] AS3: if (urlvars.bids != null) trace(urlvars.bids); still prints null?

2009-04-09 Thread Ian Thomas
No, null==null in AS3. I suspect that your url variable bids contains the string null, sent from the server-side. HTH, Ian On Thu, Apr 9, 2009 at 2:13 PM, Alexander Farber alexander.far...@gmail.com wrote: Hello, does anybody please have an idea, why would this code: private function

Re: [Flashcoders] Is it possible to embed Flash player inside C++ application on MacOS?

2009-04-08 Thread Ian Thomas
Yes. I'd take a look at the open source code for Screenweaver HX - SWHX. This embeds the Netscape Flash plugin. There's a source code link on this page: http://screenweaver.org/doku.php?id=download HTH, Ian On Wed, Apr 8, 2009 at 11:36 AM, Pavel Repkin pavel.rep...@gmail.com wrote: Hey!

Re: [Flashcoders] Duplicating a loaded SWF

2009-04-03 Thread Ian Thomas
Henry, As far as I'm aware, duplication of existing instances of objects is still something sadly lacking in Flash. There are a number of hacks, but none of them seem to work for all cases (I've tried a bunch!). In your case, I have two suggestions; both are a change of approach: i) Use

Re: [Flashcoders] FPS question

2009-04-02 Thread Ian Thomas
Also = try to redraw as little of the screen as possible from frame to frame. If your entire screen is constantly redrawing, that takes a lot of processing power. So alpha fades that affect the entire screen or moving/animating a sprite which covers the entire screen are problems. The Flash

Re: [Flashcoders] Detecting if authoring mode (Flash 8 AS2)

2009-04-02 Thread Ian Thomas
Hi Paul, Take a look at System.capabilities.playerType. System.capabilities.playerType==External means you're running in the IDE. System.capabilities.playerType==Plugin means you're running in a browser. HTH, Ian On Thu, Apr 2, 2009 at 8:19 AM, Paul Steven

Re: [Flashcoders] Oops.. forgot to include the code. Proof of Concept - HTTPService

2009-04-02 Thread Ian Thomas
Johan - from memory, I'm not sure AIR needs the crossdomain file, whereas browser-based Flash does. That might explain the discrepancy. (That is from memory, though - probably needs doublechecking...) Cheers, Ian On Thu, Apr 2, 2009 at 9:35 AM, Johan Nyberg johan.nyb...@webguidepartner.com

Re: [Flashcoders] Full screen mode and KeyboardEvents

2009-03-30 Thread Ian Thomas
As an addition - AIR lets you use FULL_SCREEN_INTERACTIVE mode, because the assumption is that the users _knows_ that they have started the AIR app (like starting a normal .exe/.app). Ian On Mon, Mar 30, 2009 at 1:27 AM, Carl Welch carlwelchdes...@gmail.com wrote: sheesh. Instead of removing

Re: [Flashcoders] Pixel recognition?

2009-03-29 Thread Ian Thomas
On Sun, Mar 29, 2009 at 8:14 PM, Juan Pablo Califano califa010.flashcod...@gmail.com wrote: As it's been said already, you could try converting to HLS and the get the average luminance (brigthness). Here's a handy class to convert from RGB to HSL and viceversa.

Re: [Flashcoders] ?: how to prevent users to copy text from a TextArea?

2009-03-27 Thread Ian Thomas
Try: textArea.textField.selectable=false; HTH, Ian On Fri, Mar 27, 2009 at 4:38 PM, pe...@pepo.nl wrote: I'll have to prevent users to copy text from a TextArea. In Flex I saw you do that bij setting a selectable attribute of the mx.controls.TextArea to false. However, this seems not

Re: [Flashcoders] Flash-HTML WYIWYG editor?

2009-03-25 Thread Ian Thomas
On Wed, Mar 25, 2009 at 9:30 PM, Mindshare Studios i...@mindsharestudios.com wrote: So, we need something like the open source editors TinyMCE or FCKEditor, that *only* allows users to format text using HTML tags that Flash can handle. There are tons of plug and play WYSIWYG editors out there

Re: [Flashcoders] A very simply question of XML toString()

2009-03-19 Thread Ian Thomas
No shortcut if you want them as an Array. Something like the following is pretty short, though, and does the job: var arr:Array=[]; for each(var book:XML in myXML.book) arr.push(bo...@title.tostring()); should do it. (Untested!). Ian On Thu, Mar 19, 2009 at 5:11 PM, ACE Flash

Re: [Flashcoders] Advice on creating random grid of pairs for a game

2009-03-11 Thread Ian Thomas
Paul, Maybe the problem is actually that difficult - there may be no easy solutions to the calculation, and it might indeed take hours to find a valid solution. But anyway - here's a thought, in case it helps. Have you considered, for each pair: - putting the pair on adjacent empty squares. -

Re: [Flashcoders] Problem with export linkage definition in a loaded swf

2009-03-09 Thread Ian Thomas
I suspect this is a compile-time issue - your loading SWF has no idea what 'Paris' means when trying to compile? In which case you need to pick it up at runtime. Try flash.system.ApplicationDomain.currentDomain.getDefinition() e.g. var

Re: [Flashcoders] RegExp headache

2009-03-05 Thread Ian Thomas
Like Glen said, check out Grant's RegExr - it really helps this kind of thing out. :-) Ian On Thu, Mar 5, 2009 at 6:51 PM, Merrill, Jason jason.merr...@bankofamerica.com wrote: /(((|)=?)|==)?(-?\d+)/ hot darn. A side note.  I'm so in awe at the people who understand and can write Regular

Re: [Flashcoders] AS3 Fullscreen mode w/ Windows Projectors

2009-02-17 Thread Ian Thomas
It can autorun off a CD-ROM, but not standalone - you can package your app with the AIR installer, but the AIR app (and your app) will install themselves on your user's computer. Ian On Tue, Feb 17, 2009 at 9:33 AM, Glen Pike g...@engineeredarts.co.uk wrote: Hi, I did not use AIR because I

Re: [Flashcoders] AS3 Fullscreen mode w/ Windows Projectors

2009-02-17 Thread Ian Thomas
Yup - makes sense to me. :-) Projectors are there for a reason. :-) Ian On Tue, Feb 17, 2009 at 9:47 AM, Glen Pike g...@engineeredarts.co.uk wrote: That's what I thought - projector runs, AIR requires installing. I don't want that possible barrier to use - why should I have to install

Re: [Flashcoders] AS3 - getDefinitionByName and external swfs

2009-02-15 Thread Ian Thomas
It definitely works (to do as you describe). I think you need to take a good look at the ApplicationDomain class - make sure that the loaded SWF is in the same application domain as your loading SWF, and it should all be fine. Alternatively, you can specifically query the child's

Re: [Flashcoders] Best way to access my main class?

2009-02-05 Thread Ian Thomas
Additionally, you should take a look at what the code is doing. Why does Bouncing Ball have to call something in the parent? Is it some sort of notification? (I've finished animating/I've hit a wall!). In which case an event is definitely the right solution. Is it to gain information of some

Re: [Flashcoders] Best way to access my main class?

2009-02-05 Thread Ian Thomas
Look up event bubbling. Essentially if you dispatch your event with bubble=true (the second parameter to an Event constructor), then the event will 'bubble' all the way up the display hierarchy. So your document class will only have to listen to itself for a given event - if any of its children

  1   2   3   4   5   6   7   8   >