Re: [Flashcoders] accessing a remote database - possible?
That doesn't really pertain to this list, that's a PHP/database question, but the short answer is yes you can. But the remote database permissions have to allow remote connections, and the database has to be supported by PHP in some way (which I think most if not all are). Good luck. On 5/3/07, BOYD SPEER <[EMAIL PROTECTED]> wrote: I have a Flash frontend for a client's website. Is it possible using PHP to retrieve data from and save data on a database that is on a remote server? Thanks for any insights... -Boyd ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] flowcharting
If anyone's on a Mac, Omnigraffle Pro is a great app. Cheers On 4/30/07, Danny Kodicek <[EMAIL PROTECTED]> wrote: > OpenOffice has a nice drawing tool with all of the > flowcharting symbols defined. www.openoffice.org You can > colour and shade them to your hearts content. If you want to look at alternatives, I'm a fan of SmartDraw, which is good for mocking up interfaces as well. For flow charts specifically, I remember using WizFlow as a decent cheap programme. Danny ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Job Posting: Glenwood MD (Baltimore/DC)
What's so great about Glenwood, Maryland? I can walk around the streets of Toronto topless...beat that. On 4/26/07, Kurt Dommermuth <[EMAIL PROTECTED]> wrote: now wait a minute! I was kiiiing. Just to be clear... people who work with me get paid very well. So come on people! Come work here in Glenwood Maryland and rule the world. Kurt At 03:41 PM 04/26/07, Helmut Granda wrote: >>And as far as money goes, you'll get paid what I tell you you'll get paid. > > >I like your options. Does it work the same with projects? ;) >___ >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 Software >Premier Authorized Adobe Consulting and Training >http://www.figleaf.com >http://training.figleaf.com > ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Papervision3D Terrain Demo with USGS SDTS DEM data
jim, I haven't seen anywhere to download it readily...is it in Beta only? Where might I get a copy? Cheers On 4/24/07, Palmer, Jim <[EMAIL PROTECTED]> wrote: The documentation is rather lacking - but it's relatively easy once you struggle through your first project. The best thing that's happening right now, beyond just the core PV3D code, are all the demos people are putting together with source code released. It's really tough just doing a tweak->compile->wait->repeat especially with AS3 taking so long to compile. I've pulled many hairs out no doubt. Yes - you can position sprites/MCs in 3d space. You can essentially apply anything that is an asset in the library as a texture, bitmap at least. I've seen a demo or two with animated materials as well. As far as I can tell you can make parts of a model clickable. I've seen a couple demo's that will highlight the wireframe "outline" of the specific triangle you're mouse is "over" in 3D space, which would imply you can click on it. Give it a try if you have the time! I'd suggest messing around with the AS3 version. -- Jim Palmer ! Mammoth Web Operations > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf > Of Merrill, > Jason > Sent: Monday, April 23, 2007 8:23 AM > To: flashcoders@chattyfig.figleaf.com > Subject: RE: [Flashcoders] Papervision3D Terrain Demo with > USGS SDTS DEM > data > > > Very cool - how hard was papervision to learn? The > documentation seems a > little lacking. Do you know if you can position sprites or movieClips > in the 3-D space and/or if you can make parts of a 3-D model > click-able? > > Jason Merrill > Bank of America > GT&O Learning & Leadership Development > eTools & Multimedia Team > > > > > >>-Original Message- > >>From: [EMAIL PROTECTED] > >>[mailto:[EMAIL PROTECTED] On Behalf > >>Of Palmer, Jim > >>Sent: Saturday, April 21, 2007 8:01 PM > >>To: flashcoders@chattyfig.figleaf.com > >>Subject: [Flashcoders] Papervision3D Terrain Demo with USGS > >>SDTS DEM data > >> > >> > >>http://www.overset.com/2007/04/21/papervision3d-terrain-map-of > >>-mammoth-mountain-ski-area/ > >> > >>Just put together a simple proof-of-concept by taking the > >>USGS D.E.M. (Digital Elevation Model) data in SDTS format, > >>converted it to a huge array of Vertex3D objects and did a > >>ghetto-fab "triangulation" of the vertices for the Face3D objects. > >> > >>I'd honestly LOVE to put together a SDTS DEM to papervision3d > >>Mesh3D conversion utility to literally load SDTS data on the > >>fly, but that will not happen too soon =[ > >> > >>It appears to be 3080 Vertex3D objects and 5933 Face3D > >>objects with my ghetto-triangulation. > >> > >>The "wireframe" texture with doubleSided=false seems to do > >>alright in terms of performance and falls within the 15sec > >>script execution limitation. > >>We'll see how this does with a texture applied, if I can even > >>accomplish this easily. > >> > >>..comments? > >> > >>-- > >>Jim Palmer ! Mammoth Web Operations > >>___ > >>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 Software > >>Premier Authorized Adobe Consulting and Training > >>http://www.figleaf.com http://training.figleaf.com > >> > ___ > 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 Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Jordan Snyder Applications Developer Image Action LLC http://www.imageaction.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Basic "class for swf"-question
Thank you very much Muzak; very helpful...especially the bit about positioning movieclips. We have a very data-rich project that still needs to have plenty of Flashy goodness, and I'm more familiar with simple forms with maybe only a transition here and there. And I will be joining that list! Cheers! On 4/23/07, Muzak <[EMAIL PROTECTED]> wrote: Cairngorm and ARP are very similar because they used to be one and the same (or something like that - don't know the details) If you install the old ARP installer http://osflash.org/downloads/arp/ARP_2.02_Setup.exe it comes with a Sample app (PizzaService) which is a good start. Apparently it's also available on subversion: http://svn1.cvsdude.com/osflash/arp/trunk/samples/PizzaService/ There's a few extensions to ARP, more on them here: http://osflash.org/projects/arp/arp_extensions And you can find the sources here: http://svn1.cvsdude.com/osflash/arp/labs/ Other links: http://osflash.org/projects/arp One of the things that has been discussed on the ARP mailing list quite alot is the way that ARP issues commands and the fact that a Command is loosely coupled to a View. Taking the PizzaService as an example, there's an OrderForm and an OrderPizzaCommand. The OrderForm dispatches an event (orderPizza) which (through the Controller) executes the OrderPizzaCommand. The OrderPizzaCommand has a reference (viewRef) to the OrderForm and calls a method (getOrders()) on the OrderForm. So that's where it gets a bit hairy.. a Command calling a method on a View to retrieve the necessary data. Solutions are to either pass the required data to the command or go through a Model (Singleton). The OrderForm stores the required data in the Model and the OrderPizzaCommand retrieves it there. As for designing an ARP application, I found it helps to have each "Form" have a background movieclip, the same size as the stage, which is then hidden in the "onLoad" method. This helps when you need to layout and position child elements through actionscript as well (top left = 0,0) You can always join the ARP mailing list if you have more questions: http://ariaware.com/mailman/listinfo/arp_ariaware.com regards, Muzak - Original Message - From: "Jordan Snyder" <[EMAIL PROTECTED]> To: Sent: Monday, April 23, 2007 11:06 PM Subject: Re: [Flashcoders] Basic "class for swf"-question > Muzak, > > I have used Cairngorm for Flex 2 applications and I see that ARP is > very very similar to it, but before I get myself and my other > developer involved with ARP (on a non-forms based app), is there > anything tricky I need to know about developing ARP apps without > Forms, since their documentation focuses on Form development? > > Any help or links are greatly appreciated! > > Cheers! > ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Jordan Snyder Applications Developer Image Action LLC http://www.imageaction.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] setInterval woes
Isn't using Delegate (with setInterval) one step better or are there caveats? Steven, what I don't understand is why, if the intervals are getting orphaned, you wouldn't have the data being pulled much MORE often instead of less often. I'm aware of the issues with orphaning an interval (and just assumed that this code was in a class or was only called once) but I don't understand the resultant behavior in relation to what you're saying. Michael, haven't heard from you in a while...did you work it out? Cheers! On 4/23/07, Steven Sacks <[EMAIL PROTECTED]> wrote: Yes! Always pass the scope when using setInterval. I think it's bad that they even included the option to not pass the scope. David Ngo wrote: > And to add to what Steven said, I would seriously suggest using the scope > version of the setInterval call: > > var interval:Number = setInterval(this, 'myFunc', 100); > > > Using setInterval this way specifies the scope object you want to call your > method on. This also goes a long way to ensuring that your interval will > work as you intended it to. > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks > Sent: Monday, April 23, 2007 10:06 AM > To: flashcoders@chattyfig.figleaf.com > Subject: Re: [Flashcoders] setInterval woes > > It's debugging 101. Eliminate the obvious things first. Calling > clearInterval before setInterval is a preventative measure to protect > you from unexpected behavior from accidental orphaning of intervals. I > ALWAYS ALWAYS ALWAYS clearInterval before I setInterval regardless of > whether it is the first time I'm setting it. There is no reason not to > do it and plenty of reason to do it. > > If you overwrite a reference to an interval with another interval, you > orphan that interval which continues to run in the swf until you close > the swf and you will never be able to stop it unless you knew the id of > the interval in question. > > The reason I suggested it was because his code was not well written in > that there was no protection that the interval would be overwritten > since it was in a frame script. If that frame ever played again you > would have an interval orphaned and then doubled up. From the > description of the behavior he gave, that's exactly what it sounded like. > > > > > Jordan Snyder wrote: >> Nevermind. I'm obviously not communicating very well. I'm extremely >> familiar with setInterval's and setTimeout's functionality. What I'm >> trying to figure out is why Steven says to clearInterval first >> clearInterval can not be run without an argument, so I'm saying that >> if you haven't assigned setInterval to something, what are you going >> to call clearInterval on? And why would you call it before it's even >> assigned to an actual interval? >> >> Cheers >> >> On 4/20/07, David Ngo <[EMAIL PROTECTED]> wrote: >>> Yes, that's where you're mistaken. setInterval will set an interval that >>> will call a method at each interval. Whether you assign it to a >>> variable or >>> not, it will continue to call that method at each interval. This is how >>> setInterval works. In order to clear an interval, you MUST assign an >>> ID and >>> call clearInterval on that ID. The functionality you're talking about >>> is a >>> setTimeout. That calls a method once and ONLY once after a specified >>> delay. >>> >>> >>> >>> -Original Message- >>> From: [EMAIL PROTECTED] >>> [mailto:[EMAIL PROTECTED] On Behalf Of Jordan >>> Snyder >>> Sent: Friday, April 20, 2007 3:02 PM >>> To: flashcoders@chattyfig.figleaf.com >>> Subject: Re: [Flashcoders] setInterval woes >>> >>> No, I mean that he is only calling setInterval once and has no >>> apparent need to even assign it to a variable for use with >>> clearInterval later. >>> >>> On 4/20/07, David Ngo <[EMAIL PROTECTED]> wrote: >>>> An interval is fired at each interval. What you're talking about is a >>>> setTimeout which is fired only once after a delay (timeout). An >>> interval >>> is >>>> fired an infinite number of times until clearInterval is called. >>>> >>>> >>>> -Original Message- >>>> From: [EMAIL PROTECTED] >>>> [mailto:[EMAIL PROTECTED] On Behalf Of Jordan >>>> Snyder >>>> Sent: Friday, April 20, 2007 2:03 PM >>>> To: flash
Re: [Flashcoders] flash and paypal
That was helpful John! FYI, it seems your Google Checkout code is broken! Cheers On 4/23/07, John Hattan <[EMAIL PROTECTED]> wrote: You don't need any third-party API's to talk to paypal. Since the paypal site accepts standard GET and POST CGI data, sending a transaction to Paypal can be done by setting up a LoadVars object, setting the parameters to your shopping cart in the object, then sending that LoadVars object to PayPal's little processor at https://www.paypal.com/cgi-bin/webscr (note that there's apparently a long-standing bug in Flash's POST-handler, so I just use GET. It makes for ugly URL's, but it works) As for doing back-end processing from Paypal (i.e. being notified that somebody bought something and you need to act on that purchase), google for "IPN", which is Paypal's spec for creating and acting on transactions. Paypal's got good sample code in several server-side languages along with developer forums and a sandbox (i.e. a "fake paypal" where you can test your code without spending real money). The process basically goes like this. . . 1. You send your shopping cart data to paypal (either from Flash or some other browser-based shopping-cart solution) 2. The user is sent to paypal where he pays for the transaction. 3. Paypal contacts some server-side code telling you that somebody bought something. 4. You verify the transaction with paypal (to make sure you're not being spoofed) 5. If verified, do whatever's necessary to complete the transaction, like email the user a download link. Here's my little shopping-cart. Note that it also talks to Google Checkout, which has a few more steps but is otherwise similar. http://www.thecodezone.com/buy.html - Original Message From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: flashcoders@chattyfig.figleaf.com Sent: Monday, April 23, 2007 11:23:40 AM Subject: [Flashcoders] flash and paypal i'm going to be producing a site which sells some exclusive, single and multiple (ie shopping cart) products which i'd like to do in flash. the client wants to use paypal to begin with (it's a startup). Does anyone have any experience with using flash with paypal? Can you recommend any good tutorial sites or 3rd party api's? Hope you guys can help thanks a ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Jordan Snyder Applications Developer Image Action LLC http://www.imageaction.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Basic "class for swf"-question
Muzak, I have used Cairngorm for Flex 2 applications and I see that ARP is very very similar to it, but before I get myself and my other developer involved with ARP (on a non-forms based app), is there anything tricky I need to know about developing ARP apps without Forms, since their documentation focuses on Form development? Any help or links are greatly appreciated! Cheers! On 4/23/07, Muzak <[EMAIL PROTECTED]> wrote: In FCS 3 you'll be able to specify a class for the "_root" of an swf. In Flash 8 and previous Flash versions there's no such option. One way to deal with this is the MTASC-way (code taken from http://www.mtasc.org/#usage) class Tuto { static var app : Tuto; function Tuto() { // creates a 'tf' TextField size 800x600 at pos 0,0 _root.createTextField("tf",0,0,0,800,600); // write some text into it _root.tf.text = "Hello world !"; } // entry point static function main(mc) { app = new Tuto(); } } When compiling with MTASC you can then specify the name of your "main" class (Tuto.as) and which method to call on the class --> in this case "main()" mtasc -swf tuto.swf -main -header 800:600:20 Tuto.as So what it does when you compile is invoke: Tuto.main(); The code looks a bit odd though, since main() seems to accept an argument (mc) but it doesn't seem to get used and the constructor simply uses _root as the target (which IMO isn't a good idea). Without MTASC you could do the following: class Tuto { static var app : Tuto; private static var target:MovieClip; function Tuto() { // creates a 'tf' TextField size 800x600 at pos 0,0 target.createTextField("tf",0,0,0,800,600); // write some text into it target.tf.text = "Hello world !"; } // entry point static function main(mc:MovieClip) { target = mc; app = new Tuto(); } } And in the main timeline you'd call: Tuto.main(this); On top of that, when not using MTASC, you can simply dump the static method entry point and use the "new" keyword class App{ private var target:MovieClip; function App(mc:MovieClip) { target = mc; target.createTextField("tf",0,0,0,800,600); target.tf.text = "Hello world !"; } } And in the main timeline: var app:App = new App(this); Ofcourse, to actually create a whole application, you'd do something else in the class constructor instead of simply creating a TextField. Then there's the ARP way of doing things - which is what I use ;-) http://osflash.org/arp/ Instead of using the main timeline as the "root" of your application, you create a movieclip with a class assigned to it and place it on stage. This MovieClip+Class is usually called "Application". The rest of the flash app goes inside the Application MovieClip. By placing the Application movieclip on stage, you don't have to call anything from the main timeline to start the app. This is very similar to creating a "Flash Form Application" fla by the way, except that you're not forced to use the v2 Framework (mx.screens.Form). But the overall idea is the same: you create a tree-structure with the Application Class/MovieClip as the main timeline and the Application takes care of which child movieclip is shown/hidden. regards, Muzak - Original Message - From: "Johan Nyberg" <[EMAIL PROTECTED]> To: Sent: Monday, April 23, 2007 2:09 PM Subject: [Flashcoders] Basic "class for swf"-question > Hi, just wanted to know if there is a best practice when creating a class for the mother movie (i.e. the flash-movie itself). Is > this the way to go? > > var mother:MyFabFlashApp = new MyFabFlashApp(); > > ..or is there a better way? Seems kind of a stupid question, but I wanted to put it anyway in case I've missed something. ;-) I've > put my main code on the first frame of the _root timeline for too long, and want to move it into a class. > > > Regards, > > /Johan > > -- > Johan Nyberg ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Jordan Snyder Applications Developer Image Action LLC http://www.imageaction.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] setInterval woes
Nevermind. I'm obviously not communicating very well. I'm extremely familiar with setInterval's and setTimeout's functionality. What I'm trying to figure out is why Steven says to clearInterval first clearInterval can not be run without an argument, so I'm saying that if you haven't assigned setInterval to something, what are you going to call clearInterval on? And why would you call it before it's even assigned to an actual interval? Cheers On 4/20/07, David Ngo <[EMAIL PROTECTED]> wrote: Yes, that's where you're mistaken. setInterval will set an interval that will call a method at each interval. Whether you assign it to a variable or not, it will continue to call that method at each interval. This is how setInterval works. In order to clear an interval, you MUST assign an ID and call clearInterval on that ID. The functionality you're talking about is a setTimeout. That calls a method once and ONLY once after a specified delay. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jordan Snyder Sent: Friday, April 20, 2007 3:02 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] setInterval woes No, I mean that he is only calling setInterval once and has no apparent need to even assign it to a variable for use with clearInterval later. On 4/20/07, David Ngo <[EMAIL PROTECTED]> wrote: > An interval is fired at each interval. What you're talking about is a > setTimeout which is fired only once after a delay (timeout). An interval is > fired an infinite number of times until clearInterval is called. > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Jordan > Snyder > Sent: Friday, April 20, 2007 2:03 PM > To: flashcoders@chattyfig.figleaf.com > Subject: Re: [Flashcoders] setInterval woes > > Steven, why is that? If he's only calling it once and the interval is > only defined/set once, why would you call clearInterval? > > On 4/20/07, Steven Sacks <[EMAIL PROTECTED]> wrote: > > You should always call clearInterval before setInterval. ALWAYS. > > > > > > Michael King wrote: > > > Hey all, > > > > > > Some of you may remember my problems with visually mapping streaming > data > > > before. I ended up needing them as separate clips to provide individual > > > roll-over support with the ability to add links in a future revision. > > > > > > Well, now that I have it performing better, I'm breaking down the > > > information into intervals of 1 minute "bursts". What I'm trying to do > is > > > use setInterval to have it pull the data once per minute. > > > > > > The problem is, when I use setInterval as documented, it waits the first > > > minute, does its thing, but then it ignores the interval after that, > > > pulling the data every time that frame comes up. > > > > > > > > > Here's the relevant bit of code: > > > > > > function intervalLoop() { > > > xmlData = new XML(); > > > xmlData.load("wddx.php"); > > > xmlData.onLoad = function () { > > > wddx = new Wddx(); > > > _root.wddxObj = wddx.deserialize(this); > > > delete(xmlData); > > > } > > > > > > for (j=0; j < _root.lines.length; j++) { > > > trace("Deleting clip: " + _root.lines[j]["pen"]._name); > > > _root.lines[j]["pen"].removeMovieClip(); > > > delete(_root.lines[j]["pen"]); > > > delete(_root.lines[j]["timestamp"]); > > > _root.lines.splice(j,1); > > > } > > > > > > for (var i in _root.wddxObj) { > > > _root.counter++; > > > date_now = new Date(); > > > pen = createEmptyMovieClip("curve_" + i + "_mc", 2 + > > > _root.counter); > > > trace("Added clip: " + pen._name); > > > pen.lineStyle(1.5,0xFF6600); > > > container = {pen: pen, timestamp: date_now}; > > > _root.lines.push(container); > > > dest_long = _root.wddxObj[i]["long"]; > > > dest_lat = _root.wddxObj[i]["lat"]; > > > site = _root.wddxObj[i]["site"]; > > > src_long = _root.locations[site]["long"]; > > > src_lat = _root.locations[site]["lat"]; >
Re: [Flashcoders] setInterval woes
No, I mean that he is only calling setInterval once and has no apparent need to even assign it to a variable for use with clearInterval later. On 4/20/07, David Ngo <[EMAIL PROTECTED]> wrote: An interval is fired at each interval. What you're talking about is a setTimeout which is fired only once after a delay (timeout). An interval is fired an infinite number of times until clearInterval is called. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jordan Snyder Sent: Friday, April 20, 2007 2:03 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] setInterval woes Steven, why is that? If he's only calling it once and the interval is only defined/set once, why would you call clearInterval? On 4/20/07, Steven Sacks <[EMAIL PROTECTED]> wrote: > You should always call clearInterval before setInterval. ALWAYS. > > > Michael King wrote: > > Hey all, > > > > Some of you may remember my problems with visually mapping streaming data > > before. I ended up needing them as separate clips to provide individual > > roll-over support with the ability to add links in a future revision. > > > > Well, now that I have it performing better, I'm breaking down the > > information into intervals of 1 minute "bursts". What I'm trying to do is > > use setInterval to have it pull the data once per minute. > > > > The problem is, when I use setInterval as documented, it waits the first > > minute, does its thing, but then it ignores the interval after that, > > pulling the data every time that frame comes up. > > > > > > Here's the relevant bit of code: > > > > function intervalLoop() { > > xmlData = new XML(); > > xmlData.load("wddx.php"); > > xmlData.onLoad = function () { > > wddx = new Wddx(); > > _root.wddxObj = wddx.deserialize(this); > > delete(xmlData); > > } > > > > for (j=0; j < _root.lines.length; j++) { > > trace("Deleting clip: " + _root.lines[j]["pen"]._name); > > _root.lines[j]["pen"].removeMovieClip(); > > delete(_root.lines[j]["pen"]); > > delete(_root.lines[j]["timestamp"]); > > _root.lines.splice(j,1); > > } > > > > for (var i in _root.wddxObj) { > > _root.counter++; > > date_now = new Date(); > > pen = createEmptyMovieClip("curve_" + i + "_mc", 2 + > > _root.counter); > > trace("Added clip: " + pen._name); > > pen.lineStyle(1.5,0xFF6600); > > container = {pen: pen, timestamp: date_now}; > > _root.lines.push(container); > > dest_long = _root.wddxObj[i]["long"]; > > dest_lat = _root.wddxObj[i]["lat"]; > > site = _root.wddxObj[i]["site"]; > > src_long = _root.locations[site]["long"]; > > src_lat = _root.locations[site]["lat"]; > > curvePoint(pen, src_long, src_lat, dest_long, dest_lat); > > } > > } > > > > setInterval(intervalLoop, 6); > > > > Thanks, > > > > > > Michael King > > CSIRT - Developer > > Security Incident Response Group > > Humana Inc. > > E-mail: [EMAIL PROTECTED] > > "STANDS: Some Theoretical Acronym Not Described Sufficiently" > > > > The information transmitted is intended only for the person or entity to which it is addressed and may contain CONFIDENTIAL material. If you receive this material/information in error, please contact the sender and delete or destroy the material/information. > > ___ > > 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 Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > ___ > 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 Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > -- Jordan Snyder Applications Developer Image A
Re: [Flashcoders] setInterval woes
Steven, why is that? If he's only calling it once and the interval is only defined/set once, why would you call clearInterval? On 4/20/07, Steven Sacks <[EMAIL PROTECTED]> wrote: You should always call clearInterval before setInterval. ALWAYS. Michael King wrote: > Hey all, > > Some of you may remember my problems with visually mapping streaming data > before. I ended up needing them as separate clips to provide individual > roll-over support with the ability to add links in a future revision. > > Well, now that I have it performing better, I'm breaking down the > information into intervals of 1 minute "bursts". What I'm trying to do is > use setInterval to have it pull the data once per minute. > > The problem is, when I use setInterval as documented, it waits the first > minute, does its thing, but then it ignores the interval after that, > pulling the data every time that frame comes up. > > > Here's the relevant bit of code: > > function intervalLoop() { > xmlData = new XML(); > xmlData.load("wddx.php"); > xmlData.onLoad = function () { > wddx = new Wddx(); > _root.wddxObj = wddx.deserialize(this); > delete(xmlData); > } > > for (j=0; j < _root.lines.length; j++) { > trace("Deleting clip: " + _root.lines[j]["pen"]._name); > _root.lines[j]["pen"].removeMovieClip(); > delete(_root.lines[j]["pen"]); > delete(_root.lines[j]["timestamp"]); > _root.lines.splice(j,1); > } > > for (var i in _root.wddxObj) { > _root.counter++; > date_now = new Date(); > pen = createEmptyMovieClip("curve_" + i + "_mc", 2 + > _root.counter); > trace("Added clip: " + pen._name); > pen.lineStyle(1.5,0xFF6600); > container = {pen: pen, timestamp: date_now}; > _root.lines.push(container); > dest_long = _root.wddxObj[i]["long"]; > dest_lat = _root.wddxObj[i]["lat"]; > site = _root.wddxObj[i]["site"]; > src_long = _root.locations[site]["long"]; > src_lat = _root.locations[site]["lat"]; > curvePoint(pen, src_long, src_lat, dest_long, dest_lat); > } > } > > setInterval(intervalLoop, 6); > > Thanks, > > > Michael King > CSIRT - Developer > Security Incident Response Group > Humana Inc. > E-mail: [EMAIL PROTECTED] > "STANDS: Some Theoretical Acronym Not Described Sufficiently" > > The information transmitted is intended only for the person or entity to which it is addressed and may contain CONFIDENTIAL material. If you receive this material/information in error, please contact the sender and delete or destroy the material/information. > ___ > 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 Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Jordan Snyder Applications Developer Image Action LLC http://www.imageaction.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] streaming mov
You have to convert them to FLV or MP3 to use with Flash. google: flash video encoder On 4/20/07, :: joshua <[EMAIL PROTECTED]> wrote: hey all. a client of mine keep providing streaming .mov files (audio). been havin a lovely time trying to get these to stream in flash. streaming mp3's no problemo...not sure if its just not possible to stream these .mov files...but i figured where better to ask the question. thanks in advance... cheers. joshua forstot ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Jordan Snyder Applications Developer Image Action LLC http://www.imageaction.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] setInterval woes
I'm wondering the same as Alexander...perhaps it's something to do with the timeline, or with other code that is happening around the code you posted. Is there anything else we should know? You should also just put a trace at the top of the intervalLoop() function to see if the problem may be with the server. It is unlikely but I've seen stranger. It may not even be with the server, it may be with the XML object you have there. If you're deleting it in the first iteration but not initializing it with 'var xmlData = new XML();", then where would it be coming from after it's deleted? That is, unless you're doing something outside that function. Hope that makes sense...I'm just now pouring my first cup of coffee into my belly. Cheers On 4/20/07, Alexander Farber <[EMAIL PROTECTED]> wrote: Are you missing a stop(); maybe? On 4/20/07, Michael King <[EMAIL PROTECTED]> wrote: > The problem is, when I use setInterval as documented, it waits the first > minute, does its thing, but then it ignores the interval after that, > pulling the data every time that frame comes up. Regards Alex -- http://preferans.de ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Jordan Snyder Applications Developer Image Action LLC http://www.imageaction.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Unique Machine ID from within the Browser?
Hello, Does anyone know of a way to get/generate a unique machine ID from within Flash (or even Javascript) in the browser? I have done this with mProjector before, but it was of course a function specific to mProjector. I'm trying to achieve the same functionality within the browser. A UID based on a timestamp and a pseudo-random generator will not suffice...this needs to identify the machine in the same fashion every time (although I understand that it would probably change if the hard drive were formatted) and I will not necessarily be storing the value in a local SharedObject. I hope that's enough information to explain what I'm trying to achieve! Any help/thoughts are greatly appreciated. Cheers! -- Jordan Snyder Application Developer Image Action http://www.imageaction.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] OT: Salary Questions
What I do is hardly Flash development...that's one small piece of the pie. :) But you're right on the rest of it. If nothing else, I'm learning a lot here about coming up with creative ways to make things work against all odds at a very high level. Cheers On 4/18/07, Jason Rayles <[EMAIL PROTECTED]> wrote: I doubt that the management structure of your global company is going to change any time soon. If you are frustrated, then it sounds like you should find another gig, especially if want a raise but are unable to communicate to your boss what it is that you do. I find that it's easier to bump up my rate with new clients than to explain to old clients why they should be paying me more for the same work, anyway. I have no particular insight into the job market in your region, but I'd be surprised to hear of someone getting a 90K salary for flash development in Oklahoma. Jason - Original Message - From: "Jordan Snyder" <[EMAIL PROTECTED]> To: Sent: Wednesday, April 18, 2007 3:50 PM Subject: Re: [Flashcoders] OT: Salary Questions The main trouble I'm running into when trying to prove what I do here is that we have almost NO organization in our company and no clear path to any given team or individual. A good example is that anyone (salesperson, PR guy, creative director, client) can come to ANYONE in my department and request work. Then that person in my dept requests a project code from a person in Switzerland who has no contact with us whatsoever, and then that person is the 'owner' of the project and is responsible for seeing it through. If the graphic designer learns about a highly technical project from a client, he will technically own it, but I will of course run it. Since my boss does little to no due diligence into what the team is doing (he just expects everything to be done when it's supposed to be done) then he has no idea what is going on behind the scenes. He just sees that a project either gets done on time or it doesn't, and since I am the most technical, I am blamed for failures yet not rewarded for successes (the boss actually takes credit for successes after I sit down with him for hours and explain the architecture and selling points of any given system.) We have a serious management failure, lack of management all together, and so the people making the world go around will never be recognized for what we do. Until we leave. The only reason I'm here at this point is due to my significant investment in this company. It is dysfunctional from the top down, but there are some amazing ideas and some amazing people in this organization (global company). I've decided that I am going to follow through with the current project I'm driving, and if things do not change a great deal afterward, I will take another job and make things happen there. There is so much information that I could divulge in testament to the extreme dysfunctionality, but that would be neither wise nor effective use of my time. Hope this gives some insight into how much a corporate structure/lack of structure affects my/your compensation, confidence, earning ability, growth potential, etc. Cheers! ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Jordan Snyder Applications Developer Image Action LLC http://www.imageaction.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] OT: Salary Questions
The main trouble I'm running into when trying to prove what I do here is that we have almost NO organization in our company and no clear path to any given team or individual. A good example is that anyone (salesperson, PR guy, creative director, client) can come to ANYONE in my department and request work. Then that person in my dept requests a project code from a person in Switzerland who has no contact with us whatsoever, and then that person is the 'owner' of the project and is responsible for seeing it through. If the graphic designer learns about a highly technical project from a client, he will technically own it, but I will of course run it. Since my boss does little to no due diligence into what the team is doing (he just expects everything to be done when it's supposed to be done) then he has no idea what is going on behind the scenes. He just sees that a project either gets done on time or it doesn't, and since I am the most technical, I am blamed for failures yet not rewarded for successes (the boss actually takes credit for successes after I sit down with him for hours and explain the architecture and selling points of any given system.) We have a serious management failure, lack of management all together, and so the people making the world go around will never be recognized for what we do. Until we leave. The only reason I'm here at this point is due to my significant investment in this company. It is dysfunctional from the top down, but there are some amazing ideas and some amazing people in this organization (global company). I've decided that I am going to follow through with the current project I'm driving, and if things do not change a great deal afterward, I will take another job and make things happen there. There is so much information that I could divulge in testament to the extreme dysfunctionality, but that would be neither wise nor effective use of my time. Hope this gives some insight into how much a corporate structure/lack of structure affects my/your compensation, confidence, earning ability, growth potential, etc. Cheers! On 4/18/07, Kelly Smith <[EMAIL PROTECTED]> wrote: Exactly, the cost of living here in SF is insane. A decent flat in the city will cost you a million flat. I'm in my 30s and still renting. Again, the 100k - 120k figure I tossed out is for someone who has demonstrated expertise in database programming and administration, business logic layers, and presentation. Basically I'm describing an ace for an entire technology stack...what some folks call a system architect. There are not too many of these people around. A good software developer who, for example, can screw together nice servlets but would flail miserably as a db admin or flash developer will prolly score between 75k and 90k. - k On 4/18/07, Alias™ <[EMAIL PROTECTED]> wrote: > > Yeah, if you wanna buy a house in London you're looking at £200k - > £300k minimum... > So it all evens out... > > Alias > > On 18/04/07, Zeh Fernando <[EMAIL PROTECTED]> wrote: > > > Here in México a Senior with these skills. U$15k-U$20k at year. > > > A game developement manager (Flash Guru) like me and others 6 people > in the > > > country. U$32k-U$37k at year > > > :.( > > > We are fucked > > > > Similar values apply to our market here (in Brazil). But you have to > > take the cost of living of the country/city/state into consideration. > > I'm not sure how's that on Mexico, but I bet it's cheaper than, say, > > living in downtown NYC... It's not like someone turns filthy rich just > > because of a location change. > > > > Different places, different scales. > > > > > > Zeh > > ___ > > 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 Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > ___ > 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 Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > _______ 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 Software Premier Authorized Adobe Consulting and Training http://www.
[Flashcoders] OT: Salary Questions
Hello, I'm in Oklahoma City, so it's a bit harder sometimes for me to gauge how much compensation I should receive. If anyone has any comments on the following information, please let me know. I won't disclose my exact salary, but you can email me offlist if you're curious. My title is Application Developer, but I am the only person here (and always have been) that knows the difference between a boolean and a string. I am the only technical person and I often take on experienced IT-related roles such as web server configuration, shell scripting, server monitoring/management, etc (mostly Unix-based, some Windows 2000). I architect and build all backend solutions (PHP, mySQL, CF, RoR, J2EE) and desktop solutions (Cocoa, Java, Flash/mProjector). I have extensive knowledge of media streaming and FCS/FMS application development. I also architect all web-based applications and provide diagrams and documentation for them, after meeting with clients or upper management directly to translate business objectives into software tools. I then sit down and do ALL of the development work. I work with one designer but I do all UI/interactivity design. I also manage a small team of interactive designers and producers. My title does not reflect these duties, but it is difficult to communicate to my boss what I do. I am getting roughly what a junior Actionscript developer would make, and I'm fed up. There are also no stock options, no profit sharing, no retirement (401K), no vision nor dental. We get a very simple medical insurance plan. I am looking for advice on this matter. Do I expect too much if I demand at least $90K a year? How do I better inform management as to what I actually do on a daily basis? If I'm right in thinking that I'm getting screwed, is anyone hiring? ;) Cheers! -- Jordan Snyder [EMAIL PROTECTED] (Company Undisclosed) ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] how to know that thae video is finished?
The onMetaData event is fired in the beginning of the clip if there is metadata. Using similar code, look at the onComplete event of the NetStream class. cheers On 1/17/07, natalia Vikhtinskaya <[EMAIL PROTECTED]> wrote: Hi to all How to determine that the video is finished? I tried ns["onMetaData"]=function(obj){ duration=obj.duration; } and then if(ns.time==duration) but it is always false. Thank you for any help. ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Jordan Snyder Applications Developer Image Action LLC http://www.imageaction.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Senior Developer Posisition
right on rich! On 12/20/06, Rich Rodecker <[EMAIL PROTECTED]> wrote: well, really it's up to the individual to decide if they want to accept that salary or not, so really there's no point in arguing about it. On 12/20/06, hank williams <[EMAIL PROTECTED]> wrote: > On 12/20/06, Mark Winterhalder <[EMAIL PROTECTED]> wrote: > > > > > Reverse the math from London at $80K. > > > > > > NYC: $69K, SF: $52K > > > Both of which are far less than what a senior level flash dev should be > > > making in this market. > > > > It doesn't work that way. You don't spend all your salary on rent, > > food and restaurants. Computers, cars and so on typically cost about > > the same as elsewhere in the country. And don't forget you (hopefully) > > don't actually spend all of your salary, but save some for retirement, > > which could be anywhere. > > > City to city cost of living calculations/comparisons usually take an average > and include all of those kinds of assumptions in them. Not that they are > perfect (nothing could be), but they do consider those issues. > > Regards, > Hank > ___ > 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 Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Jordan Snyder Applications Developer Image Action LLC http://www.imageaction.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Pretty cool flash8 video app!
I want my 30 minutes back. I smell shameless self-promotion! On 12/20/06, James Tann <[EMAIL PROTECTED]> wrote: The language & what was interactive about it. Just looked like a video to me. Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marcelo de Moraes Serpa Sent: 20 December 2006 12:12 To: Flashcoders mailing list Subject: Re: [Flashcoders] Pretty cool flash8 video app! Hi James. What didn't you understand ? On 12/20/06, James Tann <[EMAIL PROTECTED]> wrote: > > I'm not sure what I am supposed to be doing on this. Can someone explain > it > to me please? > > Jim > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Marcelo de > Moraes Serpa > Sent: 19 December 2006 19:18 > To: Flashcoders mailing list > Subject: [Flashcoders] Pretty cool flash8 video app! > > Hey guys, you've gotta see this flash8 website, the flv thing is > awesome... > it's from a brazillian beer company... it really inspired me and showed me > the endless possibilities of flash video! > > http://www.antarctica.com.br/tatuagemdaboa/tatuagem.asp > > If you want you can play this little joke on your friends... :D > > Marcelo. > ___ > 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 Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.432 / Virus Database: 268.15.24/592 - Release Date: > 18/12/2006 > 13:45 > > > ___ > 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 Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 19/12/2006 13:17 ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Jordan Snyder Applications Developer Image Action LLC http://www.imageaction.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: RE: [Flashcoders] Password Protected Webservice call - Help Please!
Try this: // SOAP Request var thisXMLReq:String = '' + 'http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";>http://cfc";>http://schemas.xmlsoap.org/soap/encoding/";>usernamepassword'; // SOAP Request Length var SOAPReqLen:Number = thisXMLReq.length; // Basic authentication encoded // see http://www.securitystats.com/tools/base64.php var basicAuthVal:String = "B64BlahB6Blah="; //Base64 encoded string of username:password // add SOAP Headers var SOAPHeaders:Array = new Array("Authorization", "Basic " + basicAuthVal, "SOAPAction", '""', "Content-Length", SOAPReqLen, "", "UTF-8", "Content-Type", "text/xml-SOAP; charset=utf-8"); // SOAP Request XML var myXML_xml:XML = new XML(thisXMLReq); // Add HTTP Headers for SOAP Request myXML_xml.addRequestHeader(SOAPHeaders); // XML Container for server response var myXMLResponse_xml:XML = new XML(); // response load acton myXMLResponse_xml.onLoad = function(success:Boolean){ trace(success); trace("result: " + myXMLResponse_xml.toString()); }; // trigger SOAP call myXML_xml.sendAndLoad("http://www.myserver.com/usermgmt.cfc";, myXMLResponse_xml); I just found that on the Adobe livedocs. I'm not sure why the username+password is base64 encoded but you might try a plaintext version and if that doesn't work, base64 encode it. Hope this gets you SOMEWHERE. Let us know! On 12/18/06, Lori <[EMAIL PROTECTED]> wrote: Yep, according to the programmer who is handling the webservice programming he is using Windows Authentication to handle username and password. There should be (hopefully) a way to call the webservice and send the required authentication information, but i just dont see any example for how this can be done with AS. Thanks everyone for your help so far... L- From: "Merrill, Jason" <[EMAIL PROTECTED]> Sent: Monday, December 18, 2006 4:26 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Password Protected Webservice call - Help Please! >>Seems to me like you could do the same thing without PHP at >>all. Just use the username:[EMAIL PROTECTED] syntax in your AS >>when making the web service call. The host browser should >>send along the login with the request. Jpsh if you look at my post a little closer, I wasn't suggesting PHP at all - just showing an example of how it's done with PHP, therefore they way it possibly translates to actionscript, (which is the same thing you now posted), which Lori said was already tried and failed. Jason Merrill Bank of America Learning & Organizational Effectiveness ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Jordan Snyder (jordansnyder.com) Applications Developer Image Action LLC http://www.imageaction.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: RE: [Flashcoders] Area of a triangle using perimiter values only
ow(b,2)-Math.pow(c,2))/2*a*b); return angle; } else if ( (c == undefined) || (c == null) ) { c = Math.sqrt(Math.pow(a,2)+Math.pow(b,2)-2*a*b*Math.cos(angleC)); return c; } } // /*** ** * * Method : angleRule * * Refers to the angle rule * angleC + angleA + angleB = 180 * * @param : angleA - the angle opposed to the a side *angleB - the angle opposed to the b side * */ // public static function angleRule(angleA:Number, angleB:Number):Number { var angleC:Number; angleC = 180 - (angleA + angleB); return angleC; } // /*** ** * * Method : area * * Calculates the area of a triangle (best for a rectangle triangle) * A = b*h/2 * * @param : b - the base of the triangle *h - the height of the triangle * */ // public static function area(b:Number, h:Number):Number { var area:Number; area = b*h/2; return area; } // /*** ** * * Method : areaHeron * * Calculates the area of a triangle where s is the triangle's semiperimeter * s = a+b+c/2 * A = sqrt(s(s-a)(s-b)(s-c)) * * @param : a - the a side *b - the b side *c - the c side * */ // public static function areaHeron(a:Number, b:Number, c:Number):Number { var area:Number; area = Math.sqrt((a+b+c)*(a+b-c)*(b+c-a)*(c+a-c))/4; return area; } } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: 14 décembre 2006 14:06 To: Flashcoders mailing list Subject: RE: [Flashcoders] Area of a triangle using perimiter values only Thanks - all, yes Jake saw it first and others chimed in with the same thought, my numbers did not compute because they did not make a triangle. I have it working now. The formula is fine, and this function works for me as long as the values come from a true triangle: public static function areaOfTriangle(a:Number, b:Number, c:Number):Number{ return (Math.sqrt((a+b+c)*(b+c-a)*(c+a-b)*(a+b-c)))/4; } Thanks eveyrone! Jason Merrill Bank of America Learning & Organizational Effectiveness ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.18/586 - Release Date: 2006-12-13 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.18/586 - Release Date: 2006-12-13 ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Jordan Snyder Applications Developer Image Action LLC http://www.imageaction.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: Re: [Flashcoders] Area of a triangle using perimiter values only
Jason, It must be true that your inputs are incorrect, BUT to answer your question about distributive methods - I was just thinking about condensing that formula. If you did that(and they do it in the next step on the MathWorld link) then you have to multiply every term in parens by every other term in parens and you get all of that whacky a^4, b^4 business. As it is, you're supplying your function with the values of a, b, and c, so you can add them in the parens and multiply out the whole numbers. False alarm there! Cheers On 12/14/06, Nex Ninek <[EMAIL PROTECTED]> wrote: Negative result of ((a+b+c)*(b+c-a)*(c+a-b)*(a+b-c)) is not possible if a,b, and c are lengths of a triangle's sides. The first term will always be obviously positive, and so will the other three terms -- they are simply the sum of the lengths of two sides less the third side, and you can't have a triangle where that isn't true. It's most likely that your input numbers to the formula are incorrect. Trace that to find your problem. On 12/14/06, Merrill, Jason <[EMAIL PROTECTED]> wrote: > > I'm trying to figure the area of a triangle in Actionscript using the > perimeter values only, not the traditional simple formula: > > area = (height/2)*base > > because figuring the height is tricky given the triangle will be drawn > in odd ways (i.e. a not horizontally alinged base), so I am exploring > other triangle area forumulas that only take in the perimiter values > (a,b,c), like Heron's formula or this one, which I like: > > given a,b,c are the length of the sides of the triangle, then the > formula is: > >squareRoot of: (a+b+c)(b+c-a)(c+a-b)(a+b-c) > ___ > 4 > > So in trying to translate that to actionscript, I wrote: > > public static function areaOfTriangle(a:Number, b:Number, > c:Number):Number{ > return (Math.sqrt((a+b+c)*(b+c-a)*(c+a-b)*(a+b-c)))/4; > } > > But the problem is (a+b+c)*(b+c-a)*(c+a-b)*(a+b-c) results in a negative > number, and this the square root cannot be taken. Or perhaps I am > interpreting the forumula incorrectly: > http://mathworld.wolfram.com/TriangleArea.html > > What am I doing wrong here? Thanks. > > Jason Merrill > Bank of America > Learning & Organizational Effectiveness > > > > > ___ > 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 Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Jordan Snyder Applications Developer Image Action LLC http://www.imageaction.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: Re: Re: [Flashcoders] Area of a triangle using perimiter values only
ALL RIGHT I'm a silly billy. I used your code and it works just fine. Maybe the problem isn't in this function. I'm using Flash 8/AS2. Cheers On 12/14/06, Jordan Snyder <[EMAIL PROTECTED]> wrote: I recind half of what I said after actually thinking about it, but maybe it's a different perspective ;) On 12/14/06, Jordan Snyder <[EMAIL PROTECTED]> wrote: > To dodge your question, couldn't you just use the simple distance > forumula to determine the base even when it's not horizontal? I dont' > know much about your application or if you'll have the points where > the triangle's points lie, but that's just an idea. > > Oh, but I just thought of something from my old rusty brain. I looked > at the formula on the mathworld page; would that not indicate a > distributive method of multiplication? Again, rusty, but a thought. > > Let us know what you figure out!! > > > Cheers > > On 12/14/06, Merrill, Jason <[EMAIL PROTECTED]> wrote: > > I'm trying to figure the area of a triangle in Actionscript using the > > perimeter values only, not the traditional simple formula: > > > > area = (height/2)*base > > > > because figuring the height is tricky given the triangle will be drawn > > in odd ways (i.e. a not horizontally alinged base), so I am exploring > > other triangle area forumulas that only take in the perimiter values > > (a,b,c), like Heron's formula or this one, which I like: > > > > given a,b,c are the length of the sides of the triangle, then the > > formula is: > > > >squareRoot of: (a+b+c)(b+c-a)(c+a-b)(a+b-c) > > ___ > > 4 > > > > So in trying to translate that to actionscript, I wrote: > > > > public static function areaOfTriangle(a:Number, b:Number, > > c:Number):Number{ > > return (Math.sqrt((a+b+c)*(b+c-a)*(c+a-b)*(a+b-c)))/4; > > } > > > > But the problem is (a+b+c)*(b+c-a)*(c+a-b)*(a+b-c) results in a negative > > number, and this the square root cannot be taken. Or perhaps I am > > interpreting the forumula incorrectly: > > http://mathworld.wolfram.com/TriangleArea.html > > > > What am I doing wrong here? Thanks. > > > > Jason Merrill > > Bank of America > > Learning & Organizational Effectiveness > > > > > > > > > > _______ > > 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 Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > > > -- > Jordan Snyder > jordansnyder.com > Applications Developer > Image Action LLC > http://www.imageaction.com > -- Jordan Snyder Applications Developer Image Action LLC http://www.imageaction.com -- Jordan Snyder Applications Developer Image Action LLC http://www.imageaction.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: Re: [Flashcoders] Area of a triangle using perimiter values only
I recind half of what I said after actually thinking about it, but maybe it's a different perspective ;) On 12/14/06, Jordan Snyder <[EMAIL PROTECTED]> wrote: To dodge your question, couldn't you just use the simple distance forumula to determine the base even when it's not horizontal? I dont' know much about your application or if you'll have the points where the triangle's points lie, but that's just an idea. Oh, but I just thought of something from my old rusty brain. I looked at the formula on the mathworld page; would that not indicate a distributive method of multiplication? Again, rusty, but a thought. Let us know what you figure out!! Cheers On 12/14/06, Merrill, Jason <[EMAIL PROTECTED]> wrote: > I'm trying to figure the area of a triangle in Actionscript using the > perimeter values only, not the traditional simple formula: > > area = (height/2)*base > > because figuring the height is tricky given the triangle will be drawn > in odd ways (i.e. a not horizontally alinged base), so I am exploring > other triangle area forumulas that only take in the perimiter values > (a,b,c), like Heron's formula or this one, which I like: > > given a,b,c are the length of the sides of the triangle, then the > formula is: > >squareRoot of: (a+b+c)(b+c-a)(c+a-b)(a+b-c) > ___ > 4 > > So in trying to translate that to actionscript, I wrote: > > public static function areaOfTriangle(a:Number, b:Number, > c:Number):Number{ > return (Math.sqrt((a+b+c)*(b+c-a)*(c+a-b)*(a+b-c)))/4; > } > > But the problem is (a+b+c)*(b+c-a)*(c+a-b)*(a+b-c) results in a negative > number, and this the square root cannot be taken. Or perhaps I am > interpreting the forumula incorrectly: > http://mathworld.wolfram.com/TriangleArea.html > > What am I doing wrong here? Thanks. > > Jason Merrill > Bank of America > Learning & Organizational Effectiveness > > > > > ___ > 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 Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > -- Jordan Snyder jordansnyder.com Applications Developer Image Action LLC http://www.imageaction.com -- Jordan Snyder Applications Developer Image Action LLC http://www.imageaction.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Area of a triangle using perimiter values only
To dodge your question, couldn't you just use the simple distance forumula to determine the base even when it's not horizontal? I dont' know much about your application or if you'll have the points where the triangle's points lie, but that's just an idea. Oh, but I just thought of something from my old rusty brain. I looked at the formula on the mathworld page; would that not indicate a distributive method of multiplication? Again, rusty, but a thought. Let us know what you figure out!! Cheers On 12/14/06, Merrill, Jason <[EMAIL PROTECTED]> wrote: I'm trying to figure the area of a triangle in Actionscript using the perimeter values only, not the traditional simple formula: area = (height/2)*base because figuring the height is tricky given the triangle will be drawn in odd ways (i.e. a not horizontally alinged base), so I am exploring other triangle area forumulas that only take in the perimiter values (a,b,c), like Heron's formula or this one, which I like: given a,b,c are the length of the sides of the triangle, then the formula is: squareRoot of: (a+b+c)(b+c-a)(c+a-b)(a+b-c) ___ 4 So in trying to translate that to actionscript, I wrote: public static function areaOfTriangle(a:Number, b:Number, c:Number):Number{ return (Math.sqrt((a+b+c)*(b+c-a)*(c+a-b)*(a+b-c)))/4; } But the problem is (a+b+c)*(b+c-a)*(c+a-b)*(a+b-c) results in a negative number, and this the square root cannot be taken. Or perhaps I am interpreting the forumula incorrectly: http://mathworld.wolfram.com/TriangleArea.html What am I doing wrong here? Thanks. Jason Merrill Bank of America Learning & Organizational Effectiveness ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Jordan Snyder jordansnyder.com Applications Developer Image Action LLC http://www.imageaction.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: Re: [Flashcoders] site check please: swfobject issues
Mac OSX, Safari 2.0.4, Flash Player 9 Everything is peachy. On 12/13/06, Chris W. Paterson <[EMAIL PROTECTED]> wrote: FF - Original Message From: Count Schemula <[EMAIL PROTECTED]> To: Flashcoders mailing list Sent: Wednesday, December 13, 2006 10:47:44 AM Subject: Re: [Flashcoders] site check please: swfobject issues Thanks. Safari? FF? On 12/13/06, Chris W. Paterson <[EMAIL PROTECTED]> wrote: > I'm on a Mac and it works fine for me (no upgrade prompt). -- count_schemula ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Jordan Snyder Applications Developer Image Action LLC http://www.imageaction.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] :: anyone passed flash 8 certification exam?::
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. There is no comparison there. And the other things seem as though they could be accomplished by actually DOING something with Flash, not just learning definitions. If you have a hiring manager who can BS enough to learn some definitions, and a potential hire than can BS enough to learn some definitions, what have you got in the long run? I will digress and recognize the validity of a cert in some instances, but I still think it's hopping over a low bar. Cheers! On 12/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: 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 know stuff. keep going. -- you are a non-technical hiring manager. yeah, you can just take the candidate's word for it that they know Flash. but i also definitely recommend that you look at their portfolio, and even more importantly check their references (to be sure that it is their portfolio). but if you are lazy and you can check that they passed an exam, at least that is better than nothing. -- you have a salary job for a big bureaucratic corporation, and hell if you know why, but if you pass the exam they will give you a pay raise. -- you or your employer partner with Adobe and passing the exam is a requirement for your continued employment. -- or it is a choice between college and the real world. heck a certification exam is $150. 4 year college degree $150,000 i have never met a subject matter expert that doesn't disdain the whole notion of certification exams. i guess it is not unlike neither bill gates nor steve jobs having college degrees. but hey, they still hire people that do. enough babble from me. technical certifications exist. i took them. my passing them in no way makes me a better flashcoder than you or steve. nor does it make me worse ;-) Now same to you, let's get back to playing nice with the other kids here in the Flash playground :-) Best wishes to you and yours this holiday season! Jordan Snyder <[EMAIL PROTECTED]> wrote: 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? ;) Cheers! - Want to start your own business? Learn how on Yahoo! Small Business. ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Jordan Snyder Applications Developer Image Action LLC http://www.imageaction.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: RE: [Flashcoders] :: anyone passed flash 8 certification exam?::
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? ;) Cheers! On 12/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: 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. You live near the epicenter of the Flash universe. But not everybody does. It is good for people to use objective measures to know that they are making progress. Please stick to your normal form of playing nice with the other kids here in the Flash playground :-) Best wishes to you and yours this holiday season! Steven Sacks | BLITZ <[EMAIL PROTECTED]> wrote: 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? - Need a quick answer? Get one in minutes from people who know. Ask your question on Yahoo! Answers. ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Jordan Snyder Applications Developer Image Action LLC http://www.imageaction.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] timecode and live audio streams with FMS
I would say that the best way to sync the two is to use the Netstream.send() function. Check it out; it would have saved me a lot of headaches had I noticed it was actually in 1.5! And it's in FMS 2.0 of course, as well. The best thing is that all the data you need is in the FLV, so you can get that data back later without needing the FMS crutch. HTH. Cheers! On 11/29/06, August Gresens <[EMAIL PROTECTED]> wrote: Hello A client wants to synchronize visual data (specified from an XML stream) with a separate live audio stream. Can this be done with Flash Media Server and Flash? I'm wondering in particular how you would synchronize the display to the audio. Would this be done via timecode - if so, what kind of timecode is returned during playback of a live stream? Much Thanks, August -- - August Gresens Technical Director Black Hammer Productions, NYC [EMAIL PROTECTED] - ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Jordan Snyder Applications Developer Image Action LLC http://www.imageaction.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: Re: [Flashcoders] Upload speedometer without FileReference?
one way is to send data to a FCS/FMS implementation and have the server send back the time it got your original message...compare that to when you sent the original message a few times and you have an idea of speed... that's the gist. On 11/27/06, Timothee Groleau <[EMAIL PROTECTED]> wrote: I know upload has nothing to do with files. The only reason I mentionned files is because, as far as I know, only file upload in Flash tells you how much you have uploaded, and you can use that to determine an upload speed. How do you reliably measure upload speed of sending data in Flash? On Monday 27 November 2006 12:57, Michael Bedar wrote: > in this case upload has nothing to do with files, it just means > sending data, while download means receiving it.. > > On Nov 25, 2006, at 10:04 PM, Timothee Groleau wrote: > > Hi there, > > > > I'm curious on how the upload part of the speedometer was created > > at the sites > > below: > > http://www.speedtest.net/ > > http://www.speakeasy.net/speedtest/ > > (both sites use the same speedometer engine) > > > > Download speedometer is easy to build but I wonder how they did it > > for upload. > > The FileReference class can tell you how much you upload, but these > > sites > > don't use that. > > > > Any idea? > > Tim. ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Jordan Snyder Applications Developer Image Action LLC http://www.imageaction.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: Re: [Flashcoders] OT: Any internet marketers here?
hahaha! On 11/16/06, Glen Pike <[EMAIL PROTECTED]> wrote: It has really big text - must be useful. People are wising up, they must have been too savvy to put it in capitals, otherwise we might have all realised it's just a lot of hot air and some b* pyramid scheme. The blonde joke <http://www.markdrew.co.uk/blog/index.cfm/2006/1/13/Fridays-joke> was better. Thuy wrote: > Hi list, > > I don't usually spam the list, but if there are any internet marketers > here, you might find this List Virus theory interesting: > http://www.thelistvirus.com/cgi-bin/a/clickthru.cgi?id=scriptkitty > ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Jordan Snyder Applications Developer Image Action LLC http://www.imageaction.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Calling Actionscript from PHP
Anything executed within Flash is client-side. If you're talking about avoiding calling a Flash function via JavaScript, then there are ways to do so, but yes, you would need something that is constantly connected to the Flash client, such as FMS or an XMLSocket server. That is the only way that I know of to achieve server "push," which is what you apparently want. Something you might consider is having Flash hit a PHP url every n seconds and check for an updated variable that would be set when the AJAX call hits the server. If the variable has changed, PHP can notify Flash and Flash can update itself accordingly. HTH On 9/18/06, Andrew Lechner <[EMAIL PROTECTED]> wrote: Hello, I'm a PHP/Perl developer who's not terribly familiar with Flash or Actionscript. A Flash developer friend of mine suggested I try asking a question here. I find myself in a position where I need to call an Actionscript function from PHP. This PHP page is not viewed by the user, it's just called via AJAX from another page. The server is running FreeBSD with PHP 4. Is there any way to accomplish this? I would rather avoid having this function called on the client-side due to security concerns. If the above is impossible or financially prohibitive (via FMS), is there a good Actionscript to PHP converter anyone can recommend? Thank you very much for your time, Andrew ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Jordan Snyder Applications Developer Image Action LLC http://www.imageaction.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] loadvar php equivalent
Your question is very vague, but you might check out PHPObject. On 6/2/06, Chris Hill <[EMAIL PROTECTED]> wrote: I'm going to take a stab here and guess that what you're looking for is SOAP(Simple Object Acess Protocol): http://dietrich.ganx4.com/nusoap/ This allows you to expose functions within php, then you can call the function and return an object. You can call the function from flash, or another php page. But perhaps this is not what you're after... Chris Wade Arnold wrote: >I am trying to make some logic that I had in actionscript work in php on the >server before I update flash. Is their an equivalent to loadvars in php that >you can post data and return and object? I know that this is a little off >topic so sorry anyone that currently has the urge to rant. > > > > > >Wade > > > >___ >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 Software >Premier Authorized Adobe Consulting and Training >http://www.figleaf.com >http://training.figleaf.com > > ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Jordan Snyder Applications Developer Image Action LLC http://www.imageaction.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flex 2 Release Date?
Re: Nick's suggestion, that's what I'm doing for a client right now. And it's coming down to the wire because I need to deliver the solution...but the client knew this going in, and beta 3 is still pretty solid. Depending on the development time, this seems to be a great way to do it. Cheers On 6/2/06, Nick Weekes <[EMAIL PROTECTED]> wrote: Would it be an option to design/build with beta 2 (or at the very least prototype), then recompile and deliver to client with the release version of Flex 2? Im guessing there wont be significant differences between the two (other than bug fixes). Adam Pasztory wrote: > I'm starting a new project that seems very Flex-worthy (yes, it's "forms > based"). According to the FAQ from Adobe, Flex 2 is coming out in the > first > half of '06. There's less than a month left. > > I won't be able to sell my client on building the project with a beta > product. Should I have faith or should I start looking into alternative > (AJAX) solutions? > > thanks, > Adam > ___ > 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 Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Jordan Snyder Applications Developer Image Action LLC http://www.imageaction.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Test - ignore
Mine never show up unless someone replies...so, do you see it now? Cheers On 4/27/06, Merrill, Jason <[EMAIL PROTECTED]> wrote: > Test - ignore > > my messages don't seem to be getting through. > > Jason Merrill | E-Learning Solutions | ICF International > > > > > ___ > 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 Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > -- Jordan Snyder Applications Developer Image Action LLC http://www.imageaction.com http://www.jordansnyder.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Are you a help vampire?
ral > > > that they lack any knowledge of Flash. > > > ___ > > > 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 Software > > > Premier Authorized Adobe Consulting and Training > > > http://www.figleaf.com > > > http://training.figleaf.com > > > > > ___ > > 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 Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > > > > -- > Jonathan Berry, M.A. > IT Consultant > 619.306.1712(m) > [EMAIL PROTECTED] > www.mindarc.com > > --- > > This E-mail is covered by the Electronic Communications Privacy Act, 18 > U.S.C. ?? 2510-2521 and is legally privileged. > This information is confidential information and is intended only for > the use of the individual or entity named above. If the reader of this > message is not the intended recipient, you are hereby notified that any > dissemination, distribution or copying of this communication is strictly > prohibited. > > --- > ___ > 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 Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > -- Jordan Snyder Applications Developer Image Action LLC http://www.imageaction.com ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Are you a help vampire?
It's true that females are not as inclined to become Help Vampires. We will ask for directions sooner than most men, but we will consider our options considerably before asking technical questions. And our brains just work better anyway, really. :P Cheers! On 4/26/06, Robert A. Colvin <[EMAIL PROTECTED]> wrote: > > To make a decent multi-player game you will need a proxy > server(FCS/FMS2). You could probably get away with using Jabber. > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Michael > Stuhr > Sent: Wednesday, April 26, 2006 3:43 PM > To: Flashcoders mailing list > Subject: Re: [Flashcoders] Are you a help vampire? > > Chris Hill schrieb: > > hi hello how do I make a multi-player game in flash its got to have > > lasers thank you > > > > eric dolecki wrote: > >> I know of a few... and I am sure at a few points in the past I have > almost > >> been one :) > >> > >> On 4/26/06, John Dowdell <[EMAIL PROTECTED]> wrote: > >> > >>> Steven Sacks wrote: > >>> > >>>> http://www.slash7.com/pages/vampires > >>> I'm not sure, what's a help vampire...? ;-) > >>> > >>> jd > >>> > > ___ > > 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 Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > made my day ;-) > > micha > ___ > 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 Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > _______ > 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 Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > -- Jordan Snyder Applications Developer Image Action LLC Business: http://www.imageaction.com Personal: http://www.myspace.com/okallie ___ 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 Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] HTTP vs HTTPS Strange Behaviour
Hello, I recently built a Flash movie that consumes XML data from a PHP script and builds a screen of logos that are clickable. The click URL is included in the XML that I'm consuming. When I launched the file into live mode, it was on an HTTP-only website. Since then, the site has moved to an HTTPS-only site. It broke immediately, and I knew why, as I've dealt with those issues before. I fixed the issues and got the XML data to come in again, and the logos load just fine, except now I can't click the logos to visit the URL associated with the logo. I trace the URL and see that it's definitely getting the XML data and setting up the "hit area" movieclip just finebut no clicky clicky! ( I don't even get a hand cursorIE and Firefox don't recognize that there's a clickable link there... ) This seems quite bizarre to me, and I can't figure out what could possibly be going on. Anyone else ever deal with something like this? I'm just fishing for anything; this seems almost too obscure to have previously existed in the wild. :) The wild jungles known as the Flash Player. ANY ideas would be greatly appreciated. Cheers, -- Jordan Snyder Applications Developer Image Action LLC http://www.imageaction.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] XPathDocument()
I seem to remember something about a version of XPath having problems with AS2what exact version of XPath are you using? I'll check to see if it's newer than the one I'm using...if not, I'll send you my 'xfactorstudio' source tree, as I have had to modify it in order to make it work. Cheers On 1/25/06, Chaitu Vadlapatla <[EMAIL PROTECTED]> wrote: > > Hey All, > This is my first time here, but I am a regular at Flashnewbie. The > reason I am posting here is because i didnt get a reply at newbie, so > thought this might be something only FlashCoders might be able to help > me with. :-) > > I am using XPath for building one of my applications and retrieved 2 > version of the Xpath component at this link > http://www.xfactorstudio.com/ . And the way my application is built only > the older version works > > and my code runs like this > > import com.xfactorstudio.xml.xpath.*; > > var myDoc = new XPathDocument(); > myDoc.onLoad = function(success){ > >if(success == true){ >var thisLocale = this.selectNodes("/loc/dnam"); >location.text = thisLocale[0].stringValue(); > } > > And I realized XPathDocument() is not supported in the new version of > XPath. But I really dont understand this. Are there any reasons why the > XPathDocument() is not supported anymore and along with that > .stringValue(). I think the transition happened over the past 1 year or > so. Did anybody know why this was done. It would be a great eye opener > for me if somebody who saw the transition would help me out with the > decision of sticking to the old or the new version of Xpath. > Thank you. > > Sincerely, > Chaitu. > > _______ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Jordan Snyder Applications Developer Image Action LLC http://www.imageaction.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash capabilities
Martin is correct about Flash requiring FCS to stream MP3s. Flash can either pick up an MP3 from the server's filesystem, or connect to FCS to pick up a stream of MP3 information. He's also correct about Flash8 binary sockets and connecting to databases directly. I'm sure someone will dig into the socket level RDBMS specs for various servers and create connection classes for them, at some point in the future. But for the time being (which is what matters most), you DO have to have some sort of middleware, as Judah stated, and as you probably already know. Cheers On 11/2/05, Judah Frangipane <[EMAIL PROTECTED]> wrote: > > To stream an mp3 all you need is a path to the file. The flash player > will handle the streaming. > > For database interaction all you need is flash remoting. It is one of my > favorite features of flash. It ROCKS! You can check out the free > amfphp.com <http://amfphp.com> or the commercial versions for > asp.net<http://asp.net>, > cold fusion, etc. We > have been using both and it makes it very easy to connect to a database. > You do need to know the related server-side technology (php, asp, > asp.net <http://asp.net>, cf, etc) to use it. > > Judah > > 8ball Developer wrote: > > >>>1. Can flash play audio streamed from Helix (Real Server)? > >>> > >>> > >>flash streams mp3. thats all. (why it doesnt do ogg, i dont know.. :) > >> > >> > > > > Sorry. I meant to say: can a flash player, play mp3 streamed from Helix? > Or > >does it have to come From Flash comm? > >___ > >Flashcoders mailing list > >Flashcoders@chattyfig.figleaf.com > >http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > > > > > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Jordan Snyder Applications Developer ImageAction, USA http://www.imageaction.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders