RE: [Flashcoders] Detecting when a swf loses focus

2005-11-08 Thread Steven Sacks
Use a 3rd party wrapper like mProjector. http://www.binarynoise.com/ Way better than the buggy, unstable and CPU hogging Screenweaver. -Steven ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] Detecting when a swf loses focus

2005-11-08 Thread Steven Sacks
list Subject: Re: [Flashcoders] Detecting when a swf loses focus Steven Sacks wrote: Use a 3rd party wrapper like mProjector. http://www.binarynoise.com/ Way better than the buggy, unstable and CPU hogging Screenweaver. -Steven

RE: [Flashcoders] Combobox within ScrollPane not working

2005-11-09 Thread Steven Sacks
I've seen this behavior before. Try putting a ComboBox component in the library of the loading SWF (the one with the scrollpane) and see if that fixes it. I am really at a lose here. I have a SWF file which has multiple Combobox components in it. I load this SWF into a ScrollPane compoent

[Flashcoders] Looking for a Math Whiz to write a component

2005-11-11 Thread Steven Sacks
Hey Flashcoders, We're looking for a Math Whiz Flash programmer who can write a component for us. Please contact me off list if you have time and are interested, along with your hourly rate. Thanks, Steven Sacks [EMAIL PROTECTED] ___ Flashcoders

RE: [Flashcoders] Detecting when a swf loses focus

2005-11-11 Thread Steven Sacks
://osflash.org/mailman/listinfo/screenweaver_osflash.org http://www.screenweaver.org/forums/index.php regards, Muzak - Original Message - From: Steven Sacks [EMAIL PROTECTED] To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Sent: Tuesday, November 08, 2005 11:00

RE: [Flashcoders] ScrollPane weirdness

2005-11-13 Thread Steven Sacks
Assuming this is the swf/clip you loaded into the scrollpane: After it is finished loading, have the swf call the following: this._parent.setScrollProperties(this._width, 1, this._height, 1); Hope this works for you. -Steven -Original Message- From: [EMAIL PROTECTED]

RE: [Flashcoders] Xml editor

2005-11-22 Thread Steven Sacks
Dreamweaver MX. Dreamweaver MX 2004 and above are absolute garbage. I will never install a newer version of Dreamweaver because they are bloated and slow. Eventually, I'll end up using a completely different file editor rather than install MM's super slow bloated excuse for one. DW used to be

RE: [Flashcoders] scrollPane mc insertion

2005-11-22 Thread Steven Sacks
Make a container clip symbol. MC_SPContainer Set the content of the scrollpane to that, then... mysp.content.loadMovie(yourmovieclip); That's one of many ways. -Steven -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eric dolecki Sent:

RE: [Flashcoders] How to use the same MC instance in a tweenedanimation?

2005-11-25 Thread Steven Sacks
Instead of setting dynamic text values, set variables and assign the variables to the textfields. Textfield.variable = thevariablename; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Boyd (MMCR) Sent: Friday, November 25, 2005 11:15 AM

RE: [Flashcoders] Scrollpane in the arse

2005-11-30 Thread Steven Sacks
Why not make an empty movieclip in your library ahead of time, set its linkage identifier to something like SYM_SPContent, and then mysp.contentPath = SYM_SPContent; var mc = mysp.content; mc.attachMovie(...); Sometimes the most straightforward solution eludes the best of us. -Steven

RE: [Flashcoders] Combobox(es) stalling swf problem

2005-12-01 Thread Steven Sacks
Welcome to Macromedia components. There really isn't a way around this except to wait a frame or two to draw the combo boxes on the screen (which simply delays the inevitable) OR download some slimmer components. I highly recommend the Ghostwire component sets. They've worked very well for me.

RE: [Flashcoders] CreateTextField question

2005-12-20 Thread Steven Sacks
Actually, the person who told you to use just autosize has it wrong. If you set a textfield to autosize, it will expand the right edge to fit the text, so unless you're putting linebreaks in your text manually, it won't adjust the height of the textfield. There's a kludge workaround for making

RE: [Flashcoders] Can an object delete itself?

2005-12-21 Thread Steven Sacks
If you're going to constantly be creating enemies, you might want to simple do a check of existing enemies and if an enemy is dead, delete it when you create one. The important thing to note is that an enemy cannot call the destroyEnemy() method of its manager because then it's still the same

RE: [Flashcoders] Faster code?

2005-12-21 Thread Steven Sacks
the fastest loop through an array is: var len = myArray.length; while( len-- ) { ... } yes, it's faster then for..in. Not always. Sometimes, this loop is faster than a while (i--) for (var i = items.length; --i - (-1); ) { ... } It's ugly, yes, but it is faster than

RE: [Flashcoders] Combobox none selected

2005-12-21 Thread Steven Sacks
You have to wait one frame before selecting an item in the combo box. Flash needs to have one frame to draw/instantiate the combo box before you select something on it from code. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] can somebody answer my component name limitquestionplease?

2005-12-21 Thread Steven Sacks
com.customerdomainname.entity.web.project.eshop.shoppingcart.SCManager find replace all customerdomainname to cdn. I'm going to assume customerdomainname actually varies here. Sometimes, people really go overkill with this type of organization. You really don't need to make that many levels.

RE: [Flashcoders] CORRECTION: Firefox flash plugin problem?

2005-12-21 Thread Steven Sacks
Remember the days when Flash was touted as the cross-platform cross-browser solution for making webpages without having to deal with all the differences between them and it would look and act the same no matter where it was displayed? Those were the days. -Original Message- From:

RE: [Flashcoders] Game plays beautiful on PC/ not on mac. wtf?

2005-12-21 Thread Steven Sacks
What's your frame rate set to? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kurt Dommermuth Sent: Wednesday, December 21, 2005 6:35 AM To: Flashcoders mailing list Subject: [Flashcoders] Game plays beautiful on PC/ not on mac. wtf? Hi

RE: [Flashcoders] Faster code?

2005-12-22 Thread Steven Sacks
Hehe, you don't Jesse too well. I can't imagine him slowing down for anything, especially writing comments. Consider that he probably gets more done in a day than most of us and he still takes the time to answer many threads on Flashcoders. I don't write comments either. I just write good,

RE: [Flashcoders] Combo troubles

2005-12-22 Thread Steven Sacks
Put a combobox component in the loading movie (the root movie). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Boutin Sent: Thursday, December 22, 2005 11:16 AM To: Flashcoders mailing list Subject: [Flashcoders] Combo troubles I have

RE: [Flashcoders] Faster code?

2005-12-22 Thread Steven Sacks
I'm sure at places like Microsoft, etc. where you have many people working on the same project, which will eventually be upgraded to new versions, possibly by a mostly new team, in a coding language that doesn't receive major revisions every year or so, then yes it makes sense. The reason Jesse

RE: [Flashcoders] Can an object delete itself?

2005-12-23 Thread Steven Sacks
delete something that garbage collection would take over after the function exits. Someone correct me if I'm wrong. Yes, you can do that with Flash methods like onEnterFrame, but not objects. Notice, just because you delete an object like that and it doesn't respond to methods that cause a

RE: [Flashcoders] Flash 7 to 8 XML.load problem

2006-01-09 Thread Steven Sacks
Have you set an interval to trace your XML object to see if the XML even loads on the Mac at all regardless of the onLoad method being called? function traceXML() { trace(myXML); } checkXMLInterval = setInterval(this, traceXML, 1000); myXML = new XML(); myXML.ignoreWhite = true;

[Flashcoders] Multiple Remoting Event Listeners

2006-01-09 Thread Steven Sacks
I have a class that I'm using to make remoting calls. When a result comes back, it dispatches an event passing the result. Sometimes, one of the remoting calls will go out to multiple listeners but only the one who made the request should handle the result event, the other will ignore it unless

RE: [Flashcoders] Multiple Remoting Event Listeners

2006-01-09 Thread Steven Sacks
with which requester. I won't be getting anything back from the server that tells me which it is supposed to go to. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks Sent: Monday, January 09, 2006 5:01 AM To: 'Flashcoders mailing list

RE: [Flashcoders] reducing build times

2006-01-11 Thread Steven Sacks
3rd party compilers are reported to be ridiculously faster than the IDE. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nathan Derksen Sent: Wednesday, January 11, 2006 8:09 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] reducing

[Flashcoders] Text not showing up in Flash Player 7 with Flash 8 SWF

2006-01-11 Thread Steven Sacks
Hey, Any reason why the static and dynamic text in my Flash 8 movie aren't showing up in the Flash 7 player on Windows or Linux? Nothing Flash 8 about the text. It just doesn't show up on Flash Player 7.0r14. -s ___ Flashcoders mailing list

[Flashcoders] Vector shapes not showing up in Flash Player 7 with Flash 8 SWF

2006-01-11 Thread Steven Sacks
Wow. It looks like vector shapes aren't showing up in Flash player 7 from a Flash 8 swf either. I swore that there was a certain amount of backwards compatibility. What gives? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] Job Opportunity in Madrid (Spain)

2006-01-13 Thread Steven Sacks
Yeah, do they support telecommuting? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Friday, January 13, 2006 8:07 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Job Opportunity in Madrid (Spain) Do they support

[Flashcoders] ComboBox not firing change event when selectedIndex set

2006-01-15 Thread Steven Sacks
function change() { trace(change); } MyCmb.addEventListener(change, this); MyCmb.selectedIndex = MyCmb.selectedIndex + 1; Does not fire a change event. How do I detect when the combo box has changed from code not from direct user interaction with the component? This seems completely

[Flashcoders] Printing bmovie frame on a createMovieClip clip?

2006-01-17 Thread Steven Sacks
Hey all, In Flash 7, how would you print a bmovie frame in a dynamically created movieclip using createMovieClip()? Thanks, Steven ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] PrintJob.orientation = landscape not working

2006-01-17 Thread Steven Sacks
Hey, I did a Google to figure out how to set a PrintJob to default to landscape and found this page: http://tinyurl.com/8uqbw PrintJob.orientation = landscape; But it doesn't work. Any ideas? Thanks, Steven ___ Flashcoders mailing list

[Flashcoders] PrintJob Landscape printing with Portrait

2006-01-17 Thread Steven Sacks
Hello everyone, I'm posting this here in order to provide another solution to the terrible misinformation available on Macromedia's site about how to convert a landscape image to portrait for printing using the PrintJob class. The code posted here at Macromedia's forums is VERY WRONG:

RE: [Flashcoders] PrintJob Landscape printing with Portrait

2006-01-18 Thread Steven Sacks
Here is a refined version of my function: function printImage(mc) { var realW = mc._width; var realH = mc._height; pj = new PrintJob(); var pageCount = 0; if (pj.start()) { var cXscale, cYscale; if

RE: [Flashcoders] MX 2004 and keyboard shortcuts

2006-01-18 Thread Steven Sacks
Because they're system level not application level. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roman Blöth Sent: Wednesday, January 18, 2006 1:57 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] MX 2004 and keyboard

RE: [Flashcoders] NetConnection Debugger not working in Flash 8?

2006-01-19 Thread Steven Sacks
Did you install Remoting for Flash 8? Did you put the remoting components on the stage of your movie? Did you try manually tracing? NetDebug.trace(Hello world); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Grant Cox Sent: Thursday, January

RE: [Flashcoders] how to deal with user-choosable skinning

2006-01-19 Thread Steven Sacks
It's easy to do with vector or bitmap graphics. For bitmap, make your buttons color free transparent PNGs, using semi-transparent greyscale shading and shaping. Under the button, mask a movieclip with a rectangle in it - have the button shape be the mask (usually works, you might need to play

RE: [Flashcoders] ComboBox problem when swf loading in another swf

2006-01-24 Thread Steven Sacks
A quick search through the flashcoders archives is a good idea as this question recently came up. At any rate, the host movie needs to have the ComboBox component in its library. HTH, Steven -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL

RE: [Flashcoders] ComboBox Focus problem

2006-01-24 Thread Steven Sacks
One solution: http://www.ghostwire.com/ :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, January 24, 2006 7:03 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] ComboBox Focus problem Hi

RE: [Flashcoders] xml whitespace problem

2006-01-24 Thread Steven Sacks
JesterXL wrote: XML.ignoreWhite = true; XML.load In response but david kraftsow wrote: Setting the ignoreWhite property does nothing. Bad Jesse! No cookie! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] Fav XML editor

2006-01-26 Thread Steven Sacks
I like Dreamweaver MX. Sorry to mention it after you said not to, but it's a great XML editor because it's slim and quick to load. Granted, it doesn't have the little XML conveniences that XMLSpy does, for instance, but I still like it. Every Dreamweaver version after MX is a bloated slow

RE: [Flashcoders] Tell me more about _global

2006-01-31 Thread Steven Sacks
Making a class for globals is lame. I don't get why people do stuff like that. It's completely unnecessary. Here's how I make a namespace for globals in one line. On frame one of the root timeline: _global.APP = {}; Wow. That was so hard. APP.someglobal APP.someotherglobal APP.etc

RE: [Flashcoders] can I know if I class/package has been imported in aswf?

2006-02-01 Thread Steven Sacks
Is it possible to know if a class is being used in a flash movie? If so, how? Put a trace statement in the constructor of the class: class foo { function foo() { trace(new foo); } } ___ Flashcoders mailing

RE: [Flashcoders] v2 components - are you kidding me?

2006-02-01 Thread Steven Sacks
http://www.ghostwire.com/ The Ghostwire components are slim, quick, use the same methods that MMs components use (dataProvider and what not), are easily skinnable, are written in AS1 so you can go in and hack them if you like, etc. I highly recommend them. -Original Message- From:

RE: [Flashcoders] v2 components - are you kidding me?

2006-02-01 Thread Steven Sacks
components. Ghostwire is great most of the time, but there are problems with the AS1 component model. Things like conflicts between different versions, etc. -David R On 2/1/06, Steven Sacks [EMAIL PROTECTED] wrote: http://www.ghostwire.com/ The Ghostwire components are slim

RE: [Flashcoders] Tell me more about _global

2006-02-01 Thread Steven Sacks
Fast, bug-free ones. ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Chyko Sent: Wednesday, February 01, 2006 12:10 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Tell me more about _global I'm just curious to know

RE: [Flashcoders] v2 components - are you kidding me?

2006-02-01 Thread Steven Sacks
AS1 syntax is deprecated? That's news to me. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Britton Sent: Wednesday, February 01, 2006 12:10 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] v2 components - are you kidding me?

RE: [Flashcoders] Tell me more about _global

2006-02-01 Thread Steven Sacks
They're theorycoders, the type that post pseudocode to forums and mailing lists. More often than not their pseudocode doesn't work and only serves to confuse others who think they're getting a lesson from a smart and experienced coder. These theorycoders have book smarts but lack street smarts.

RE: [Flashcoders] Tell me more about _global

2006-02-01 Thread Steven Sacks
is designed to run indefinitely on a computer and as such is fast, efficient, extremely stable, and has extensive memory management. Oh, and it uses a global namespace. :P -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks Sent

RE: [Flashcoders] Tell me more about _global

2006-02-01 Thread Steven Sacks
Apart from that, your email takes a kind of i-won't-use-names-but-I'll-try-to-offend-you-all anyway tone, and your assumptions are just plain wrong on multiple levels. As I said simply the tone of your email makes it clear there is no use discussing it as well, you seem to have it all

RE: [Flashcoders] Tell me more about _global

2006-02-01 Thread Steven Sacks
I'm not opposed to writing classes. I'm opposed to overcomplicating things that are simple and should stay simple. You seem to get the impression that I am a noob coder. A global namespace as an object is all you need for managing global variables. If you have variables that need complicated

RE: [Flashcoders] Tell me more about _global

2006-02-01 Thread Steven Sacks
You are clearly an idiot. Scott Thanks for noticing. :) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] How do you code your Flash applications?

2006-02-02 Thread Steven Sacks
1) If I can help it, I keep all my code in one place. All in one frame, all the better. All in one swf? Better yet. That's one of the worst things I've ever heard. Maybe you should get on medication for your OCD. ___ Flashcoders mailing list

RE: [Flashcoders] Printing in landscape

2006-02-19 Thread Steven Sacks
I posted a solution to this a few weeks ago. Here is a link to the solution on the MM forums. Skip to the bottom post: http://tinyurl.com/e4cuf Hope this helps! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the

RE: [Flashcoders] HOW TO: Print a MC - first try.

2006-02-21 Thread Steven Sacks
RTFM. PrintJob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Corban Baxter Sent: Tuesday, February 21, 2006 8:18 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] HOW TO: Print a MC - first try. Hey guys I am looking to

RE: [Flashcoders] HOW TO: Print a MC - first try.

2006-02-21 Thread Steven Sacks
Right... Just wondered about any tutorials or peoples best practices. But if you feel like being a jerk to steam your own ego a bit feel free. I didn't think this was a jerk off question one can be wrong. Are you kidding me? Open the Help panel in Flash and search for print. It's not

RE: [Flashcoders] HOW TO: Print a MC - first try.

2006-02-21 Thread Steven Sacks
All I get is a overly huge image in black/white that for some unknown reason is skewed also. How bout it anyone have some good ideas for this first time PrintJob I am doing??? Thanks to you all! Ok this is a valid question. You're having a specific problem implementing code. Being technical

RE: [Flashcoders] HOW TO: Print a MC - first try.

2006-02-21 Thread Steven Sacks
Steve, I hope you take this in the tone it was intended Well, I felt his first question was worded in a way that made it seem that he didn't know about PrintJob. A quick look in the help panel or google would have helped him on his way. This is true for any issue people are having. There is

RE: [Flashcoders] Water transition

2006-03-09 Thread Steven Sacks
Google search for ripple effect flash 3rd result: http://www.freehandsource.com/_test/ripple.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Serge Jespers Sent: Thursday, March 09, 2006 2:44 AM To: Flashcoders mailing list Subject:

RE: [Flashcoders] What's your job title?

2006-03-10 Thread Steven Sacks
Interactive Developer Interactive Designer That says nothing about the technology you use to create interactivity, plus interactive is such a broad term. I mean, a Powerpoint presentation is interactive. Media Designer Media Developer Could you be any more vague? Put New in front of

RE: [Flashcoders] What's your job title?

2006-03-10 Thread Steven Sacks
Interactive Architect Far too similar to Information Architect, which is an actual job. In addition, architects don't build, they plan. In other words, this title is bullshit. To expound on the above: Interactive Day Laborer I envision a bunch of Indians standing outside of CompUSAs

RE: [Flashcoders] What's your job title?

2006-03-10 Thread Steven Sacks
Racial is not the same as racist. Let me break it down for you. FACT: Minority Day Laborers can be found outside of Home Depots. JOKE: Home Depot is a national chain like CompUSA is a national chain. FACT: Programming Jobs are being outsourced to India. FACT: Architects plan, Day Laborers do the

RE: [Flashcoders] What's your job title?

2006-03-11 Thread Steven Sacks
New Media Designer Either you missed the memo or you're being funny. Let's hope it's the latter. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] Trying to solve this math equation

2006-03-18 Thread Steven Sacks
Hey everyone, My algebra seems to be failing me. I need some help here. Here's my equation: c = ((y - s) / (w - b - s)) * i; I need to solve for y when I have c. I wrote it out on paper and I came up with: y = ((c / i) * (w - b - s)) + s; But that doesn't work... My logic: c = ((y - s) /

RE: [Flashcoders] Trying to solve this math equation

2006-03-18 Thread Steven Sacks
Hey, Thanks all for verifying that it was indeed correct. The problem ended up being my not plugging in the true values. It didn't actually work 100% correctly the first way (which I didn't notice at first so I thought the alternate equation was to blame). I solved that issue and now the

RE: [Flashcoders] movieclip actions not working

2006-03-18 Thread Steven Sacks
stop action on frame 1 stop(); m1.onRollOver = function() { gotoAndStop(20); //or play(); } stop action on frame 20 stop(); m2.onRelease = function() { getURL(http://www.website.com;, _blank); } ___

RE: [Flashcoders] Wherefore the evils of _global?

2006-03-23 Thread Steven Sacks
Which is why you make a global namespace. _global.APP = {}; And then you set your global vars to that APP.myglobalvar = foo; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rich Rodecker Sent: Thursday, March 23, 2006 2:25 PM To: Flashcoders

RE: [Flashcoders] PrintJob causes Abort Script error message.

2006-03-29 Thread Steven Sacks
Is this a known Flash bug? It's not a bug. Is there a workaround? You cannot change the timeout. We've been trying to solve it for about a month. A 5 second google search would have saved you 30 days of wasted time. http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_15512

RE: [Flashcoders] PrintJob causes Abort Script error message.

2006-03-29 Thread Steven Sacks
PrintJob is a poorly written class in general. Also, it runs synchronously when it talks to the system. The reason Flash throws up the alert is because for 15 seconds it is stuck waiting. The movie is waiting on a line of code to finish. Flash responds to the movie being hung, which it

RE: [Flashcoders] PrintJob causes Abort Script error message.

2006-03-29 Thread Steven Sacks
://codeazur.com/forum/viewtopic.php?t=260 http://www.actionscript.org/forums/showthread.php3?t=65371 http://www.powersdk.com/ted/2005/11/macromedia-please-add.php -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks Sent: Wednesday

RE: [Flashcoders] PrintJob causes Abort Script error message.

2006-03-29 Thread Steven Sacks
I would suggest that it is: there's no error in the code, and it's not that the Flash movie itself is running slowly, it's purely a result of user interaction. While the print dialogue is displayed, the Flash movie should simply not be running. PrintJob makes a synchronous call to

RE: [Flashcoders] PrintJob causes Abort Script error message.

2006-03-29 Thread Steven Sacks
And for the record, I am certainly no friend of the PrintJob class. It's poorly written and I've pointed out its numerous flaws in previous posts to this list. Yes, it shouldn't have been coded to work the way it does. The way it works is poorly thought out. But, that doesn't mean that it's a

RE: [Flashcoders] PrintJob causes Abort Script error message.

2006-03-29 Thread Steven Sacks
PrintJob works fine in simplistic Flash movies. Try and do anything advanced (such as a stock exchange trading system) and it will cause the alert to appear. That ain't an error with my code! Ah ha! So now we get to the bottom of it. PrintJob does not cause Flash to alert about a slow

RE: [Flashcoders] PrintJob causes Abort Script error message.

2006-03-30 Thread Steven Sacks
As the system is composed of many V2-style components, many of which use interval timers to get around initialization issues, and has a lot of real-time financial data transfer going on in the background, setintervals, etc etc, that to reengineer it at this stage is totally out of the

RE: [Flashcoders] Question on attachMovie

2006-04-02 Thread Steven Sacks
This behavior is very easy to manage. Here's how I do it. You can set properties of a clip even though you cannot call methods of a clip. This is how Flash works. So, what I do is this. I have the movieclip itself call its own method. I have the attacher set its initial properties when it

RE: [Flashcoders] Question on attachMovie

2006-04-02 Thread Steven Sacks
var mc = holder.attachMovieClip(SYM_Clip, item, 10); mc.controller = this; mc.foo = something; mc.bar = 15; Inside the SYM_Clip movieclip in the library: function init() { FooTextField.text = foo; BarTextField.text = bar; } init(); This isn't the best example since you could

RE: [Flashcoders] Publish my swf direct to server

2006-04-02 Thread Steven Sacks
Dreamweaver FTP? Who uses that janky ftp program? ;) If you're on a Mac, you should learn how to upload via terminal. If you're on a PC, get the free version of WS_FTP (google it). -Steven -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [Flashcoders] Question on attachMovie

2006-04-02 Thread Steven Sacks
For me, it's just an extension of a lesson I learned from a book on OOP in Director by Peter Small called Lingo Sorcery many many years ago, which is to let objects manage themselves. Since Flash requires a single frame to pass for functions to be available on any given timeline, a nested

[Flashcoders] Will this Microsoft ActiveX update affect Flash?

2006-04-07 Thread Steven Sacks
http://msdn.microsoft.com/ieupdate/ After a forthcoming update, Microsoft Internet Explorer users will not be able to directly interact with Microsoft ActiveX controls loaded by the APPLET, EMBED, or OBJECT elements. Users will be able to interact with such controls after activating their user

RE: [Flashcoders] preloading multiple swfs with moviecliploader

2006-04-07 Thread Steven Sacks
Here's a good solution that is used by many installer applications out there. Take the number of items you are loading and divide your progress bar into that many sections. Then, show the progress of each of those sections. Let's say you were loading 10 files. That means you're breaking up

RE: [Flashcoders] Active X and Microsoft IE ...

2006-04-09 Thread Steven Sacks
You also have to consider what users are turning off Javascript. First, Javascript is turned on by default. Second, you have to be somewhat savvy to know what Javascript is, much less turn it off, and also know what purpose turning it off serves. Third, you need to have a reason to turn it off.

RE: [Flashcoders] combobox big problem

2006-04-10 Thread Steven Sacks
Try setting the font to _sans and see if that helps. cmb.setStyle(fontFamily, _sans); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Smith Sent: Monday, April 10, 2006 2:54 PM To: Flashcoders mailing list Subject: Re: [Flashcoders]

RE: [Flashcoders] combobox big problem

2006-04-10 Thread Steven Sacks
when i delete them (i try to delete the mc container and the components) and re-create them (to delete some items and re-create the list), or just change the dataprovider a strange thing happens: Why don't you just delete items from the dataprovider? The components are made to respond

RE: [Flashcoders] In the ide -detecting when the user has left the stage

2006-04-11 Thread Steven Sacks
Make a big invisible square that goes beyond the four edges, and mask out the stage area and make a button. Then you have your testing button. -Steven -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Manuel Saint-Victor Sent: Tuesday, April 11,

RE: [Flashcoders] Local Connection Object problem

2006-04-11 Thread Steven Sacks
LocalConnection is basically instant. I've never seen a delay and I've done quite a bit of work with it, in browser environments, 3rd party wrapper environments, browser to 3rd party wrapper, and back, etc. The only issue I know of is if you try to send a local connection message back to the

RE: [Flashcoders] Making a cd for Pc and Mac (Zinc - Director-SWFStudio - .NET)

2006-04-12 Thread Steven Sacks
I highly recommend mProjector. It's the best 3rd party wrapper out there, IMO, and I've tried them all. It's the easiest and smartest to code with, it has the best performance hands down, does asynchronous communication with the OS, allows you to package all your swfs into the executable is now

RE: [Flashcoders] Help with swapdepths

2006-04-12 Thread Steven Sacks
Also, don't use on-clip methods like on (press) or on(release) That's for non-coders who are making banner ads. Instead, put your code in the timeline: btn.onPress = function() { // }; btn.onRelease = function() { // }; You'll thank me for it down the line. It's never a good

RE: [Flashcoders] Instantiate a class by string - SOLVED

2006-04-12 Thread Steven Sacks
To force a class to be imported even if no one uses it: import com.company.project.YourClass; static private var depend:YourClass; warden to the rescue! ___ This e-mail is intended only for the named person or entity to which it is

RE: [Flashcoders] Manually triggering the Screens onResize event

2006-04-12 Thread Steven Sacks
You do realize that toggling _visible does not release any memory, right? Flash still tracks the movieclip in memory, it just doesn't draw it. If you're building RIAs, you should open up your task manager and watch your memory usage over time to make sure you're not using too much. I have no

RE: [Flashcoders] Making a cd for Pc and Mac (Zinc-Director-SWFStudio - .NET)

2006-04-13 Thread Steven Sacks
What do you mean by support a cross platform database? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lieven Cardoen Sent: Wednesday, April 12, 2006 11:54 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Making a cd for Pc and Mac

RE: [Flashcoders] Making a cd for Pc and Mac(Zinc-Director-SWFStudio- .NET)

2006-04-13 Thread Steven Sacks
] On Behalf Of Steven Sacks Sent: donderdag 13 april 2006 10:52 To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Making a cd for Pc and Mac (Zinc-Director-SWFStudio- .NET) What do you mean by support a cross platform database? -Original Message- From: [EMAIL PROTECTED

RE: [Flashcoders] Active X and Microsoft IE ...

2006-04-13 Thread Steven Sacks
Are you going to update Flash 8 so it publishes flash/html that utilises the new javascript methods? I wouldn't hold your breath on that one. ;) ___ This e-mail is intended only for the named person or entity to which it is addressed and

RE: [Flashcoders] Retrieving Link Text in a Text Field

2006-04-13 Thread Steven Sacks
Could you get the .htmlText of the text field and using split to pull the link out? txt.htmlText = a href=\link\; var a = txt.htmlText; var b = a.split(a href=\)[1]; var c = b.split(\)[0]; trace(c); // link There are also regex methods for Flash is you hunt around for them. HTH, Steven

RE: [Flashcoders] Retrieving Link Text in a Text Field

2006-04-13 Thread Steven Sacks
Assuming Highlander TextField: There can be only one! Flash likes to capitalize stuff and add TARGET to the href so here's the fixed (and tested) code. txt.htmlText = a href=\thesequelsucked.html\McCloud/a; a = txt.htmlText.split(A HREF=\)[1].split(\ TARGET=)[0]; trace(a);

RE: [Flashcoders] Retrieving Link Text in a Text Field

2006-04-13 Thread Steven Sacks
Is there a way to identify the contents of a link element in an HTML-enabled text field? How can I pass the text of the link to a function invoked by the link? Wait, you mean you want to pass the text of the link (inside the a tag) via the function you're calling in the link? You'll have to

RE: [Flashcoders] good OOP way to re-assign class to clip

2006-04-17 Thread Steven Sacks
The most obvious and simple solution to me: Duplicate the movieclip in your library and assign the duplicate the second class. -Steven -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of GregoryN Sent: Monday, April 17, 2006 8:52 PM To:

RE: [Flashcoders] this.selected

2006-04-22 Thread Steven Sacks
A little known trick in Flash: Make a movieclip. Give it 3 frames and put frame labels on each named _up, _over, and _down Put a stop(); action on frame 1. If you assign a button method to the movieclip, like onRelease, onRollOver, etc. it will behave just like a button on its own, going to

RE: [Flashcoders] this.selected

2006-04-22 Thread Steven Sacks
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Simon Lord Sent: Saturday, April 22, 2006 2:16 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] this.selected That's a very helpful tip Steven. Thanks! On Apr 22, 2006, at 5:03 PM, Steven Sacks wrote: A little

[Flashcoders] Project 3:16

2006-04-24 Thread Steven Sacks
Project 3:16 - For Client so loved the work, that he told his one and only Designer, that whosoever listens to him shall not finish, but have eternal changes. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the

[Flashcoders] Are you a help vampire?

2006-04-26 Thread Steven Sacks
http://www.slash7.com/pages/vampires I know there are some here...I've seen them, even if they don't see themselves (mirrors not working and all that). ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

  1   2   3   4   5   6   7   8   9   10   >