Re: [Flashcoders] Massive XML files and Flash

2006-01-07 Thread MyName
In my current project, I need to be able to pause my traversal function in 
order to load another nested xml file, which may contain dependencies the 
current loaded parent xml file is depended on. This almost can't be done by 
multiple passes or by breaking up data. So what I did was as suggested by 
many folks on this list:


1. Have a class(TaskManager in my case) extends MovieClip, which can run a 
function assigned by client in onEnterFrame event handler on demand.
2. Break up traversal recursive loop into a chain of function calls by 
delegating each call to the TaskManager object.


I think this idea can apply to any time-consuming operation , for example, 
breaking up your parsing routines. The concept is to scatter heavy workload 
over frames instead of sticking on one frame.


Doug

- Original Message - 
From: Spencer Markowski [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Saturday, January 07, 2006 6:42 AM
Subject: Re: [Flashcoders] Massive XML files and Flash


So then... does anyone know of any solutions to speed up the 'parsing'
process? Is there a way to pause the parser, do something else, and then
resume parsing? (It sure would be nice if we could do two things at once) Is
anyone really having trouble with the XML Object's parser or is it developer
defined traversal routine pulling from the DOM that is taking up time?

I'm also working with massive amounts of XML data and cannot find a way to
speed up my parsing routine. (For one set it takes 10+ seconds to release
it's grip on the processor. Not allowing the user to do anything, of course)


This will all move to a database in the near future, but the speed issue is
not in Macromedia's XML object parsing the data, it's in my traversal of it.
I've tried a few different techniques, yet, it's clearly not an issue of the
XML objects onLoad parse.

-sp

On 1/7/06, Johannes Nel [EMAIL PROTECTED] wrote:


XPath != *native* E4X
i realise this, correct xml parsing is still faster while xpath is a
comfort
library to use when speed is not essential. xfactorstudio is the best and
most complient xpath. have not used MM xpath since 7.0, but its api is
extremely limited  the best sollution thus far without/minimil server side
code is xslt. e4x will mature with beta and release. currently (without
using much of it) i find it slow (since my only experience with it is
reading bout it and playing with it maybe) . the best sollution is to use
remoting and server code and if possible hire a contractor for 2 weeks to
backend
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders





--
Spencer Markowski
The Able Few
[EMAIL PROTECTED]
314.631.5576
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders 


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Accordion Question

2006-01-06 Thread MyName
Sure yes. Accordion inherites load event from UIObject class. In your 
accordion load event handler, set accordion selectedIndex property.


good luck

Doug
- Original Message - 
From: coker todd [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, January 05, 2006 11:19 AM
Subject: [Flashcoders] Accordion Question



Can someone point me to where i can find how to change
which item in the stack is selected by default. I have
a stack and by default I want #4 to be open is this
possible?

Much Thanks,
Kai



__
Yahoo! DSL - Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders 


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Desktop Projector and Obfuscator

2005-12-16 Thread MyName
Hi flash coders,

My project will be published as stand-alone desktop projector (exe) file. I 
believe a swf projector file can still be decompiled by many swf decompilers 
out there. Does anyone know a AS obfuscator that can handle projector file 
directly? Or should I take another approach to protect my code? Any 
suggestions? Many thanks in advance.

Doug

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] strange compiler error

2005-12-10 Thread MyName
I'm having similar problem(flash 7) too. And it's even stranger. All my 
class files are on local. Some have this error, some donn't. But all files 
can still be compiled even with this error.


- Original Message - 
From: Robin Burrer [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, December 08, 2005 8:33 PM
Subject: RE: [Flashcoders] strange compiler error


I set my system clock two years back (even though I'm pretty sure the
system clock of the computer I created the file originally is set
correctly) -didn't help either.

I had similar problem a couple of moth ago. I had two classes which both
had a variable of the data type of the other class.

The flash complier (back then it used flash 7) gave me the same error
message.

I found a workaround by declaring one of the variables as an object
datatype so I didn't have to import the class.

In this application this is however not the case. I hope all these
issues will be solved in AS3.

Robin



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andy
Johnston
Sent: Friday, 9 December 2005 3:15 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] strange compiler error

*Shrug*

http://www.epresenterplus.com/blog/archives/30.html


I tried deleting the aso files and restarted my computer
- nothing helped :-(


---Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andy
Johnston
Sent: Friday, 9 December 2005 2:25 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] strange compiler error

Are your classes on a network drive?

This usually is a time stamp syncing error

Try restarting your machine or deleting the aso files




Hi there,

I try compile a fla file with the flash 8 IDE. It always gives me this
pointless error message.

**Error**
E:\vss_data\ActionScriptClasses\org\hubb\flashBrowser\UserVO.as: Line



2:



The name of this class, 'org.hubb.flashBrowser.UserVO', conflicts with
the name of another class that was loaded,
'org.hubb.flashBrowser.UserVO'.

Where's the conflict here? That's the same class?

All my project classes are in the same directory
org.hubb.flashBrowser;
My main class imports all required classes.
e.g. import org.hubb.flashBrowser.UserVO'


And here's the wired thing:
When I try to compile this fla at home it works just fine. Also if I

do

a syntax check with MTASC it's not giving me an error.

Any ideas?


Robin
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders








___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders






___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders