[Flashcoders] Remove cellPress Listener on DataGrid

2006-03-17 Thread Felipe Fernandez
Hi, is that possible? How could I do that? Thanks and regards. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf

Re: [Flashcoders] Position objects evenly around ellipse

2006-03-17 Thread Danny Kodicek
Would anyone have a function, class, formula, idea whatever that would allow me to calculate X and Y values to place an n number of movie clips evenly spaced around an ellipse/oval shape? The number of clips can vary based on external data. The ellipse would also have to be calculated I

Re: [FlashCoders] remove BitmapData

2006-03-17 Thread Dimitrios Bendilas
I didn't know that about dispose. I guess you are right. I changed my code and now I keep a reference of the bitmap, so I can execute dispose() whenever I want. Thanks guys, Dimitrios - Original Message - From: elibol [EMAIL PROTECTED] To: Flashcoders mailing list

[Flashcoders] OT: Great bit of Director work, FPS with bots, network play etc.

2006-03-17 Thread Mike Mountain
http://www.rasterwerks.com/game/phosphor/beta1.htm I had to share this. Cheers M ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to

RE: [Flashcoders] OT: Great bit of Director work, FPS with bots, network play etc.

2006-03-17 Thread Adrian Lynch
But where the baddies at? All that fire power and no one to use it on! :OD -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mike Mountain Sent: 17 March 2006 11:42 To: Flashcoders mailing list Subject: [Flashcoders] OT: Great bit of Director work, FPS with

RE: [Flashcoders] OT: Great bit of Director work, FPS with bots, network play etc.

2006-03-17 Thread Mike Mountain
You can enable bots... or play over the network with someone else. I think it'll still be a while before we see anything like this in flash, AS3 or not... M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Lynch Sent: 17 March 2006 12:19

RE: [Flashcoders] OT: Great bit of Director work, FPS with bots, network play etc.

2006-03-17 Thread Nick Weekes
That is a stunning piece of work...didnt realise director could interface with DirectX. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Mountain Sent: 17 March 2006 12:28 To: Flashcoders mailing list Subject: RE: [Flashcoders] OT: Great bit of

Re: [Flashcoders] OT: Great bit of Director work, FPS with bots, network play etc.

2006-03-17 Thread James Marsden
that is inspiring!! Great work. Nick Weekes wrote: That is a stunning piece of work...didnt realise director could interface with DirectX. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] amazon web service

2006-03-17 Thread eric dolecki
Does anyone have sample code of doing a search for album art using the Amazon web service? You can leave your key out of it... import mx.data.components.WebServiceConnector; var res:Function = function (evt:Object) { trace( evt.target.results ); }; var wsConn:WebServiceConnector = new

[Flashcoders] File Exists - a better way?

2006-03-17 Thread Wendy Richardson
I know I can find if a file I want to load exists by using onload with success, but there must be something more immediate. Using onload, I can'd determine success answer untill the file is completely loaded which is too long for my purposes. Anyone have a hack for determining if a file

Re: [Flashcoders] File Exists - a better way?

2006-03-17 Thread Yotam Laufer
If onload fires immediately with success==false then you know that there's no file, so why don't you wait for a reasonable interval and then if it's not fired than assume the file exists. not the best of solutions but should work. Yotam ___

[Flashcoders] Compile using an older version of a given class

2006-03-17 Thread Wendy Richardson
I came across this problem yesterday: I have some flash code with lots of external .as scripts. I also save old copies of the scripts so I can go back easily. Yesterday I dropped an older (by date) version of an external .as file into my directory (path), but on compile, the final swf was

Re: [Flashcoders] Compile using an older version of a given class

2006-03-17 Thread Ron Wheeler
If you have a compiled swf that imported a version of the class and it gets loaded before your swf with the new version, the new version will be ignored. Also delete your Flash cache Ron Wendy Richardson wrote: I came across this problem yesterday: I have some flash code with lots of

Re: [Flashcoders] File Exists - a better way?

