Re: [Flashcoders] AS3 XML Namespaces Hell

2008-03-16 Thread Muzak
Odd, I used your xml for testing and it shows: http://tempuri.org/ //XML ?xml version=1.0 encoding=UTF-8? string xmlns=http://tempuri.org/; photos item![CDATA[http://www.somedomain.com/photos/jvc_1205424535bernard2.jpg]]/item

Re: [Flashcoders] AS3 XML Namespaces Hell

2008-03-16 Thread Jason Van Cleave
I think I have some other things that are tripping it up. Looking in the debugger my event.target.data is coming in partially unescaped ?xml version=1.0 encoding=utf-8? string xmlns=http://tempuri.org/ lt;photosgt;lt;itemgt;lt;![CDATA[http:// On Sun, Mar 16, 2008 at 2:53 AM, Muzak [EMAIL

Re: [Flashcoders] AS3 XML Namespaces Hell

2008-03-16 Thread Muzak
What does this output? var data:XML = new XML(evt.currentTarget.data); trace(data.toXMLString()); Are you loading an xml file or xml data returned from a script file (php, asp, cf, etc..)? regards, Muzak - Original Message - From: Jason Van Cleave [EMAIL PROTECTED] To: Flash Coders

Re: [Flashcoders] ScrollBar Class issues

2008-03-16 Thread Allandt Bik-Elliott (Receptacle)
hmmm yeh - i thought it might be something like that - thanks for the suggestion a On 15 Mar 2008, at 21:15, Kenneth Kawamoto wrote: ...or listen to the scroll event and move the Sprite according to the scrollPosition. Kenneth Kawamoto http://www.materiaprima.co.uk/ Allandt Bik-Elliott

[Flashcoders] Writing Custom MovieClip Classes

2008-03-16 Thread Omar Fouad
I have a MovieClip in my project that I put in the library. This MovieClip is used in the application lots of times and I attach it on the stage on run time when required like var DC:DataCard = new DataCard(); DC.x = Math.random()*550; DC.y = Math.random()*400; addChild(DC); In the Identifier

[Flashcoders] Authenticating a REST service from a flash swf

2008-03-16 Thread Matt Muller
Hi, has anyone got any advice on approaching this subject? Thanks MaTT ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] AS3 XML Namespaces Hell

2008-03-16 Thread Jason Van Cleave
its being returned from .net/sharepoint, here's the output string xmlns=http://tempuri.org/;lt;photosgt;lt;itemgt;lt;![CDATA[

Re: [Flashcoders] AS3 XML Namespaces Hell

2008-03-16 Thread Jason Van Cleave
to clarify, .net/sharepoint meaning a script. On Sun, Mar 16, 2008 at 2:49 PM, Jason Van Cleave [EMAIL PROTECTED] wrote: its being returned from .net/sharepoint, here's the output string xmlns=http://tempuri.org/;lt;photosgt;lt;itemgt;lt;![CDATA[

Re: [Flashcoders] Writing Custom MovieClip Classes

2008-03-16 Thread Steven Sacks
What is nameTF? I don't see it declared in your class. If you are using Automatically declare stage instances, turn it off. Adobe put it in there specifically for newbies to code, it's not meant for proper developers to use. Keep in mind you need to declare your stage instances as public

Re: [Flashcoders] Writing Custom MovieClip Classes

2008-03-16 Thread Omar Fouad
NameTF is the name of the textField in the MovieClip in FLA On Sun, Mar 16, 2008 at 9:42 PM, Steven Sacks [EMAIL PROTECTED] wrote: What is nameTF? I don't see it declared in your class. If you are using Automatically declare stage instances, turn it off. Adobe put it in there specifically

Re: [Flashcoders] Writing Custom MovieClip Classes

2008-03-16 Thread Omar Fouad
and by the way nameTF.text = bla bla works in the class. It changes the textField text in the DataCard movieClip inside the fla file. But thanks anyways. :D On Sun, Mar 16, 2008 at 9:55 PM, Omar Fouad [EMAIL PROTECTED] wrote: NameTF is the name of the textField in the MovieClip in FLA On

