Re: [Flashcoders] CS3: Test Movie vs. published swf (or, how to update test player?)

2008-07-21 Thread Benicio del Toro
Just one qiuick thing. the only way to update the test player in Flash that I found is installing latest Flash update. It helped in my case. Replacing files in Flash's players directory doesn't affect the test player. best konrad 2008/7/21, peter ginsberg [EMAIL PROTECTED]: This isn't

Re: [Flashcoders] The Charges Against ActionScript 3.0

2008-07-21 Thread allandt bik-elliott (thefieldcomic.com)
adobe has been saying that the next version of flash will be designer-driven so it's maybe something that is being looked at at the moment On Fri, Jul 18, 2008 at 6:22 PM, daniele tassone [EMAIL PROTECTED] wrote: Double click on the component/botton and auto-creation of AS3 code is other

[Flashcoders] RE: Loop creator

2008-07-21 Thread Anthony Cintron
I'm looking into building a loop manipulator application. I basically want to take 10 preset loops and place them on a time track. Each, loop can be placed before or after another loop. I then want to combine the entire track and export as an mp3, is this possible? Anthony Cintron

[Flashcoders] AS3/Papervision - rotating 3d object with 'hot' areas

2008-07-21 Thread SJM - Flash
Hi Guys im fishing for information on the best way to create a rotating 3d object with 'hot' areas what you can roll over to revel a description. Here is an example... http://www.danzer.ltd.uk/linkpakSpec.htm Instead of frame by frame (like the example) i want to create a fully dynamic 3d

Re: [Flashcoders] AS3/Papervision - rotating 3d object with 'hot' areas

2008-07-21 Thread Ian Thomas
Hi SJM, I'd suggest you ask on the Papervision list: http://osflash.org/mailman/listinfo/papervision3d_osflash.org HTH, Ian On Mon, Jul 21, 2008 at 1:55 AM, SJM - Flash [EMAIL PROTECTED] wrote: Hi Guys im fishing for information on the best way to create a rotating 3d object with 'hot'

Re: [Flashcoders] The Charges Against ActionScript 3.0

2008-07-21 Thread Brian Mays
This has been the pendulum usually swings. Good to hear it. Brian Mays On 7/21/08 6:02 AM, allandt bik-elliott (thefieldcomic.com) [EMAIL PROTECTED] wrote: adobe has been saying that the next version of flash will be designer-driven so it's maybe something that is being looked at at the

Re: [Flashcoders] RE: Loop creator

2008-07-21 Thread Ian Thomas
Hi Anthony, It's definitely possible - the easiest way to do it is if the actual combination of loops/export to MP3 is done server-side (by non-Flash code) and then the user downloads it. HTH, Ian On Sat, Jul 19, 2008 at 5:12 AM, Anthony Cintron [EMAIL PROTECTED] wrote: I'm looking into

Re: [Flashcoders] AS3/Papervision - rotating 3d object with 'hot'areas

2008-07-21 Thread SJM - Flash
Already have, seams to be a little slow in replying! SJM - Original Message - From: Ian Thomas To: Flash Coders List Sent: Monday, July 21, 2008 2:00 PM Subject: Re: [Flashcoders] AS3/Papervision - rotating 3d object with 'hot'areas Hi SJM, I'd suggest you ask on

[Flashcoders] Re: Loop Creator ( Dynamic Sound )

2008-07-21 Thread Anthony Cintron
Hi everyone, I'm working on a concept but not sure if it is possible in AS3 Flash Player 9. I have a client requesting - some feedback would be greatly appreciated. I'm looking into building a loop creator application. I basically want to take preset loops and place them on a time track.

Re: [Flashcoders] Re: Loop Creator ( Dynamic Sound )

2008-07-21 Thread Ian Thomas
Hi Anthony, Didn't I already reply to this? In any case - this version of the question is slightly expanded. :-) Yes, it's possible with ByteArrays, however there is no native MP3 encoding built into Flash Player, so writing code to join and then export a bunch of MP3s together is

RE: [Flashcoders] E4X filtering strange behaviour

2008-07-21 Thread Merrill, Jason
Ah, I know where the confusion came from, you said the code was based on my example, but that was actually Wagner's example, where he put var test:XML = data...etc. (it was based on my example, but he used test as an instance of the XML when requoting my original question) The use of test as the

RE: [Flashcoders] E4X filtering strange behaviour

2008-07-21 Thread Merrill, Jason
Also this is shorter: var xmlListSearch:XMLList = test..topic.(re.test(@title)); If we don't know anything about the XML we could do something like: var xmlListSearch:XMLList = test..*.(re[test](attribute(*)) || re[test](child(*))); Kenneth - no, what I mean is, your examples aren't pointing

Re: [Flashcoders] E4X filtering strange behaviour

2008-07-21 Thread Kenneth Kawamoto
Yes that's that :) Anyway in your case you know the incoming XML schema so you shouldn't use wildcard * - I think wildcards have serious performance hits. i.e. theXML.topics.topic. should be used rather than theXML..*. Kenneth Kawamoto http://www.materiaprima.co.uk/ Merrill, Jason wrote:

RE: [Flashcoders] E4X filtering strange behaviour

2008-07-21 Thread Merrill, Jason
OK good to know, thanks! Jason Merrill Bank of America Enterprise Technology Global Risk LLD Instructional Technology Media Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out

[Flashcoders] RE: Loop creator

2008-07-21 Thread Anthony Cintron
I'm looking into building a loop manipulator application. I basically want to take 10 preset loops and place them on a time track. Each, loop can be placed before or after another loop. I then want to combine the entire track and export as an mp3, is this possible via ActionScript, or do I

RE: [Flashcoders] E4X filtering strange behaviour

2008-07-21 Thread Merrill, Jason
OK, so this is almost there, but not quite. If I do as Kenneth suggested (and this should be able to be reproduced), var testXML:XML = data topics topic title=Coldplays New Album / topic title=The Dark

RE: [Flashcoders] E4X filtering strange behaviour

2008-07-21 Thread Robert Leisle
Hi Jason, This works for me: var testXML:XML = data topics topic title=Coldplays New Album / topic title=The Dark Knight / topic title=Arrested Development: The Movie /

RE: [Flashcoders] E4X filtering strange behaviour

2008-07-21 Thread Merrill, Jason
var re:RegExp = new RegExp(searchInput.text, g) Thanks - so it looks like I need the global flag, but how do I also pass the i (ignore case) flag if the RegExp constructor only takes the two arguments? Jason Merrill Bank of America Enterprise Technology Global Risk LLD Instructional

RE: [Flashcoders] E4X filtering strange behaviour

2008-07-21 Thread Merrill, Jason
Wait, think I got it: var re:RegExp = new RegExp(searchInput.text, g,i); var xmlListSearch:XMLList = testXML..*.( re[test]( attribute(title))); trace(result: +xmlListSearch.toString()); seems to work for me. Thanks eveyrone! Jason Merrill Bank of America Enterprise Technology Global Risk

RE: [Flashcoders] E4X filtering strange behaviour

2008-07-21 Thread Merrill, Jason
OK, I'm like 95% there, but there is still some kind of bug - here is how to reproduce: var testXML:XML = data topics topic title=Coldplay's New Album, Viva La Vida Or Death And All His Friends / topic title=The Dark Knight / topic title=Arrested Development, The Movie / topic

Re: [Flashcoders] E4X filtering strange behaviour

2008-07-21 Thread Kenneth Kawamoto
I don't think you need g (Global flag) for this. Kenneth Kawamoto http://www.materiaprima.co.uk/ Merrill, Jason wrote: Wait, think I got it: var re:RegExp = new RegExp(searchInput.text, g,i); var xmlListSearch:XMLList = testXML..*.( re[test]( attribute(title))); trace(result:

Re: [Flashcoders] E4X filtering strange behaviour

2008-07-21 Thread Wagner Amaral
Indeed, the g seems to make it not work. Not a big problem, since it's useless in this case - the g flag in a test() call makes the search start at a specified index (lastIndex property) What may have confused you, Jason, is the example Robert posted fixed your problem (by removing the ^ character

Re: [Flashcoders] removing all listeners from a dpo

2008-07-21 Thread Fabio Pinatti
On Sun, Jul 20, 2008 at 7:40 PM, Juan Pablo Califano [EMAIL PROTECTED] wrote: PD2: this line should be removed from the unregisterEventListener() _dispatcher.removeEventListener(type, listener, useCapture); since it will cause an infinite loop and the eventListener has already been

Re: [Flashcoders] E4X filtering strange behaviour

2008-07-21 Thread Kenneth Kawamoto
If I may repeat myself I don't think you need g (Global flag) for this. :) The reason is, I quote from the doc, If the g (global) flag is set for the regular expression, then the search starts at the index position specified by the lastIndex property of the regular expression. If the search

[Flashcoders] [AS3] Font Sharing between SWFs

2008-07-21 Thread Helmut Granda
I am running into a small issue, everything is working correctly in my application except for the Font sharing between SWFs. If I embed the font in all the SWFs everything works as expected but of course this is not what I need since it will add weight to other SWFs and defeat the purpose of using

Re: [Flashcoders] E4X filtering strange behaviour

2008-07-21 Thread Kenneth Kawamoto
I just run a quick and dirty test, and I think I can confirm that. The following test for 10,000 times each: testXML..*.( re[test](attribute(title))); testXML..topic.( re[test](attribute(title))); testXML.topics.topic.( re[test](attribute(title))); testXML.topics.topic.( re[test](@title));

Re: [Flashcoders] E4X filtering strange behaviour

2008-07-21 Thread Keith
Thanks for showing these results. I'm not missing the attribute method that much...and after this I don't feel any guilt for it. :) -- Keith H -- http://keith-hair.com Kenneth Kawamoto wrote: I just run a quick and dirty test, and I think I can confirm that. The following test for

[Flashcoders] Re: [AS3] Font Sharing between SWFs

2008-07-21 Thread Helmut Granda
I figured out that I needed to register the font ... Font.registerFont(Class) and it all works as expected... interesting. On Mon, Jul 21, 2008 at 6:08 PM, Helmut Granda [EMAIL PROTECTED] wrote: I am running into a small issue, everything is working correctly in my application except for the

RE: [Flashcoders] E4X filtering strange behaviour

2008-07-21 Thread Merrill, Jason
I was told on Flexcoders that using @string instead of attribute(string) can be problematic because an error will result if the attribute is missing in the node of the XML. Using attribute() won't throw any errors if the attribute is missing in the XML node, and in most cases (depending on what

RE: [Flashcoders] E4X filtering strange behaviour

2008-07-21 Thread Merrill, Jason
So in the following code, why doesn't it find the node containing The Dark Knight? Yet, if I switch out Dark in the RegExp argument for The, it indeed finds all the nodes that have The in it. If I again, switch out the word, Violet, then nothing gets returned. If I put Of, then it returns the

Re: [Flashcoders] E4X filtering strange behaviour

2008-07-21 Thread Keith
Why not use toXMLString(): trace(result: +xmlListSearch.toXMLString()); When I add more than one node with Dark in the title attribute it finds it with toString(). I've always used toXMLString() so I was unaware of this. -- Keith H -- http://keith-hair.com Merrill, Jason wrote: So in