Re: [Flashcoders] XML loading and parsing problem

2007-07-08 Thread Paul Andrews
- Original Message - From: Omar Fouad [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Sunday, July 08, 2007 1:07 AM Subject: Re: [Flashcoders] XML loading and parsing problem YESS! thanks DUDE actually it worked without delegate, when i added ignore white...:D

Re: [Flashcoders] XML loading and parsing problem

2007-07-08 Thread Paul Andrews
- Original Message - From: Muzak [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Sunday, July 08, 2007 1:55 AM Subject: Re: [Flashcoders] XML loading and parsing problem 3 people posting similar (allmost identical) examples, all using Delegate should give you a clue ;-)

Re: [Flashcoders] XML loading and parsing problem

2007-07-08 Thread Muzak
erhmm.. Then show me how you use 'this' inside an xml onload handler to invoke a method outside the handler. Or better yet, prove me this: quote If the xml is all setup on the main timeline, then 'this' is the same in both cases /quote regards, Muzak - Original Message - From:

Re: [Flashcoders] Re: Seeking Experienced Developer for Connecting Flash to Databases with Java

2007-07-08 Thread Jordan L. Chilcott
Why not just use openAMF and Hibernate to connect to your J2EE app database from Flash using Flash remoting. Hibernate will do all of the talking to Oracle (as long as you're not using BLOBs... that needs to be coded using JDBC alone at the moment). jord On Jul 7, 2007, at 2:22 AM, Phil

Re: [Flashcoders] XML loading and parsing problem

2007-07-08 Thread T. Michael Keesey
On 7/8/07, Paul Andrews [EMAIL PROTECTED] wrote: It's completely wrong to insist that you have to use a delegate in all situations. True--another case where you don't need them is when using static functions. -- Mike Keesey ___

RE: [Flashcoders] Cross Domain Policy Files

2007-07-08 Thread Fruber Malcome
This doesn't look like a crossdomain problem, specifically because you didn't see the sandbox security warning. Is this url testable? (e.g. should we click it and get something?) It may have something to-do with the https, how are you setting up the call to this - do you have the snipptet of code

Re: [Flashcoders] XML loading and parsing problem

2007-07-08 Thread Muzak
OK, my comment about 'this' isn't completely right, but I am certainly right about the use of Delegate for the XML loader. You comment about 'this' was completely wrong.. ;-) You're right if you say that *you don't have to* use Delegate to be able to access variables outside an onLoad

Re: [Flashcoders] XML loading and parsing problem

2007-07-08 Thread Muzak
I never said you have to use a delegate in all situations. - Original Message - From: T. Michael Keesey [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Sunday, July 08, 2007 6:16 PM Subject: Re: [Flashcoders] XML loading and parsing problem On 7/8/07, Paul Andrews

Re: [Flashcoders] XML loading and parsing problem

2007-07-08 Thread Claus Wahlers
Using Delegate is just one of those best practices and should be used at all times, even if it kinda works without. +1 Also, Omar *might* want to refactor his code later. Using Delegate he likely won't run into any trouble. Cheers, Claus. ___

RE: [Flashcoders] Cross Domain Policy Files

2007-07-08 Thread Paul Steven
Thanks Fruber for the reply to my question The link should return some xml however it appears the server is down so it is unlikely to be up again until Monday. Anyway since posting, I have realised that for my application there is no need for a cross domain file as it will be a standalone

Re: [Flashcoders] XML loading and parsing problem

2007-07-08 Thread Paul Andrews
- Original Message - From: Muzak [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Sunday, July 08, 2007 6:22 PM Subject: Re: [Flashcoders] XML loading and parsing problem OK, my comment about 'this' isn't completely right, but I am certainly right about the use of

[Flashcoders] writing as for components

2007-07-08 Thread Pedro Kostelec
hello: I've found a tutorial here:http://www.adobe.com/designcenter/video_workshop/ named writing ActionScript for Components. I have done all it wants me to do it but i got the following errors: 1120: Access of undefined property letters. var randomIndex:uint=

Re: [Flashcoders] writing as for components

2007-07-08 Thread Claus Wahlers
var letter:Array This should be var letters:Array Cheers, Claus. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig

Re: [Flashcoders] writing as for components

2007-07-08 Thread R�kos Attila
Did you notice the difference between identifier letter at variable definition and letters at later references? Attila =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= From:Pedro Kostelec [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] writing as for components

2007-07-08 Thread Paul Andrews
- Original Message - From: Pedro Kostelec [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Sunday, July 08, 2007 8:43 PM Subject: [Flashcoders] writing as for components hello: I've found a tutorial here:http://www.adobe.com/designcenter/video_workshop/ named writing

Re: [Flashcoders] writing as for components

2007-07-08 Thread Pedro Kostelec
Thanks, but there is still the other error 1120: Access of undefined property letters. var randomIndex:uint= Math.floor(Math.random()*letters.length); Pedro 2007/7/8, Paul Andrews [EMAIL PROTECTED]: - Original Message - From: Pedro Kostelec [EMAIL PROTECTED] To:

Re: [Flashcoders] writing as for components

2007-07-08 Thread Pedro Kostelec
Sorry I did not see the other letters. I hate this kind of problems. Nothing works because of a letter(S) Thanks you very much It works now Pedro 2007/7/8, Pedro Kostelec [EMAIL PROTECTED]: Thanks, but there is still the other error 1120: Access of undefined property letters. var

Re: [Flashcoders] writing as for components

2007-07-08 Thread Paul Andrews
- Original Message - From: Pedro Kostelec [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Sunday, July 08, 2007 9:14 PM Subject: Re: [Flashcoders] writing as for components Thanks, but there is still the other error 1120: Access of undefined property letters.

Re: [Flashcoders] writing as for components

2007-07-08 Thread Claus Wahlers
Pedro Kostelec wrote: Thanks, but there is still the other error 1120: Access of undefined property letters. var randomIndex:uint=Math.floor(Math.random()*letters.length); This code works for me: var letters:Array= [A,B,C,D,E,F, G,H,I,J,K,L, M,N,O,P,Q,R, S,T,U,V,W, X,Y,Z,]; function

RE: [Flashcoders] XML loading and parsing problem

2007-07-08 Thread Jesse Graupmann
Look Ma! No Delegate /// var scope = this; var callback = xml_parse; xmlData = new XML(); xmlData.ignoreWhite = true; xmlData.onLoad = xml_loaded; xmlData.load ( gallery.xml ); function xml_loaded( success:Boolean ) { if ( success ) scope [

RE: [Flashcoders] XML loading and parsing problem

2007-07-08 Thread Jesse Graupmann
Muzak, we all know you bought stock in Delegate back in the day - you're just protecting your assets. I'm still curious what the Delegate tattoo looks like... ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Muzak Sent: Sunday, July 08, 2007 3:57 PM

Re: [Flashcoders] XML loading and parsing problem

2007-07-08 Thread Muzak
Damn, my secret's out :( - Original Message - From: Jesse Graupmann [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Monday, July 09, 2007 1:36 AM Subject: RE: [Flashcoders] XML loading and parsing problem Muzak, we all know you bought stock in Delegate back in the day -

Re: [Flashcoders] onPress events from within a Class

2007-07-08 Thread Ricky Bacon
Itai Asseo wrote: Hi - I am relatively new to Classes and OOP, and have come across a strange problem... I have a function in a class that creates dynamic buttons (xml driven). But when I try to actually use the buttons (ala 'onPress = function()') to fire up a different function within the

Re: [Flashcoders] onPress events from within a Class

2007-07-08 Thread Adam Pasztory
Instead of Delegate, use the Proxy class from Person13.com. It will make you happy. http://www.person13.com/articles/proxy/Proxy.htm On 7/8/07, Ricky Bacon [EMAIL PROTECTED] wrote: Itai Asseo wrote: Before you suggest me to use the Delegate class, I've already done that. It works, but

RE: [Flashcoders] onPress events from within a Class

2007-07-08 Thread Jesse Graupmann
One way is to create a MyButton clip in the library and attach a class to it. - Ricky | Good Angel Instead of Delegate, use the Proxy class from Person13.com. It will make you happy. - Adam | Bad Angel ___ Flashcoders@chattyfig.figleaf.com To