RE: [Flashcoders] vars with $

2006-08-18 Thread Tom Lee
I've used it to indicate arguments in a function to clarify the origin of the variable, like this: function myFunc($arg1,$arg2){ trace($arg1+ : +$arg2); } I don't know where I picked that up, but for me it makes the code easier to read since you know immediately they are arguments. I've

RE: [Flashcoders] vars with $

2006-08-18 Thread Tom Lee
wierd :). There is no special meaning - I don't think it should even be valid. On 8/18/06, Tom Lee [EMAIL PROTECTED] wrote: I've used it to indicate arguments in a function to clarify the origin of the variable, like this: function myFunc($arg1,$arg2){ trace($arg1+ : +$arg2); } I

RE: [Flashcoders] vars with $

2006-08-18 Thread Tom Lee
) and ActionScript. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Lee Sent: Friday, August 18, 2006 1:38 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] vars with $ I've used it to indicate arguments in a function to clarify the origin

RE: [Flashcoders] Trying not to loadMovie multiple times

2006-07-21 Thread Tom Lee
Have you considered loading the SWF as binary data through the Loader class? Supposedly, you can use Loader.loadBytes to load a SWF as a byteArray and then add it to the display list. If you keep a copy of the byteArray, you should theoretically be able to add it to the display list as many times

RE: [Flashcoders] AS3, BitmapData and domain security

2006-07-21 Thread Tom Lee
Paul, I believe the policy file being referred to is the crossdomain.xml file. Here's a technote for you on the subject, in case you're not familiar: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14213. After you get up to speed on cross-domain policy files, you'll want to check out

RE: [Flashcoders] getting started with AS3

2006-07-21 Thread Tom Lee
If you are a licensed user of Flash 8, you can download the Flash 9 AS3 Preview at http://labs.adobe.com/technologies/flash9as3preview/. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bbt Lists Sent: Friday, July 21, 2006 1:35 PM To: Flash Lists

RE: [Flashcoders] AS3, BitmapData and domain security

2006-07-21 Thread Tom Lee
and 9 have this security feature as I don't see what extra security it provides apart from annoying developers. Paul. On 21/07/06, Tom Lee [EMAIL PROTECTED] wrote: Paul, I believe the policy file being referred to is the crossdomain.xml file. Here's a technote for you on the subject, in case

RE: [Flashcoders] scale9grid how to

2006-07-20 Thread Tom Lee
I'm curious how you originally intended to use 9-slice scaling - the uses I would have for 9-slice would be interface component backgrounds and so forth, for which it would be far from useless. If you tell us what you're trying to do, perhaps we can suggest an alternate approach? -Original

RE: [Flashcoders] Accessing Vertices of Geometries

2006-07-20 Thread Tom Lee
What version of the Flash Player are you targeting? The basic idea would be to put a button at each vertex, use startDrag and stopDrag to enable drag-drop on those buttons, and redraw the shape on mouseMove during drag actions, getting the new coordinates from the button locations. The specifics

RE: [Flashcoders] scale9grid how to

2006-07-20 Thread Tom Lee
the guides to my needs. But it doesn´t work. I found an ugly workaround for this. Textfields and movieClips inside would be good too. On 7/20/06, Tom Lee [EMAIL PROTECTED] wrote: I'm curious how you originally intended to use 9-slice scaling - the uses I would have for 9-slice would be interface

RE: [Flashcoders] Flash and SSL/HTTP Basic Authentication

2006-07-20 Thread Tom Lee
I've had good luck with SSL and HTTP Basic across all platforms. As you say, it is handled by the browser. I have run into problems using Flash's WebService components over secure connections when testing within the IDE. If you're testing on a web server, you should be fine. -tom -Original

RE: [Flashcoders] webservice - https and flash

2006-06-22 Thread Tom Lee
I share the opinion that it's best to test web service connectivity outside the IDE. HTTPS problems are also one of the reasons why I don't use the Web Service components that ship with Flash. The safest bet is to do your testing from a development server in the same network environment as your

RE: [Flashcoders] help

2006-06-20 Thread Tom Lee
Richard, You may find this devnet article on AfterEffects and Flash integration helpful: http://www.adobe.com/devnet/flash/articles/3d_in_flash.html -tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bachman, Richard Sent: Tuesday, June 20, 2006

[Flashcoders] Targeting multiple player versions with one swf

2006-06-20 Thread Tom Lee
Hi everyone, Does anyone know of any techniques that can be used to write ActionScript targeting more than one version of the Flash player? This would be for the purpose of creating an application that is backward-compatible, but uses functionality specific to a newer SWF specification when a

RE: [Flashcoders] Eolas fix and backspace key flash bug

2006-06-15 Thread Tom Lee
:41 AM, Tom Lee wrote: the solution to all of this is to just use one of the many js solutions that don't have issues like this. If you're referring to the issue I'm reporting, I'm afraid your solution is not immune either. Two out of 3 of my PCs will show the click to activate message

RE: [Flashcoders] Eolas fix and backspace key flash bug

2006-06-15 Thread Tom Lee
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Newman Sent: Thursday, June 15, 2006 2:35 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Eolas fix and backspace key flash bug Tom Lee wrote: If you're referring to the issue I'm reporting, I'm afraid your

RE: [Flashcoders] Transparent independent window (not wmode)3rd partytools?

2006-06-14 Thread Tom Lee
Quicktime can embed some versions of Flash within it, but I believe that only works up to Flash 5. Really cool technique though! -tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Weyert de Boer Sent: Wednesday, June 14, 2006 11:53 AM To: Flashcoders

RE: [Flashcoders] Eolas fix and backspace key flash bug

2006-06-14 Thread Tom Lee
, if it isn't too OT. Thanks, Kevin N. Tom Lee wrote: Kevin, I just tried out your patentmagic demo, and found that it suffers from the same problem I have faced in my own attempts. If you empty your cache and then reload the page, the Active X control does require activation. (I have

[Flashcoders] Can a movie in _level1 load a movie into _level0, and then execute more actions?

2006-06-14 Thread Tom Lee
Sorry for the long subject line, guys. I've never had to do much with _levels, and so I don't understand how they work very well. The Help docs seem sparse on the topic as well. Anyway, I'm doing some experimentation, and I'm trying to get a swf in _level1 to load a movie into _level0, wait for

[Flashcoders] Can a movie in _level1 load a movie into _level0, and then execute more actions?

2006-06-14 Thread Tom Lee
Found the answer in the Help docs, and its NO. Loading a movie into _level0 wipes out everything in the other levels too. -tom ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] Can a movie in _level1 load a movie into _level0, and then execute more actions?

2006-06-14 Thread Tom Lee
To put this in context, my original post where I initially asked the question appears not to have arrived. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Lee Sent: Wednesday, June 14, 2006 5:26 PM To: 'Flashcoders mailing list' Subject: [Flashcoders

RE: [Flashcoders] Eolas fix and backspace key flash bug

2006-06-14 Thread Tom Lee
way, but it more about JScript ActiveX and IE than it is about Flash at this point. I'll let you guys decide if this should continue on the list... Kevin N. Tom Lee wrote: Really I wasn't considering the delay as a real solution. It was just something I was using to probe for clues

RE: [Flashcoders] Eolas fix and backspace key flash bug

2006-06-14 Thread Tom Lee
/MicrosoftsEolasActiveXPatchForIESometimesBreak sJavaScriptWorkaround.aspx -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Lee Sent: Wednesday, June 14, 2006 10:21 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Eolas fix and backspace key flash bug Some good thoughts, Kevin

RE: [Flashcoders] Transparent independent window (not wmode)3rd party tools?

2006-06-13 Thread Tom Lee
Jason, I think what you are looking for is something like www.screentime.com/mprojector. Check out www.screentime.com/software/mprojector/flas.html#flashShapedWindows - pretty cool! It allows for non-square and semi-transparent windows. -tom -Original Message- From: [EMAIL PROTECTED]

RE: [Flashcoders] Eolas fix and backspace key flash bug

2006-06-13 Thread Tom Lee
Alec, I'm glad you brought this up: now I'll know I'm not going crazy when I see the same behavior. Unfortunately, I don't have an answer for you. Just wanted to say that I think your question was a good one. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

RE: [Flashcoders] How to hide SWF Assets from Internet users

2006-06-07 Thread Tom Lee
This is a problematic area for sure. It's technically impossible to completely protect the data in a swf from being cached and decompiled. If you do use the _url property, it is entirely possible for someone to decompile and rewrite the viewer swf to send back whatever they want instead of the

[Flashcoders] Prevent Multiline Selectable TextField from scrolling?

2006-06-05 Thread Tom Lee
This should be a trivial problem, but for some reason I'm not seeing an obvious and clean solution (one of those Mondays). What I want to do is prevent a TextField from scrolling when the user selects the text. Essentially, have the text be selectable but locked in place, regardless of the height

RE: [Flashcoders] Prevent Multiline Selectable TextField fromscrolling?

2006-06-05 Thread Tom Lee
: [Flashcoders] Prevent Multiline Selectable TextField fromscrolling? Only thing I can think of right now is always showing all of the text, and masking the portion you want to hide... On Jun 5, 2006, at 4:05 PM, Tom Lee wrote: This should be a trivial problem, but for some reason I'm

RE: [Flashcoders] Prevent Multiline Selectable TextFieldfromscrolling?

2006-06-05 Thread Tom Lee
Selectable TextFieldfromscrolling? onScroll event method, and revert the scroll value back to some saved value... MW - Original Message - From: Tom Lee [EMAIL PROTECTED] To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Sent: Monday, June 05, 2006 10:27 PM Subject: RE

RE: [Flashcoders] Prevent Multiline Selectable TextFieldfromscrolling?

2006-06-05 Thread Tom Lee
, or other means of scrolling, the scrollPosition will not be taken into account. Again, if I had the time this could probably be made to compensate for the caveats. Hope it helps. Derek Vadneau - Original Message - From: Tom Lee [EMAIL PROTECTED] To: 'Flashcoders mailing list' flashcoders

[Flashcoders] Embedding a SWF using base64 and Data: URI scheme

2006-06-02 Thread Tom Lee
Hi everyone, In the original Microsoft list of workarounds for the Eolas patch, one of the possible workarounds was to base64 encode your swf and embed the data inline in your object tag. The original page has since been removed, and the only evidence I can now find of this is at

RE: [Flashcoders] Font symbols and bold/italic (cont.)

2006-06-02 Thread Tom Lee
I'm a little confused as to what your exact question is... Are you having trouble getting the bold and italic styles to display properly, or is it an issue of trying to achieve a preferred methodology? -tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

RE: [Flashcoders] .NET and XML Web services - WORKS - thanks

2006-06-02 Thread Tom Lee
Glad to hear you got it working! -tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Thursday, June 01, 2006 5:32 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] .NET and XML Web services - WORKS - thanks This is an old

RE: [Flashcoders] Font symbols and bold/italic (cont.)

2006-06-02 Thread Tom Lee
Danny, I hope that I don't insult your intelligence by referring you to a TechNote. But, by following the steps as shown at http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14786 I was able to use a shared font successfully in Flash 8. It sounds as if you may be taking some unnecessary

RE: [Flashcoders] Font symbols and bold/italic (cont.)

2006-06-02 Thread Tom Lee
If you want to do run-time embed rather than author-time embed, you follow the exact same procedure, except that the linkage for your font library would be Export for runtime sharing instead of Export for ActionScript. I tried it with a really complex font called JokerMan and my resulting

RE: [Flashcoders] Font symbols and bold/italic (cont.)

2006-06-02 Thread Tom Lee
never managed to do this would like to know if its possible. I have no trouble using shared assets movie clips, fonts, sounds etc its just this one last thing that would make me very happy. Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Lee Sent

RE: [Flashcoders] Embedding a SWF using base64 and Data: URI scheme

2006-06-02 Thread Tom Lee
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Cheng Sent: June 2, 2006 3:01 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Embedding a SWF using base64 and Data: URI scheme Tom Lee wrote: In the original Microsoft list of workarounds for the Eolas patch, one

RE: [Flashcoders] create an object of type defined with a string

2006-06-01 Thread Tom Lee
Danny, Out of curiosity, why do you need a function that returns an object of a type passed as a string? It's a neat idea, but I'm scratching my head as to where one might apply it. -tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Danny Kodicek

RE: [Flashcoders] create an object of type defined with a string

2006-06-01 Thread Tom Lee
Makes total sense! Valuable info for the rare occasion I do a Director/Flash hybrid. Thanks for indulging me. :) -tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Danny Kodicek Sent: Thursday, June 01, 2006 2:26 PM To: Flashcoders mailing list

RE: [Flashcoders] by

2006-05-31 Thread Tom Lee
Can we please kill this thread? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marcelo de Moraes Serpa Sent: Wednesday, May 31, 2006 10:00 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] by Khodam,are you the same guy who posted that msg

RE: [Flashcoders] by

2006-05-31 Thread Tom Lee
] by Tom, how could we do that? (Kill the thread)? Yeah, I think it´s a nice idea. On 5/31/06, Tom Lee [EMAIL PROTECTED] wrote: Can we please kill this thread? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marcelo de Moraes Serpa Sent: Wednesday

RE: [Flashcoders] Shockwave files.

2006-05-30 Thread Tom Lee
Converting shockwave files into video is a tricky process. If you use any kind of scripting to control the animation, you're likely to have problems. The only good way I know of is to hook a DV deck to a video output on your computer, if it has one. Then, play your shockwave full-screen while

RE: [Flashcoders] self published.

2006-05-30 Thread Tom Lee
I think what Mike was getting at was that a SWF hosted on Server A could talk to a SWF hosted on Server B via LocalConnection, provided they were running simultaneously on the same client machine. SWF A could talk to Server A, SWF A could talk to SWF B, and then SWF B could talk to Server B -

RE: [Flashcoders] HELP STILL NEEDED, PLEASE!

2006-05-24 Thread Tom Lee
Wow, that IS cheap and nasty! ;) Just wanted to point out that if you intend to use the external swfs in any other project, this is a bad way to go, since the _parent.play() will cause the parent movie to play regardless of what the parent movie is. A more future-proof approach would be to call

RE: [Flashcoders] Benchmark script or CPU detection

2006-05-24 Thread Tom Lee
What I usually do is play an animation of moderate complexity for a hundred frames or so, and test how long it takes that clip to complete. Based on the scores from a few test machines, you can figure out how long it takes for an average machine to play the clip. If the end user's machine takes

RE: [Flashcoders] SetInterval vs. onEnterFrame

2006-05-24 Thread Tom Lee
Yes, it would be more processor and memory intensive to use empty movieclips for sync. The reason for this is that a movieclip is a special kind of object that has a ton of its own built-in methods and properties, none of which you need for timing purposes. Managing the interval id's shouldn't

RE: [Flashcoders] .NET and XML Web services

2006-05-18 Thread Tom Lee
My preferred method to date is to use LoadVars and access the .Net web services over a standard HTTP request. The reason for this is that I can easily write my own WebServices class that extends LoadVars, and it ends up being lighter and faster than the one Adobe provides. I haven't tried the

RE: [Flashcoders] .NET and XML Web services

2006-05-18 Thread Tom Lee
. Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Lee Sent: Thursday, May 18, 2006 11:26 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] .NET and XML Web services My preferred method to date is to use LoadVars and access the .Net web

RE: [Flashcoders] .NET and XML Web services

2006-05-18 Thread Tom Lee
years ago - it would have saved me some work. In any case, it's always good to learn new things. Thanks again. Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Lee Sent: Thursday, May 18, 2006 11:53 AM To: 'Flashcoders mailing list' Subject: RE

RE: [Flashcoders] .NET and XML Web services

2006-05-18 Thread Tom Lee
7 correct? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Lee Sent: Thursday, May 18, 2006 11:53 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] .NET and XML Web services Jim, If you use the LoadVars.onData handler rather than

RE: [Flashcoders] .NET and XML Web services

2006-05-18 Thread Tom Lee
Hard to say... The WSDL loads in my browser too, so it looks like it should work. Just as a test, you could try an LoadVars.load on that URL and trace out the results in the onData handler. If that is successful, then we need to figure out why the WebService class isn't working for you. If

RE: [Flashcoders] .NET and XML Web services

2006-05-18 Thread Tom Lee
? Jason -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Lee Sent: Thursday, May 18, 2006 12:26 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] .NET and XML Web services Hard to say... The WSDL loads in my browser too, so it looks like

RE: [Flashcoders] .NET and XML Web services

2006-05-18 Thread Tom Lee
That sounds about right to me! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Thursday, May 18, 2006 2:02 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] .NET and XML Web services Thanks Dave! Thanks Tom! I'm learning a

RE: [Flashcoders] .NET and XML Web services

2006-05-18 Thread Tom Lee
, but there should be no need to load the response into an XML object (step 3). Make sense? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Lee Sent: Thursday, May 18, 2006 2:15 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] .NET and XML Web

RE: [Flashcoders] .NET and XML Web services

2006-05-18 Thread Tom Lee
how you would do it otherwise? Jason -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Lee Sent: Thursday, May 18, 2006 2:30 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] .NET and XML Web services Actually, on re-reading your message

RE: [Flashcoders] .NET and XML Web services

2006-05-18 Thread Tom Lee
I can't find docs for xfactor XPath, but a quick look at the XPath class seems to show that you need to pass an XML Node. Doesn't look like it accepts a string. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Thursday, May 18, 2006

RE: [Flashcoders] .NET and XML Web services

2006-05-18 Thread Tom Lee
it as well. Thanks for all your help. Jason Merrill Bank of America Learning and Organizational Effectiveness Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Lee Sent: Thursday, May 18, 2006 3:12 PM To: 'Flashcoders mailing list

RE: [Flashcoders] How to make a MAC - PC hybrid CD-ROM

2006-05-16 Thread Tom Lee
I haven't done this for a couple of years, but I used to use CDEverywhere (www.cdeverywhere.com). It has a really complete feature set for creating hybrid discs, including autorun. For more info, Google Mac PC hybrid cd. That should give you scads of programs and discussions on the subject.

RE: [Flashcoders] Text Height in MovieClip help!

2006-05-11 Thread Tom Lee
I've noticed that some TextField properties do not update themselves until the function that updated them finishes executing. In other words, don't do: function(){ TextField.text = foo; trace(TextField._height); } I have sometimes used SetInterval to wait a tick before testing a

RE: [Flashcoders] How to embed the Flash Player in a desktopapplication

2006-05-09 Thread Tom Lee
You might try the Flash Player SDK: http://www.adobe.com/products/flashplayer_sdk/ Good luck. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Velevitch Sent: Tuesday, May 09, 2006 7:09 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] How

RE: [Flashcoders] [OT] Studio 8 licensing in intelMac dualbootscenario

2006-05-09 Thread Tom Lee
The license permits you to activate the software on two computers, the idea being that a lot of folks have both a workstation and a laptop. Each OS on your dual boot machine would most likely qualify as an individual computer. Check out http://www.adobe.com/products/eula/tools, section 2b.

RE: [Flashcoders] File is cached or not ?

2006-05-09 Thread Tom Lee
My suggestions for you would be 1) Always give the user an option to manually select low-band or hi-band. 2) If you test connection speed, do so with every visit: network conditions will vary. 3) To force the test file to download from the server every time, add a random number (or current

RE: [Flashcoders] How to embed the Flash Player in adesktop application

2006-05-09 Thread Tom Lee
Or license the source code of the Flash Player and stick it in your C++ app. ;) Your call. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Dowdell Sent: Tuesday, May 09, 2006 3:20 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] How to

RE: [Flashcoders] quick xml question

2006-05-08 Thread Tom Lee
This is a pretty general question... The right direction depends a lot on what you're going to do with the data, and what you mean by save. For example, you can save small amounts of xml in a SharedObject on the user's computer. Only that user's computer would have access to the data. If you

RE: [Flashcoders] How to embed the Flash Player in a desktopapplication

2006-05-08 Thread Tom Lee
Chris, I think what you're getting at is How do I create a C++ application that embeds the Flash Player, and how can the embedded Flash Player communicate with the C++ application?. Mike Chambers wrote a terrific article on the subject (his was written in C#), but the DevNet Resource Kit it was

RE: [Flashcoders] recent issues/bugs? help needed

2006-05-06 Thread Tom Lee
You should probably start by verifying that there is nothing wrong with your server. Do other Flash movies on your website work? Do they fail in a particular browser, or all browsers? Check your object/embed HTML. Are you using the HTML created by Flash when you publish your movie? Also, try

RE: [Flashcoders] recent issues/bugs? help needed

2006-05-06 Thread Tom Lee
Hi Johnny, So we've ruled out the server (other Flash movies work fine), and we've ruled out the embed/object tags. We've ruled out the browser too, since it fails on both IE and Firefox. Just out of curiosity, if you right-click the area of the swf as the browser tries to load it, does it

RE: [Flashcoders] Has an SWF file any influence over the filesystem??????

2006-05-05 Thread Tom Lee
Using Flash 8's FileReference class (flash.net.FileReference), you can get a reference to a local file and upload it to a server. However, Flash cannot access the bytes of the file due to security restrictions. If you have a Flash movie in the remote sandbox (the SWF file is hosted on the

RE: [Flashcoders] destructors...

2006-05-04 Thread Tom Lee
Usually, when someone asks how do I delete a class? I assume they mean how do I remove an instance of a class from memory?, rather than How do I delete a class so new instances of it can not be made. I'm pretty sure you can delete the constructor of a class just by saying delete

RE: [Flashcoders] Export Bitmap Data at runtime

2006-05-04 Thread Tom Lee
You may want to wait for AS3. At www.kaourantin.net/2005/10/png-encoder-in-as3.html, you will find a PNG encoder that one of the Flash Player programmers wrote. He's also got a JPG encoder. Both are written in AS3, because the performance would be too slow in AS2. At

RE: [Flashcoders] FLVPlayback Component - button bar

2006-05-03 Thread Tom Lee
I see some public getter/setters for bufferingBar, backButton, forwardButton, muteButton, pauseButton, seekBar, etc. All these extend MovieClip, so they have _x and _y. Is that what you're after? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eric

RE: [Flashcoders] FLVPlayback Component - button bar

2006-05-03 Thread Tom Lee
set its width and have the buttons lay themselves out again. On 5/3/06, Tom Lee [EMAIL PROTECTED] wrote: I see some public getter/setters for bufferingBar, backButton, forwardButton, muteButton, pauseButton, seekBar, etc. All these extend MovieClip, so they have _x and _y. Is that what you're

RE: [Flashcoders] Re: Iterate through instance methods

2006-05-03 Thread Tom Lee
What kind of object are you trying to introspect? A movieclip? Which language are you working with? In ActionScript 3, for...in will only enumerate dynamic properties of an object. You will need to use describeType for static properties and methods. -Original Message- From: [EMAIL

RE: [Flashcoders] LoadVars problems

2006-05-03 Thread Tom Lee
Can you post some actual code? It sounds like either you are executing toString on the LoadVars function itself rather than an instantiated LoadVars object, or you have forgotten the parentheses: 'LoadVars.toString()' instead of 'LoadVars.toString'. -Original Message- From: [EMAIL

RE: [Flashcoders] LoadVars problems

2006-05-03 Thread Tom Lee
toString is a method, not a property. Try list_lv.toString(); instead. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, May 03, 2006 1:13 PM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] LoadVars

RE: [Flashcoders] Web Service Call Timing Out Within Flash (Any Way ToSet A Timeout Var???)

2006-05-02 Thread Tom Lee
Are you using the WebServiceConnector component, the WebService classes, or something else? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Forums Sent: Tuesday, May 02, 2006 11:17 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Web

RE: [Flashcoders] Web Service Call Timing Out Within Flash (AnyWayToSet A Timeout Var???)

2006-05-02 Thread Tom Lee
in classes provided by Adobe/MM but I guess if it will work... Any thoughts??? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Lee Sent: Tuesday, May 02, 2006 10:51 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Web Service Call Timing Out Within

RE: [Flashcoders] Determine text overflow

2006-05-02 Thread Tom Lee
You could also look at not snipping the text at all, but instead using the scroll property of the TextField. Make your TextField one line high, but set multiline to true. Your more arrow would simply increment the scroll property. -Original Message- From: [EMAIL PROTECTED]

RE: [Flashcoders] printJob and printAsBitmap

2006-05-02 Thread Tom Lee
Do you still need help with the issue, or did you figure it out? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Éric Thibault Sent: Tuesday, May 02, 2006 1:51 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] printJob and printAsBitmap Never

RE: [Flashcoders] printJob and printAsBitmap

2006-05-02 Thread Tom Lee
year old project and I have to patch code and add functionalities to a crowded interface and clogged AS... Tom Lee a écrit : Do you still need help with the issue, or did you figure it out? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Éric

RE: [Flashcoders] quick Q about FLVPlayback component

2006-05-02 Thread Tom Lee
Looks to me like the FLVPlayback component extends the VideoPlayer component. The VideoPlayer component loads the video into a Video object (private var _video). The Video object has native _x and _y properties, but I'm not sure if you'll be able to access them since the reference is private.

RE: [Flashcoders] quick Q about FLVPlayback component

2006-05-02 Thread Tom Lee
the whole component needs a resize... but thats not a great solution. On 5/2/06, Tom Lee [EMAIL PROTECTED] wrote: Looks to me like the FLVPlayback component extends the VideoPlayer component. The VideoPlayer component loads the video into a Video object (private var _video). The Video object has

RE: [Flashcoders] quick Q about FLVPlayback component

2006-05-02 Thread Tom Lee
, etc. are all available - pretty cool - thanks :) - e.dolecki On 5/2/06, Tom Lee [EMAIL PROTECTED] wrote: Actually, I was incorrect. FLVPlayback extends MovieClip, and wraps VideoPlayer... Or rather, multiple VideoPlayers. There's a public method getVideoPlayer which returns the VideoPlayer

RE: [Flashcoders] Listeners / ASBroadcasters / Event Dispatchersconfusion

2006-04-28 Thread Tom Lee
Just a quick note: it is a common mistake to capitalize the second letter of AsBroadcaster. If you spell it ASBroadcaster, it will fail silently (according to Flash help docs). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Manuel Saint-Victor Sent:

RE: [Flashcoders] Listeners / ASBroadcasters / EventDispatchersconfusion

2006-04-28 Thread Tom Lee
/ ASBroadcasters / EventDispatchersconfusion Oh yeah- Good catch Tom- I think I was reverting to the old school way. Mani On 4/28/06, Tom Lee [EMAIL PROTECTED] wrote: Just a quick note: it is a common mistake to capitalize the second letter of AsBroadcaster. If you spell it ASBroadcaster, it will fail

RE: [Flashcoders] Question about FLEX2 - AS3 interactiing with LaserScanners ...

2006-04-28 Thread Tom Lee
I think you would have to have an external program that interfaces with the scanner, and then talk to it from Flash using ExternalInterface. One theoretical possibility would be to use a Shockwave movie (which you make using Macromedia/Adobe Director) as a stub that talks to the scanner for you.

RE: [Flashcoders] Reverting flash 7 code to Flash 6

2006-04-26 Thread Tom Lee
What I usually do is look in the Help docs for the particular method or property I am thinking of using, and it tells you what the availability is... I suppose you could search the docs by the string Availability: ActionScript 1.0; Flash Player 6 and that might do it for you. -tom -Original

RE: [Flashcoders] LocalConnection from SWF - Visual Basic?

2006-04-26 Thread Tom Lee
I can't say for sure whether LocalConnection writes to a file or not, but I did want to point out that it can be pretty slow, depending on the number of swfs talking to the gateway swf at once. It certainly SEEMED like it was doing some file IO. In my experience, 10 or 12 swfs talking to the

RE: [Flashcoders] New wrinkle in IE activation issue...

2006-04-19 Thread Tom Lee
Hi guys, Looks to me like SIFR is unaffected by this whole debacle. Can anyone else verify? If this is true, there may be something in the SIFR method that we can identify as a workable solution. -tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [Flashcoders] New wrinkle in IE activation issue...

2006-04-19 Thread Tom Lee
Subject: Re: [Flashcoders] New wrinkle in IE activation issue... SIFR does what all the other solutions do (UFO, FlashObject, etc.): use JavaScript to dynamically embed the ActiveX control. - Original Message - From: Tom Lee [EMAIL PROTECTED] To: 'Flashcoders mailing list' flashcoders

RE: [Flashcoders] New wrinkle in IE activation issue...

2006-04-19 Thread Tom Lee
Thanks, Kevin! This cleared it up for me. As you say, the important thing is that the script is in an EXTERNAL file... Even if you dynamically insert the ActiveX control via innerHTML or the DOM, the script cannot be in the head of the document. -tom -Original Message- From: [EMAIL

RE: [Flashcoders] Detecting the dominating colour in a rectangle ofabitmap

2006-01-10 Thread Tom Lee
Sorry, I meant ColorMatrix. Doh! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Lee Sent: Saturday, January 07, 2006 8:16 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Detecting the dominating colour in a rectangle ofabitmap

RE: [Flashcoders] Massive XML files and Flash

2006-01-07 Thread Tom Lee
I had a project recently where I was parsing huge XML datasets... To get the speed and memory efficiency I needed, I ended up avoiding the XML object altogether. I loaded the XML as a String instead (using LoadVars), and split it into page sized chunks that I could parse on-demand later.

RE: [Flashcoders] Massive XML files and Flash

2006-01-07 Thread Tom Lee
I would suggest looking into setInterval as an architecturally cleaner way of doing this... Has the advantage that the interval is not dependant on the movie's framerate, and has less overhead than instantiating a movieclip. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: [Flashcoders] Detecting the dominating colour in a rectangle of abitmap

2006-01-07 Thread Tom Lee
Interesting idea... I don't have a method written, but the first thing I would do is try blurring the image until it is one uniform color (perhaps with a Transform Matrix), and then get the RGB of that color. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

RE: [Flashcoders] Spline 3D Atom Menu thing?

2005-10-21 Thread Tom Lee
- Original Message - From: Tom Lee [EMAIL PROTECTED] To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Sent: Thursday, October 20, 2005 12:42 PM Subject: RE: [Flashcoders] Spline 3D Atom Menu thing? I've been thinking of working on something similar myself... I

RE: [Flashcoders] Flash Profiler

2005-10-21 Thread Tom Lee
Same here. I recently did a pretty thorough search for a swf profiler... The best solution I could come up with was good ol' fashioned unit testing. If you know the common memory wasters in Flash and you've developed following object oriented design principles you should be able to narrow down

[Flashcoders] Flex 2 file sizes: what should be expected in final release?

2005-10-21 Thread Tom Lee
Hi everyone, I'm trying Flex for the first time in the form of the Flex 2 alpha preview. So awesome. The file sizes are on the large side though. Over 200KB for a hello world app with a VDividedBox. I read that the output file sizes are larger than the final release will create. How does