Re: [Flashcoders] Flash to HTML

2014-08-08 Thread David Cohn
Hmmm... that's very strange re: the HTML file-- but it's definitely getting rebuilt during the build process. Are you modifying the index.html file in the Export/html5/bin directory? Anyway, as I said, this is the least important gripe... I'll take a further look at greensock-- it look

Re: [Flashcoders] Flash to HTML

2014-08-07 Thread David Cohn
(with, of course, the exception of IE8)... as did Haxe. There may be retorts for all these criticisms, since I've only looked so far... please feel free to contradict me! Thanks, --Dave On Jun 24, 2014, at 9:00 AM, flashcoders-requ...@chattyfig.figleaf.com wrote: On 23/06/2014 17:29, David Cohn

Re: [Flashcoders] Flash to HTML

2014-07-31 Thread David Cohn
@Cedric, Finally got a chance to play around a bit with Haxe-- really looks promising! I'm wondering how you approach combining HTML with the more complex Flash-style content-- do you compile your Haxe files and then add the appropriate div's etc into a separate HTML file? I.e. it looks like

Re: [Flashcoders] Flash to HTML

2014-06-23 Thread David Cohn
Cedric, I've been here since the get-go... in digest mode, so most questions are answered by the time I get them ;-) Thanks-- time to delve into Haxe-- I'm excited! --Dave Nice to see you on board the Haxe train! Not seen you in the mailing list?

Re: [Flashcoders] Flash to HTML

2014-06-22 Thread David Cohn
Thanks Cedric; looks like it's well worth exploring. Am I right in believing that you can compile to vanilla PHP code, without the need for any additional server installations? Would love to see your example... Thanks, --Dave On Jun 21, 2014, at 9:00 AM,

Re: [Flashcoders] Flash to HTML

2014-06-20 Thread David Cohn
John, Flash HTML5 Canvas publishing uses createJS. If, like me, you're using CS6 instead of doing the CC subscription route, there's a Toolkit for that as well (http://www.adobe.com/devnet/createjs.html). I'm just beginning to look at this, and additionally I have the luxury of starting with

Re: [Flashcoders] Air Windows installed app

2014-03-01 Thread David Cohn
Natalia, In saveXML, try: appFile = File.applicationStorageDirectory.resolvePath(data/sets.xml); Several quibbles with the code, but this should work... HTH, --Dave Ok, I understand. Where I must save my data?I have them in the same folder as fla file. 2014-03-01 16:58

Re: [Flashcoders] Colour rendition of imported assets

2013-11-05 Thread David Cohn
The solid color may be because you're sampling the color of the layer in photoshop, rather than the anti-aliased image as in Flash. Could you try exporting from photoshop as a jpeg-- that way you would at least see what's happening in the compression? I'm working on a project that includes a

RE: [Flashcoders] TLFTextField drowning me ...

2013-08-28 Thread David Cohn
So if CC no longer supports TLF, is there any long-term option in Flash for right-to-left text? Will Flex support TLF, and/or have other options for RTL support? This is something I haven't delved into yet, but may come up soon for a project. It would be good to start in with a long-term

[Flashcoders] Re: Flashcoders Digest, Vol 46, Issue 12

2011-07-20 Thread David Cohn
-8859-1; format=flowed On 19/07/2011 17:18, David Cohn wrote: Gerry, If you can go with an app, check out Zinc. It offers several system interfaces, including invoking DLLs directly: http://www.multidmedia.com/support/livedocs/ --Dave It attracted some poor comments at one time - I

Re: [Flashcoders] Calling native code from Flash

2011-07-19 Thread David Cohn
Gerry, If you can go with an app, check out Zinc. It offers several system interfaces, including invoking DLLs directly: http://www.multidmedia.com/support/livedocs/ --Dave On Jul 19, 2011, at 9:00 AM, flashcoders-requ...@chattyfig.figleaf.com wrote: Message: 12 Date: Tue, 19 Jul 2011

[Flashcoders] CROSSPOST - System.security error recompiling AS2 source in CS5

2010-09-17 Thread David Cohn
Hey all, Is anyone still supporting AS2 code in CS5 with System.security calls? I'm making a call to System.security.loadPolicyFile(), and getting a compile error: .../Library/Application Support/Adobe/Flash CS5/en_US/Configuration/Classes/FP8/System/security.as, Line 7 The name of this

RE: [Flashcoders] Allowing website user to record video and voice

2009-11-16 Thread David Cohn
Kevin, Yes, we've been using influxis for several years now, with no big problems-- and no complaints from users about access (that I know of). The only slight problem is it seems that if you don't log onto their site for a long time, your password will expire. Just call them and it's reset,

[Flashcoders] Re: Flashcoders Digest, Vol 12, Issue 16

2008-09-24 Thread David Cohn
Jim, Do you want something like this? (movie_clip is the instance name) movie_clip.play(); movie_clip.stop(); movie_clip.gotoAndStop(x); // for scrubber --Dave Date: Wed, 24 Sep 2008 08:58:14 -0400 From: Jim Elmore [EMAIL PROTECTED] Subject: [Flashcoders] Pause/Play

[Flashcoders] ConvolutionFilter stops when it gets online

2007-07-24 Thread David Cohn
Hey all, What could cause a ConvolutionFilter to not show up online, when it works perfectly well locally? I'm publishing as Flash Player 8, ActionScript 2.0, my browser uses Shockwave Flash 9.0 r45, and the actionScript is including (I've tried import flash.filters.* as well): import

Re: [Flashcoders] AS2: LocalConnection as broadcaster?

2007-07-20 Thread David Cohn
Ivan, Using a SharedObject seems like a workable solution-- thanks for that take. Although it still seems to me a grave lack in the LocalConnection implementation. --Dave On Jul 20, 2007, at 1:45 AM, Ivan Dembicki wrote: private Hello David, I'm not sure is you received my mail to

Re: [Flashcoders] AS2: LocalConnection as broadcaster?

2007-07-19 Thread David Cohn
Yes indeed, but doesn't this seem to be arbitrarily restrictive? Suppose you're trying to coordinate loading pictures between 3 or 4 plugins-- how can you do it without implementing a fairly complex scheme of attempted connects and changing connection names? On Jul 19, 2007, at 2:00

[Flashcoders] AS2: LocalConnection as broadcaster?

2007-07-18 Thread David Cohn
It looks like when you .send using LocalConnection, the first listener gobbles up the message, so that if there are two SWF files which have connected, only one will receive the message. Do I understand this correctly? This seems like an artificial limitation that makes no sense to

[Flashcoders] XML Load delay, and looks like infinite loop?

2007-07-18 Thread David Cohn
I have a class which does an XML load, and receives a response that's roughly 10k. We use this class in several different instances. We're tracing the server, and the response is sent about one second after receiving the request. Then we see a roughly 15 second delay before the

Re: [Flashcoders] MovieClips and levels

2007-06-06 Thread David Cohn
to the old movieclip levels. It was so difficult to manage. Cheers Patrick On Jun 5, 2007, at 6:13 PM, David Cohn wrote: Hey all, Is there a way to transfer, or copy, a movieClip between levels? I'd like to do something like: var mc = somelevel.createEmptyMovieClip

[Flashcoders] MovieClips and levels

2007-06-05 Thread David Cohn
Hey all, Is there a way to transfer, or copy, a movieClip between levels? I'd like to do something like: var mc = somelevel.createEmptyMovieClip(..); ...and then have the root be able to access it: _root.copyMovieClip( mc ) or _root.attachMovieByReference(

Re: [Flashcoders] textheight and embedded text

2007-06-01 Thread David Cohn
Can anyone confirm or deny that the textHeight property doesn't respond with embedded fonts? Or am I just going crazy? Thanks, --Dave I'm trying to dynamically fit text into a Dynamic TextField by repetitively adding text and checking the textHeight property (I want to add an ellipsis at

[Flashcoders] textheight and embedded text

2007-05-30 Thread David Cohn
Hey all, I'm trying to dynamically fit text into a Dynamic TextField by repetitively adding text and checking the textHeight property (I want to add an ellipsis at the end of text which is cut off, so I can't just stuff all the text in there). This works fine, until I embed the

RE: [Flashcoders] DepthManager stops working with loadMovie?

2007-05-10 Thread David Cohn
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Cohn Sent: Thursday, May 10, 2007 7:34 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] DepthManager stops working with loadMovie? Hey all, It seems the DepthManager doesn't work with SWFs that have been loaded. At least, I

RE: [Flashcoders] DepthManager stops working with loadMovie? - RESOLVED

