Re: [Flashcoders] load many XML files problem

2008-08-24 Thread Pavel Krůšek
I am tracing this issue in flash authoring software, here is trace result (last file is 9.xml, cca 30 files mising): TOTAL 90 = data/pages/2.1.xml data/pages/2.2.xml data/pages/2.3.xml data/pages/2.4.xml data/pages/3.1.1.xml data/pages/3.1.2.xml data/pages/3.1.3.xml

[Flashcoders] E4X case sensitivity

2008-08-23 Thread Pavel Krůšek
Hi List, E4X is case sensitive, is possible to disable case sensitivity for searching? thanks, Pavel ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] E4X case sensitivity

2008-08-23 Thread Pavel Krůšek
ramblings: http://keith-hair.net/blog/2008/06/01/case-insensitive-e4x-filtering/ -- Keith H -- www.keith-hair.net Pavel Krůšek wrote: Hi List, E4X is case sensitive, is possible to disable case sensitivity for searching? thanks, Pavel

[Flashcoders] load many XML files problem

2008-08-23 Thread Pavel Krůšek
Hi List, i am trying to load many XML files, all at once (altogether 90 files). Class PreloadXML works fine, because only cca 40 files are loaded. I don't understand it No error message, loading simply ends... thanks, Pavel package app.site { import flash.display.Sprite;

Re: [Flashcoders] XML deep searching

2008-07-19 Thread Pavel Krůšek
var test:XMLList = _siteXML..*.( re[test]( attribute(name))); [ and ] keeps compiler from warning when using the RegExp test() method Pavel On Jul 19, 2008, at 4:40 AM, Merrill, Jason wrote: OK, I tried this out, but I get a compile-time error Warning: test is not a recognized method of

[Flashcoders] E4X, regexp and user input

2008-07-18 Thread Pavel Krůšek
Hi List, this code work fine for me, successfully return all records with attribute with first letter N: _siteXML..*.( /^[N].*/.test( attribute(name))); but i don't know, how integrate this code with user input (from input textfield) - for example user entered string New. Please help :)

[Flashcoders] Error #1009 and gotoAndStop()

2008-07-12 Thread Pavel Krůšek
Hi List, i have MovieClip with some keyframes, on each keyframe is dynamic TextField with different properties (font, color etc.). In constructor - class NavigationItem.as I'm trying to jump to frame and fill TextField with some text: gotoAndStop( _level ); _label.text = label;

[Flashcoders] variable in e4x filtering

2008-07-09 Thread Pavel Krůšek
Hi List, please is possible to substitute node name in e4x with variable? Anywhere in XML: agency name=NJ Agency namemyAgency/name phone123456/phone

Re: [Flashcoders] variable in e4x filtering

2008-07-09 Thread Pavel Krůšek
Hi, Unfortunately this solution is out of action: 1084: Syntax error: expecting identifier before leftbracket. On Jul 9, 2008, at 3:50 PM, Christoffer Enedahl wrote: Try this: var nodeName:String = agency; _officesXML.[ nodeName ].(@name == NJ Agency) HTH Christoffer Pavel Kru*šek

Re: [Flashcoders] variable in e4x filtering

2008-07-09 Thread Pavel Krůšek
Work perfectly, thank you very much! On Jul 9, 2008, at 4:51 PM, Kenneth Kawamoto wrote: You can do something like this as well - you don't need to know the node name at all: _officesXML.descendants().(hasOwnProperty(@name) @name == NJ Agency) Kenneth Kawamoto

Re: [Flashcoders] variable in e4x filtering

2008-07-09 Thread Pavel Krůšek
Hi, your code can throws error (i try identical code before i sent my question to flashcoders forum), no every one node has necessarily property name On Jul 9, 2008, at 5:15 PM, Romuald Quantin wrote: This will search through everything if you need: _officesXML..*.(@name == NJ Agency)

Re: [Flashcoders] variable in e4x filtering

2008-07-09 Thread Pavel Krůšek
thanks to all for help. _officesXML..*.(attribute(name) == NJ) works for all of us perfectly :) Grant Skinners slides (as3 workshop) are pretty good... On Jul 9, 2008, at 6:11 PM, Kenneth Kawamoto wrote: It's attribute(name), not attribute(@name) Kenneth Kawamoto

[Flashcoders] preloader problem - browser cache

2008-07-05 Thread Pavel Krůšek
Hi List, is there a way to determine in AS3 (or more precisely in preloader swf) if main swf is already in the browser cache? Pavel ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] Warning: 3596: Duplicate variable definition.

2008-06-30 Thread Pavel Krůšek
Hi List, I have written a script, here is piece of some method: private function resetState( e:Event ) { switch(e.target.buttonType) { case 0 : var clip = e.target as

Re: [Flashcoders] problem with loading and parsing XML

2008-06-12 Thread Pavel Krůšek
the debugger?) -jonathan On Wed, Jun 11, 2008 at 5:36 PM, Pavel Krůšek [EMAIL PROTECTED] wrote: Hi i have class for loading and parsing XML file. With test movie (command + enter) is onLoadSite method out of action. With debug mode (command + shift + enter) is all OK and in output window

[Flashcoders] problem with loading and parsing XML

2008-06-11 Thread Pavel Krůšek
Hi i have class for loading and parsing XML file. With test movie (command + enter) is onLoadSite method out of action. With debug mode (command + shift + enter) is all OK and in output window is possible to see trace command (trace(siteData)) What is wrong please? package app.euro {

[Flashcoders] user friendly URL in flash site

2008-06-01 Thread Pavel Krůšek
Hi everybody, can anyone tell me, how to make user friendly URLs in flash site, like it seems for example here: http://www.group94.com/#/website/work/ thnaks, Pavel ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] user friendly URL in flash site

2008-06-01 Thread Pavel Krůšek
Thanks, swfaddress looks good :) On Jun 1, 2008, at 1:56 PM, [EMAIL PROTECTED] wrote: http://www.asual.com/swfaddress/ On Jun 1, 2008, at 2:32 PM, Pavel Krůšek wrote: Hi everybody, can anyone tell me, how to make user friendly URLs in flash site, like it seems for example here: http