RE: [Flashcoders] using this in AS3 classes?

2011-06-08 Thread Cor
Micky, There are no stupid questions! Only stupid people who don't ask their question... and yes, there are stupid answers. :-) As for the prefix, IMO it is unnecessary, but some people find it easier to read their code. I'll will not call myself a pro, but I never use it. HTH, Cor

Re: [Flashcoders] using this in AS3 classes?

2011-06-08 Thread Jens Struwe
You need the this in any case the scope of the variable or method is not clear. In all other cases the this is not necessary. I don't use it. Tools such as FDT highlight instance properties differently to local or argument variables. This makes it easy to visually detect the scope of a

Re: [Flashcoders] using this in AS3 classes?

2011-06-08 Thread Geografiek
Hi Micky, Colin Moock (in EAS3) explicitly advises agains the redundant use of 'this' to avoid visual clutter. When you work in the Flash IDE though (sorry Jason) it has the advantage that all variables and methods of 'this' are available in the code hinting contextual menu. So I think it's

[Flashcoders] AIR + Google Maps = not working

2011-06-08 Thread Karim Beyrouti
Hello List - I am trying to get Google Maps working in an AIR app (for desktop). Currently I am not able to get the maps to initialise and work in an AIR application. Has anyone managed to get the googleMaps as3 component to work inside an AIR application ? Best Karim Beyrouti

[Flashcoders] as3 component screen redraw

2011-06-08 Thread Geografiek
Hi list, In a large project I encounter a strange problem, which I don't know how to tackle. The project is almost done and only now it appears that a significant part of the targetted users view the project on a thin client with NX (? completely out of my league here). On 'normal' computers

Re: [Flashcoders] as3 component screen redraw

2011-06-08 Thread Henrik Andersson
My gut instinct says that something is messing with the delay rendering system that the components are using. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] as3 component screen redraw

2011-06-08 Thread Cor
Hoi Willem, Je moet even je .htaccess aanpassen want je hebt de deur open staan: http://www.vluchtelingenatlas.nl/php/ Groeten, Cor van Dooren -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Geografiek

Re: [Flashcoders] as3 component screen redraw

2011-06-08 Thread Geografiek
Hi Hendrik, Thanks for your quick response but: a) what might 'something' be? b) what is the delay rendering system? Anything I can influence? Thanks, Willem van den Goorbergh On 8 jun 2011, at 14:31, Henrik Andersson wrote: My gut instinct says that something is messing with the delay

Re: [Flashcoders] AIR + Google Maps = not working

2011-06-08 Thread Karim Beyrouti
Figured it out, in air you have to define a URL for the map component. i.e.: zoomMap.url= 'http://myWebsite.com' Cheers Karim On 8 Jun 2011, at 12:49, Karim Beyrouti wrote: Hello List - I am trying to get Google Maps working in an AIR app (for desktop). Currently I am not

Re: [Flashcoders] XML Gallery Viewer

2011-06-08 Thread John R. Sweeney Jr
When your in a pinch, you could look into one of the components at www.flashden.com or www.flashloaded.com and look at the methods and properties that you have access too. Then you can do a lot of custom stuff around or over that component. Not the best way, but when time is short, it can work.

RE: [Flashcoders] using this in AS3 classes?

2011-06-08 Thread Merrill, Jason
When you work in the Flash IDE though (sorry Jason) Ugh. :) I agree though, using this has an advantage of code hinting for the class, in other tools tool like Flashbuilder. However, I never use it, it's redundant and agree with Moock it only adds visual clutter. Rarely is using this

[Flashcoders] reading a very simple XML file

