[Flashcoders] NetConnection Debugger not working in Flash 8?

2006-01-19 Thread Grant Cox
? Regards, Grant Cox /// import mx.remoting.Service; import mx.services.Log; import mx.remoting.debug.NetDebug; NetDebug.initialize(); var myLogger:Log = new Log(Log.DEBUG, logger1); myLogger.onLog = function(message:String) { trace

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

2006-01-19 Thread Grant Cox
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Grant Cox Sent: Thursday, January 19, 2006 9:03 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] NetConnection Debugger not working in Flash 8? I have just upgraded my workflow to Flash 8 and the latest MTASC today, and found

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

2006-01-22 Thread Grant Cox
. On 1/20/06, Grant Cox [EMAIL PROTECTED] wrote: I have just upgraded my workflow to Flash 8 and the latest MTASC today, and found that while my Remoting calls were working, nothing was printing in the NetConnection Debugger. After some debugging I have found that I cannot get anything to print

Re: [Flashcoders] Flash Remoting

2006-01-22 Thread Grant Cox
If you are using AS2, then you want to use import, not #include (which is AS1). import mx.remoting.Service; import mx.services.Log; import mx.remoting.debug.NetDebug; Regards, Grant Cox JP wrote: I'm running into very odd issues with the installation of Flash remoting components for AS2

Re: [Flashcoders] quick array question

2006-02-01 Thread Grant Cox
Use Array.splice() to remove an element. randomPos = random(total); rfcClip = rfcsArray[randomPos]; imgID = imgArray[randomPos]; rfcsArray.splice(randomPos, 1); imgArray.splice(randomPos, 1); total--; Corban Baxter wrote: Ok one quick array question... randomPos = random(total); rfcClip

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

2006-02-02 Thread Grant Cox
. Movieclip spaghetti is a bitter dish. Regards, Grant Cox Anggie Bratadinata wrote: Hi expert coders, Just a simple question, How do you develop your Flash applications? How do you write clean, readable, and reusable codes? The reason I'm asking this is because, so often, I got lost in MovieClips

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

2006-02-02 Thread Grant Cox
/ animation works I'll use Flash * * Thank you * * The end */ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Grant Cox Sent: Friday, 3 February 2006 1:44 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] How do you code your Flash applications? Don't

Re: [Flashcoders] select columns-datagrid

2006-02-05 Thread Grant Cox
, itemIndex: getCellIndex().itemIndex, columnIndex: getCellIndex().columnIndex, newValue: somethingGoesHere}); Regards, Grant Cox [EMAIL PROTECTED] wrote: hi, I have a datagrid that I'm using to display

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

2006-02-06 Thread Grant Cox
our code separated from the design, we will use placeholders / components in the Flash file to define where external elements are loaded. This lets the designers fiddle with what they like, without having to bother me :) Regards, Grant Cox Nathan Derksen wrote: Nonsense, this is a great

Re: [Flashcoders] plz suggest.....urgent

2006-02-06 Thread Grant Cox
a ScrollPane, with the content being a movieclip containing the checkboxes. Regards, Grant Cox [EMAIL PROTECTED] wrote: how can i add 2 checkboxes in a scrollbar..is it using contentpath?? The information contained in this electronic message and any attachments to this message are intended

Re: [Flashcoders] plz suggest.....urgent

2006-02-06 Thread Grant Cox
Then yes, contentPath is what you want. The contentPath can be either a Linkage Id, or a url of an external SWF. [EMAIL PROTECTED] wrote: I want a ScrollPane, with the content being movieclip containing 2 checkboxes and labels next to them. The information contained in this electronic

Re: [Flashcoders] plz suggest.....urgent

2006-02-07 Thread Grant Cox
CellRenderers, one of which is for a checkbox. You can download this from http://www.macromedia.com/support/documentation/en/flash/fl8/samples.html Regards, Grant Cox [EMAIL PROTECTED] wrote: Hi Grant, Can u plz send me ur code for the same...the way u implemented... The information contained

Re: [Flashcoders] pagepeel

2006-02-09 Thread Grant Cox
I've previously used Macc/Iparigrafika's page turner, and found it to be very good. http://www.iparigrafika.hu/pageflip/ Latcho wrote: anybody got a link to a resource of a (doublepaged) page-peel effect? like browsing a book, but nonfake. preferably working with bitmapdata. my Math skills

Re: [Flashcoders] vardump an object in ActionScript?

2006-02-12 Thread Grant Cox
Yeah, a for...in loop is what you want in Actionscript too. However, to save you a few minutes, below is the function I use. static function printr( object, depth ){ if ( depth == undefined ) depth = 3; var depth_spacing:String = ; var string_rep:String = ;

Re: [Flashcoders] Strange actionscript vs tweening problem Flash8

2006-02-16 Thread Grant Cox
is on a whole layer... Regards, Grant Cox T. van Zantvoort wrote: I just simply use for (i=1; i10; i++) { this[b+i].onRelease = function() { play(); }; } This is for button 1 through 9 and then on the timeline there's a tween with all the buttons that go to an other

Re: [Flashcoders] Issue with two instances on a timeline

2006-02-16 Thread Grant Cox
to the outer movieclip (or vice versa), and it should work ok. But unfortunately it is still a pain. But then, that's animating in Flash for you :) Regards, Grant Cox Meinte van't Kruis wrote: Hi folks, I've had this problem for a long time and it keeps on coming back once in a while

Re: [Flashcoders] redraw/update DataGrid to reflect change of data?

2006-02-16 Thread Grant Cox
If all you want is for the datagrid to refresh from the data already in it's dataProvider (ie, each grid row updates to what you want when you rollover), then try: var current_vpos = myGrid.vPosition; myGrid.dataProvider = myGrid.dataProvider; myGrid.vPosition = current_vpos; Regards, Grant

Re: [Flashcoders] getting the actual width of a scaled child clip

2006-02-22 Thread Grant Cox
If you use localToGlobal you can find the dimensions in root coordinates. /// var topleft = {x: inner._x, y: inner._y}; var bottomright = {x: inner._x + inner._width, y: inner._y + inner._height}; inner._parent.localToGlobal(topleft);

Re: [Flashcoders] getting the actual width of a scaled child clip

2006-02-22 Thread Grant Cox
just multiply the width/height by the scale.. var w = subClip._width * subClip._parent._xscale / 100; var h = subClip._height * subClip._parent._yscale / 100; Sorry for the psuedo code. On 2/22/06, Rich Rodecker [EMAIL PROTECTED] wrote: ah, nice one. On 2/22/06, Grant Cox [EMAIL PROTECTED

Re: [Flashcoders] OT: Design patterns

2006-02-22 Thread Grant Cox
, bastardise others to something I like, and ignore the rest. We're not making works of art here - as long as the project is done to time and budget and isn't a complete dog's breakfast then it's fine :) Regards, Grant Cox Anggie Bratadinata wrote: If I don't plan to extend my app. nor

Re: [Flashcoders] how to make single cell in the grid non editable?

2006-02-23 Thread Grant Cox
The only way I've done it is by making the entire datagrid non-editable, and listening for a double click on a single cell. When this happens, if that cell can edited that column is set to editable, and the appropriate cell is selected. On a mouse deselect (onBlur?) the column is set back to

Re: [Flashcoders] Re: Installing Custom Ant Tasks in Eclipse

2006-02-23 Thread Grant Cox
folder structure is: /build /deploy /src /com /dependencies /lib /server And I only want it to preprocess .as files from the /src and /src/com (not dependencies, lib or server), copy any .swf files (in case MTASC needs them as base files) and ignores the rest. Regards, Grant Cox

Re: [Flashcoders] Encrypting data

2006-03-14 Thread Grant Cox
modified, and don't worry about it :) Regards, Grant Cox Dave Mennenoh wrote: MD5 isn't going to help encrypting a high score is it? It's a one way hash... Dave - Adobe Community Expert www.blurredistinction.com www.macromedia.com/support/forums/team_macromedia

Re: [Flashcoders] DataGrid Component Performance

2006-03-15 Thread Grant Cox
, as should any kind of manual row highlighting (ie alternate row colours). Regards, Grant Cox varfoo wrote: Anyone have a feel for how this component performs. Can you expand rows? Can it handle thousands of rows? ___ Flashcoders

Re: [Flashcoders] Simple date comparison bug?

2006-03-23 Thread Grant Cox
, not if the two objects have the same attributes. Oh, and Ryan, is your fourth line meant to be trace( d1 = d2 ); or trace( d1 == d2 ); ? Regards, Grant Cox Ryan Matsikas wrote: var d1:Date = new Date( 1970, 0 ); var d2:Date = new Date( 1970, 0 ); trace( d1.toString() == d2.toString() ); // true

Re: [Flashcoders] If not Zinc, then what?

2006-03-28 Thread Grant Cox
more than basic fscommands to the standard Flash projectors. Regards, Grant Cox Chris Velevitch wrote: On 3/29/06, Gene Jannece [EMAIL PROTECTED] wrote: I've been reading pros and cons of using Zinc, I started to wonder what are the pros and cons of other projectors? Flash

Re: [Flashcoders] lil' help with amfphp... works locally, not uploaded...

2006-03-29 Thread Grant Cox
://www.macromedia.com/xml/dtds/cross-domain-policy.dtd; cross-domain-policy allow-access-from domain=* / /cross-domain-policy Regards, Grant Cox Count Schemula wrote: http://www.flash-creations.com/notes/servercomm_remoting_amfphp.php I have the above file working well on a local test server. Flash 8

Re: [Flashcoders] If not Zinc, then what?

2006-04-03 Thread Grant Cox
to a third party. Regards, Grant Cox Darren Cook wrote: Support I can live without but I wondered what the major bugs were that you found? I've started using it on a project and was pleased with it. But my current usage is relatively simple

Re: [Flashcoders] Flash and input type=file....

2006-04-03 Thread Grant Cox
it was part of the flash. It was fairly hacky, and I don't think it was cross-browser compatible. Regards, Grant Cox Manuel Saint-Victor wrote: Do you mean like a filebrowser window? import flash.net.FileReference; var myFileReference:FileReference=new FileReference(); myFileReference.browse

Re: [Flashcoders] allowing slow animation

2006-04-06 Thread Grant Cox
tween. Regards, Grant Cox PR Durand wrote: Snap to pixel ??? Thanks for your answer but I thought it was just for the flash IDE, to place the object... however I can't see any difference in the animation with or without the pixel snaping enabled. Till there, the only difference from the same

Re: [Flashcoders] allowing slow animation

2006-04-09 Thread Grant Cox
embedding fonts - You set the font to appear aliased - You are using a pixel font (unless flash fudges the anti-aliasing...) But as you mentioned, it would be great to have a .fla of the exact circumstances to test ourselves. Regards, Grant Cox elibol wrote: I tested it Grant, however, my dynamic

Re: [Flashcoders] flash file to recognize SESSION or REQUEST variables?

2006-04-10 Thread Grant Cox
you need extra URL parameters passed to the server, well, that's nothing to do with flash. Regards, Grant Cox Sunnrunner wrote: A client asked me this question. Does anyone know what it means or can someone explain and give me an answer. Thanks. T How can we get the link in the URL

Re: [Flashcoders] Re: Timeline coding

2006-04-18 Thread Grant Cox
( blah ); } will trace _level0.clip_mc.btn1_btn 1 when you click. Of course, you don't have to worry about the scope of _root.variableName, as you are providing the absolute path to the variable. Regards, Grant Cox. Jonathan Berry wrote: I just had a thought on this. Perhaps I just need

Re: [Flashcoders] Where to politely and appropriately discuss pricing issues

2006-06-01 Thread Grant Cox
into this, and not be able to recommend another freelancer? Regards, Grant Cox Claus Wahlers wrote: That's interesting.. i usually do the exact opposite (of course, this is me, and probably doesn't apply to everyone and everything). I usually offer new clients my regular rate and offer discounts when i feel

Re: [Flashcoders] Fwd: Loading Text files into swfs then loading swfs into other swfs...

2006-06-01 Thread Grant Cox
Are all files in the same folder? When it reports that the file cannot be found, it should give a path in the trace statement - make sure this is where the file actually is. The load call will be from the location of the holder movie, not the ticker.swf. Regards, Grant Cox Craig Stanford

Re: [Flashcoders] Fwd: Loading Text files into swfs then loading swfs into other swfs...

2006-06-01 Thread Grant Cox
://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html#117502 ) have Always Allow ticked, and you add c:\ to your trusted locations. Hope that helps. Regards, Grant Cox Craig Stanford wrote: Yeah all the files are in the same folder. Its strange cos it works fine

Re: [Flashcoders] AS2 and Singleton woes ...

2006-06-29 Thread Grant Cox
I had that with my last post too, I got a bounce around 5-10 minutes later. However, I received my message through the mailing list before the bounce arrived, so I assumed it had worked. Stephen Ford wrote: Sorry if you've read the same message from me three times. I keep getting a reply

Re: [Flashcoders] diff between var == value VS var eq value

2006-08-14 Thread Grant Cox
eq has been deprecated in favour of == for many years now. While they should be equivalent, you should not use eq unless you are targeting Flash Player 4/5. Is the code where == didn't work for Flash lite? dnk wrote: Is there a difference? I have had some code that will not work using the

Re: [Flashcoders] Net Debugger not working

2006-08-16 Thread Grant Cox
I had something similar at the beginning of the year, when first using Flash 8. http://chattyfig.figleaf.com/pipermail/flashcoders/2006-January/158090.html http://chattyfig.figleaf.com/pipermail/flashcoders/2006-January/158265.html Perhaps it's a similar issue? Regards, Grant Cox Elena