2006-03-17 Thread Andreas Rønning
It stands to reason that if onLoad fires with success==false no file was loaded anyway, so i don't see why you'd need a separate handler for wether success is false NOW or success is false a little later. onLoad(success){ if(success){ //handle file load }else{ //handle error }

RE: [Flashcoders] File Exists - a better way?

2006-03-17 Thread Adrian Lynch
I think because if the file exists, you will have to wait till the file has loaded completely before you know about it. Adrian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Andreas Rønning Sent: 17 March 2006 15:04 To: Flashcoders mailing list Subject:

Re: [Flashcoders] File Exists - a better way?

2006-03-17 Thread Yotam Laufer
_mc.onLoad = function (success) { if (success) { trace (file loaded); } else { _global.fileExists = false; } }; _gloabl.fileExists = true; _mc.loadMovie (url); // wait 250 ms and see whether the file has failed var intId = setInterval (function () { if

Re: [Flashcoders] File Exists - a better way?

2006-03-17 Thread Isaac Rivera
Theres no reasonable amount of time on networked connections of unknown hardware specs... Have you looked into onData instead? I believe it will allow you to know if the file exists bases on the first packet of the response. Isaac Rivera Senior Flash Developer Audience Programming, America

Re: [Flashcoders] File Exists - a better way?

2006-03-17 Thread Yotam Laufer
[Theres no reasonable amount of time on networked connections of unknown hardware specs...] And yet timeout times are set somehow... I think it's a subjective decision. I wouldn't do it like this, but if someone has to? Yotam. ___

Re: [Flashcoders] amazon web service

2006-03-17 Thread Paul BH
doubt its any use to you, but I ended up using their REST endpoints rather than wsdl... code is at home and can send over the weekend if you dont get a good wsdl answer... On 3/17/06, eric dolecki [EMAIL PROTECTED] wrote: Does anyone have sample code of doing a search for album art using the

Re: [Flashcoders] amazon web service

2006-03-17 Thread eric dolecki
I have the REST method down - but I'd prefer to use wsdl... just not sure how to contruct the parameters (yet). thanks though :) On 3/17/06, Paul BH [EMAIL PROTECTED] wrote: doubt its any use to you, but I ended up using their REST endpoints rather than wsdl... code is at home and can send

Re: [Flashcoders] amazon web service

2006-03-17 Thread Paul BH
no problems - kind of figured that'd be the case... On 3/17/06, eric dolecki [EMAIL PROTECTED] wrote: I have the REST method down - but I'd prefer to use wsdl... just not sure how to contruct the parameters (yet). thanks though :) On 3/17/06, Paul BH [EMAIL PROTECTED] wrote: doubt its any

RE: [Flashcoders] Remove cellPress Listener on DataGrid

2006-03-17 Thread Judah
Hi Phillipe, Try: datagrid.removeEventListener(cellPress, ListenerObj); Judah -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Felipe Fernandez Sent: Friday, March 17, 2006 2:53 AM To: Flashcoders mailing list Subject: [Flashcoders] Remove cellPress

[Flashcoders] Re: Flashcoders Digest, Vol 14, Issue 57

2006-03-17 Thread Kevin Newman
I think you might be looking for the *mx.services.WebService class instead of the WebServiceConnector class. http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004file=2998.html Kevin N. * On 3/17/06, eric dolecki [EMAIL PROTECTED]

[Flashcoders] Re: amazon web service

2006-03-17 Thread Kevin Newman
I think you might be looking for the *mx.services.WebService class instead of the WebServiceConnector class. http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004file=2998.html import mx.services.WebService; import

Re: [Flashcoders] Re: amazon web service

2006-03-17 Thread eric dolecki
What goes in here: (???) callback1 = wsConn.ItemSearch( ??? ); callback1.onResult = function(result){ trace( result ); } - trying to do a search on an artist, and get back a URL to an album cover... the wsdl needs my accesskeyid and also other params for the search... On 3/17/06, Kevin

RE: [Flashcoders] OT: Great bit of Director work, FPS with bots, network play etc.

2006-03-17 Thread Mendelsohn, Michael
We looked at it here with a gyroscope visor. Simply incredible. - MM -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Marsden Sent: Friday, March 17, 2006 9:33 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] OT: Great bit of Director

Re: [Flashcoders] Re: swfdraw2jpg database table settings

2006-03-17 Thread Rafa
Mick, did you get your swfdraw2jpg working? I've tried what you suggested and it's not working. Thx, rafa On 3/17/06, Rafa [EMAIL PROTECTED] wrote: Hi Mick, it's connecting to the database ok, it can save and display the image, but the user data does not get inserted into the database. Did

[Flashcoders] OT: full-time actionscript job in DFW

2006-03-17 Thread Mike Gralish
If you know a good director/flash developer - there is an opening building Computer Based Training in Hurst TX. Search on CareerBuilder.com for tecfilms or email me offline for more details/contact information. Thanks, Mike Gralish [EMAIL PROTECTED]

[Flashcoders] compile problem

2006-03-17 Thread Wendy Richardson
Thanks Ron. As to yesterdays compile question, apparently I needed to clear Flash cache. See: http://www.macromedia.com/devnet/flash/articles/migrating_fl8_07.html and more background at: http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19045

Re: [Flashcoders] best 360VR panorama

2006-03-17 Thread Alan Shaw
On 3/16/06, Michael Bedar [EMAIL PROTECTED] wrote: Following one of those links, i got to this page.. http://nodename.com/lab/dispmapPano/ anyone have source to these examples? I've been playing with distortion maps, but this effect is alluding me:( I'm sure _someone_ has source to these

[Flashcoders] Issue with Masks in externally loaded SWFs?

2006-03-17 Thread Jeff Fox
Is there any known issue with loading external SWFs that have animations that require masks? We just tried loading an external SWF that has it's main area blocked out by a mask, but when the movie loads and plays, there is no mask apparent and all the pieces of images that animate are clearly

Re: [Flashcoders] Issue with Masks in externally loaded SWFs?

2006-03-17 Thread Matt Muller
yeah there are issues with this, bit of a nightmare, i ha some animations running under and i could see masks etc sticking out the mask, weird. Also this totally screwed my align class, so i had to recode a new one that used reference points. MaTT On 3/17/06, Jeff Fox [EMAIL PROTECTED] wrote:

Re: [Flashcoders] Issue with Masks in externally loaded SWFs?

2006-03-17 Thread Éric Thibault
I'm using mask inside loaded SWF but I have to be carefull of the dimention of those loaded SWF because everything inside (and outside it's root level) is visible on the loading SWF! One thing I'm doing now is to mask my loader within my parent SWF and load into that external SWF with their

Re: [Flashcoders] Re: swfdraw2jpg database table settings

2006-03-17 Thread Rafa
Mick, do you really know what you're talking about or are you just making things up? If you wanted the code, you could have just said so without saying you could help. Don't say you can help when you can't. rafa On 3/18/06, Rafa [EMAIL PROTECTED] wrote: Mick, did you get your swfdraw2jpg

[Flashcoders] OT: maps of hyperlinks that change in font size?

2006-03-17 Thread thotskee
Flashcoders, What are those maps of hyperlinks that change in font size according to relevance called? Thanks... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] Anyway to check if a file exists?

2006-03-17 Thread Judah
I saw the thread a few threads ago but I'm really wanted to start my own. Is there an error or event that loadMovie dispatches if it does not find a swf? exteriorMenuBoard_mc.loadMovie(path + lang + + dtboarddesc + .jpg); Flash is tracing the famous file not found message in the output

Re: [Flashcoders] Remove cellPress Listener on DataGrid

2006-03-17 Thread Felipe Fernandez
Ok, thanks. It works!! On 3/17/06, Judah [EMAIL PROTECTED] wrote: Hi Phillipe, Try: datagrid.removeEventListener(cellPress, ListenerObj); Judah -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Felipe Fernandez Sent: Friday, March 17, 2006

Re: [Flashcoders] Anyway to check if a file exists?

2006-03-17 Thread Marlon Harrison
What about the MovieClipLoader Class? var loadListener:Object = new Object(); loadListener.onLoadError = function(target_mc:MovieClip, errorCode:String, httpStatus:Number) { trace( loadListener.onLoadError()); trace( ==); trace( errorCode: + errorCode);

Re: [Flashcoders] File Exists - a better way?

2006-03-17 Thread Isaac Rivera
I backtracked on this thread... I guess the questions are: 1) what are you trying to load? 2) what onLoad(success:Boolean) are you using? Are you using the XML or LoadVars? Assuming you are using the LoadVars, a more reasonable timeout approach would be something like:

[Flashcoders] loading XML as string via parseXml: how to avoid undefined? (onParseComplete??!)

2006-03-17 Thread Ken Fine
I'm attempting to manually load an XML object via a string. I appear to be successfully completing this process: my XML is well-formed, and myxmlobject.toString() returns a result, as do attempts to traverse the attributes and nodes. What isn't working is the XML object itself when I attempt

Re: [Flashcoders] File Exists - a better way?

2006-03-17 Thread Bart Wttewaall
Ian: There's no Flash native hack as far as I know. You can check (and cache while you're at it) any file by using LoadVars: var file:String = anyFileType.exe; var fileExists:LoadVars = new LoadVars(); fileExists.onLoad = mx.utils.Delegate.create(this, doCheck); fileExists.load(file); function

Re: [Flashcoders] loading XML as string via parseXml: how to avoidundefined? (onParseComplete??!)

2006-03-17 Thread JesterXL
getBytesTotal is only used for tracking the downloading of a large amount of XML. You aren't downloading anything. You are building the XML object by hand in Flash. Therefore, since you never loaded anything, you never started a download. Since you never started a download, you'll never get

[Flashcoders] Cannot stop loaded movie

2006-03-17 Thread Marco Tabini
Hello-- I am trying to control a movie I load from a remote location. I've narrowed down my code to the smallest possible number of lines: ld = new MovieClipLoader(); ld.loadClip(url, mcClip); obj = new Object(); obj.onLoadComplete = function() { mcClip.gotoAndStop (10); }

Re: [Flashcoders] Cannot stop loaded movie

2006-03-17 Thread Marco Tabini
To add to the weirdness: this problem only presents itself if I create the project in Flash 8, so I wonder whether I'm hitting my head against the new security model. Again, any help would be much appreciated. Marco Marco Tabini wrote: Hello-- I am trying to control a movie I load from a

Re: [Flashcoders] Cannot stop loaded movie

2006-03-17 Thread Marc Hoffman
Try adding the listener to ld before loading the clip. At 07:07 PM 3/17/2006, you wrote: To add to the weirdness: this problem only presents itself if I create the project in Flash 8, so I wonder whether I'm hitting my head against the new security model. Again, any help would be much

[Flashcoders] Flash 8 broken

2006-03-17 Thread Weyert de Boer
Since this afternoon my Flash 8 copy on my Mac is reluctant to export movies. Even restarting Flash 8 or the mac doesn't help! Anyone know how to fix this? -- Yours, Weyert de Boer ([EMAIL PROTECTED]) innerfuse* http://www.innerfuse.biz/ ___

Re: [Flashcoders] loading XML as string via parseXml: how to avoidundefined? (onParseComplete??!)

2006-03-17 Thread Michael Bedar
xml.parseXML is not an asynchronous event like xml.load, so like jesse said, you have no need of a loader, so, after you call parseXML, you can start using the xml object to read your data on the next line. On Mar 17, 2006, at 8:37 PM, JesterXL wrote: getBytesTotal is only used for

Re: [Flashcoders] Cannot stop loaded movie

2006-03-17 Thread Marco Tabini
Sorry, that was just a bad copy-and-paste job. Moving the listener to before the clip is loaded doesn't change anything. Good catch, though :) Marco Marc Hoffman wrote: Try adding the listener to ld before loading the clip. At 07:07 PM 3/17/2006, you wrote: To add to the weirdness: this

Re: [Flashcoders] Flash 8 broken

2006-03-17 Thread Michael Bedar
Define reluctant. Is it crashing Flash, or freezing? Have you tried different FLA's? On Mar 17, 2006, at 10:56 PM, Weyert de Boer wrote: Since this afternoon my Flash 8 copy on my Mac is reluctant to export movies. Even restarting Flash 8 or the mac doesn't help! Anyone know how to fix

Re: [Flashcoders] Cannot stop loaded movie

2006-03-17 Thread Helen Triolo
What Marc said, plus use onLoadInit instead of onLoadComplete. From the help docs: It's important to understand the difference between MovieClipLoader.onLoadComplete and MovieClipLoader.onLoadInit. The onLoadComplete event is called after the SWF, JPEG, GIF, or PNG file loads, but before

[Flashcoders] flash8 and cgi

2006-03-17 Thread riccardo.roasio
Hi, anyone know how to connect a flash movie to a cgi script? I tried to use sendAndLoad but when i check with the onLoad function it gives me an unsuccess... Thanks,Riccardo ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or

Re: [Flashcoders] Re: swfdraw2jpg database table settings

2006-03-17 Thread Rafa
You call this help??? What help exactly did you provide? You've left me waiting for a response for more than a day, and you STILL have not responded with a solution. I doubt you ever had one. Fucking retard. Continue on with this conman attitude and see how far you get in life. rafa On