2007-05-10 Thread David Cohn
events thru that object Durairaj www.expertbuddy.net -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Cohn Sent: Thursday, May 10, 2007 7:34 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] DepthManager stops working with loadMovie? Hey

[Flashcoders] Re: Flashcoders Digest, Vol 5, Issue 19

2007-05-09 Thread David Cohn
the background color to an opaque color, and then drawing the transparent bitmap on top of it. var m_cBitmap = new BitmapData( target_mc._width, target_mc._height, true, 0x0 ); if you don't specify the color, it might be using 0xff00 (black with an alpha of 255). --Brian On 5/8/07, David Cohn

[Flashcoders] Bitmap draw and transparency

2007-05-08 Thread David Cohn
Hey all, I must be missing something straight-forward here... I'm loading a PNG file with a transparent background, and then I want to extract the Bitmap, preserving its transparency. The loaded clip shows up with the transparent background, but after the .draw(), the bitmap seems to

Re: [Flashcoders] [semi-OT] - Preventing Software Piracy

2007-04-17 Thread David Cohn
Nik, I missed the beginning of this thread (on vacation), so forgive me if I misunderstand the premises... but we've had a good experience using CrypKey Instant to wrap applications (http://www.crypkey.com/), which then require a software key to unlock for specific machine(s) only (it

[Flashcoders] localTrusted in DCR in Browser

2007-03-25 Thread David Cohn
Hey all, I've got a Flash file that wants to read a local XML file (from the same directory), in a browser. I've set the file to be trusted, and it works fine with the SWF object. But, this file has to be embedded in a Director file for some other functionality, and from the DCR, I can't

[Flashcoders] unchosen ComboBox

2007-03-12 Thread David Cohn
Hey all, I'm trying to get a ComboBox to start out unchosen (e.g. shows choose one), but not allow the user to select that initial value. It basically works if I set : my_cb.dataProvider = { data:1, label:A, data:2, label:B, ... }; my_cb.text = choose one;

Re: [Flashcoders] Updating old source

2007-03-09 Thread David Cohn
up the Flash IDE with your exported FLA project. Of the 2, flash-decompiler is the most painless for exporting, but ASV seems to have a better, if more complex interface for looking at SWF files. HTH Glen David Cohn wrote: The source is not corrupted as far as I can tell, since

[Flashcoders] Updating old source

2007-03-08 Thread David Cohn
Hey all, I'm trying to update some old, old source FLA files which were last updated in Flash MX (the original development preceeded even that), and I'm having trouble with some of the files-- i.e. Flash crashes on opening them! The old source is on a Mac 10.2.8 system, and I need to get

Re: [Flashcoders] Updating old source

2007-03-08 Thread David Cohn
then why not open them in 10.2 where it works and then copying the code out to text files? -Andy On 3/8/07, David Cohn [EMAIL PROTECTED] wrote: Hey all, I'm trying to update some old, old source FLA files which were last updated in Flash MX (the original development preceeded even that), and I'm

Re: [Flashcoders] Updating old source

2007-03-08 Thread David Cohn
these are Windows only so you may want to Google for other stuff or someone else may want to help you out here... Glen David Cohn wrote: Andy, Sorry if that wasn't specific enough. By source, I mean .fla files-- replete with all sorts of graphics, movieClips, buttons, etc... Thanks, --Dave

Re: [Flashcoders] Dragging a clip gives erratic ._x numbers

2007-02-28 Thread David Cohn
Paul, I know it's no help, but I recently ran into this also and never found a workaround... I'd love to know if you find one! --Dave Heya folks, This is baffling me (and making me very annoyed), and I haven't found an answer elsewhere, so here goes... I have a main movie with a

[Flashcoders] Re: Flashcoders Digest, Vol 25, Issue 53

