Re: [Flashcoders] :: anyone passed flash 8 certification exam?::

2006-12-11 Thread Orindom Dhar
hi flashsaavy, Thanks for ur inputs. Arin [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: arin, i recently sat and passed the Flash 8 Certification exam. i had previously passed the Developer cert for both Flash MX and MX 2004. i had never sat the Designer cert. my impression is that

[Flashcoders] Local SWF loadVars from remote php file

2006-12-11 Thread Mike Dunlop
Hi, I am pulling my hair out on this. I am trying to develop flash locally and want to talk to remote php scripts. I have added a crossdomain.xml file to the remote server in question as well as the following to my local flash file in frame 1 System.security.allowDomain(*); Whenever

[Flashcoders] Which technique do you use ...

2006-12-11 Thread Stephen Ford
Which of the following two techniques do you use when coding a similar (and common) process in actionscript:var mcTemp:MovieClip = this.attachMovie(mcCircle, mcCircle+nCounter, nCounter, oMain);mcTemp._x = Math.random()*600;mcTemp._y = Math.random()*400;nCounter++;or

[Flashcoders] Why does this work in Flash 6 Actionscript 2 but not Flash 7 Actionscript 2 ...

2006-12-11 Thread Stephen Ford
Why does the following work when published as Flash 6 Actionscript 2, but not Flash 7 actionscript 2 (or Flash 8 Actionscript 2).var nInt:Number;var oMain:Object = {};var nCounter:Number;var sClipName:String;var nClipDepth:Number;function spawnClip():Void{var mcTemp:MovieClip =

Re: [Flashcoders] Which technique do you use ...

2006-12-11 Thread Miguel Angel Sánchez
I prefer the first one, the main advantages for me is that you can use code completion in most of actionscript editors, the code is cleaner and the compiler knows the type of the object when you try to assign a value to its property _x. Stephen Ford escribió: Which of the following two

Re: [Flashcoders] Why does this work in Flash 6 Actionscript 2 but not Flash 7 Actionscript 2 ...

2006-12-11 Thread Jake Prime
Hi Stephen, You are incrementing nCounter without ever initializing it. In Flash 6 and earlier if you incremented an undefined value it treated it as 0, but in Flash 7 and later it remains undefined. Set nCounter to 0 first and all should be well. Jake On 11/12/06, Stephen Ford [EMAIL

Re: [Flashcoders] :: anyone passed flash 8 certification exam?::

2006-12-11 Thread Eskil Janson
Hi, If you are into actionscript, you should have no trouble with that part of the exam. So fear not, I found it a lot easier than expected, but questions might differ of course. /Eskil Orindom Dhar skrev: hi flashsaavy, Thanks for ur inputs. Arin [EMAIL PROTECTED] [EMAIL

RE: [Flashcoders] .net remoting

2006-12-11 Thread Merrill, Jason
I am trying to use a remote webservice in .net in my flash application. Can any body please give me link to the tutotrial or tell me how can I use a .net weservice in my flash application using remoting component. Try the Webservice component instead of the Remoting component.

Re: [Flashcoders] nodeValue not working?

2006-12-11 Thread John Axel Eriksson
You must do customerAbout = customer.firstChild.firstChild.nodeValue; to get the textNode and its value. Sometimes this is confusing, but the text itself is in fact a node too. /John 11 dec 2006 kl. 14.16 skrev Jim Robson: Hello all, I can't seem to access the nodeValue property of my

RE: [Flashcoders] nodeValue not working?

2006-12-11 Thread Jim Robson
John: That was it! Thank you very much! I can't wait to finish this project, and get back to AS3 and E4X!!! -Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Axel Eriksson Sent: Monday, December 11, 2006 8:24 AM To: Flashcoders mailing list

Re: [Flashcoders] Sound not starting

2006-12-11 Thread Andrei Thomaz
hello david, why do you call the stop() method before using attachSound() ? []'s andrei On 12/11/06, David Skoglund [EMAIL PROTECTED] wrote: Hi I have quite some problems with playing sounds. It works about 19 times of 20... Have anyone come across this kind of irregular sound behavior?

[Flashcoders] preloader not completely preloading...

2006-12-11 Thread Count Schemula
I'm using the code at the bottom of this post. Using the Simulate Download and the Bandwidth profiler, I have two different files where it's basically downloading about 15% of the file and then continuing playing. The preloader starts to work correctly, but basically quits out incorrectly

SV: [Flashcoders] Sound not starting

2006-12-11 Thread David Skoglund
Hi andrei, It's to stop the previous sound in that channel, I don't want two comments playing at the same time. Should I remove the sound object completely and create a new everytime I want to replace a sound? /David - hello david, why do you call the stop() method before using

Re: [Flashcoders] Local SWF loadVars from remote php file

2006-12-11 Thread slangeberg
Could you post the contents of your crossdomain.xml file? -Scott On 12/11/06, Mike Dunlop [EMAIL PROTECTED] wrote: Hi, I am pulling my hair out on this. I am trying to develop flash locally and want to talk to remote php scripts. I have added a crossdomain.xml file to the remote server in

[Flashcoders] Webservice performance these days

2006-12-11 Thread Steve Mathews
I know that in the past I heard that the performance of webservices was less than stellar in Flash. Can anyone with recent experience comment on the performance? Also, so that I make sure I have my technology correct, as I understand with remoting the client receives native data types from the

RE: [Flashcoders] Webservice performance these days

2006-12-11 Thread Merrill, Jason
Also, so that I make sure I have my technology correct, as I understand with remoting the client receives native data types from the server. Webservices receives XML, or is it any string data? it's SOAP - which is an XML protocol over HTTP. So it's essentially a string of XML data. I use it,

Re: [Flashcoders] Webservice performance these days

2006-12-11 Thread Steve Mathews
Thanks Jason, that is what I was thinking. So the WebService (and supporting classes) parse the returned SOPE for you, so when you get the callback you are just handling native data types? Or do you have to build your own parser? On 12/11/06, Merrill, Jason [EMAIL PROTECTED] wrote: Also, so

Re: [Flashcoders] Webservice performance these days

2006-12-11 Thread Count Schemula
http://www.themidnightcoders.com/articles/soap_vs_flash_remoting_benchmark.shtml http://www.amfphp.org/amfphprocks.html -- count_schemula ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] Webservice performance these days

2006-12-11 Thread Merrill, Jason
Yes, right - the webservices component handles the parsing of the SOAP data - you can then start using the data natively as an object with properties and arrays - depending on how your data is formatted. No need to parse out the XML, it's done for you already. Jason Merrill Bank of America

[Flashcoders] Problems playing FLVs through Director shell

2006-12-11 Thread Blumenthal, Peter
Hi List. We have built a Flash application, published for FP8 that is wrapped in a Director MX2004 (10.1.1) shell using the latest Flash Asset Xtra. Part of the functionality is that it dynamically loads and plays back FLVs using the NetStream Class. This all works very well until we try to

RE: [Flashcoders] Local SWF loadVars from remote php file

2006-12-11 Thread Andy Stone
You've probably thought of this... My firewall will block a remoting call when testing locally. When I disable it the calls work fine. -A -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of slangeberg Sent: Monday, December 11, 2006 10:24 AM To:

RE: [Flashcoders] Webservice performance these days

2006-12-11 Thread Michael Trim
http://www.themidnightcoders.com/articles/soap_vs_flash_remoting_bench mark.shtml Does this still stand up? I was always a little skeptical because they were selling an alternative solution anyway. I'm with Jason, I accept it's not necessarily the fastest solution but SOAP works well enough for

RE: [Flashcoders] preloader not completely preloading...

2006-12-11 Thread Alain Rousseau
The only place I see where this could fail, is at your if line. You should probably calculate nTBytes outside your checkLoad() function and pass it as a variable at your first call. for your if statement you should maybe write it like this : var minPercentLoad:Number = 100; if ( nPercent ==

Re: [Flashcoders] Attaching bitmap data to arbitary coords

2006-12-11 Thread Charles Parcell
Yeah, I think you are looking for the draw() method of BitmapData. http://livedocs.macromedia.com/flash/8/main/1950.html See the comments as well. Charles P. On 12/10/06, Martin Jonasson [EMAIL PROTECTED] wrote: This is what i use in i a project of mine: var myMatrix:Matrix = new

Re: [Flashcoders] Attaching bitmap data to arbitary coords

2006-12-11 Thread Charles Parcell
You can of course use copyPixels() as well. http://livedocs.macromedia.com/flash/8/main/1948.html Charles P. On 12/11/06, Charles Parcell [EMAIL PROTECTED] wrote: Yeah, I think you are looking for the draw() method of BitmapData.

RE: [Flashcoders] preloader not completely preloading...

2006-12-11 Thread Steven Sacks | BLITZ
stop(); function checkLoad() { var c = mc.getBytesLoaded(); var t = mc.getBytesTotal(); var p = (c / t) * 100; MC_LoaderBar._xscale = p; TXT_Load.text = Math.floor(p + %); if (p == 100 t 4) { delete this.onEnterFrame; mc.gotoAndPlay(main); } } this.onEnterFrame =

[Flashcoders] Looking for Flash Contractor

2006-12-11 Thread Eaton, Jason
CyberSource is looking for a flash contractor to build a flash application used for information gathering. Please contact me directly by email or phone below. Cheers. Jason Eaton, CyberSource Corporation Engineering Director, Managed Risk (650)965-6022

RE: [Flashcoders] Why does this work in Flash 6 Actionscript 2 butnot Flash 7 Actionscript 2 ...

2006-12-11 Thread Steven Sacks | BLITZ
Why does the following work when published as Flash 6 Actionscript 2, but not Flash 7 actionscript 2 (or Flash 8 Actionscript 2).var nInt:Number;var oMain:Object = {};var nCounter:Number;var sClipName:String;var nClipDepth:Number;function spawnClip():Void{var mcTemp:MovieClip =

RE: [Flashcoders] Which technique do you use ...

2006-12-11 Thread Steven Sacks | BLITZ
Neither. I use the technique where you put carriage returns after each line of code. I'm not bragging. I know it's a pretty advanced concept but I think anyone is capable of getting their head around it if they put in the time. ___

Re: [Flashcoders] preloader not completely preloading...

2006-12-11 Thread Count Schemula
Thanks everyone! On 12/11/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: stop(); function checkLoad() { var c = mc.getBytesLoaded(); var t = mc.getBytesTotal(); var p = (c / t) * 100; MC_LoaderBar._xscale = p; TXT_Load.text = Math.floor(p + %); if (p == 100 t 4) {

Re: [Flashcoders] Which technique do you use ...

2006-12-11 Thread Cedric Muller
LOL sorry, louding out the list Neither. I use the technique where you put carriage returns after each line of code. I'm not bragging. I know it's a pretty advanced concept but I think anyone is capable of getting their head around it if they put in the time.

RE: [Flashcoders] :: anyone passed flash 8 certification exam?::

2006-12-11 Thread Steven Sacks | BLITZ
Flash 8 Certification Exam? Srsly? And you pay for it? That's crazy talk! If you've got money to throw away, why not give it to a charity this holiday season and use it for something that actually makes a difference? ___

Re: [Flashcoders] Which technique do you use ...

2006-12-11 Thread eric dolecki
:) 1st by far for me. After I imagined carriage returns. - e. On 12/11/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: Neither. I use the technique where you put carriage returns after each line of code. I'm not bragging. I know it's a pretty advanced concept but I think anyone is

RE: [Flashcoders] JSFL Saving a created document

2006-12-11 Thread Steven Sacks | BLITZ
Hm. That's odd because my script saves as many files as I need it to with whatever path and filenames I want without prompting me. I wonder what's different. Are you using Flash 7 or Flash 8? ___ Flashcoders@chattyfig.figleaf.com To change your

[Flashcoders] Shared Library Problem

2006-12-11 Thread Jason Saelhof
Hi everyone, I have a strange problem occurring after moving a number of movieclips to a shared library. My movie has 3 frames, each frame using some (but not all) imported movieclips from the shared library. I have pre-loaded the library and the first frame displays and functions properly.

[Flashcoders] Extracting SWF height and width from php

2006-12-11 Thread dj
Is it possible to extract the height and width of a swf file with a command in php? Or is there another way to do this. it's because we want to make a table height dynamic to the size of the swf file. Just curious? Thanks, patrick ___

Re: [Flashcoders] Extracting SWF height and width from php

2006-12-11 Thread Mick G
On idea... You could use Stage.width and Stage.height in Flash - send those variables via Javscript/externalInterface and use a javascript function to adjust the height/width of the table. On 12/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is it possible to extract the height and width

RE: [Flashcoders] :: anyone passed flash 8 certification exam?::

2006-12-11 Thread [EMAIL PROTECTED]
Gee Steve, You normally are such a force for good in the world. But that post on the Flash cert was harsh. I can understand why you wouldn't take the time of day to think about taking a cert exam. But then why take the time to bash it? The cert thing is good. Not evil.

Re: [Flashcoders] Extracting SWF height and width from php

2006-12-11 Thread Ian Thomas
The getimagesize() function does it for you. http://uk2.php.net/manual/en/function.getimagesize.php HTH, Ian On 12/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is it possible to extract the height and width of a swf file with a command in php? Or is there another way to do this.

Re: RE: [Flashcoders] :: anyone passed flash 8 certification exam?::

2006-12-11 Thread Jordan Snyder
I don't agree with the smartassitude, but perhaps what Steven is insinuating is that proving that you know some syntax does not prove that you can actually do anything with it. I'm not at the epicenter of the Flash Universe and I think the cert is worthless. Is that a better way to put it? ;)

Re: [Flashcoders] JSFL Saving a created document

2006-12-11 Thread Chris W. Paterson
Using Flash 8... on a Mac. - Original Message From: Steven Sacks | BLITZ [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Monday, December 11, 2006 12:25:16 PM Subject: RE: [Flashcoders] JSFL Saving a created document Hm. That's odd because my

Re: [Flashcoders] :: anyone passed flash 8 certification exam?::

2006-12-11 Thread [EMAIL PROTECTED]
hi jordan, now do you feel better? now that you got that off your chest and out in the open? certifications are worthless. unless ... -- you are a newbie, and you are not even sure you are worthy of calling yourself a Flash developer. trust me, if you can pass this exam, you do

Re: [Flashcoders] :: anyone passed flash 8 certification exam?::

2006-12-11 Thread Jordan Snyder
Haha fair enough. Just understand that my tone was playful and did not illicit a smartass response. You do make some good points as to the uses of a cert, but I'm still not sure that makes it worth much...with a Flash cert, I'm not going to demand the same respect as with a 4 year degree.

Re: [Flashcoders] :: anyone passed flash 8 certification exam?::

2006-12-11 Thread [EMAIL PROTECTED]
jordan, you hit the essence of it. it is hopping over a low bar. technical certs are minimal, entry level credentials. kind of like a drivers license. and true, just because you have a license doesn't mean that you know how to drive ;-) achieving a technical cert is in no way

[Flashcoders] Which Data Structure is good for this?

2006-12-11 Thread Sascha
I would be interested in recommendations about what kind of data structure is best used in the following situation. I'm loading in a XML file with a typical recursive structure, then the data from it should be parsed into a data storage object and this data should be accessible globally through

RE: RE: [Flashcoders] :: anyone passed flash 8 certification exam?::

2006-12-11 Thread Steven Sacks | BLITZ
If you want to extract from my statement that the certification is a waste of time, and since idle hands are the devil's workshop therefore I was saying the certification was evil, like Bobby Brown, that's your perogative. I wasn't taking it so far as to label it as such. ;) No Flash

RE: [Flashcoders] Which Data Structure is good for this?

2006-12-11 Thread Steven Sacks | BLITZ
function XML2AS(n, r) { var a, d, k; if (r[k=n.nodeName] == null) r = ((a=r[k]=[{}]))[d=0]; else r = (a=r[k])[d=r[k].push({})-1]; if (n.hasChildNodes()) { if ((k=n.firstChild.nodeType) == 1) { r.attributes = n.attributes;

RE: [Flashcoders] Which Data Structure is good for this?

2006-12-11 Thread Sascha
Thanks Steven! Forgot to mention that I'm using AS3. I will try to write your method in AS3 and see if it fits my needs. Cheers, Sascha -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ Sent: Tuesday, 12 December,

Re: [Flashcoders] Which Data Structure is good for this?

2006-12-11 Thread T. Michael Keesey
On 12/11/06, Sascha [EMAIL PROTECTED] wrote: I would be interested in recommendations about what kind of data structure is best used in the following situation. I'm loading in a XML file with a typical recursive structure, then the data from it should be parsed into a data storage object and

[Flashcoders] swf to AVI

2006-12-11 Thread master
convert swf to avi can use swf to video converter at http://www.flash-video-mx.com/swf_to_video/ . master 2006-12-12 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] Extracting SWF height and width from php

2006-12-11 Thread Micky Hulse
function get_img_size($loc) { # Get the image size of the file. # Array returned gets populated with getimagesize() values: /* Array ( [0] = 60 [1] = 41 [2] = 2 [3] = width=60 height=41 [bits]