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] 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] 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] 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] 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] 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

[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:

[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

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

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] 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] 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] 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-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] 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] 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] 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] 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] 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 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]

[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] 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

<    6   7   8   9   10   11