Re: [Flashcoders] AS3... when to start?

2008-03-16 Thread Rich Shupe
Micky, This thread became a Flash IDE versus FlexBuilder/other tool discussion but, back to your original question, you can still code, and find resources to help, AS3 in Flash. I recently co-wrote a book with this in mind, for Flash users wanting to learn AS3. It's definitely aimed at

[Flashcoders] frameworks and classes for flash cs3

2008-03-16 Thread Pedro Kostelec
Hi coders I want to start coding with frameworks and classes like TweenLite. I would be pretty new at it, so i'd like you to recommend me some of them that makes flash coding easier or faster and improving performence. Thanks -- Pedro D.K. ___

Re: [Flashcoders] frameworks and classes for flash cs3

2008-03-16 Thread Pedro Taranto
look at osflash.org and code.google.com -- Pedro Taranto On Sun, Mar 16, 2008 at 7:36 PM, Pedro Kostelec [EMAIL PROTECTED] wrote: Hi coders I want to start coding with frameworks and classes like TweenLite. I would be pretty new at it, so i'd like you to recommend me some of them that

Re: [Flashcoders] frameworks and classes for flash cs3

2008-03-16 Thread Pedro Kostelec
If I start searching this two sites (which i did once) i will fill my computer with stuff i will surely never use. I just want to get the best ones, the most used...which for a curious person like me is impossible. So, can't you just tell which one are the best? I mean i am mostly using fLASH

Re: [Flashcoders] AS3 XML Namespaces Hell

2008-03-16 Thread Muzak
Well, I think that output is wrong, or better yet, not suited for flash to consume. - Original Message - From: Jason Van Cleave [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Sunday, March 16, 2008 7:49 PM Subject: Re: [Flashcoders] AS3 XML Namespaces

Re: [Flashcoders] frameworks and classes for flash cs3

2008-03-16 Thread Glen Pike
There is no best one as the framework you need may depend on the job you want to do, e.g. PhotoShop is good for bitmaps, whilst Illustrator is good for drawing (that's not an opinion, just an example). So I would suggest what you need to do is to be a bit more proactive and read up on the

Re: [Flashcoders] frameworks and classes for flash cs3

2008-03-16 Thread Pedro Taranto
what are the 'best' framework/classes is very subjective, there isnt an UNIQUE framework that will solve all your problems you have to choose and use the ones that speed up your workflow In most of my projects I use pixlib (as2) and lowra (as3), but there are a lot of frameworks that is better

[Flashcoders] AS3 Classes and FLA not working together

2008-03-16 Thread Omar Fouad
So, I am trying to do an application in Air with Flash CS3. I can't deny, I am starting to hate AS3! First of all, The document class technique (wich lets you set the name of the starting class in the Document Class Text field) is not working while developing in AIR. It only works in an

Re: [Flashcoders] AS3 Classes and FLA not working together

2008-03-16 Thread Andrei Thomaz
hello Omar, I'm developing a graphical editor for e-learning content using AIR. The Document Class works fine for me. The only problem I had was that I had to make it extend MovieClip, and put a stop() in its first frame. You have to use a stop(), or else your app will flash indefinetely. While I

Re: [Flashcoders] AS3 Classes and FLA not working together

2008-03-16 Thread Jason Van Cleave
Create a Class for AmlakPanel instead of letting Flash generate it may help you get a little further in debugging On Sun, Mar 16, 2008 at 9:20 PM, Andrei Thomaz [EMAIL PROTECTED] wrote: hello Omar, I'm developing a graphical editor for e-learning content using AIR. The Document Class works

[Flashcoders] AS3 Coding Conventions Question

2008-03-16 Thread Jason Van Cleave
This is a pretty nice doc and I agree/use most of these while doing as3 development. The use of ALL_CAPS constants makes sense to me but I am not understanding what the purpose would be to not make the variable be the same as the value. For instance, this is what Adobe says and does from: