[Flashcoders] AS3 Bitmap class

2007-08-20 Thread Max Kaufmann
or setMask() methods. . The image itself cannot be a mask. . The destination coordinates must be on a whole pixel boundary. This is very ambiguous. How can you poll which renderer it's using? Also, does bmp.scaleX=-1; count as stretching? max

[Flashcoders] AS3: MAJOR ISSUE WITH GOTOANDSTOP! HELP!

2007-07-19 Thread Max Kaufmann
(“labelWhereFooLives”); trace(clip.foo); // null trace(clip.numChildren); //1 trace(clip.getChildAtIndex(0)); //null -- wht? Trying to work around it is making my code terribly complex and crofty. HELP!! Max Kaufmann l Technical Artist

[Flashcoders] AS2 -- AS3 issue with accessing clips

2007-07-17 Thread Max Kaufmann
is null. I *know* I can get is by listening for Event.ADDED_TO_STAGE, but this makes my scripts much, much, much more complex. What's the deal, Adobe? Max Kaufmann l Technical Artist - SilverTree Media 2105 Sarah St | Pittsburgh

[Flashcoders] loading CS3 swf into flex swf container

2007-06-15 Thread Max Kaufmann
available. Has anyone else run into this weird problem? Max Kaufmann l Technical Artist - 2105 Sarah St | Pittsburgh, PA 15203 O (412) 567-4606 W www.silvertreemedia.com C (440) 915-8277 E [EMAIL PROTECTED

[Flashcoders] RE: loading CS3 swf into flex swf container

2007-06-15 Thread Max Kaufmann
to externally loaded content? Max Kaufmann l Technical Artist - 2105 Sarah St | Pittsburgh, PA 15203 O (412) 567-4606 W www.silvertreemedia.com C (440) 915-8277 E [EMAIL PROTECTED] -Original Message- From: Max

[Flashcoders] syntax checking in flex

2007-06-13 Thread Max Kaufmann
Flex only auto-checks syntax for classes that are directly referenced in the document class. LAME. Is there a way around this? Max Kaufmann l Technical Artist - 2105 Sarah St | Pittsburgh, PA 15203 O (412) 567-4606 W

[Flashcoders] re: open an .exe from swf across http

2007-06-13 Thread Max Kaufmann
Anyone know any hacks?? No it cant be a projector. No there aren't any hacks. If a swf could execute a program remotely from a website, web security would be a myth! Max Kaufmann l Technical Artist - 2105 Sarah St

[Flashcoders] syntax checking in flex

2007-06-13 Thread Max Kaufmann
errors as I'm typing. Max Kaufmann l Technical Artist - 2105 Sarah St | Pittsburgh, PA 15203 O (412) 567-4606 W www.silvertreemedia.com C (440) 915-8277 E [EMAIL PROTECTED

Re: [Flashcoders] AS3 blows_up on gotoAndPlay

2007-05-19 Thread Max Cutler
Why do you need those gotoAndPlay's? If those are the only three frames in the clip, it will automatically cycle through like that unless you have a stop() command. On 5/19/07, dave matthews [EMAIL PROTECTED] wrote: What is going on here please? Create a three frame AS3/Flash9 clip. Place

Re: [Flashcoders] Flash chat options

2007-05-12 Thread Max Cutler
Or SmartFoxServer (www.smartfoxserver.com). On 5/12/07, Guntur N. Sarwohadi [EMAIL PROTECTED] wrote: Or use haXe (haxe.org). On 5/12/07, Jobe Makar [EMAIL PROTECTED] wrote: Hi, You should check out ElectroServer 3 as well. http://www.electro-server.com Jobe Makar

[Flashcoders] as3 added event funkiness

2007-04-13 Thread Max Kaufmann
, but without them being registered with the event callback, everything falls apart. Am I doing something wrong? Is this just an Alpha bug? Will CS3 fix this? Max Kaufmann l Technical Artist - SilverTree Media 2105 Sarah St

[Flashcoders] AS2 TextField with html content question

2007-04-12 Thread Max Kaufmann
If a TextField in AS2 contains images, how does one detect that the images have finished loading? Or that the internal content height has changed? Max Kaufmann l Technical Artist - 2105 Sarah St | Pittsburgh, PA 15203 O

[Flashcoders] fauxpenGL library for AS2

2007-03-12 Thread Max Kaufmann
I've been tooling around with mimicking openGL in AS2. Here's a demo: http://www.mentalpicture.net/misc/ Currently implemented: 3D Transformation Matrix Stack OBJ File Loader Wireframe renderer Are there similar projects out there? Max Kaufmann Flash Developer SilverTree Media

RE: [Flashcoders] Writing out PDFs through code

2007-03-01 Thread Max Kaufmann
Flash doesn't out of the box, but processing does (http://www.processing.org) max -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mendelsohn, Michael Sent: Thursday, March 01, 2007 1:13 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders

[Flashcoders] very basic movie freezing up (???)

2007-01-31 Thread Max Kaufmann
not in a browser. ANY browser. Here's my source file: http://www.mentalpicture.net/misc/test.fla Umm... help? --max ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman

[Flashcoders] JSFL: Converting contours to symbols

2007-01-17 Thread Max Kaufmann
The age-old problem, finally hacked: /* Symbolize Contours By Max Kaufmann */ function copy_array(src,dest) { for (var i=0; isrc.length; i++) dest[i] = src[i]; } fl.outputPanel.clear(); var doc = fl.getDocumentDOM(); var tl = doc.getTimeline

Re: [Flashcoders] Flash on Wii

2006-12-28 Thread Max
Hey, good news. The buttons on the Wiimote give out key events. http://wiinintendo.net/2006/12/27/wiimote-d-pad-works-in-javascript-or-flash-games/ On 12/25/06, Max [EMAIL PROTECTED] wrote: Any key events? What about right-clicks or mouse scrolling? I'd do it myself but I'm facinated

Re: [Flashcoders] Flash Game - Post Encrypted Score toserver sidescript

2006-12-28 Thread Max
Record the input for the game and transfer it to the server, then simply play back the winner to see if they earned it. I've done it, although not for a high scoreboard, and as long as you don't use Math.random() it works fine. If you need a random number generator you'd have to write your own

Re: [Flashcoders] Flash on Wii

2006-12-25 Thread Max
Any key events? What about right-clicks or mouse scrolling? I'd do it myself but I'm facinated by this and don't have any wireless Internet for a while so I can't test anything. On 12/25/06, Martin Jonasson [EMAIL PROTECTED] wrote: I've also been doing some poking around. It seems it renders

Re: [Flashcoders] Uncompress a gzipped file

2006-08-10 Thread Max
Zlib (Flash) uses an ADLER32 checksum, see RFC 1950 [1], whereas zip uses CRC-32 [2]. The checksum is calculated over the uncompressed file so imho it's impossible to uncompress a file in a 3rd party created zip archive (you don't have the ADLER32 checksum that Flash needs - the dog bites its

Re: [Flashcoders] Uncompress a gzipped file

2006-08-10 Thread Max
Bingo! I've put together a hack that shows this is possible. I tried doing this with Python, but then I noticed php has the same features and I'm no good with Python. Here's how to do it. Make a php file that uses gzcompress, something like this... header('Content-Type:

Re: [Flashcoders] Uncompress a gzipped file

2006-08-10 Thread Max
to access external files without Flex's embed feature is to individually download them. I think finding some way to effectively use Flash's compression features would be a major advantage. On 8/10/06, Max [EMAIL PROTECTED] wrote: Bingo! I've put together a hack that shows this is possible. I tried

Re: [Flashcoders] Uncompress a gzipped file

2006-08-09 Thread Max
It seems your right, I tried removing the header info already, but it looks more complex than I thought. I can actually see the original filename in the header. After all that experimenting with a hex editor I forgot to actually check the file itself. Why is it every time I post on a forum or

Re: [Flashcoders] Uncompress a gzipped file

2006-08-09 Thread Max
be useful to everyone, as you could compress any binary file and decompress it within flash. As far as I can tell there's no way to do this right now. On 8/9/06, Max [EMAIL PROTECTED] wrote: It seems your right, I tried removing the header info already, but it looks more complex than I thought. I can

Re: [Flashcoders] Uncompress a gzipped file

2006-08-09 Thread Max
Shouldn't there be more interest in this? Flash's compress() and uncompress() features use DEFLATE, which is the same algorithim used in zip files and png images. Imagine compressing XML files to a tiny fraction of their original size and decompressing them within flash! The uses are endless,

[Flashcoders] Uncompress a gzipped file

2006-08-08 Thread Max
I'm writing a program that processes a huge 4MB binary file in Flash 9. Thing is, if I compress it (specifically with gzip) I can lower the size to 1.67MB. My problem is that I can't uncompress it using ByteArray's uncompress() feature on the gzipped file. The documentation for compress() says

Re: [Flashcoders] How to embed metadata in SWF files?

2006-07-20 Thread Max
I'm pretty sure Flash 9 has built in metadata capabilities, although I've never used them and I'm not aware of any way to access them from Actionscript code. Here's some of the arguments you can use with mxmlc. -metadata.contributor name -metadata.creator name -metadata.date text