[Flashcoders] Sound.stop(linkage) problem
Hi everyone, I was pulling out my hair a while ago because in my movie, when I stopped one sound it stopped all. After commenting code randomly, I found out the anySound.stop() stopped all sounds. Looking at the documentation, it says you can specify what sound to stop using a linkage ID. I understand that'd work fine if you use sound.attachSound (getting a sound from the library), but what if you use sound.loadSound(file)? What is the linkageID now? Thank you, -- Ramon Miguel M. Tayag Managing Director Quirkworks ___ 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] attachsound to a set of dynamic buttons
Hello everybody from Buenos Aires, Argentina - This is my first msg to the list! Can somebody help me to attach a simple sound on rollover to this set of buttons?? I've tried so many times that I'm at the point of giving up! :( Thank u very much in advance! Kind regards. Domecq® Here is the code: // Acciones del menú miLista = new Array(); miLista[1] = "sonido1"; i = 1; miSonido = new Sound(); menu_mc.boton1_mc.onRollOver=menu_mc.boton2_mc.onRollOver=menu_mc.boton3_mc. onRollOver=menu_mc.boton4_mc.onRollOver=menu_mc.boton5_mc.onRollOver=functio n () { miSonido.attachSound(miLista[i]); misonido.start(true); i == (1) ? i=1 : i++; }; // -- array cuyos elementos se corresponden con las opciones del menú opciones = new Array(); opciones[1] = "01 Agencia"; opciones[2] = "02 Servicios"; opciones[3] = "03 Clientes"; opciones[4] = "04 Asociados"; opciones[5] = "05 Contacto"; // -- asignar texto a cada botón del menú menu_mc.boton1_mc.texto.text = opciones[1]; menu_mc.boton2_mc.texto.text = opciones[2]; menu_mc.boton3_mc.texto.text = opciones[3]; menu_mc.boton4_mc.texto.text = opciones[4]; menu_mc.boton5_mc.texto.text = opciones[5]; // -- crea un formato de texto formato = new TextFormat(); formato.font = "verdana"; formato.size = 10; formato.color = 0xff; // -- formatea el textField de cada botón menu_mc.boton1_mc.texto.setTextFormat(formato); menu_mc.boton2_mc.texto.setTextFormat(formato); menu_mc.boton3_mc.texto.setTextFormat(formato); menu_mc.boton4_mc.texto.setTextFormat(formato); menu_mc.boton5_mc.texto.setTextFormat(formato); // -- acciones evento onRollOver menu_mc.boton1_mc.onRollOver = menu_mc.boton2_mc.onRollOver=menu_mc.boton3_mc.onRollOver=menu_mc.boton4_mc. onRollOver=menu_mc.boton5_mc.onRollOver=function () { formato.color = 0xff;this.texto.setTextFormat(formato);}; // -- acciones evento onRollOut menu_mc.boton1_mc.onRollOut = menu_mc.boton2_mc.onRollOut=menu_mc.boton3_mc.onRollOut=menu_mc.boton4_mc.on RollOut=menu_mc.boton5_mc.onRollOut=function () { formato.color = 0xff;this.texto.setTextFormat(formato);}; // -- acciones evento onPress menu_mc.boton1_mc.onRelease = function() { restaurar(); this.enabled = false; this.texto.text = "__ "+opciones[1]; menu_mc.seleccion.text = opciones[1]; gotoAndPlay("agencia"); }; menu_mc.boton2_mc.onRelease = function() { restaurar(); this.enabled = false; this.texto.text = "__ "+opciones[2]; menu_mc.seleccion.text = opciones[2]; gotoAndPlay("servicios"); }; menu_mc.boton3_mc.onRelease = function() { restaurar(); this.enabled = false; this.texto.text = "__ "+opciones[3]; menu_mc.seleccion.text = opciones[3]; gotoAndPlay("clientes"); }; menu_mc.boton4_mc.onRelease = function() { restaurar(); this.enabled = false; this.texto.text = "__ "+opciones[4]; menu_mc.seleccion.text = opciones[4]; gotoAndPlay("asociados"); }; menu_mc.boton5_mc.onRelease = function() { restaurar(); this.enabled = false; this.texto.text = "__ "+opciones[5]; menu_mc.seleccion.text = opciones[5]; gotoAndPlay("contacto"); }; // -- this.onMouseMove = function() { if (menu_mc.hitTest(_xmouse, _ymouse)) { menu_mc.gotoAndStop("menu"); menu_mc.bakground_mc.escalary(125, 3); } else { menu_mc.gotoAndStop("nomenu"); } }; ___ 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] Z sorting multiple overlapping movie clips
mc.swapDepths(getNextHighestDepth() ) works with me. It puts it above the rest. "Parameters target:Object - This parameter can take one of two forms: - A Number that specifies the depth level where the movie clip is to be placed. - A String that specifies the movie clip instance whose depth is swapped with the movie clip for which the method is being applied. Both movie clips must have the same parent movie clip." -- Ramon Miguel M. Tayag Managing Director Quirkworks ___ 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] Z sorting multiple overlapping movie clips
> why not mc.swapDepths(getNextHighestDepth() ) ? Do you have that many > movieclips? That's what I'm doing.. but without getNextHighestDepth which is (was) buggy when used with v2 components. -K ___ 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] Z sorting multiple overlapping movie clips
I thought you could only swap depths with movieclips, get night higest depths just returns what depth would be the next highest, it doesn't actually create the depth. Gran -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ramon Miguel M. Tayag Sent: Thursday, March 02, 2006 12:26 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Z sorting multiple overlapping movie clips why not mc.swapDepths(getNextHighestDepth() ) ? Do you have that many movieclips? On 3/2/06, Karthik <[EMAIL PROTECTED]> wrote: > > On 02/03/06, Grant Davies <[EMAIL PROTECTED]> wrote: > > Problem with that is if the item you click on is under other items > > and it swaps depths with the top item, the top item then appears > > under things it wasn't. I did it this way first and it looked very weird. > > Not really - I'm swapping with (the depth of the topmost item + 1). > > -K > ___ > 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 > -- Ramon Miguel M. Tayag Managing Director Quirkworks ___ 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] Z sorting multiple overlapping movie clips
Ok so you are doing it with the item just below the top, how does that put your selected item on the top ? Grant -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ramon Miguel M. Tayag Sent: Thursday, March 02, 2006 12:26 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Z sorting multiple overlapping movie clips why not mc.swapDepths(getNextHighestDepth() ) ? Do you have that many movieclips? On 3/2/06, Karthik <[EMAIL PROTECTED]> wrote: > > On 02/03/06, Grant Davies <[EMAIL PROTECTED]> wrote: > > Problem with that is if the item you click on is under other items > > and it swaps depths with the top item, the top item then appears > > under things it wasn't. I did it this way first and it looked very weird. > > Not really - I'm swapping with (the depth of the topmost item + 1). > > -K > ___ > 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 > -- Ramon Miguel M. Tayag Managing Director Quirkworks ___ 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] Z sorting multiple overlapping movie clips
why not mc.swapDepths(getNextHighestDepth() ) ? Do you have that many movieclips? On 3/2/06, Karthik <[EMAIL PROTECTED]> wrote: > > On 02/03/06, Grant Davies <[EMAIL PROTECTED]> wrote: > > Problem with that is if the item you click on is under other items and > > it swaps depths with the top item, the top item then appears under > > things it wasn't. I did it this way first and it looked very weird. > > Not really - I'm swapping with (the depth of the topmost item + 1). > > -K > ___ > 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 > -- Ramon Miguel M. Tayag Managing Director Quirkworks ___ 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] Z sorting multiple overlapping movie clips
On 02/03/06, Grant Davies <[EMAIL PROTECTED]> wrote: > Problem with that is if the item you click on is under other items and > it swaps depths with the top item, the top item then appears under > things it wasn't. I did it this way first and it looked very weird. Not really - I'm swapping with (the depth of the topmost item + 1). -K ___ 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] Z sorting multiple overlapping movie clips
Problem with that is if the item you click on is under other items and it swaps depths with the top item, the top item then appears under things it wasn't. I did it this way first and it looked very weird. I ended up just writing a depth sorter, each of the objects that are added to the screen dispatch a registration event and the depth sorter adds them to a list and stores a sorted depths list, when an item wants to be on top I figure out where it is in the Z order and then swap it with the item above it and then the next, and next and next until I get to the top, that way the Z order is preserved just like in a windowing system. Cheers, Grant -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Karthik Sent: Wednesday, March 01, 2006 4:27 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Z sorting multiple overlapping movie clips On 01/03/06, Byron Canfield <[EMAIL PROTECTED]> wrote: > You can make it a lot easier by doing some of the prep work for that > architecture in the for loop that you use to first create and assign > depths to those movieclips. It might be a lot simpler to just do something like: // Untested. // Assuming clips are given depths based on ID var highest_depth:Number = clips_array.length; // click handler function click_handler(e:Object):Void { if (e.target.getDepth() != (highest_depth)) { e.target.swapDepths(++highest_depth); } } --- This should be fine for IIRC 2 billion+ clicks, with some caveats for depths greater than 1M.. My 10p, -K ___ 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] way to get window.location from flash?
Hey Alan - Thanks! As for us knowing where games are being posted, the answers are "sometimes" and "kind of" :) For sites that support it we generate javascript code, and then we do grab the location, in this case the full URL of the page, when the game is loaded and log it in our tracking database. For all sites, when a user generates the code and picks what site they want it for, we include the name of the site in the embed code. When the game is loaded we log that in the tracking database. So we know where the code was intended for, but we don't know the exact URL or even if it really is on that site, unless, as noted above, the site supports javascript. Kind of a drag, but I have yet to find a way to get the location without script access. But the ideas in this thread are great - some of the other sites that don't allow javascript might not be setting AllowScriptAccess to "never", so it would actually work. I'll have to go look at the code they generate. Doesn't hurt to try and get it... And yeah, along with setting AllowScriptAccess to "never", if I remember correctly MySpace also doesn't seem to like # characters (like in color values) or tags... best, - rajat On 3/1/06, Alan Queen <[EMAIL PROTECTED]> wrote: > > actually just tried it and you are right.. > > they (myspace) replaces my scriptAccess tags with "never" > ( amongst other things ) > > arg... > > rajat, do you guys have a way of knowing where all your games are posted? > on which sites/blogs I mean? > > btw, bunchball is very, very cool stuff.. > > -aq > > > On 3/1/06, Alan Queen <[EMAIL PROTECTED]> wrote: > > > > great question.. > > > > my solution > > var host:String = String(ExternalInterface.call("eval", " > > window.location.host")); > > > > only works when: > > > > [ie] the id, classId and scriptAccess are included and scriptAccess is > set > > to always > > [mozilla] scriptAccess = "always" > > > > are you saying that myspace will overwrite what I put in? > > > > I will try this out on myspace tommorrow and report back... > > > > -aq > > > > On 3/1/06, Rajat Paharia <[EMAIL PROTECTED]> wrote: > > > > > > Just a quick question - do these calls to javascript work when the > embed > > > tag > > > has disabled script access? For instance, whenever you put a Flash > movie > > > > > > into a page at MySpace, they always set AllowScriptAccess to "never". > > > > > > thanks, - rajat > > > > > > On 3/1/06, Alan Queen <[EMAIL PROTECTED]> wrote: > > > > > > > > fyi, I got this to work in both ie and mozilla.. > > > > var host:String = String(ExternalInterface.call("eval", " > > > > window.location.host")); > > > > > > > > requires flash 8.. > > > > > > > > my goal here was to simply return the host name where the webpage is > > > > running > > > > without requiring any javascript on the page.. > > > > > > > > > > > > > > > > On 3/1/06, Alan Queen <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Hey Geoffrey, > > > > > > > > > > This works great in IE! thx.. > > > > > > > > > > but doesnt in mozilla, u know of a work around for it in mozilla? > > > > > > > > > > -aq > > > > > > > > > > > > > > > On 3/1/06, Geoffrey Williams < [EMAIL PROTECTED]> wrote: > > > > > > > > > > > > If you want the URL of the page (not the SWF), you can try > > > something > > > > > > like: > > > > > > > > > > > > getURL > > > > > > ('javascript:document.getElementById > > > > ("object_id").setVariable("url_string", > > > > > > window.location.href); void (0);'); > > > > > > > > > > > > -Original Message- > > > > > > From: [EMAIL PROTECTED] > > > > > > [mailto: [EMAIL PROTECTED] On Behalf Of > > > Bart > > > > > > Wttewaall > > > > > > Sent: Wednesday, March 01, 2006 2:11 PM > > > > > > To: Flashcoders mailing list > > > > > > Subject: Re: [Flashcoders] way to get window.location from > flash? > > > > > > > > > > > > trace(_root._url) > > > > > > > > > > > > 2006/3/1, Alan Queen <[EMAIL PROTECTED]>: > > > > > > > Is there a way get the window's location ( url ) from flash > > > without > > > > > > embedded > > > > > > > a javascript helper function on the page? > > > > > > > > > > > > > > -- > > > > > > > - Alan Queen > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ___ > > > > > > 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 > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > - Alan Queen > > > > > > > > > > > > > > > > > > > > > -- > > > > - Alan Queen > > > > ___ > > > > Flashcoders@chattyfig.figleaf.com > > > > To change your subscription options or search the archive: > > > > http://chattyfig.figleaf.com/
Re: [Flashcoders] way to get window.location from flash?
actually just tried it and you are right.. they (myspace) replaces my scriptAccess tags with "never" ( amongst other things ) arg... rajat, do you guys have a way of knowing where all your games are posted? on which sites/blogs I mean? btw, bunchball is very, very cool stuff.. -aq On 3/1/06, Alan Queen <[EMAIL PROTECTED]> wrote: > > great question.. > > my solution > var host:String = String(ExternalInterface.call("eval", " > window.location.host")); > > only works when: > > [ie] the id, classId and scriptAccess are included and scriptAccess is set > to always > [mozilla] scriptAccess = "always" > > are you saying that myspace will overwrite what I put in? > > I will try this out on myspace tommorrow and report back... > > -aq > > On 3/1/06, Rajat Paharia <[EMAIL PROTECTED]> wrote: > > > > Just a quick question - do these calls to javascript work when the embed > > tag > > has disabled script access? For instance, whenever you put a Flash movie > > > > into a page at MySpace, they always set AllowScriptAccess to "never". > > > > thanks, - rajat > > > > On 3/1/06, Alan Queen <[EMAIL PROTECTED]> wrote: > > > > > > fyi, I got this to work in both ie and mozilla.. > > > var host:String = String(ExternalInterface.call("eval", " > > > window.location.host")); > > > > > > requires flash 8.. > > > > > > my goal here was to simply return the host name where the webpage is > > > running > > > without requiring any javascript on the page.. > > > > > > > > > > > > On 3/1/06, Alan Queen <[EMAIL PROTECTED]> wrote: > > > > > > > > Hey Geoffrey, > > > > > > > > This works great in IE! thx.. > > > > > > > > but doesnt in mozilla, u know of a work around for it in mozilla? > > > > > > > > -aq > > > > > > > > > > > > On 3/1/06, Geoffrey Williams < [EMAIL PROTECTED]> wrote: > > > > > > > > > > If you want the URL of the page (not the SWF), you can try > > something > > > > > like: > > > > > > > > > > getURL > > > > > ('javascript:document.getElementById > > > ("object_id").setVariable("url_string", > > > > > window.location.href); void (0);'); > > > > > > > > > > -Original Message- > > > > > From: [EMAIL PROTECTED] > > > > > [mailto: [EMAIL PROTECTED] On Behalf Of > > Bart > > > > > Wttewaall > > > > > Sent: Wednesday, March 01, 2006 2:11 PM > > > > > To: Flashcoders mailing list > > > > > Subject: Re: [Flashcoders] way to get window.location from flash? > > > > > > > > > > trace(_root._url) > > > > > > > > > > 2006/3/1, Alan Queen <[EMAIL PROTECTED]>: > > > > > > Is there a way get the window's location ( url ) from flash > > without > > > > > embedded > > > > > > a javascript helper function on the page? > > > > > > > > > > > > -- > > > > > > - Alan Queen > > > > > > > > > > > > > > > > > > > > > > > > > ___ > > > > > 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 > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > - Alan Queen > > > > > > > > > > > > > > > > -- > > > - Alan Queen > > > ___ > > > 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 > > > > > > > > > > > -- > > Rajat Paharia > > [EMAIL PROTECTED] > > http://www.bunchball.com > > http://www.rootburn.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 > > > > > > > -- > - Alan Queen > -- - Alan Queen ___ 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] way to get window.location from flash?
great question.. my solution var host:String = String(ExternalInterface.call("eval", " window.location.host")); only works when: [ie] the id, classId and scriptAccess are included and scriptAccess is set to always [mozilla] scriptAccess = "always" are you saying that myspace will overwrite what I put in? I will try this out on myspace tommorrow and report back... -aq On 3/1/06, Rajat Paharia <[EMAIL PROTECTED]> wrote: > > Just a quick question - do these calls to javascript work when the embed > tag > has disabled script access? For instance, whenever you put a Flash movie > into a page at MySpace, they always set AllowScriptAccess to "never". > > thanks, - rajat > > On 3/1/06, Alan Queen <[EMAIL PROTECTED]> wrote: > > > > fyi, I got this to work in both ie and mozilla.. > > var host:String = String(ExternalInterface.call("eval", " > > window.location.host")); > > > > requires flash 8.. > > > > my goal here was to simply return the host name where the webpage is > > running > > without requiring any javascript on the page.. > > > > > > > > On 3/1/06, Alan Queen <[EMAIL PROTECTED]> wrote: > > > > > > Hey Geoffrey, > > > > > > This works great in IE! thx.. > > > > > > but doesnt in mozilla, u know of a work around for it in mozilla? > > > > > > -aq > > > > > > > > > On 3/1/06, Geoffrey Williams <[EMAIL PROTECTED]> wrote: > > > > > > > > If you want the URL of the page (not the SWF), you can try something > > > > like: > > > > > > > > getURL > > > > ('javascript:document.getElementById > > ("object_id").setVariable("url_string", > > > > window.location.href); void (0);'); > > > > > > > > -Original Message- > > > > From: [EMAIL PROTECTED] > > > > [mailto:[EMAIL PROTECTED] On Behalf Of Bart > > > > Wttewaall > > > > Sent: Wednesday, March 01, 2006 2:11 PM > > > > To: Flashcoders mailing list > > > > Subject: Re: [Flashcoders] way to get window.location from flash? > > > > > > > > trace(_root._url) > > > > > > > > 2006/3/1, Alan Queen <[EMAIL PROTECTED]>: > > > > > Is there a way get the window's location ( url ) from flash > without > > > > embedded > > > > > a javascript helper function on the page? > > > > > > > > > > -- > > > > > - Alan Queen > > > > > > > > > > > > > > > > > > > > ___ > > > > 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 > > > > > > > > > > > > > > > > -- > > > > > > - Alan Queen > > > > > > > > > > > -- > > - Alan Queen > > ___ > > 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 > > > > > > -- > Rajat Paharia > [EMAIL PROTECTED] > http://www.bunchball.com > http://www.rootburn.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 > > -- - Alan Queen ___ 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] embedding images into an SWF
Can anyone suggest a tool or two that will allow me to insert bitmap images into a SWF file, and then convert it to a quicktime video movie? The idea is to dynamically customize pre-made SWFs on a server and then convert and send them to a video capable device. Thanks, Uri ___ 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] Can anyone see my posts?
Yeah, I used to answer lots of questions, but I just dont have the time anyu more. This is probably also because it seems to me there are more questions too. Regards Hank On 3/1/06, Manuel Saint-Victor <[EMAIL PROTECTED]> wrote: > I get that feeling sometimes also- I console myself with the thought that > the people answering questions are just as swamped as I am and are answering > in between getting their own questions answered. True or not - It's good > for the self esteem. > > M > > > > On 3/1/06, James Deakin <[EMAIL PROTECTED]> wrote: > > > > Hi All my posts get ignored was it something i said? > > > > James > > ___ > > 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] Can anyone see my posts?
I have the sae problem ;-) So this is just a test On 3/1/06, Manuel Saint-Victor <[EMAIL PROTECTED]> wrote: > > I get that feeling sometimes also- I console myself with the thought that > the people answering questions are just as swamped as I am and are > answering > in between getting their own questions answered. True or not - It's good > for the self esteem. > > M > > > > On 3/1/06, James Deakin <[EMAIL PROTECTED]> wrote: > > > > Hi All my posts get ignored was it something i said? > > > > James > > ___ > > 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 > > -- Gr _Bas ___ 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] Error only when viewing in browser ...
Instead of using the trace() function, look into using the LuminicBox logger, which logs to an external window, even when in the browser: http://osflash.org/luminicbox.log Enjoy, Chris Stephen Ford wrote: Hi All, I have a flash application that is causing an error only when it’s viewed within the browser. I can replicate the error whenever I like, as it always occurs the same way. If I could replicate the error within the Flash IDE, I could use the debugger to find what is causing the problem (which is the typical 'A script in this movie is causing Macromedia Flash Player to run slowly, etc, etc, etc'). I know this is often caused by an infinite loop, but I have many places this could be happening. Can anyone advise as to how I can track down what is causing this error in my application. How can I debug in the browser, or trace out what line of code is causing the error ? (there are about 2000 lines of code in this little app). Any advice GREATLY appreciated. Thanks, Stephen. ___ 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] Error only when viewing in browser ...
Hi All, I have a flash application that is causing an error only when it’s viewed within the browser. I can replicate the error whenever I like, as it always occurs the same way. If I could replicate the error within the Flash IDE, I could use the debugger to find what is causing the problem (which is the typical 'A script in this movie is causing Macromedia Flash Player to run slowly, etc, etc, etc'). I know this is often caused by an infinite loop, but I have many places this could be happening. Can anyone advise as to how I can track down what is causing this error in my application. How can I debug in the browser, or trace out what line of code is causing the error ? (there are about 2000 lines of code in this little app). Any advice GREATLY appreciated. Thanks, Stephen. ___ 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: OT: RE: [Flashcoders] RIA patent granted
We already discussed this topic here - just last Friday. My reply to it was: "This is another silly attempt at making money - filing a patent after the technology existed and was in wide use - Adobe and Sun and others will respond. "The patent covers all rich media technology implementations including Flash, Flex, Java, AJAX and XAML and all device footprints which access rich-media Internet applications including desktops, mobile devices, set-top boxes and video game consolesIt's possible that Balthaser may struggle to enforce its patent, because of prior art - the process where a patent is invalid if it can be proven that the innovation in question already existed before the patent was filed." http://news.zdnet.co.uk/business/0,39020645,39253949,00.htm Also, see: http://www.ip-wars.net/ " Jason Merrill | E-Learning Solutions | icfconsulting.com >>-Original Message- >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of Chad Mefferd >>Sent: Wednesday, March 01, 2006 5:58 PM >>To: Flashcoders mailing list >>Subject: Re: OT: RE: [Flashcoders] RIA patent granted >> >>Thanks Kevin :) >> >>On Mar 1, 2006, at 3:54 PM, Kevin Mulvihill wrote: >> >>> :-) No Chad, I'm quite sure few, if any, are aware of this: >>> >>> "The patent--issued on Valentine's Day--covers all rich-media >>> technology >>> implementations, including Flash, Flex, Java, Ajax, and XAML, when the >>> rich-media application is accessed on any device over the Internet, >>> according to the patent holders... >>> >>> A patent has been granted to a relatively unknown California >>> Web-design firm >>> for an invention its creator says covers the design and creation of >>> most >>> rich-media applications used over the Internet. The patent holder, >>> Balthaser >>> Online Inc., says it could license nearly any rich-media Internet >>> application across a broad range of devices and networks. >>> >>> Potentially tens of thousands of businesses--not only software makers >>> employing its business processes but companies offering rich-media on >>> their >>> Websites--could be subject to licensing fees when they use rich-media >>> technology over the Internet." >>> >>> Guess Adobe AND Microsoft got caught with their pants down. But all is >>> not >>> lost. Neil Balthaser, a former VP of strategy for Macromedia, plans to >>> sell >>> the patent to someone... >>> >>> See more on >>> http://www.informationweek.com/story/showArticle.jhtml? >>> articleID=180206472&c >>> id=RSSfeed_IWK_News >>> >>> Kevin >>> >>> -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chad Mefferd Sent: Wednesday, March 01, 2006 9:03 AM To: Flashcoders mailing list Subject: [Flashcoders] RIA patent granted H, http://www.informationweek.com/story/showArticle.jhtml? articleID=180206472&cid=RSSfeed_IWK_News Is everyone aware of this? Chad ___ 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 NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is 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
Re: OT: RE: [Flashcoders] RIA patent granted
Thanks Kevin :) On Mar 1, 2006, at 3:54 PM, Kevin Mulvihill wrote: :-) No Chad, I'm quite sure few, if any, are aware of this: "The patent--issued on Valentine's Day--covers all rich-media technology implementations, including Flash, Flex, Java, Ajax, and XAML, when the rich-media application is accessed on any device over the Internet, according to the patent holders... A patent has been granted to a relatively unknown California Web-design firm for an invention its creator says covers the design and creation of most rich-media applications used over the Internet. The patent holder, Balthaser Online Inc., says it could license nearly any rich-media Internet application across a broad range of devices and networks. Potentially tens of thousands of businesses--not only software makers employing its business processes but companies offering rich-media on their Websites--could be subject to licensing fees when they use rich-media technology over the Internet." Guess Adobe AND Microsoft got caught with their pants down. But all is not lost. Neil Balthaser, a former VP of strategy for Macromedia, plans to sell the patent to someone... See more on http://www.informationweek.com/story/showArticle.jhtml? articleID=180206472&c id=RSSfeed_IWK_News Kevin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chad Mefferd Sent: Wednesday, March 01, 2006 9:03 AM To: Flashcoders mailing list Subject: [Flashcoders] RIA patent granted H, http://www.informationweek.com/story/showArticle.jhtml? articleID=180206472&cid=RSSfeed_IWK_News Is everyone aware of this? Chad ___ 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] Q:Add tracking to dynamic text
> What exactly are you trying to do? The kerning property seems > to have very limited potential and if you like myself are on > a Mac the quote below will lbe disturbing. If I'm reading the original post correctly, he's trying to specify letterspacing (eg, "tracking") in dynamic text fields, not kerning, similar to how you can set the letterspacing of text on static fields in the property panel. ___ 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] way to get window.location from flash?
Just a quick question - do these calls to javascript work when the embed tag has disabled script access? For instance, whenever you put a Flash movie into a page at MySpace, they always set AllowScriptAccess to "never". thanks, - rajat On 3/1/06, Alan Queen <[EMAIL PROTECTED]> wrote: > > fyi, I got this to work in both ie and mozilla.. > var host:String = String(ExternalInterface.call("eval", " > window.location.host")); > > requires flash 8.. > > my goal here was to simply return the host name where the webpage is > running > without requiring any javascript on the page.. > > > > On 3/1/06, Alan Queen <[EMAIL PROTECTED]> wrote: > > > > Hey Geoffrey, > > > > This works great in IE! thx.. > > > > but doesnt in mozilla, u know of a work around for it in mozilla? > > > > -aq > > > > > > On 3/1/06, Geoffrey Williams <[EMAIL PROTECTED]> wrote: > > > > > > If you want the URL of the page (not the SWF), you can try something > > > like: > > > > > > getURL > > > ('javascript:document.getElementById > ("object_id").setVariable("url_string", > > > window.location.href); void (0);'); > > > > > > -Original Message- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] On Behalf Of Bart > > > Wttewaall > > > Sent: Wednesday, March 01, 2006 2:11 PM > > > To: Flashcoders mailing list > > > Subject: Re: [Flashcoders] way to get window.location from flash? > > > > > > trace(_root._url) > > > > > > 2006/3/1, Alan Queen <[EMAIL PROTECTED]>: > > > > Is there a way get the window's location ( url ) from flash without > > > embedded > > > > a javascript helper function on the page? > > > > > > > > -- > > > > - Alan Queen > > > > > > > > > > > > > > > ___ > > > 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 > > > > > > > > > > > -- > > > > - Alan Queen > > > > > > -- > - Alan Queen > ___ > 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 > -- Rajat Paharia [EMAIL PROTECTED] http://www.bunchball.com http://www.rootburn.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] Fonts in v2 components
Ok, I have made a movieclip that has some v2 TextInput fields In it. I am exporting for Actionscript in the first frame & then attaching to the _root with Actionscript. Now the problem I am having is that all of the text is not showing. If I take the same movieclip and drag from the library onto the stage the text appears. In fact I can have the one dragged onto the stage ond the one attached with Actionscript next to each other one with text & one without. I have tried using "setStyle("fontFamily", "Arial");" on the elements but this makes no difference. Has anyone cone across this problem before? Is there a fix? Cheers Jim ___ 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] prototypes?
i found a prototype on a website for easing. it works in their fla... i am trying to get it work here. when i load the swf, nothing happens... the object i am trying to ease is ball1 is the instance. the name in the library is test. Regardless of the code you have in hand, you might want to consider using something more advanced for easing. Prototype or no prototype, there's a lot easier + cooler + more pratical ways to do easing or transitions (including sliding stuff on screeen). Your Flash development life will never be the same after you start using a tweening extension. There's a lot of them around. They're more or less the same, with different syntaxes however. Here's a bunch of them: Flash MX 2004's built in easing classes: http://www.actionscript.org/tutorials/advanced/Tween-Easing_Classes_Documented/index.shtml Laco's Tweening: http://laco.wz.cz/tween/ Moses Gunesch's Fuse Kit: http://www.mosessupposes.com/Fuse/ Tatsuo Kato's dynTween: http://tatsuokato.com/flash/dynTweenMX.html Zeh (mine)'s MC Tween: http://hosted.zeh.com.br/mctween - 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
Re: [Flashcoders] compiler not warning (little rant)
so why doesn't MMC complpain about that ? i this a legal statement ? i know 'o.arguments[1, 2, 3];' or equivalent would be, but i didn't write that. as far as the compiler is concerned you did write that because whitespace is ignored. e.g. : code : var x:Array = []; x [ 0 ] = 23; trace ( x [0 ] ) ; : output : 23 :) martin ___ 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] compiler not warning (little rant)
David Rorex schrieb: On 3/1/06, Michael Stuhr <[EMAIL PROTECTED]> wrote: A/MMC does not warn before using this: var o = new Object(); o.arguments [1, 2, 3]; is this a statement or what ? and if so, what does it do, all i could see is undefined / null / not there fun to find this one in a ~1 lines project. So...technically that is legal, though I don't know why anyone would do that. First of all, you can put a constant on a line by itself, and it just does nothing: 3; // this is legal in AS myObj.blah[3] // this is also legal Secondly, there is the syntax ([expr1],[expr2],...,[exprN]), which will execute all the expressions, and return the result of exprN. so: (1,2,3) is the same as: function blah() { 1; // legal, as per above. 2; return 3; } blah(); Finally, your statement combines the two principles: o.arguments[1,2,3]; is the same as : o.arguments[ (1,2,3) ]; compiles to: 1; 2; o.arguments[3]; which are 3 legal commands, but they don't do anything. Hope this helps your understanding a bit. But I agree, MMC should definately have a 'strict compile' mode that warns when you do weird things like that. AS3 probably would complain (maybe not though?) -David R ___ 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 thanks for your time, but that doesn't answer my q's. i had: o.arguments [1, 2, 3]; with whitespace in there, where there should be a '=' so why doesn't MMC complpain about that ? i this a legal statement ? i know 'o.arguments[1, 2, 3];' or equivalent would be, but i didn't write that. 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
Re: [Flashcoders] multi-threading / xml progress meter solutions?
i am trying to convert that to a regular preloader, for some reason, it does not work ... any ideas??? // function to load an external .swf function ploader() { // swf file to load loadMovieNum("bigfile.swf", 1); // bar dimensions var barWidth:Number = 100; var barHeight:Number = 6; // the progress bar this.createEmptyMovieClip("pBar_mc", ); var bar:MovieClip = pBar_mc.createEmptyMovieClip("bar_mc", 10); bar.beginFill(0x2F84E4, 100); bar.moveTo(0, 0); bar.lineTo(barWidth, 0); bar.lineTo(barWidth, barHeight); bar.lineTo(0, barHeight); bar.lineTo(0, 0); bar.endFill(); // start the bar at 0 width bar._xscale = 9; // the bars stroke, make same color as bar for no stroke var stroke:MovieClip = pBar_mc.createEmptyMovieClip("stroke_mc", 20); stroke.lineStyle(0, 0xCC); stroke.moveTo(0, 0); stroke.lineTo(barWidth, 0); stroke.lineTo(barWidth, barHeight); stroke.lineTo(0, barHeight); stroke.lineTo(0, 0); // percent loaded in text versus graphic pBar_mc.createTextField("label_txt", 30, 0, barHeight, 100, 21); pBar_mc.label_txt.font = "silkscreen"; pBar_mc.label_txt.autoSize = "left"; pBar_mc.label_txt.selectable = false; pBar_mc.label_txt.textColor = 0x2F84E4; // center the progress bar on the stage pBar_mc._x = (Stage.width/2 - pBar_mc._width/2); pBar_mc._y = (Stage.height/2) // preloading part _root.onEnterFrame = function() { if (_framesloaded < _totalframes){ // scales the progress bar as a percentage of frames loaded tBytes = getBytesTotal(); bLoaded = getBytesLoaded(); percent = (bLoaded/tBytes)*100; _root.pBar_mc._xscale = (bLoaded/tBytes)*100; _root.pBar_mc.label_txt.text = percent & " % LOADED" } else { //plays the main movie and deletes preloader play(); pBar_mc.unloadMovie(); clearInterval(myInterval); } } } // call the preloader ploader(); // thats my code, stuck here :/ it loads the swf, but it never displays it, but plays the mus ic in it, and the progress bar and the text never show up ... :/ ___ 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] Flvplayback and cuepoints.
Hello, I have 2 .avi files which I encoded to .flv using flash 8. Now, all I want to do is fire an function when each video completes. Sounds easy enough. So I figure I'll use the "complete" event that gets fired from the flv component. This only works on 1 of the .flv's. The other one refuses to fire this off so I figure I'll use a cuePoint on this one. So I'm using this code: var listenerObject:Object = new Object(); listenerObject.cuePoint = function(eventObject:Object):Void { trace("Cue point name: " + eventObject.info.name); } vid1PlayBack_cmp.addEventListener("cuePoint", listenerObject); I first created the cuepoint event inside the movie when I was encoding -- did not work. Then I tried using the component parameter window and setting up the cuepoint there. Didn't work. What am I doing wrong Is there another workaround that I could do. I simply want to start up the main timeline again when the video ends. Tia, -Dan ___ 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] RIA patent granted
He's selling it to me. My master plan is to kill AJAX, and this was the only way... by owning Flash, too. However, you all have nothing to fear since I love Flash so rest easy. - Original Message - From: "Kevin Mulvihill" <[EMAIL PROTECTED]> To: "'Flashcoders mailing list'" Sent: Wednesday, March 01, 2006 4:54 PM Subject: OT: RE: [Flashcoders] RIA patent granted :-) No Chad, I'm quite sure few, if any, are aware of this: "The patent--issued on Valentine's Day--covers all rich-media technology implementations, including Flash, Flex, Java, Ajax, and XAML, when the rich-media application is accessed on any device over the Internet, according to the patent holders... A patent has been granted to a relatively unknown California Web-design firm for an invention its creator says covers the design and creation of most rich-media applications used over the Internet. The patent holder, Balthaser Online Inc., says it could license nearly any rich-media Internet application across a broad range of devices and networks. Potentially tens of thousands of businesses--not only software makers employing its business processes but companies offering rich-media on their Websites--could be subject to licensing fees when they use rich-media technology over the Internet." Guess Adobe AND Microsoft got caught with their pants down. But all is not lost. Neil Balthaser, a former VP of strategy for Macromedia, plans to sell the patent to someone... See more on http://www.informationweek.com/story/showArticle.jhtml?articleID=180206472&c id=RSSfeed_IWK_News Kevin > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Chad Mefferd > Sent: Wednesday, March 01, 2006 9:03 AM > To: Flashcoders mailing list > Subject: [Flashcoders] RIA patent granted > > H, > > http://www.informationweek.com/story/showArticle.jhtml? > articleID=180206472&cid=RSSfeed_IWK_News > > Is everyone aware of this? > > Chad > > ___ > 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] Flash and server side databases
Hi Alberto, Flash remoting is one option but costs money on the server. There are other options that don't cost money too. Search the list archives - there's a lot of info out there that folks probably won't want to regurgitate... (we've gurgitated it more than once already)... :-) Kevin > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Alberto Florentin > Sent: Wednesday, March 01, 2006 8:04 AM > To: Flashcoders mailing list > Subject: [Flashcoders] Flash and server side databases > > Hi all, > > I have been programming in Flash for quite a while, but > always in the basic sense of rather complex applications > which run on web pages or projectors. > I have never done any communication with servers (apart from > loading xml files in flash which I upload via FTP) > > Would flash be a good tool for interactive applications that > communicate with rather large server-side databases? What > other tools do I need to look into in order to start working > towards this direction? > > thanks a lot > Alberto > > > ___ > 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
OT: RE: [Flashcoders] RIA patent granted
:-) No Chad, I'm quite sure few, if any, are aware of this: "The patent--issued on Valentine's Day--covers all rich-media technology implementations, including Flash, Flex, Java, Ajax, and XAML, when the rich-media application is accessed on any device over the Internet, according to the patent holders... A patent has been granted to a relatively unknown California Web-design firm for an invention its creator says covers the design and creation of most rich-media applications used over the Internet. The patent holder, Balthaser Online Inc., says it could license nearly any rich-media Internet application across a broad range of devices and networks. Potentially tens of thousands of businesses--not only software makers employing its business processes but companies offering rich-media on their Websites--could be subject to licensing fees when they use rich-media technology over the Internet." Guess Adobe AND Microsoft got caught with their pants down. But all is not lost. Neil Balthaser, a former VP of strategy for Macromedia, plans to sell the patent to someone... See more on http://www.informationweek.com/story/showArticle.jhtml?articleID=180206472&c id=RSSfeed_IWK_News Kevin > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Chad Mefferd > Sent: Wednesday, March 01, 2006 9:03 AM > To: Flashcoders mailing list > Subject: [Flashcoders] RIA patent granted > > H, > > http://www.informationweek.com/story/showArticle.jhtml? > articleID=180206472&cid=RSSfeed_IWK_News > > Is everyone aware of this? > > Chad > > ___ > 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] Filereference upload on macintosh
A little OT, but i always thought coldfusion was a bit narcissistic with all its tags. Everything coldfusion SCREAMS coldfusion. Wonky. Yves Peckstadt wrote: Hi, I've been working on an extensive upload component making use of the flash 8 filereference classes. Everything works great on windows ,no problems there but on macintosh I'm experiencing lots of problems. I've tested it for a while and noticed that neither the onProgress or onComplete events are triggered while uploading on a mac. I've read in other threads here on flashcoders that sometimes indeed one of the events doesn't trigger. But in all problem situations I've read about ,there only seems to be 1 broken event not 2. I could easily make a quick fix if either the onComplete or onProgress event work but with only the onOpen event triggering there's not much I can do. Things i've tried: - simplifying my code to a very basic version : make an listenerObject, define the events , assign the listenerObject to the filereference object, browse, upload (basicly textbook version) - server side uploading with a coldfusion cfm page containing only this. The normal method I am using that works like a charm on windows. connectionstring being = http://.../upload.cfm?dir= - server side uploading with a coldfusion service file, cfc. Tried this because somebody fixed the onComplete event by making sure the uploadscript returned something. connectionstring being = http://../upload.cfc?method=doUpload&dir =... I am testing everything on mac os X version 10.4.5 , Safari and internet explorer mac edition browser. Anyone who encountered these problems before ,and perhaps found a fix ,that can help me? I'd greatly appriciate it. Thanks. Yves ___ 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] XPATH Question
Try this: /Localidades/Localidad[idLocalidad='83' or idComunidadAutonoma='15'] That should work for you. On 3/1/06, julian atienza <[EMAIL PROTECTED]> wrote: > I have this XML > > > 83 >34 >15 > > > 106 >35 >15 > > > > > And want to generate a XPATH to select all nodes that f.e, are from " > idLocalidad=83 " OR with " idComunidadAutonoma = 15" > > that query that i will made with a SELECT in SQL > > SELECT * FROM LOCALIDADES > WHERE idLocalidad = 83 OR idComunidadAutonoma = 15 > > ¿¿is it possible?? > > i'm trying with a lot of things like > > "Localidades/Localidad[idLocalidad = 83] | > Localidades/Localidad[idComunidadAutonoma = 15]"; > > but it returns 3 elements (1 for idLocalidad = 83, and two for > idComunidadAutonoma, when i really would like to receive 2... > > thanks in advance > ___ > 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] XPATH Question
try using "or" for the xpath query Localidades/Localidad[idLocalidad=83 or idComunidadAutonoma=15] sample: import mx.xpath.XPathAPI; z = new XML('8334151063515'); var thePath_str:String = "Localidades/Localidad[idLocalidad=83 or idComunidadAutonoma=15]"; var result_array:Array = XPathAPI.selectNodeList(z.firstChild,thePath_str); for (var i:Number = 0; i < result_array.length; i++) { trace(result_array[i].firstChild.toString()); } i'm just tracing out the firstChild but the query will contain the whole node. regards. kada. On 3/1/06, julian atienza <[EMAIL PROTECTED]> wrote: > I have this XML > > > 83 >34 >15 > > > 106 >35 >15 > > > > > And want to generate a XPATH to select all nodes that f.e, are from " > idLocalidad=83 " OR with " idComunidadAutonoma = 15" > > that query that i will made with a SELECT in SQL > > SELECT * FROM LOCALIDADES > WHERE idLocalidad = 83 OR idComunidadAutonoma = 15 > > ¿¿is it possible?? > > i'm trying with a lot of things like > > "Localidades/Localidad[idLocalidad = 83] | > Localidades/Localidad[idComunidadAutonoma = 15]"; > > but it returns 3 elements (1 for idLocalidad = 83, and two for > idComunidadAutonoma, when i really would like to receive 2... > > thanks in advance > ___ > 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] Can anyone see my posts?
I get that feeling sometimes also- I console myself with the thought that the people answering questions are just as swamped as I am and are answering in between getting their own questions answered. True or not - It's good for the self esteem. M On 3/1/06, James Deakin <[EMAIL PROTECTED]> wrote: > > Hi All my posts get ignored was it something i said? > > James > ___ > 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] way to get window.location from flash?
fyi, I got this to work in both ie and mozilla.. var host:String = String(ExternalInterface.call("eval", " window.location.host")); requires flash 8.. my goal here was to simply return the host name where the webpage is running without requiring any javascript on the page.. On 3/1/06, Alan Queen <[EMAIL PROTECTED]> wrote: > > Hey Geoffrey, > > This works great in IE! thx.. > > but doesnt in mozilla, u know of a work around for it in mozilla? > > -aq > > > On 3/1/06, Geoffrey Williams <[EMAIL PROTECTED]> wrote: > > > > If you want the URL of the page (not the SWF), you can try something > > like: > > > > getURL > > ('javascript:document.getElementById("object_id").setVariable("url_string", > > window.location.href); void (0);'); > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Bart > > Wttewaall > > Sent: Wednesday, March 01, 2006 2:11 PM > > To: Flashcoders mailing list > > Subject: Re: [Flashcoders] way to get window.location from flash? > > > > trace(_root._url) > > > > 2006/3/1, Alan Queen <[EMAIL PROTECTED]>: > > > Is there a way get the window's location ( url ) from flash without > > embedded > > > a javascript helper function on the page? > > > > > > -- > > > - Alan Queen > > > > > > > > > > ___ > > 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 > > > > > > -- > > - Alan Queen > -- - Alan Queen ___ 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] {Business/Workflow} The use of mock prototypes
Again. I agree. I take whatever I think it will take and double it (seriously). That usually gets within 5 hrs either way. I have no idea why this works. Track your time on projects and you will start to see a trend. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Wednesday, March 01, 2006 12:21 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] {Business/Workflow} The use of mock prototypes Experience. Time estimations are not a science, ecspecially considering the plethora of things that can go wrong. If you run a company, off-load some of the time estimtaions to the developer/designers themselves, and then compare estimated with actual as well as order (sometimes you do tasks in different order than planned). Yes, there is overhead in tracking, but if you want to charge for what you are doing, you need to be accurate, and it's a process of continually improving yours and everyone's time estimating abilities. - Original Message - From: "James Deakin" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Wednesday, March 01, 2006 2:16 PM Subject: Re: [Flashcoders] {Business/Workflow} The use of mock prototypes I do get my designers (i run a company) to mock things up first. But what i find difficult is being able to say how long a job should take. Thats what i develope prototypes for. if anyone know abetter way please tell me. On 3/1/06, JesterXL <[EMAIL PROTECTED]> wrote: > > Hrm, opposite for me: > http://www.jessewarden.com/archives/2006/02/prototype_solut.html > > In fact, most turn into projects if you aren't careful. I've found, if > you > have a talented designer, you're best bet is to get them to create mock > prototypes to get in front of users quickly before the actual developers > imlement the interface. Change control is challenging in that the > designer > is responsible for not only keeping track of what changed, but informing > her > manager who in turn informs the developers. Prioritizing those changes is > also challenging because developers obviously think functionality is more > important, but it's not their call really. > > - Original Message - > From: "Dwayne Neckles" <[EMAIL PROTECTED]> > To: > Sent: Wednesday, March 01, 2006 1:46 PM > Subject: [Flashcoders] {Business/Workflow} The use of mock prototypes > > > Hello folks, > > Just wondering when you are developing flash site how many folks actually > develop flash prototypes or fake quick mock up of how the site functional > will feel...it seems like a waste of time to me especially with larger > projects... but if someone didnt mind sharing their experiences on whether > one should I'd appreciate it. > > Thanks, > > Dwayne > dnecklesportfolio.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 > ___ 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] compiler not warning (little rant)
On 3/1/06, Michael Stuhr <[EMAIL PROTECTED]> wrote: > A/MMC does not warn before using this: > > var o = new Object(); > o.arguments [1, 2, 3]; > > is this a statement or what ? and if so, what does it do, all i could see is > undefined / null / not there > > > fun to find this one in a ~1 lines project. > > So...technically that is legal, though I don't know why anyone would do that. First of all, you can put a constant on a line by itself, and it just does nothing: 3; // this is legal in AS myObj.blah[3] // this is also legal Secondly, there is the syntax ([expr1],[expr2],...,[exprN]), which will execute all the expressions, and return the result of exprN. so: (1,2,3) is the same as: function blah() { 1; // legal, as per above. 2; return 3; } blah(); Finally, your statement combines the two principles: o.arguments[1,2,3]; is the same as : o.arguments[ (1,2,3) ]; compiles to: 1; 2; o.arguments[3]; which are 3 legal commands, but they don't do anything. Hope this helps your understanding a bit. But I agree, MMC should definately have a 'strict compile' mode that warns when you do weird things like that. AS3 probably would complain (maybe not though?) -David R ___ 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] {Business/Workflow} The use of mock prototypes
I agree with Jesse. Prototypes and good mock-ups seem to do the trick. I have been working with a lot of design agencies lately that farm out the motion design and AS code to me as a freelancer. I have been paying special attention to how they interface with the client and how they get the work. From what I have seen there is a direct correlation between how much time they spend mocking-up designs up front even before they get the job and how often they get the job. I know, I know, that makes sense. But it is really hard sometimes to spend 80 hours on a bunch of design mock-ups not knowing whether of not the client is going to chose you. I recently asked one of the designers that take this approach and how he feels about his designs not being used sometimes. He said if it is a good flexible design he will often use it for another client down the road. So basically, they eventually get paid for the work anyway. It is the same as code re-use. With this particular design firm, once they get the client they pay me to do a bunch of prototypes and proof-of-concepts as the first round of motion comps that they show to the client. It actually ends up being cheaper and faster then trying to explain the motion design to the client. If you have ever tried to explain how an interface might animate you can see the point of why it is faster to just show them then to try to explain it. "Um... Er... This thingy is going to fade, and the logo scales in from the left then the background blurs in while the mask on the text drops down with a nice Exponential-Ease-In-Out". You get a lot of blank stares and people asking why the text is in Latin, or the prep-school-grads tell you that it is not even real Latin. So basically the most effective workflow that I have seen is: Initial Meeting: Get requirements Detailed Design Comps Second Meeting: Show the mock-ups, Get the Job Create Prototypes and Prove Your Ideas Third Meeting: Show the motion comps and get feedback Build it Forth Meeting: Bug Fixes and Change Requests Deliver Get Paid From Happy Client -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Wednesday, March 01, 2006 11:58 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] {Business/Workflow} The use of mock prototypes Hrm, opposite for me: http://www.jessewarden.com/archives/2006/02/prototype_solut.html In fact, most turn into projects if you aren't careful. I've found, if you have a talented designer, you're best bet is to get them to create mock prototypes to get in front of users quickly before the actual developers imlement the interface. Change control is challenging in that the designer is responsible for not only keeping track of what changed, but informing her manager who in turn informs the developers. Prioritizing those changes is also challenging because developers obviously think functionality is more important, but it's not their call really. - Original Message - From: "Dwayne Neckles" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 01, 2006 1:46 PM Subject: [Flashcoders] {Business/Workflow} The use of mock prototypes Hello folks, Just wondering when you are developing flash site how many folks actually develop flash prototypes or fake quick mock up of how the site functional will feel...it seems like a waste of time to me especially with larger projects... but if someone didnt mind sharing their experiences on whether one should I'd appreciate it. Thanks, Dwayne dnecklesportfolio.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 ___ 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] JSFL targetlist in component inspector
is it possible to have one of the fields in the component inspector open up a targetlist. Sort of like the one that is used by buttons and MovieClips when doing relative and absolute path assignment. I've seen it mentioned as doable in dialogs but wonder if it can be embedded in the component's inspector. If not can someone please point me to how to pop a dialog open in the component inspector. Thanks. Mani ___ 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] way to get window.location from flash?
Hey Geoffrey, This works great in IE! thx.. but doesnt in mozilla, u know of a work around for it in mozilla? -aq On 3/1/06, Geoffrey Williams <[EMAIL PROTECTED]> wrote: > > If you want the URL of the page (not the SWF), you can try something like: > > getURL > ('javascript:document.getElementById > ("object_id").setVariable("url_string", > window.location.href); void (0);'); > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Bart > Wttewaall > Sent: Wednesday, March 01, 2006 2:11 PM > To: Flashcoders mailing list > Subject: Re: [Flashcoders] way to get window.location from flash? > > trace(_root._url) > > 2006/3/1, Alan Queen <[EMAIL PROTECTED]>: > > Is there a way get the window's location ( url ) from flash without > embedded > > a javascript helper function on the page? > > > > -- > > - Alan Queen > > > > > ___ > 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 > -- - Alan Queen ___ 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] way to get window.location from flash?
Sounds more like you might want a tracking service embedded in your swf, like this one: http://www.mochibot.com/ - Original Message - From: "Alan Queen" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Wednesday, March 01, 2006 2:16 PM Subject: Re: [Flashcoders] way to get window.location from flash? thx, but i'm actually looking for the url in the browser not the url of the flash movie itself.. in otherwords if the browser's url is: http://www.mydomain.com/index.html and the flash file is embedded from: http://www.someotherdomain.com/flash/myfile.swf I'd like to know the browser's location from myfile.swf On 3/1/06, Bart Wttewaall <[EMAIL PROTECTED]> wrote: crap.. I meant: trace(_root._url) 2006/3/1, Bart Wttewaall <[EMAIL PROTECTED]>: > trace(_root.url) > > 2006/3/1, Alan Queen <[EMAIL PROTECTED]>: > > Is there a way get the window's location ( url ) from flash without embedded > > a javascript helper function on the page? > > > > -- > > - Alan Queen > > ___ > > 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 -- - Alan Queen ___ 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] XPATH Question
I have this XML 83 34 15 106 35 15 And want to generate a XPATH to select all nodes that f.e, are from " idLocalidad=83 " OR with " idComunidadAutonoma = 15" that query that i will made with a SELECT in SQL SELECT * FROM LOCALIDADES WHERE idLocalidad = 83 OR idComunidadAutonoma = 15 ¿¿is it possible?? i'm trying with a lot of things like "Localidades/Localidad[idLocalidad = 83] | Localidades/Localidad[idComunidadAutonoma = 15]"; but it returns 3 elements (1 for idLocalidad = 83, and two for idComunidadAutonoma, when i really would like to receive 2... thanks in advance ___ 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] {Business/Workflow} The use of mock prototypes
Thorough prototyping is so key. I made a prototyping tool for internal use that allows people to discuss prototype screens. This allows the designer to follow a discussion between users, creating elements as they are requested. I got the inspiration from success with FLiP - style development http://www.fusebox.org/index.cfm?fuseaction=fusebox.faq#gq20, which uses something called devnotes http://www.grokfusebox.com/index.cfm?ref=showGoodies. Benefits are the user knows what they are getting -- no surprises -- and the requirements can be traced from devnotes all the way through the code if necessary. The public forum also helps eliminate the closed-door design decisions that cause conflict. Anyway this is how I prototype so maybe it can give others some ideas. Mike ___ 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] way to get window.location from flash?
If you want the URL of the page (not the SWF), you can try something like: getURL ('javascript:document.getElementById("object_id").setVariable("url_string", window.location.href); void (0);'); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bart Wttewaall Sent: Wednesday, March 01, 2006 2:11 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] way to get window.location from flash? trace(_root._url) 2006/3/1, Alan Queen <[EMAIL PROTECTED]>: > Is there a way get the window's location ( url ) from flash without embedded > a javascript helper function on the page? > > -- > - Alan Queen ___ 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] {Business/Workflow} The use of mock prototypes
Experience. Time estimations are not a science, ecspecially considering the plethora of things that can go wrong. If you run a company, off-load some of the time estimtaions to the developer/designers themselves, and then compare estimated with actual as well as order (sometimes you do tasks in different order than planned). Yes, there is overhead in tracking, but if you want to charge for what you are doing, you need to be accurate, and it's a process of continually improving yours and everyone's time estimating abilities. - Original Message - From: "James Deakin" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Wednesday, March 01, 2006 2:16 PM Subject: Re: [Flashcoders] {Business/Workflow} The use of mock prototypes I do get my designers (i run a company) to mock things up first. But what i find difficult is being able to say how long a job should take. Thats what i develope prototypes for. if anyone know abetter way please tell me. On 3/1/06, JesterXL <[EMAIL PROTECTED]> wrote: > > Hrm, opposite for me: > http://www.jessewarden.com/archives/2006/02/prototype_solut.html > > In fact, most turn into projects if you aren't careful. I've found, if > you > have a talented designer, you're best bet is to get them to create mock > prototypes to get in front of users quickly before the actual developers > imlement the interface. Change control is challenging in that the > designer > is responsible for not only keeping track of what changed, but informing > her > manager who in turn informs the developers. Prioritizing those changes is > also challenging because developers obviously think functionality is more > important, but it's not their call really. > > - Original Message - > From: "Dwayne Neckles" <[EMAIL PROTECTED]> > To: > Sent: Wednesday, March 01, 2006 1:46 PM > Subject: [Flashcoders] {Business/Workflow} The use of mock prototypes > > > Hello folks, > > Just wondering when you are developing flash site how many folks actually > develop flash prototypes or fake quick mock up of how the site functional > will feel...it seems like a waste of time to me especially with larger > projects... but if someone didnt mind sharing their experiences on whether > one should I'd appreciate it. > > Thanks, > > Dwayne > dnecklesportfolio.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 > ___ 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] C# and ExternalInterface problems
Hey Dude I have never had any problems, can you point me to the example and ill give it a test. Just as a side point if you look in the external interface section inside the flex2 documentation there is a c# class there that wraps AS external interface calls nicely. Cheers CAmpbell > Hi All, > > We've been working on integrating Flash with C# through External > Interface, but have hit a brick wall with an odd error. > > We've go ExternalInterface calling C# functions fine, it's the > reverse which is not working. > > C# in .NET throws an "Unspecified Error" when calling an exposed > Actionscript function with both the stuff I've written and another > example we've got off the net. > However, if we use VB .NET (which apparently should compile to the > same thing), the same Flash files work fine (both the in-house things > and the examples from the net). > > Has anyone come across this before and know of a solution? > At the moment it looks like we'll have to wrap VB in the C# just to > let C# call AS functions, which is pretty irritating. > > Regards, > > Sam Thorne > Interaction Design > > Web: http://www.native.com/ > Tel: +44 (0)207 588 7970 > Fax: +44 (0)207 588 7971 > > > ___ > 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] way to get window.location from flash?
thx, but i'm actually looking for the url in the browser not the url of the flash movie itself.. in otherwords if the browser's url is: http://www.mydomain.com/index.html and the flash file is embedded from: http://www.someotherdomain.com/flash/myfile.swf I'd like to know the browser's location from myfile.swf On 3/1/06, Bart Wttewaall <[EMAIL PROTECTED]> wrote: > > crap.. I meant: > trace(_root._url) > > 2006/3/1, Bart Wttewaall <[EMAIL PROTECTED]>: > > trace(_root.url) > > > > 2006/3/1, Alan Queen <[EMAIL PROTECTED]>: > > > Is there a way get the window's location ( url ) from flash without > embedded > > > a javascript helper function on the page? > > > > > > -- > > > - Alan Queen > > > ___ > > > 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 > -- - Alan Queen ___ 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] {Business/Workflow} The use of mock prototypes
I do get my designers (i run a company) to mock things up first. But what i find difficult is being able to say how long a job should take. Thats what i develope prototypes for. if anyone know abetter way please tell me. On 3/1/06, JesterXL <[EMAIL PROTECTED]> wrote: > > Hrm, opposite for me: > http://www.jessewarden.com/archives/2006/02/prototype_solut.html > > In fact, most turn into projects if you aren't careful. I've found, if > you > have a talented designer, you're best bet is to get them to create mock > prototypes to get in front of users quickly before the actual developers > imlement the interface. Change control is challenging in that the > designer > is responsible for not only keeping track of what changed, but informing > her > manager who in turn informs the developers. Prioritizing those changes is > also challenging because developers obviously think functionality is more > important, but it's not their call really. > > - Original Message - > From: "Dwayne Neckles" <[EMAIL PROTECTED]> > To: > Sent: Wednesday, March 01, 2006 1:46 PM > Subject: [Flashcoders] {Business/Workflow} The use of mock prototypes > > > Hello folks, > > Just wondering when you are developing flash site how many folks actually > develop flash prototypes or fake quick mock up of how the site functional > will feel...it seems like a waste of time to me especially with larger > projects... but if someone didnt mind sharing their experiences on whether > one should I'd appreciate it. > > Thanks, > > Dwayne > dnecklesportfolio.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 > ___ 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] way to get window.location from flash?
crap.. I meant: trace(_root._url) 2006/3/1, Bart Wttewaall <[EMAIL PROTECTED]>: > trace(_root.url) > > 2006/3/1, Alan Queen <[EMAIL PROTECTED]>: > > Is there a way get the window's location ( url ) from flash without embedded > > a javascript helper function on the page? > > > > -- > > - Alan Queen > > ___ > > 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] way to get window.location from flash?
trace(_root.url) 2006/3/1, Alan Queen <[EMAIL PROTECTED]>: > Is there a way get the window's location ( url ) from flash without embedded > a javascript helper function on the page? > > -- > - Alan Queen > ___ > 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] way to get window.location from flash?
Is there a way get the window's location ( url ) from flash without embedded a javascript helper function on the page? -- - Alan Queen ___ 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] Flash on PSP!
Oops! Sorry, I didn't test properly. I'll have to eat my own words: it really does work with AS2 on version 7. I've tested it a bit better now and found out there's no transparency with imported gif or png. That and it crashed my PSP on a 500KB swf file. Still a mighty fine achievement. I'm really looking forward to the next version. 2006/3/1, Cedric Muller <[EMAIL PROTECTED]>: > http://files.psphacks.net/details.php?file=93 > quote: > "the current version supports most action script through version 7 > and runs on 1.5 only" > > ?? > Cedric > > > > Don't bother, I've tested it and it's crap. > > It seems all this "flashplayer" does is convert the flashfile to some > > form of video (and taking its sweet time at that) and play it/crash on > > it. No actionscript interaction whatsoever. You're better off > > exporting your animation to avi and convert it to mp4 yourself. > > > > > > 2006/2/28, Weyert de Boer <[EMAIL PROTECTED]>: > >> Now I only need a PSP with fw1.5 :-) > >> ___ > >> 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 > ___ 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] {Business/Workflow} The use of mock prototypes
Hrm, opposite for me: http://www.jessewarden.com/archives/2006/02/prototype_solut.html In fact, most turn into projects if you aren't careful. I've found, if you have a talented designer, you're best bet is to get them to create mock prototypes to get in front of users quickly before the actual developers imlement the interface. Change control is challenging in that the designer is responsible for not only keeping track of what changed, but informing her manager who in turn informs the developers. Prioritizing those changes is also challenging because developers obviously think functionality is more important, but it's not their call really. - Original Message - From: "Dwayne Neckles" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 01, 2006 1:46 PM Subject: [Flashcoders] {Business/Workflow} The use of mock prototypes Hello folks, Just wondering when you are developing flash site how many folks actually develop flash prototypes or fake quick mock up of how the site functional will feel...it seems like a waste of time to me especially with larger projects... but if someone didnt mind sharing their experiences on whether one should I'd appreciate it. Thanks, Dwayne dnecklesportfolio.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] {Business/Workflow} The use of mock prototypes
I am interested in this as well. I'm always looking for ways to accurately scope flash projects. I have been told taking a good look at UML is a good idea. And i have frequently found it useful to produce little test app-lets in order to find out what is involved in key challenges ( if i haven't done something similar before) On 3/1/06, Dwayne Neckles <[EMAIL PROTECTED]> wrote: > > Hello folks, > > Just wondering when you are developing flash site how many folks actually > develop flash prototypes or fake quick mock up of how the site functional > will feel...it seems like a waste of time to me especially with larger > projects... but if someone didnt mind sharing their experiences on whether > one should I'd appreciate it. > > Thanks, > > Dwayne > dnecklesportfolio.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
[Flashcoders] {Business/Workflow} The use of mock prototypes
Hello folks, Just wondering when you are developing flash site how many folks actually develop flash prototypes or fake quick mock up of how the site functional will feel...it seems like a waste of time to me especially with larger projects... but if someone didnt mind sharing their experiences on whether one should I'd appreciate it. Thanks, Dwayne dnecklesportfolio.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] Bold and italic charater options with html text
On Mar 1, 2006, at 11:48 AM, James Deakin wrote: What is the best course of action/ best practice in this situation? Look into using CSS to specify the font-family: p { font-family: Helvetica 55 Roman; display: inline; } or look into using the font tag: When you are using htmlText and embedding fonts, you have to specify the font one way or another in html. blue skies, bryan ___ 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] Can anyone see my posts?
a guy goes to the shrink: "there's something wrong with me, i feel like everybody ignores me!" the shrink: "who's next?" On 3/1/06, James Deakin <[EMAIL PROTECTED]> wrote: > Hi All my posts get ignored was it something i said? > > James > ___ > 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] Returning an XML Object
Hey Peter, First probelm I see is this... In your photo_navigation() method, you do this... trace("my_xml = " + my_xml); ... immediately after this... var my_xml = load_xml(xml_file); When you call the trace() your xml won't have loaded yet and therefore will not have been returned. I'm guessing that's where you're getting 'undefined'. Another potential issue you may end up with, again in your photo_navigation() method, is that you declare your 'my_xml' var within the method. I think I'm correct in saying that this means the variable is scoped only to that method - i.e. you won't be able to access it from anywhere else. To fix it use something like this... // Contents of photo_navigation.as class photo_navigation extends xml_loader { public var my_xml:XML; // constructor public function photo_navigation(xml_file:String) { // take the xml_file string and pass it to the superclass "xml_loader" my_xml = load_xml(xml_file); // trace out the contents of "my_xml" trace("my_xml = " + my_xml); } } Note that the variable is declared (but with no value) in the body of the 'photo_navigation' class and is initialised in the constructor *without* the var decleration. This way you will be able to access the variable from anywhere in the class and, since it is declared as public, from anywhere outside the class too. Hope this helps. Adrian P. On 3/1/06, Peter Burke <[EMAIL PROTECTED]> wrote: > > Howdy folks, > > Just trying to get my head wrapped around this issue. In > photo_navigation.as, I'm trying to get back a return type of XML from > xml_loader. But when I attempt this: "trace("my_xml = " + my_xml);", I > end > up getting: "my_xml = undefined". Somewhere along the line I'm losing the > my_xml value in xml_loader.as because the value returned is empty. > > I've been banging my head against this problem awhile now and need a > second > or third opinion... > > > > // Contents of xml_loader.as: > class xml_loader extends MovieClip { > > // constructor > public function xml_loader() { > } > > // public method to load the xml file > public function load_xml(xml_file:String) { > var myclass = this > // Create a local variable that points back to the current object > var thisObj:xml_loader = this; > > // Create a local variable, which is used to load the XML file. > var my_xml:XML = new XML(); > > // Ignore whitespace > my_xml.ignoreWhite = true; > > // Upon successful load of the xml file > my_xml.onLoad = function(success:Boolean) { > if (success) { > thisObj.init(my_xml); > > // return the my_xml variable value > return my_xml; > } else { > trace("error loading XML"); > return null; > } > }; > > // Begin loading the XML document. > my_xml.load(xml_file); > } > > public function init(my_xml):Void { > // uncommenting the following line results in the xml being > printed > correctly > // trace(my_xml); > } > } > > > > // Contents of photo_navigation.as > class photo_navigation extends xml_loader { > > // constructor > public function photo_navigation(xml_file:String) { > // take the xml_file string and pass it to the superclass > "xml_loader" > var my_xml = load_xml(xml_file); > > // trace out the contents of "my_xml" > trace("my_xml = " + my_xml); > } > } > > > > // Contents of photos.xml > > > > > > > > Thanks for any help you can give me! > ___ > 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] Can anyone see my posts?
Hi All my posts get ignored was it something i said? James ___ 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] multi-threading / xml progress meter solutions?
I found this xml dynamic preloader in the flash 8 docs that works like a charm. You need to tweak the location of the preloader bar, and the name of your xml file, but it's pretty sweet for larger xml loads. var barWidth:Number = 200; var barHeight:Number = 6; this.createEmptyMovieClip("pBar_mc", ); var bar:MovieClip = pBar_mc.createEmptyMovieClip("bar_mc", 10); bar.beginFill(0xFF, 100); bar.moveTo(0, 0); bar.lineTo(barWidth, 0); bar.lineTo(barWidth, barHeight); bar.lineTo(0, barHeight); bar.lineTo(0, 0); bar.endFill(); bar._xscale = 0; var stroke:MovieClip = pBar_mc.createEmptyMovieClip("stroke_mc", 20); stroke.lineStyle(0, 0x00); stroke.moveTo(0, 0); stroke.lineTo(barWidth, 0); stroke.lineTo(barWidth, barHeight); stroke.lineTo(0, barHeight); stroke.lineTo(0, 0); pBar_mc.createTextField("label_txt", 30, 0, barHeight, 100, 21); pBar_mc.label_txt.autoSize = "left"; pBar_mc.label_txt.selectable = false; pBar_mc.label_txt.textColor = 0xFF; // location of preloader on the movie stage pBar_mc._x = -160; pBar_mc._y = 0; var my_xml:XML = new XML(); my_xml.ignoreWhite = true; my_xml.onLoad = function(success:Boolean) { pBar_mc.onEnterFrame = undefined; if (success) { myText.text = my_xml; pBar_mc._visible=false; pBar_mc.label_txt._visible=false; trace("XML loaded successfully"); } else { trace("Unable to load XML"); } }; my_xml.load("Publications.xml"); pBar_mc.onEnterFrame = function() { var pctLoaded:Number = Math.floor(my_xml.getBytesLoaded() / my_xml.getBytesTotal() * 100); if (!isNaN(pctLoaded)) { pBar_mc.bar_mc._xscale = pctLoaded; pBar_mc.label_txt.text = pctLoaded + "% loaded"; if (pctLoaded >= 100) { pBar_mc.onEnterFrame = undefined; } } } - Original Message - From: "Mike Boutin" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Wednesday, March 01, 2006 1:05 PM Subject: Re: [Flashcoders] multi-threading / xml progress meter solutions? Yes I have this problem too, except the xml im loading can be rather large and it causes flash player to freeze up for a few seconds when parsing. - Original Message - From: "Scott Pobiner" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 01, 2006 9:02 AM Subject: [Flashcoders] multi-threading / xml progress meter solutions? Hello flashcoders, I was wondering what solutions people have for activity while trying to load and parse XML data? My application takes a solid 2-3 seconds to load and all attempts to build preloaders and progress meters seem to fail. It seems that the application is hanging while it sorts out the XML data. I suppose that this topic might also be valuable for other applications. Thoughts? Comments? Thanks all, Scott ___ 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
[Flashcoders] C# and ExternalInterface problems
Hi All, We've been working on integrating Flash with C# through External Interface, but have hit a brick wall with an odd error. We've go ExternalInterface calling C# functions fine, it's the reverse which is not working. C# in .NET throws an "Unspecified Error" when calling an exposed Actionscript function with both the stuff I've written and another example we've got off the net. However, if we use VB .NET (which apparently should compile to the same thing), the same Flash files work fine (both the in-house things and the examples from the net). Has anyone come across this before and know of a solution? At the moment it looks like we'll have to wrap VB in the C# just to let C# call AS functions, which is pretty irritating. Regards, Sam Thorne Interaction Design Web: http://www.native.com/ Tel: +44 (0)207 588 7970 Fax: +44 (0)207 588 7971 ___ 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] prototypes?
murder design schrieb: i found a prototype on a website for easing. it works in their fla... i am trying to get it work here. when i load the swf, nothing happens... the object i am trying to ease is ball1 is the instance. the name in the library is test. Movieclip.prototype.scrollme = function(xPos, yPos) { cX = this._x; difX = cX-xPos; this._x = cX-(difX/5); cY = this._y; difY = cY-yPos; this._y = cY-(difY/5); }; stop(); ball1.onEnterFrame = function() { this.scrollme(300,300); }; ___ 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 rename the library :-) no kidding, you should consider this ... prototype as ... deprecated. use: MovieClip.prototype.scrollme = function(xPos, yPos) { this.cX = this._x; this.difX = this.cX-xPos; this._x = this.cX-(this.difX/5); this.cY = this._y; this.difY = this.cY-yPos; this._y = this.cY-(this.difY/5); }; 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] compiler not warning (little rant)
A/MMC does not warn before using this: var o = new Object(); o.arguments [1, 2, 3]; is this a statement or what ? and if so, what does it do, all i could see is undefined / null / not there fun to find this one in a ~1 lines project. 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
Re: [Flashcoders] multi-threading / xml progress meter solutions?
Yes I have this problem too, except the xml im loading can be rather large and it causes flash player to freeze up for a few seconds when parsing. - Original Message - From: "Scott Pobiner" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 01, 2006 9:02 AM Subject: [Flashcoders] multi-threading / xml progress meter solutions? Hello flashcoders, I was wondering what solutions people have for activity while trying to load and parse XML data? My application takes a solid 2-3 seconds to load and all attempts to build preloaders and progress meters seem to fail. It seems that the application is hanging while it sorts out the XML data. I suppose that this topic might also be valuable for other applications. Thoughts? Comments? Thanks all, Scott ___ 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] prototypes?
i found a prototype on a website for easing. it works in their fla... i am trying to get it work here. when i load the swf, nothing happens... the object i am trying to ease is ball1 is the instance. the name in the library is test. Movieclip.prototype.scrollme = function(xPos, yPos) { cX = this._x; difX = cX-xPos; this._x = cX-(difX/5); cY = this._y; difY = cY-yPos; this._y = cY-(difY/5); }; stop(); ball1.onEnterFrame = function() { this.scrollme(300,300); }; ___ 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] Flash and server side databases
Alberto, Look generally under the heading Flash Remoting. Also check AMFPHP - good if the database server is running PHP. More generally, wherever you can read a file, e.g. sendAndLoad() or loadXML(), substitute a script executing on a server and treat the data stream it returns as a file. The more difficult question is whether or not Flash is a good tool for interactive applications. Let's leave the "communicate with rather large server-side databases" out of it for the time being. Yes, if you want a tight, completely under your control, with v. private communication with the server, kind of app, and if you want to do something progressive, without a lot of page reloads. But with AJAX you can also achieve a high degree of interactivity, without page reloads. There was a thread on here last month about rich Internet applications. There were two incredible examples, www.gigagolf.com, and one which provided an online, Excel-like interactive tool to analyze acquisition possibilities for investors / merchant bankers. (At least that's how I remember it.) A classic "it depends". Tools? A text editor, a scripting language on the server iwth the appropriate drivers/functions to access the database. If you have no experience with databases a quick familiarization with database terminology, normalization, basic SQL commands, which you can get from a gazillion sources. Hope this is helpful - Miles Thompson At 12:03 PM 3/1/2006, Alberto Florentin wrote: Hi all, I have been programming in Flash for quite a while, but always in the basic sense of rather complex applications which run on web pages or projectors. I have never done any communication with servers (apart from loading xml files in flash which I upload via FTP) Would flash be a good tool for interactive applications that communicate with rather large server-side databases? What other tools do I need to look into in order to start working towards this direction? thanks a lot Alberto ___ 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 outgoing message. Checked by AVG Anti-Virus. Version: 7.1.375 / Virus Database: 268.1.1/271 - Release Date: 2/28/2006 ___ 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] oop question?
> The next error you´ll probably recieve is that you missed a Constructor in > your Class, you need at least this > > class mLoader { > > function mLoader () { > }; > > } I don't believe constructors are mandatory. -K ___ 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] looking for experienced freelance Actionscript developers
preferably with some design skills too, for a +- 15-day project. We would like you to work at our offices in Antwerp, for easier communication. If you're interested, just send me an e-mail at toon [at] amphion [dot] be and include some (links to) work samples. -- Toon Van de Putte ___ 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] RIA patent granted
H, http://www.informationweek.com/story/showArticle.jhtml? articleID=180206472&cid=RSSfeed_IWK_News Is everyone aware of this? Chad ___ 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] multi-threading / xml progress meter solutions?
Hello flashcoders, I was wondering what solutions people have for activity while trying to load and parse XML data? My application takes a solid 2-3 seconds to load and all attempts to build preloaders and progress meters seem to fail. It seems that the application is hanging while it sorts out the XML data. I suppose that this topic might also be valuable for other applications. Thoughts? Comments? Thanks all, Scott ___ 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] oop question?
Hi, Remove the include line, it´s not neccessary, since include "copy&pastes" the content of the as class in you rcurrent document, which is not what you want. The next error you´ll probably recieve is that you missed a Constructor in your Class, you need at least this class mLoader { function mLoader () { }; } hth AGo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of murder design Sent: Wednesday, March 01, 2006 5:46 PM To: flashcoders Subject: [Flashcoders] oop question? my main flash file only contains: #include "mLoader.as" var mLoader1:mLoader = new mLoader( ); ... while my .as file only contains: class mLoader { } but i get the following error: **Error** Z:\design\murderdesign.com\reusable\loader\mLoader.as: Line 1: Classes may only be defined in external ActionScript 2.0 class scripts. class mLoader { Total ActionScript Errors: 1 Reported Errors: 1 any idea what that is? ___ 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] oop question?
On 01/03/06, murder design <[EMAIL PROTECTED]> wrote: > #include "mLoader.as" > > var mLoader1:mLoader = new mLoader( ); > > > ... while my .as file only contains: > > class mLoader { > } Classes are "imported" not "included". Classes in the same directory as the FLA don't need to be imported. FYI: The F8 manual has some good tutes on getting started with using classes. I recommend that you give them a good read :) -K ___ 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] oop question?
You're mixing together AS1 and AS2. #include should be import: import mLoader; You're getting the error because you're trying in include the source of a class inside the flash, instead of importing the class itself. C murder design wrote: my main flash file only contains: #include "mLoader.as" var mLoader1:mLoader = new mLoader( ); ... while my .as file only contains: class mLoader { } but i get the following error: **Error** Z:\design\murderdesign.com\reusable\loader\mLoader.as: Line 1: Classes may only be defined in external ActionScript 2.0 class scripts. class mLoader { Total ActionScript Errors: 1 Reported Errors: 1 any idea what that is? ___ 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] Q:Add tracking to dynamic text
What exactly are you trying to do? The kerning property seems to have very limited potential and if you like myself are on a Mac the quote below will lbe disturbing. The kerning property is only supported in SWF files created in Windows, not in SWF files created on the Macintosh. However, Windows SWF files *can* be played in non-Windows versions of Flash Player, and the kerning will still apply. On 3/1/06, James Deakin <[EMAIL PROTECTED]> wrote: > > *These should all prove interesting:* > > > http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=2811.html > > ** > > * > *http://livedocs.macromedia.com/flash/8/main/1133.html > > *TextFormat.kerning* *Property* Lets you turn kerning on or off for the > TextFormat object. > > *TextFormat.leading * *Property* Lets you use negative leading, so the > space between lines is less than the text height. This lets you put lines of > text close together in your applications. > > *TextFormat.letterSpacing * *Property* Lets you specify the amount of > space that is uniformly distributed between characters. > > > On 3/1/06, Mike Britton <[EMAIL PROTECTED]> wrote: > > > A couple things I saw in the docs: > > > > "Kerning is supported for embedded fonts only. " > > "The kerning property is only supported in SWF files created in > > Windows, not in SWF files created on the Macintosh." > > > > Mike > > ___ > > 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] oop question?
murder design wrote: #include "mLoader.as" import mLoader; And when the class is actually situated in the same folder as the fla-file, no import is needed :) So you can either change the include to import or delete it entirely :) -- Morten Barklund - Information Architect - TBWA\Play Gothersgade 49, 4th floor - DK-1123 Copenhagen K, Denmark Phone: +45 7027 2227 - Fax: +45 3369 1174 ___ 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] Q:Add tracking to dynamic text
*These should all prove interesting:* http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=2811.html ** * *http://livedocs.macromedia.com/flash/8/main/1133.html *TextFormat.kerning* *Property* Lets you turn kerning on or off for the TextFormat object. *TextFormat.leading * *Property* Lets you use negative leading, so the space between lines is less than the text height. This lets you put lines of text close together in your applications. *TextFormat.letterSpacing * *Property* Lets you specify the amount of space that is uniformly distributed between characters. On 3/1/06, Mike Britton <[EMAIL PROTECTED]> wrote: > > A couple things I saw in the docs: > > "Kerning is supported for embedded fonts only. " > "The kerning property is only supported in SWF files created in > Windows, not in SWF files created on the Macintosh." > > Mike > ___ > 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] Q:Add tracking to dynamic text
"The kerning property is only supported in SWF files created in Windows, not in SWF files created on the Macintosh." LOL ___ 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] Bold and italic charater options with html text
Hi List, I have posted this a few times. Am i asking a question which has already been covered or can i get this info else where. I have read the manual and consulted my mook books but am none the wiser. Please help! I'm having a few issues with html formatted text-fields. I have embedded the following fonts in the library and given them linkage names Helvetica 55 Roman, 75 Helvetica Bold, Helvetica 56 Italic. Then I am using the code below to try to dynamically produce a textfield which can be populated with text marked up with simple html tags ( in the real application the text will come from an XML file containing said text). My client wishes to use html as their copy writers know how to use it. My problem is this the tags are ignored. What is the best course of action/ best practice in this situation? I was thinking of creating a function to assign a bold textformat (theBold) to the characters in the textfield. I could get the index of the text using pattern matching in the string but that just seems a bit like over kill isn't there a better way? theRoman = new TextFormat("Helvetica 55 Roman", 15, 0x33, true, false, false, null, null, "center"); theBold = new TextFormat("75 Helvetica Bold", 15, 0x33, true, false, false, null, null, "center"); theItalic = new TextFormat("Helvetica 56 Italic", 15, 0x33, true, false, false, null, null, "center"); // create a text feild this.createTextField('txtMain', 0, 10, 10, 300, 300); // txtMain.html = true; txtMain.background = true; txtMain.backgroundColor = 0xFF6600; txtMain.wordWrap = true; txtMain.embedFonts = true; txtMain.setNewTextFormat(theRoman); txtMain.htmlText = " Last Updated: Wednesday, 15 February 2006,"; txtMain.htmlText += "23:48 GMT E-mail this to a friend Printable version US attacks Iraq abuse images leak"; // set another text format txtMain.setTextFormat(0, 6, theBold); txtMain.setTextFormat(6, 15, theItalic); James Deakin ___ 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] textfield swapDepths
Accidentally discovered a workaround: although you could not apply swapDepth to textField directly, you could do it with help of mc dummy: //text_txt - text field on a timeline var newTFdepth = 1; mc = this.createEmptyMovieClip("dummy", newTFdepth); trace("1 t:" + text_txt.getDepth())//traced: -16383 trace("1 mc:" + mc.getDepth()) //traces: 1 var oldTFdepth = text_txt.getDepth(); mc.swapDepths( oldTFdepth ); trace("2 t:" + text_txt.getDepth());//traces: 1 trace("2 mc:" + mc.getDepth());//traced: -16383 - Original Message - From: "Dimitrios Bendilas" <[EMAIL PROTECTED]> To: Sent: Thursday, February 09, 2006 10:51 AM Subject: [Bulk] [FlashCoders] textfield swapDepths Hello everyone, I'm using .swapDepths() on a textfield on the stage, that was not created dynamically, but was placed there from iside the Flash IDE. It's depth doesn't change and it remains negative. Is this how it should work? Thanks, Dimitrios ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ 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] oop question?
my main flash file only contains: #include "mLoader.as" var mLoader1:mLoader = new mLoader( ); ... while my .as file only contains: class mLoader { } but i get the following error: **Error** Z:\design\murderdesign.com\reusable\loader\mLoader.as: Line 1: Classes may only be defined in external ActionScript 2.0 class scripts. class mLoader { Total ActionScript Errors: 1 Reported Errors: 1 any idea what that is? ___ 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] Q:Add tracking to dynamic text
A couple things I saw in the docs: "Kerning is supported for embedded fonts only. " "The kerning property is only supported in SWF files created in Windows, not in SWF files created on the Macintosh." Mike ___ 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] Returning an XML Object
Howdy folks, Just trying to get my head wrapped around this issue. In photo_navigation.as, I'm trying to get back a return type of XML from xml_loader. But when I attempt this: "trace("my_xml = " + my_xml);", I end up getting: "my_xml = undefined". Somewhere along the line I'm losing the my_xml value in xml_loader.as because the value returned is empty. I've been banging my head against this problem awhile now and need a second or third opinion... // Contents of xml_loader.as: class xml_loader extends MovieClip { // constructor public function xml_loader() { } // public method to load the xml file public function load_xml(xml_file:String) { var myclass = this // Create a local variable that points back to the current object var thisObj:xml_loader = this; // Create a local variable, which is used to load the XML file. var my_xml:XML = new XML(); // Ignore whitespace my_xml.ignoreWhite = true; // Upon successful load of the xml file my_xml.onLoad = function(success:Boolean) { if (success) { thisObj.init(my_xml); // return the my_xml variable value return my_xml; } else { trace("error loading XML"); return null; } }; // Begin loading the XML document. my_xml.load(xml_file); } public function init(my_xml):Void { // uncommenting the following line results in the xml being printed correctly // trace(my_xml); } } // Contents of photo_navigation.as class photo_navigation extends xml_loader { // constructor public function photo_navigation(xml_file:String) { // take the xml_file string and pass it to the superclass "xml_loader" var my_xml = load_xml(xml_file); // trace out the contents of "my_xml" trace("my_xml = " + my_xml); } } // Contents of photos.xml Thanks for any help you can give me! ___ 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] Flash and server side databases
Yes. Doa a search for flash remoting. You'll find volumes of info. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alberto Florentin Sent: Wednesday, March 01, 2006 8:04 AM To: Flashcoders mailing list Subject: [Flashcoders] Flash and server side databases Hi all, I have been programming in Flash for quite a while, but always in the basic sense of rather complex applications which run on web pages or projectors. I have never done any communication with servers (apart from loading xml files in flash which I upload via FTP) Would flash be a good tool for interactive applications that communicate with rather large server-side databases? What other tools do I need to look into in order to start working towards this direction? thanks a lot Alberto ___ 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] Flash application crashes IE when player 7 is installed
Hi List, I have this weird thing, I build an application that displays different videosIt interacts with a database via ASP that generates some XML and it all works fine.in flash player 8 that is! My client needs to have a working version for the 7 player but when I export to flash player 7 and view it in a browser that has the player 7 installed I get an error: InternetExplorer has encountered an error with an add-on The following add-on was running when this occurred File: flash.ocx - And then My IE crashes... If I reinstall the flash 8 player for my browser everything works fine (with the movie still being a flash 7 export) Anybody knows what this could be, any known issues concerning flash player 7 that crashes? Thx in advance for any comments, //W ___ 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] Q:Add tracking to dynamic text
> Didn't Flash 8 bring with it justified text & also the ability to adjust the > space between letters? I don't have a reference book nearby but I am almost > positive its in there. I think he's looking for "kerning" support, which is present.. Try looking up the TextFormat class in the manual (or searching for "kerning" I guess). hth -K ___ 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] searching jsfl or window.swf that does createClassObject code out of stage items ....
the subject says it all, i know i've found one some time ago, but have no copy anymore, nor do i remember where i got that from ... if somebody would be so kind ... 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
Re: [Flashcoders] Q:Add tracking to dynamic text
Oops - I was thinking of something else. Didn't Flash 8 bring with it justified text & also the ability to adjust the space between letters? I don't have a reference book nearby but I am almost positive its in there. On 3/1/06, Mike Britton <[EMAIL PROTECTED]> wrote: > > I've never heard of this being possible with dynamic text fields. With > regular text fields you simply adjust the value with the IDE, of > course. If > it is possible I'd like to know myself. > > Mike > ___ > 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] Flash and server side databases
Hi all, I have been programming in Flash for quite a while, but always in the basic sense of rather complex applications which run on web pages or projectors. I have never done any communication with servers (apart from loading xml files in flash which I upload via FTP) Would flash be a good tool for interactive applications that communicate with rather large server-side databases? What other tools do I need to look into in order to start working towards this direction? thanks a lot Alberto ___ 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] Q:Add tracking to dynamic text
Hi Does anyone know of an easy way to add tracking to dynamic text? Thanks Jim Bachalo [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca "...all improvisation is life in search of a style." - Bruce Mau,'LifeStyle' ___ 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] Q:Add tracking to dynamic text
I've never heard of this being possible with dynamic text fields. With regular text fields you simply adjust the value with the IDE, of course. If it is possible I'd like to know myself. Mike ___ 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: getting language and locality via Windows registry
Yep, this Key´s name (like all Windows keys) is the same on all Languages. At least for single-byte languages, but I´m almost sure it´s also for double-bytes -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mendelsohn, Michael Sent: Wednesday, March 01, 2006 4:04 PM To: Flashcoders mailing list Subject: [Flashcoders] OT: getting language and locality via Windows registry Hi list... I'm trying to read a registry entry, so for me it's a job for Director, hence OT, but... I'd like to find out from people who AREN'T running an English version of Windows -- are the actual names of the reg entries the same? In other words HKEY_CURRENT_USER\Control Panel\International\sLanguage on my machine gives "ENU", but the reg key itself is written in English. Say someone is running Windows in Spanish for example, would the key be called HKEY_CURRENT_USER\tablero autoridad\internacional\sLengua, or is it still the English. And what about for double-byte languages? Thanks, - Michael M. ___ 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] Q:Add tracking to dynamic text
If you are trying to line up an element on the horizontal, you can come close by using an off-stage dynamic clip, and using some tricks, get the length of the text to the spot you want - and use that, etc. Otherwise for now, you're best using a monospaced font in all its ugliness. At least I think. - e.dolecki On 3/1/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Yes > By tracking I mean > the horizontal spacing between letters... > > > [e] jbach at bitstream.ca > [c] 416.668.0034 > [w] www.bitstream.ca > > "...all improvisation is life in search of a style." > - Bruce Mau,'LifeStyle' > ___ > 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] OT: getting language and locality via Windows registry
Hi Michael, i'am running a french version and i have also HKEY_CURRENT_USER\Control Panel\International\sLanguage , the value here is "FRB" Patrice - Original Message - From: "Mendelsohn, Michael" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Wednesday, March 01, 2006 4:03 PM Subject: [Flashcoders] OT: getting language and locality via Windows registry Hi list... I'm trying to read a registry entry, so for me it's a job for Director, hence OT, but... I'd like to find out from people who AREN'T running an English version of Windows -- are the actual names of the reg entries the same? In other words HKEY_CURRENT_USER\Control Panel\International\sLanguage on my machine gives "ENU", but the reg key itself is written in English. Say someone is running Windows in Spanish for example, would the key be called HKEY_CURRENT_USER\tablero autoridad\internacional\sLengua, or is it still the English. And what about for double-byte languages? Thanks, - Michael M. ___ 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] Q:Add tracking to dynamic text
Yes By tracking I mean the horizontal spacing between letters... [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca "...all improvisation is life in search of a style." - Bruce Mau,'LifeStyle' ___ 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] OT: getting language and locality via Windows registry
Hi list... I'm trying to read a registry entry, so for me it's a job for Director, hence OT, but... I'd like to find out from people who AREN'T running an English version of Windows -- are the actual names of the reg entries the same? In other words HKEY_CURRENT_USER\Control Panel\International\sLanguage on my machine gives "ENU", but the reg key itself is written in English. Say someone is running Windows in Spanish for example, would the key be called HKEY_CURRENT_USER\tablero autoridad\internacional\sLengua, or is it still the English. And what about for double-byte languages? Thanks, - Michael M. ___ 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] Q:Add tracking to dynamic text
My guess is the space between the letters? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Britton Sent: Wednesday, March 01, 2006 10:36 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Q:Add tracking to dynamic text What do you mean by tracking? Make a dynamic text field automatically populate with a value based on some conditions? Sorry if this is obvious and I'm just not understanding. Mike ___ 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] Q:Add tracking to dynamic text
What do you mean by tracking? Make a dynamic text field automatically populate with a value based on some conditions? Sorry if this is obvious and I'm just not understanding. Mike ___ 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] Filereference upload on macintosh
Hi, I've been working on an extensive upload component making use of the flash 8 filereference classes. Everything works great on windows ,no problems there but on macintosh I'm experiencing lots of problems. I've tested it for a while and noticed that neither the onProgress or onComplete events are triggered while uploading on a mac. I've read in other threads here on flashcoders that sometimes indeed one of the events doesn't trigger. But in all problem situations I've read about ,there only seems to be 1 broken event not 2. I could easily make a quick fix if either the onComplete or onProgress event work but with only the onOpen event triggering there's not much I can do. Things i've tried: - simplifying my code to a very basic version : make an listenerObject, define the events , assign the listenerObject to the filereference object, browse, upload (basicly textbook version) - server side uploading with a coldfusion cfm page containing only this. The normal method I am using that works like a charm on windows. connectionstring being = http://.../upload.cfm?dir= - server side uploading with a coldfusion service file, cfc. Tried this because somebody fixed the onComplete event by making sure the uploadscript returned something. connectionstring being = http://../upload.cfc?method=doUpload&dir =... I am testing everything on mac os X version 10.4.5 , Safari and internet explorer mac edition browser. Anyone who encountered these problems before ,and perhaps found a fix ,that can help me? I'd greatly appriciate it. Thanks. Yves ___ 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] fscommand("exec","...") in a standalone app
any method for passing variables from one flash file to another.. the first one was embedded in html Have you looked at LocalConnection objects? 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
RE: [Flashcoders] FlashDevelop and scope
Just a quicky, I believe this is the way it should do completion. "this" is always the class, not the flash quirks. Might be different though :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Rønning Sent: woensdag 1 maart 2006 13:20 To: Flashcoders mailing list Subject: [Flashcoders] FlashDevelop and scope A quick example class class MyClass{ var socket:XMLSocket; function parse(data:String):Void{ } function MyClass(){ socket = new XMLSocket(); //interesting bit socket["creator"]=this; socket.onData = function(data){ this.creator.parse(data); } } } I know this isn't the best way to do it (hello delegate), but still. One of the big things in FlashDevelop for me is the dynamic code completion, and when i type "this." in the onData handler, it gives me a list of methods for MyClass, when it should give me methods for socket. Or am i wrong? The scope of handlers confuses me. - Andreas ___ 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