2011-06-08 Thread ACE Flash
Hi guys, I am pulling out my hair :(, my code can retrieve the xml file without any problem. But I was not able to retrieve each node in the follow case. Would you please help me to take a look my code? am I mising somehing? Cheers = XML FILE ?xml version=1.0 encoding=UTF-8? root asset

RE: [Flashcoders] reading a very simple XML file

2011-06-08 Thread Cor
Try this: trace(xmlData.asset[i]); instead of trace(xmlData.children()[i]); // === but I can;t get each node here... Groeten, Cor van Dooren www.codobyte.com -- There are only 10 types of people in the world: Those who

Re: [Flashcoders] reading a very simple XML file

2011-06-08 Thread ACE Flash
thanks Cor, I have already tried this and it returned nothing as well. It's very weird!. I was able to retrieve the length by this, it returned 3. trace(xmlData.asset.length()); On Wed, Jun 8, 2011 at 11:17 AM, Cor c...@chello.nl wrote: Try this: trace(xmlData.asset[i]); instead of

RE: [Flashcoders] reading a very simple XML file

2011-06-08 Thread Cor
I will create a fla and xml and get back to you... Regards Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of ACE Flash Sent: woensdag 8 juni 2011 17:29 To: Flash Coders List Subject: Re: [Flashcoders]

RE: [Flashcoders] reading a very simple XML file

2011-06-08 Thread Cor
Aahh, I understand. Your children are in fact empty!! You use only attributes. Try this: trace(xmlData.asset[i].@size) Groeten, Cor van Dooren www.codobyte.com -- There are only 10 types of people in the world: Those who

Re: [Flashcoders] reading a very simple XML file

2011-06-08 Thread Glen Pike
Hi, You should be able to do: var children:XMLList = xmlData.children(); foreach(var child:XML in children) { trace(child.toXMLString()); } make sure you use toXMLString for tracing XML elements - otherwise you end up with blanks sometimes. Glen On 08/06/2011 16:28,

Re: [Flashcoders] reading a very simple XML file

2011-06-08 Thread Glen Pike
Ooop, sorry make that for each() On 08/06/2011 16:28, ACE Flash wrote: thanks Cor, I have already tried this and it returned nothing as well. It's very weird!. I was able to retrieve the length by this, it returned 3. trace(xmlData.asset.length()); On Wed, Jun 8, 2011 at 11:17 AM,

Re: [Flashcoders] reading a very simple XML file

2011-06-08 Thread ACE Flash
right you could retrieve the attributes by doing that, but what I am going to get is the node like this== asset type=IMAGE url=www.google.com filename=googlefilename size=1000/ The reason I am asking this is because I need to merger two xml files, is that possible to retrieve the entire node not

RE: [Flashcoders] reading a very simple XML file

2011-06-08 Thread Cor
This solves it: //XML: ?xml version=1.0 encoding=UTF-8? root asset typeIMAGE/type urlwww.google.com/url filenamegooglefilename/filename size1000/size /asset asset typeIMAGE/type urlwww.yahoo.com/url filenameyahoofilename/filename size1200/size /assetasset typeIMAGE/type

Re: [Flashcoders] reading a very simple XML file

2011-06-08 Thread ACE Flash
Hi Cor, I appreciate your help on this. :) On Wed, Jun 8, 2011 at 11:43 AM, Glen Pike g...@engineeredarts.co.ukwrote: Hi, You should be able to do: var children:XMLList = xmlData.children(); foreach(var child:XML in children) { trace(child.toXMLString()); } make

Re: [Flashcoders] using this in AS3 classes?

2011-06-08 Thread Micky Hulse
Awesome!!! All you folks kick butt! Thanks to everyone for the pro tips/advice. :) Have a great week all, and happy coding! Cheers, Micky ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] sneaky AIR

2011-06-08 Thread Karl DeSaulniers
Hello all, Has anyone here heard of the PrivateEncriptedDatak keychain that Adobe has? Evidently Adobe installs their own keychain access on your computer and locks you out of it! W.. T.. H.. ??? How do I remove this? What is it for? AND Why am I locked out of it, its MY

Re: [Flashcoders] sneaky AIR

2011-06-08 Thread Henrik Andersson
Karl DeSaulniers skriver: Hello all, Has anyone here heard of the PrivateEncriptedDatak keychain that Adobe has? That's not even spelled correctly. I don't buy it. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com