2007-02-17 Thread David Cohn
Thanks, [Inspectable] metadata does the trick! Where would people go for overview documentation on this stuff? Flash (8) Help shows nothing for metadata nor Inspectable. I found info on the adobe site once I knew what to look for, but is there a good summary available? (if possible,

[Flashcoders] extends MovieClip

2007-02-16 Thread David Cohn
Hey all, As per my earlier thread, I've been playing around with the Component Definition dialog box in order to create a class which extends MovieClip, where the class can be passed parameters (or, set in the Parameters tab as the case may be). This seems to implement what I want, but

[Flashcoders] Re: extends MovieClip

2007-02-05 Thread David Cohn
Hey all, Thanks for all the insights! Sounds like you are trying to extend an instance of a MovieClip... Yes, this mistake did creep into my thinking a bit-- thanks for getting me back on track! I'm trying to create code such that a graphic designer can hand me a movieClip and I can

[Flashcoders] Re: extends MovieClip

2007-02-05 Thread David Cohn
://muzakdeezign.com/flashcoders/?q=dynamically%20assign%20class http://muzakdeezign.com/flashcoders/?q=dynamically%20associate% 20movieclip%20class - Original Message - From: David Cohn [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Monday, February 05, 2007 7:15 PM Subject

[Flashcoders] Re: extends MovieClip

2007-02-05 Thread David Cohn
Attila, Great... this makes sense and helps immensely! Thanks for all your help, --Dave On Feb 5, 2007, at 4:07 PM, [EMAIL PROTECTED] wrote: Date: Mon, 5 Feb 2007 20:21:55 +0100 From: Rákos Attila [EMAIL PROTECTED] Subject: Re: [Flashcoders] Re: extends MovieClip DC Truthfully, I've

[Flashcoders] extends MovieClip

2007-02-04 Thread David Cohn
Hey all, Is it possible to use a class extends MovieClip on a pre-existing (authored) MovieClip? I'd like to seamlessly do something like: class blah extends MovieClip { public function blah() { this.onRelease = function() { // handle release

[Flashcoders] PrintJob and dynamic functionality

2006-11-08 Thread David Cohn
Hey all, I'm trying to use the printJob class (AS 2.0) to print a page with a dynamically drawn chart, something like: mc_pp = _root.createEmptyMovieClip(printbox, this.getNextHighestDepth()); mc_pp.attachMovie(printPage+i, printPage, 100, {_x:-1000, _y:-1000}); //

[Flashcoders] Safari bug? Click doesn't register until mousemove

2006-05-08 Thread David Cohn
Sounds similar to something I may have reported (I can't remember). I've got a button that issues an XML.sendAndLoad I see the button triggered on mousedown, but I never get the response until the mouse moves. (However, this happens in authoring) I can work around this by using a

[Flashcoders] fileReference download

2006-04-14 Thread David Cohn
Hey all, I'm having real problems with FileReference download. I'm doing the following... the class is created with a verified URL and legit filename. The .download() call returns success I get the OS dialog box (Mac OSX 10.4.5 - also tried online on Win XP) I select a folder, and hit Save

Re: [Flashcoders] XML load hang...

2006-02-11 Thread David Cohn
Message - From: David Cohn [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Friday, February 10, 2006 5:00 PM Subject: Re: [Flashcoders] XML load hang... Agreed it looks like my fault... but it's a simple app (no key listeners, etc.) What could I be doing that could cause

Re: [Flashcoders] XML load hang...

2006-02-10 Thread David Cohn
Agreed it looks like my fault... but it's a simple app (no key listeners, etc.) What could I be doing that could cause such behavior? David Cohn schrieb: Hey all, It seems that sometimes when I issue a load on an XML object, the onLoad function doesn't get called until something or other

[Flashcoders] Re: Flashcoders Digest, Vol 11, Issue 24

2005-12-08 Thread David Cohn
(target_mc:MovieClip, bytesLoaded:Number, bytesTotal:Number) { trace(loaded=+bytesLoaded+, total=+bytesTotal); }; David Cohn wrote: Hey all, After using loadMovie on a blank movieclip, I do: onClipEvent(data) { trace(loaded=+this._framesloaded+, total=+this._totalframes

[Flashcoders] Re: _framesloaded and _totalframes

2005-12-08 Thread David Cohn
is fully loaded. Is this information available at all from outside a loaded clip? Thanks, --Dave On Dec 8, 2005, at 8:14 AM, David Cohn wrote: Thanks Chris, good to know. So there's no good Flash 6 solution? Yeah, this is a problem in flash. A better loading method is to use

[Flashcoders] privacy/security settings

2005-10-27 Thread David Cohn
Hey all, It appears that in order to use the ExternalInterface, users must allow certain privacy and/or security settings. I've messed around with these so much that I'm not sure how to direct users to initialize these appropriately... 1. What are the minimum changes a user must make to